/* Global Typography */
body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-transparent {
    background-color: transparent;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0066CC;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Hero ────────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-bottom: 8rem;
}

.first_bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/content/Landingpage-bg.webp');
    background-size: 100%;
    background-position: center;
    z-index: 0;
}

.iso-badge {
    width: 140px;
    height: 60px;
    border: 1px solid rgba(0, 102, 204, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: pre-line;
    text-align: center;
    transition: all 0.3s ease;
    background: transparent;
}

.iso-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
}

.iso-badges-container {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 10px;
    border-radius: 12px;
    background: transparent;
}

.hero-iso-block .iso-badges-container {
    margin-top: 0.35rem;
}

@media (max-width: 768px) {
    .iso-badges-container {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

/* ── Products ────────────────────────────────────────────────── */
#products {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.products-bg-top,
.products-bg-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 60%;
    background-size: 110% auto;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.1s linear;
}

.products-bg-top {
    top: 0;
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 2%, rgba(255, 255, 255, 0) 5%),
        url('../images/content/Product bg.jpg');
    background-position: center top;
    z-index: -2;
}

.products-bg-bottom {
    bottom: 0;
    background-image: url('../images/content/product1.jpg');
    background-position: center bottom;
    z-index: -1;
}

.products-bg-middle {
    position: absolute;
    left: 0;
    right: 0;
    top: 33%;
    height: 34%;
    background-image: url('../images/content/product bg2.jpg');
    background-size: 110% auto;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    transition: opacity 0.3s, display 0.3s;
}

.product-image-carousel {
    position: relative;
    height: 12rem;
}

.carousel-arrow {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 9999px;
    padding: 0.25rem;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Products sidebar */
.products-sidebar {
    top: 6rem;
    animation: sidebar-slide-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes sidebar-slide-in {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.products-sidebar-inner {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.products-sidebar-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.products-sidebar-inner:hover::before {
    left: 100%;
}

.products-sidebar-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    animation: header-fade-in 0.6s ease-out backwards 0.1s;
    position: relative;
    overflow: hidden;
}

@keyframes header-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products-sidebar-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #2563eb);
    animation: border-expand 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
}

@keyframes border-expand {
    from {
        width: 0;
        left: 0;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.products-sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    animation: title-slide-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.15s;
}

@keyframes title-slide-in {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.products-sidebar-title-icon {
    color: #2563eb;
    font-size: 0.85rem;
    animation: icon-spin-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.2s;
    display: inline-block;
}

@keyframes icon-spin-in {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.product-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Explore All button */
.product-category-header.product-category-all {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s, box-shadow 0.3s;
    animation: explore-all-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.25s;
    position: relative;
    overflow: hidden;
}

@keyframes explore-all-pop-in {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-category-header.product-category-all::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-category-header.product-category-all:hover::before {
    opacity: 1;
}

.product-category-header.product-category-all:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45), 0 0 30px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.product-category-header.product-category-all:active {
    transform: scale(0.98);
}

.product-category-header.product-category-all.active {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-category-all-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.product-category-all-inner i {
    font-size: 0.9rem;
    opacity: 0.9;
    animation: icon-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    display: inline-block;
}

@keyframes icon-bounce {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-2px); }
}

.product-category-all-inner:hover i {
    animation: icon-pulse-glow 0.4s ease-out;
}

@keyframes icon-pulse-glow {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255, 255, 255, 0.8)); }
    100% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); }
}

.product-category-all-text {
    flex: 1;
    position: relative;
}

.product-category-all-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-category-header.product-category-all:hover .product-category-all-text::after {
    width: 100%;
}

.product-category-all-count {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.2rem 0.5rem;
    border-radius: 0.375rem;
    animation: count-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.3s;
    transition: all 0.3s ease;
}

@keyframes count-pop {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-category-header.product-category-all:hover .product-category-all-count {
    opacity: 1;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}

/* Category list items */
.product-category-header.product-category-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.65rem;
    background: #fafafa;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: category-item-fade-in 0.5s ease-out backwards;
    position: relative;
    overflow: hidden;
}

/* Staggered animation delays for each category item */
.product-category-header.product-category-item:nth-of-type(2) {
    animation-delay: 0.35s;
}

.product-category-header.product-category-item:nth-of-type(3) {
    animation-delay: 0.45s;
}

.product-category-header.product-category-item:nth-of-type(4) {
    animation-delay: 0.55s;
}

.product-category-header.product-category-item:nth-of-type(5) {
    animation-delay: 0.65s;
}

@keyframes category-item-fade-in {
    from {
        opacity: 0;
        transform: translateX(-25px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.product-category-header.product-category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.product-category-header.product-category-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.product-category-header.product-category-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #f1f5f9 100%);
    border-color: rgba(37, 99, 235, 0.35);
    color: #1e40af;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.product-category-header.product-category-item:active {
    transform: translateX(3px) scale(0.97);
}

.product-category-header.product-category-item .product-category-chevron {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-left: auto;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.product-category-header.product-category-item:hover .product-category-chevron {
    color: #2563eb;
    transform: translateX(3px) rotate(8deg);
    text-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORY DROPDOWN MENU
═══════════════════════════════════════════════════════════════ */

.category-dropdown {
    max-height: 500px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-dropdown.hidden {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.category-dropdown-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 0.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 2px solid #e2e8f0;
    margin-left: 1rem;
    margin-top: 0.5rem;
    border-radius: 0.75rem;
}

.category-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    animation: dropdown-item-fade-in 0.3s ease backwards;
    overflow: hidden;
}

@keyframes dropdown-item-fade-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-dropdown-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.category-dropdown-item:hover::before {
    opacity: 1;
}

.category-dropdown-item:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e40af;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.category-dropdown-item.active {
    border-color: #2563eb;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.category-dropdown-item-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-dropdown-item:hover .category-dropdown-item-dot {
    background: #2563eb;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
    transform: scale(1.5);
}

.category-dropdown-item.active .category-dropdown-item-dot {
    background: #2563eb;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.category-dropdown-item-label {
    flex: 1;
    transition: all 0.3s ease;
}

.category-dropdown-item-arrow {
    font-size: 0.6rem;
    color: #cbd5e1;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-dropdown-item:hover .category-dropdown-item-arrow {
    opacity: 1;
    transform: translateX(2px);
    color: #2563eb;
}

.product-category-header.product-category-item .product-category-chevron {
    font-size: 0.6rem;
    color: #94a3b8;
    margin-left: auto;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.product-category-icon-wrap {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.product-category-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-category-item:hover .product-category-icon-wrap::before {
    opacity: 1;
    animation: icon-shine 0.5s ease-out;
}

@keyframes icon-shine {
    0% { transform: translate(-100%, -100%); }
    100% { transform: translate(100%, 100%); }
}

.product-category-item--blue .product-category-icon-wrap { 
    background: #dbeafe; 
    color: #2563eb;
    animation: icon-color-in-blue 0.5s ease-out backwards;
}

@keyframes icon-color-in-blue {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.product-category-item--blue:hover .product-category-icon-wrap { 
    background: linear-gradient(135deg, #bfdbfe, #dbeafe);
    color: #1d4ed8;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.product-category-item--cyan .product-category-icon-wrap { 
    background: #cffafe; 
    color: #0891b2;
    animation: icon-color-in-cyan 0.5s ease-out backwards;
}

@keyframes icon-color-in-cyan {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.product-category-item--cyan:hover .product-category-icon-wrap { 
    background: linear-gradient(135deg, #a5f3fc, #cffafe);
    color: #0e7490;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.product-category-item--slate .product-category-icon-wrap { 
    background: #e2e8f0; 
    color: #475569;
    animation: icon-color-in-slate 0.5s ease-out backwards;
}

@keyframes icon-color-in-slate {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.product-category-item--slate:hover .product-category-icon-wrap { 
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
    color: #334155;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}

.product-category-item--indigo .product-category-icon-wrap { 
    background: #e0e7ff; 
    color: #4f46e5;
    animation: icon-color-in-indigo 0.5s ease-out backwards;
}

@keyframes icon-color-in-indigo {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.product-category-item--indigo:hover .product-category-icon-wrap { 
    background: linear-gradient(135deg, #c7d2fe, #e0e7ff);
    color: #4338ca;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.product-category-header.product-category-item.active .product-category-icon-wrap {
    background: #2563eb;
    color: #fff;
    animation: icon-active-pulse 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

@keyframes icon-active-pulse {
    0% { transform: scale(0.8) rotate(-10deg); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1) rotate(0deg); }
}

.product-category-header.product-category-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    animation: active-pulse-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes active-pulse-in {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    }
}

.product-category-header.product-category-item.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: active-shimmer 2s ease-in-out infinite;
}

@keyframes active-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-category-header.product-category-item.active .product-category-chevron {
    color: rgba(255, 255, 255, 0.95);
    animation: chevron-spin 0.5s ease-out;
}

@keyframes chevron-spin {
    from { transform: rotate(-180deg) translateX(-5px); }
    to { transform: rotate(0deg) translateX(0px); }
}

.product-category-label {
    flex: 1;
    text-align: left;
    position: relative;
}

.product-category-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.3s ease;
    animation: count-appear 0.4s ease-out backwards;
}

@keyframes count-appear {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-category-item:hover .product-category-count {
    color: #2563eb;
    transform: scale(1.1);
}

.product-category-item.active .product-category-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Category panel (sub-menu) */
.category-panel {
    width: 18rem;
    max-height: min(28rem, calc(100vh - 4rem));
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.category-panel-inner {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: inherit;
    animation: panel-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes panel-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.category-panel-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #2563eb);
    animation: panel-top-glow 2s ease-in-out infinite;
}

@keyframes panel-top-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.category-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #fafbfc 0%, #f8f9fb 100%);
    animation: header-slide-down 0.4s ease-out backwards 0.1s;
}

@keyframes header-slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-panel-header-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.category-panel-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: #dbeafe;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: icon-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.15s;
    transition: all 0.3s ease;
}

@keyframes icon-pop-in {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.category-panel-header-info:hover .category-panel-icon {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.category-panel-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
    animation: title-fade-in 0.4s ease-out backwards 0.2s;
}

@keyframes title-fade-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.category-panel-count {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0.15rem 0 0 0;
    animation: count-fade-in 0.4s ease-out backwards 0.25s;
}

@keyframes count-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.category-panel-close {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.5rem;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: button-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards 0.3s;
}

@keyframes button-pop {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.category-panel-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.category-panel-close:active {
    transform: scale(0.95);
}

.category-panel-items {
    padding: 0.5rem;
    overflow-y: auto;
    max-height: 20rem;
}

.category-panel-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(4px) translateX(-10px);
    animation: item-slide-in 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

@keyframes item-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px) translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Stagger delays for panel items */
.category-panel-item:nth-child(1) { animation-delay: 0.1s; }
.category-panel-item:nth-child(2) { animation-delay: 0.15s; }
.category-panel-item:nth-child(3) { animation-delay: 0.2s; }
.category-panel-item:nth-child(4) { animation-delay: 0.25s; }
.category-panel-item:nth-child(5) { animation-delay: 0.3s; }
.category-panel-item:nth-child(n+6) { animation-delay: 0.35s; }

.category-panel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s ease;
}

.category-panel-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.category-panel-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #f1f5f9 100%);
    color: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.category-panel-item.is-active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    animation: item-active-pulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes item-active-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }
}

.category-panel-item-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.3s ease;
    animation: dot-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes dot-pop {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.category-panel-item:hover .category-panel-item-dot,
.category-panel-item.is-active .category-panel-item-dot {
    background: #2563eb;
    box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);
    transform: scale(1.3);
}

/* Product cards */
.product-card {
    border-radius: 1rem;
    position: relative;
    animation: fade-in 0.4s ease-out backwards;
    perspective: none;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.08s; }
.product-card:nth-child(3) { animation-delay: 0.16s; }
.product-card:nth-child(n+4) { animation-delay: 0.24s; }

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 0;
    animation: none;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.product-card:hover::after {
    opacity: 0;
}

/* Simple Hover Effect */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.product-card-image {
    border-radius: 1rem 1rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Enhanced Image Zoom with Blur Effect */
.product-card .card-img {
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.product-card:hover .card-img {
    transform: scale(1.05);
}

/* Dynamic Overlay Gradient on Image */
.product-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card-gallery-badge {
    z-index: 5;
    position: relative;
}

.product-card-body {
    border-radius: 0 0 1rem 1rem;
}

.product-card-title {
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    color: #1e293b;
}

.product-card:hover .product-card-title {
    color: #1d4ed8;
}

.product-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: #1d4ed8;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.product-card:hover .product-card-title::after {
    width: 100%;
}

.product-card p {
    transition: color 0.3s ease;
}

.product-card:hover p {
    color: #6b7280;
}

.product-card-badge {
    display: inline-block;
    position: relative;
    animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transition: all 0.3s ease;
}

@keyframes badge-pop {
    from {
        opacity: 0;
        transform: scale(0.6) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.product-card:hover .product-card-badge {
    transform: scale(1.08);
}

.product-card-badge::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover .product-card-badge::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-card-badge--blue {
    color: #9bb3e7;
    background-color: rgba(239, 246, 255, 0.9);
    border-color: rgba(191, 219, 254, 0.8);
}

.product-card-badge--cyan {
    color: #0891b2;
    background-color: rgba(236, 254, 255, 0.95);
    border-color: rgba(165, 243, 252, 0.8);
}

.product-card-badge--slate {
    color: #475569;
    background-color: rgba(241, 245, 249, 0.95);
    border-color: rgba(203, 213, 225, 0.8);
}

.product-card-badge--indigo {
    color: #4f46e5;
    background-color: rgba(238, 242, 255, 0.95);
    border-color: rgba(199, 210, 254, 0.8);
}

.product-card-spec-teaser {
    line-height: 1.3;
    position: relative;
    transition: all 0.3s ease;
    animation: spec-fade-in 0.5s ease-out backwards 0.2s;
}

@keyframes spec-fade-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Icon Animation */
.product-card-spec-teaser i {
    transition: all 0.3s ease;
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.2), rgba(37, 99, 235, 0));
    background-size: 200% 100%;
}

.product-card:hover .product-card-spec-teaser {
    color: #a9b9dd;
    transform: translateX(4px);
    animation: spec-shift 0.3s ease-out;
}

@keyframes spec-shift {
    from {
        transform: translateX(0);
        opacity: 0.8;
    }
    to {
        transform: translateX(4px);
        opacity: 1;
    }
}

.product-card:hover .product-card-spec-teaser i {
    filter: drop-shadow(0 0 8px rgba(205, 217, 242, 0.6));
    transform: rotate(8deg) scale(1.2);
}

.product-card-title {
    font-family: 'Outfit', sans-serif;
}

.product-card-cta-icon {
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card-cta-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card-cta-icon::before {
    opacity: 1;
    animation: glow-pulse 0.5s ease-out;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(166, 173, 189, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Enhanced CTA Icon with Floating Animation */
.product-card-cta-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    animation: none;
}

.product-card:hover .product-card-cta-icon::after {
    opacity: 0;
}

.product-card:hover .product-card-cta-icon {
    transform: translateX(5px) scale(1.15) rotate(-8deg) translateY(-2px);
    box-shadow: 0 8px 16px rgba(145, 159, 190, 0.4), 0 0 20px rgba(79, 70, 229, 0.2);
    animation: icon-float 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}

@keyframes icon-float {
    from { transform: translateX(5px) scale(1.15) rotate(-8deg) translateY(-2px); }
    to { transform: translateX(5px) scale(1.15) rotate(-8deg) translateY(-6px); }
}

@keyframes ripple-expand {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Icon Glow Effect for Navbar */
.nav-link i,
.product-category-header i,
.category-panel-header i,
.category-panel-item i {
    position: relative;
    background: radial-gradient(circle at var(--icon-x, 50%) var(--icon-y, 50%), rgba(255, 255, 255, 0.8), transparent 60%);
    transition: background 0.3s ease;
}

/* Enhanced navbar link hover effects */
.navbar-inner .nav-link:hover {
    position: relative;
}

.navbar-inner .nav-link:hover::after {
    width: 100%;
}

/* Enhanced dropdown item hover effects */
.dropdown-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #f1f5f9 100%);
    border-color: rgba(37, 99, 235, 0.35);
    color: #1e40af;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.dropdown-item:hover .fas {
    color: #2563eb;
    text-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Enhanced nested dropdown hover effects */
.nested-dropdown:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.nested-dropdown .nested-item:hover {
    background: #eff6ff;
    color: #1e40af;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* ═══════════════════════════════════════════════════════════════
   NAVBAR DROPDOWN ENHANCEMENTS - SIDEBAR STYLE
═══════════════════════════════════════════════════════════════ */

/* Main dropdown container styling */
.dropdown-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: dropdown-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    position: relative;
}

@keyframes dropdown-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown top border gradient */
.dropdown-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #2563eb);
    animation: panel-top-glow 2s ease-in-out infinite;
}

@keyframes panel-top-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Main dropdown items styling */
.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(4px) translateX(-10px);
    animation: item-slide-in 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

@keyframes item-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px) translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

/* Stagger delays for main dropdown items */
.dropdown-item:nth-child(1) { animation-delay: 0.1s; }
.dropdown-item:nth-child(2) { animation-delay: 0.15s; }
.dropdown-item:nth-child(3) { animation-delay: 0.2s; }
.dropdown-item:nth-child(4) { animation-delay: 0.25s; }

.dropdown-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s ease;
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #f1f5f9 100%);
    color: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Icon styling for main dropdown items */
.dropdown-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.dropdown-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-item:hover .dropdown-icon::before {
    opacity: 1;
    animation: icon-shine 0.5s ease-out;
}

@keyframes icon-shine {
    0% { transform: translate(-100%, -100%); }
    100% { transform: translate(100%, 100%); }
}

/* Category item color variants */
.icon-blue { 
    background: #dbeafe; 
    color: #2563eb;
    animation: icon-color-in-blue 0.5s ease-out backwards;
}

@keyframes icon-color-in-blue {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.icon-blue:hover { 
    background: linear-gradient(135deg, #bfdbfe, #dbeafe);
    color: #1d4ed8;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.icon-cyan { 
    background: #cffafe; 
    color: #0891b2;
    animation: icon-color-in-cyan 0.5s ease-out backwards;
}

@keyframes icon-color-in-cyan {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.icon-cyan:hover { 
    background: linear-gradient(135deg, #a5f3fc, #cffafe);
    color: #0e7490;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.icon-slate { 
    background: #e2e8f0; 
    color: #475569;
    animation: icon-color-in-slate 0.5s ease-out backwards;
}

@keyframes icon-color-in-slate {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.icon-slate:hover { 
    background: linear-gradient(135deg, #cbd5e1, #e2e8f0);
    color: #334155;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.3);
}

.icon-indigo { 
    background: #e0e7ff; 
    color: #4f46e5;
    animation: icon-color-in-indigo 0.5s ease-out backwards;
}

@keyframes icon-color-in-indigo {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.icon-indigo:hover { 
    background: linear-gradient(135deg, #c7d2fe, #e0e7ff);
    color: #4338ca;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Nested dropdown styling */
.nested-dropdown {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-left: 2px solid #e2e8f0;
    margin-left: 1rem;
    margin-top: 0.5rem;
    animation: panel-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    position: relative;
    overflow: hidden;
}

.nested-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #4f46e5, #2563eb);
    animation: panel-top-glow 2s ease-in-out infinite;
}

/* Nested dropdown items */
.nested-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(4px) translateX(-10px);
    animation: item-slide-in 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

/* Stagger delays for nested dropdown items */
.nested-item:nth-child(1) { animation-delay: 0.1s; }
.nested-item:nth-child(2) { animation-delay: 0.15s; }
.nested-item:nth-child(3) { animation-delay: 0.2s; }
.nested-item:nth-child(4) { animation-delay: 0.25s; }
.nested-item:nth-child(5) { animation-delay: 0.3s; }
.nested-item:nth-child(n+6) { animation-delay: 0.35s; }

.nested-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1), transparent);
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.4s ease;
}

.nested-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.nested-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #f1f5f9 100%);
    color: #2563eb;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

/* Enhanced hover states for nested items */
.nested-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%);
    color: #1e40af;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Service dropdown items */
.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateY(4px) translateX(-10px);
    animation: item-slide-in 0.4s ease-out forwards;
    position: relative;
    overflow: hidden;
}

/* Service icon styling */
.icon-amber { 
    background: #fffbeb; 
    color: #d97706;
    animation: icon-color-in-amber 0.5s ease-out backwards;
}

@keyframes icon-color-in-amber {
    from { opacity: 0; transform: scale(0.5) rotate(-90deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.icon-amber:hover { 
    background: linear-gradient(135deg, #fed7aa, #fffbeb);
    color: #b45309;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.icon-cyan { 
    background: #cffafe; 
    color: #0891b2;
    animation: icon-color-in-cyan 0.5s ease-out backwards;
}

.icon-cyan:hover { 
    background: linear-gradient(135deg, #a5f3fc, #cffafe);
    color: #0e7490;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.icon-slate { 
    background: #f8fafc; 
    color: #64748b;
    animation: icon-color-in-slate 0.5s ease-out backwards;
}

.icon-slate:hover { 
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    color: #475569;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

.icon-indigo { 
    background: #e0e7ff; 
    color: #4f46e5;
    animation: icon-color-in-indigo 0.5s ease-out backwards;
}

.icon-indigo:hover { 
    background: linear-gradient(135deg, #c7d2fe, #e0e7ff);
    color: #4338ca;
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Enhanced ripple effect for navbar dropdowns */
.navbar-inner .dropdown-item,
.navbar-inner .nested-item {
    position: relative;
    overflow: hidden;
}

.navbar-inner .dropdown-item::after,
.navbar-inner .nested-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

/* Enhanced icon glow for navbar dropdowns */
.navbar-inner .dropdown-item .fas,
.navbar-inner .nested-item .fas {
    position: relative;
    background: radial-gradient(circle at var(--icon-x, 50%) var(--icon-y, 50%), rgba(255, 255, 255, 0.8), transparent 60%);
    transition: background 0.3s ease;
}

/* Enhanced dropdown container with sidebar-style animations */
.dropdown-container {
    animation: dropdown-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform-origin: top;
    overflow: hidden;
}

.dropdown-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.dropdown-container:hover::after {
    opacity: 0.6;
    animation: gradient-drift 3s ease infinite;
}

@keyframes gradient-drift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* Enhanced nested dropdown container */
.nested-dropdown {
    animation: panel-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    transform-origin: left;
    overflow: hidden;
}

.nested-dropdown::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nested-dropdown:hover::after {
    opacity: 0.6;
    animation: gradient-drift 3s ease infinite;
}

/* Enhanced text styling for navbar dropdowns */
.dropdown-title {
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    color: #1e293b;
}

.dropdown-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: #1d4ed8;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.dropdown-item:hover .dropdown-title::after {
    width: 100%;
}

.dropdown-subtitle {
    transition: color 0.3s ease;
}

.dropdown-item:hover .dropdown-subtitle {
    color: #6b7280;
}

/* Enhanced chevron animations */
.dropdown-chevron {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.dropdown-item:hover .dropdown-chevron {
    color: #2563eb;
    transform: translateX(3px) rotate(8deg);
    text-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Enhanced nested dropdown text styling */
.nested-title {
    font-family: 'Inter', sans-serif;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
    color: #475569;
}

.nested-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 0;
    background: #2563eb;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nested-item:hover .nested-title::after {
    width: 100%;
}

.nested-item:hover .nested-title {
    color: #1e40af;
}

/* Enhanced hover states with sidebar-style effects */
.dropdown-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.nested-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.1);
}

/* Enhanced active states */
.dropdown-item.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    animation: active-pulse-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

@keyframes active-pulse-in {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.8);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    }
}

.dropdown-item.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: active-shimmer 2s ease-in-out infinite;
}

@keyframes active-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced nested dropdown active states */
.nested-item.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    animation: item-active-pulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes item-active-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }
}

/* Enhanced scrollbar for nested dropdowns */
.nested-dropdown .scrollable::-webkit-scrollbar {
    width: 6px;
}

.nested-dropdown .scrollable::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.nested-dropdown .scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb, #4f46e5);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.nested-dropdown .scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1d4ed8, #4338ca);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

/* Discovery / Category Cards Animations */
.group[class*="category"] {
    animation: category-float-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.group[class*="category"]:hover {
    animation-play-state: paused;
}

@keyframes category-float-in {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Rainbow border pulse for category cards */
.group[class*="border"] {
    position: relative;
}

.group[class*="border"]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, #aeb8ce, #4f46e5, #b9c7e7);
    background-size: 300% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.group[class*="border"]:hover::before {
    opacity: 0.6;
    animation: gradient-drift 3s ease infinite;
}

@keyframes gradient-drift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes cta-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED PRODUCT CARD CAROUSEL & DOT ANIMATIONS
═══════════════════════════════════════════════════════════════ */

/* Animated dots for image carousel */
.product-card .dot {
    animation: dot-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.product-card .dot:nth-child(1) { animation-delay: 0s; }
.product-card .dot:nth-child(2) { animation-delay: 0.08s; }
.product-card .dot:nth-child(3) { animation-delay: 0.16s; }
.product-card .dot:nth-child(4) { animation-delay: 0.24s; }

@keyframes dot-bounce {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-card .dot {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card .dot:not(.bg-blue-600) {
    animation: dot-pulse-idle 2s ease-in-out infinite;
}

@keyframes dot-pulse-idle {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.product-card .dot.bg-blue-600 {
    animation: dot-active-glow 0.4s ease-out;
}

@keyframes dot-active-glow {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

/* Navigation arrow buttons enhanced */
.product-card .nav-prev,
.product-card .nav-next {
    position: relative;
    overflow: hidden;
}

.product-card .nav-prev::before,
.product-card .nav-next::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0;
    animation: nav-shine 0.6s ease-out;
    pointer-events: none;
}

.product-card:hover .nav-prev::before,
.product-card:hover .nav-next::before {
    opacity: 1;
}

@keyframes nav-shine {
    from {
        transform: translate(-100%, -100%);
    }
    to {
        transform: translate(100%, 100%);
    }
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR EXPAND/COLLAPSE ANIMATIONS
══════════════════════════════════════════════════════════════ */

.product-sub-items {
    animation: items-expand 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: top;
    overflow: hidden;
}

.product-sub-items.hidden {
    animation: items-collapse 0.4s ease-out;
    animation-fill-mode: forwards;
}

@keyframes items-expand {
    from {
        opacity: 0;
        max-height: 0;
        transform: scaleY(0.8);
    }
    to {
        opacity: 1;
        max-height: 300px;
        transform: scaleY(1);
    }
}

@keyframes items-collapse {
    from {
        opacity: 1;
        max-height: 300px;
        transform: scaleY(1);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: scaleY(0.8);
    }
}

.product-sub-item {
    animation: subitem-fade-in 0.3s ease-out backwards;
}

.product-sub-item:nth-child(1) { animation-delay: 0s; }
.product-sub-item:nth-child(2) { animation-delay: 0.05s; }
.product-sub-item:nth-child(3) { animation-delay: 0.1s; }
.product-sub-item:nth-child(4) { animation-delay: 0.15s; }
.product-sub-item:nth-child(5) { animation-delay: 0.2s; }

@keyframes subitem-fade-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-sub-item:hover {
    transform: translateX(3px);
}

/* Sidebar scrollbar styling */
.category-panel-items::-webkit-scrollbar {
    width: 6px;
}

.category-panel-items::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.category-panel-items::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb, #4f46e5);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.category-panel-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1d4ed8, #4338ca);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.product-card:hover .product-card-cta-icon {
    transform: translateX(5px) scale(1.15) rotate(-8deg);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}

/* ── Services ────────────────────────────────────────────────── */
#services {
    background: transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.services-bg-top,
.services-bg-bottom,
.services-bg-middle {
    position: absolute;
    left: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.1s linear;
}

.services-bg-top {
    top: 0;
    height: 50%;
    background-image: url('../images/content/service bg.jpg');
    background-position: center top;
    z-index: -3;
}

.services-bg-bottom {
    bottom: 0;
    height: 50%;
    background-image: url('../images/content/service bg1.jpg');
    background-position: center bottom;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ── Clients ─────────────────────────────────────────────────── */
#clients {
    position: relative;
    overflow: hidden;
    margin-top: -3rem;
    padding-top: 3rem;
    min-height: 800px;
    background: none;
    z-index: 1;
}

.clients-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 2%,
            rgba(255, 255, 255, 0.7) 5%, rgba(255, 255, 255, 0.6) 8%,
            rgba(255, 255, 255, 0.5) 12%, rgba(255, 255, 255, 0.4) 16%,
            rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.2) 25%,
            rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 35%),
        url('../images/content/client bg.jpg');
    background-size: 110% auto;
    background-position: center top;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.1s linear;
    z-index: -1;
}

.clients-carousel-container {
    background: rgba(255, 255, 255, 0.1) !important;
    position: relative;
    z-index: 2;
}

.overlay-left {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.2), transparent) !important;
}

.overlay-right {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.2), transparent) !important;
}

.client-logo {
    filter: grayscale(0) saturate(100%) !important;
    -webkit-filter: grayscale(0) saturate(100%) !important;
    opacity: 1 !important;
}

.client-logo-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.client-logo-box:hover {
    transform: scale(1.05);
}

/* ── Animations & Reveals ────────────────────────────────────── */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
}

.reveal-slide-up {
    transform: translateY(40px);
}

.reveal-slide-up.active {
    transform: translateY(0);
}

.reveal-slide-right {
    transform: translateX(-40px);
}

.reveal-slide-right.active {
    transform: translateX(0);
}

.reveal-slide-left {
    transform: translateX(40px);
}

.reveal-slide-left.active {
    transform: translateX(0);
}

.reveal-fade {
    transform: scale(0.95);
}

.reveal-fade.active {
    transform: scale(1);
}

.reveal-delay-100 {
    transition-delay: 100ms;
}

.reveal-delay-200 {
    transition-delay: 200ms;
}

.reveal-delay-300 {
    transition-delay: 300ms;
}

.reveal-delay-400 {
    transition-delay: 400ms;
}

.reveal-delay-500 {
    transition-delay: 500ms;
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT CARD ACCENT ANIMATIONS
═══════════════════════════════════════════════════════════════ */

/* Floating particle effect */
@keyframes particle-float {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { transform: translateY(-30px) translateX(15px) scale(0.5); opacity: 0; }
}

.product-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

/* Corner highlights for premium feel */
.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.3), transparent 40%);
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-card:hover::after {
    opacity: 1;
}

/* Text reveal animation for card title on hover */
.product-card-title {
    overflow: hidden;
    position: relative;
}

.product-card-gallery-badge {
    animation: badge-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes badge-slide-in {
    from {
        opacity: 0;
        transform: translateX(20px) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Pulsing glow for image on hover */
.product-card:hover .product-card-image {
    box-shadow: inset 0 0 30px rgba(37, 99, 235, 0.2), 0 0 40px rgba(37, 99, 235, 0.15);
}

/* Staggered animation for product badges on card */
.product-card-badge {
    animation-delay: 0.1s;
}

.product-card-badge:nth-of-type(2) {
    animation-delay: 0.2s;
}

/* Navigation buttons enhanced animation */
.product-card .nav-next,
.product-card .nav-prev {
    animation: button-pulse 2s ease-in-out infinite;
    opacity: 0 !important;
    animation-play-state: paused;
}

.product-card:hover .nav-next,
.product-card:hover .nav-prev {
    opacity: 100% !important;
    animation-play-state: running;
}

@keyframes button-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    }
}

/* CTA text animation */
.product-card .product-card-cta {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    background-size: 200% 100%;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.product-card .product-card-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-card-cta {
    animation: cta-shimmer 1.5s ease-in-out infinite;
    border-top-color: rgba(59, 130, 246, 0.5);
}

.product-card:hover .product-card-cta::before {
    transform: translateX(100%);
    animation: cta-flow 1.5s ease-in-out infinite;
}

@keyframes cta-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Border Animation Lines */
.product-card {
    border: 1px solid rgba(59, 130, 246, 0);
}

.product-card::before {
    animation: border-glow 2s ease infinite;
}

@keyframes border-glow {
    0%, 100% { 
        border-color: rgba(59, 130, 246, 0);
        box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0);
    }
    50% { 
        border-color: rgba(59, 130, 246, 0.1);
        box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.05);
    }
}


/* ═══════════════════════════════════════════════════════════════
   ENHANCED CONTACT — WHITE THEME SYSTEM  (cw- prefix)
═══════════════════════════════════════════════════════════════ */

#contact {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #ffffff;
}

/* Clean white background with subtle texture */
.cw-bg-texture {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(99, 102, 241, 0.03) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(148, 163, 184, 0.02) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.9));
    pointer-events: none;
    opacity: 0.8;
}

/* Enhanced gradient text for white theme */
.cw-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Gradient text helper */
.cw-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Shell ───────────────────────────────────────────────────── */
.cw-shell {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    overflow: hidden;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.05),
        0 20px 48px rgba(0, 0, 0, 0.07),
        0 40px 80px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.5s ease;
}

.cw-shell:hover {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 8px 16px rgba(0, 0, 0, 0.06),
        0 24px 56px rgba(0, 0, 0, 0.09),
        0 48px 96px rgba(0, 0, 0, 0.06);
}

/* ── Title Bar ───────────────────────────────────────────────── */
.cw-titlebar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    user-select: none;
}

/* Brand header (replaces macOS dots) */
.cw-header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cw-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.cw-header-title {
    font-size: 13px;
    font-weight: 900;
    color: #1e293b;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.01em;
    line-height: 1;
}

.cw-header-sub {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.02em;
}


/* Tabs */
.cw-tabs {
    display: flex;
    gap: 2px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 3px;
}

.cw-tab {
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    border-radius: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cw-tab:hover {
    color: #374151;
}

.cw-tab-active {
    background: #ffffff;
    color: #1d4ed8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Right side of titlebar */
.cw-titlebar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cw-status-online {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: cw-ping 2s ease-in-out infinite;
}

.cw-status-offline {
    background: #94a3b8;
}

@keyframes cw-ping {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

.cw-status-label {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cw-ref-badge {
    font-size: 9px;
    font-weight: 700;
    background: rgba(37, 99, 235, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.04em;
}

/* ── Body ────────────────────────────────────────────────────── */
.cw-body {
    overflow: hidden;
}

/* ── Left Panel ──────────────────────────────────────────────── */
.cw-left-panel {
    padding: 24px 20px;
    background: linear-gradient(180deg, #fafbfc 0%, #f8f9fb 100%);
    border-right: 1px solid #f0f4f8;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Availability badge */
.cw-avail-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.cw-avail-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: cw-ping 2s ease-in-out infinite;
    flex-shrink: 0;
}

.cw-avail-offline {
    background: #94a3b8;
    animation: none;
    box-shadow: none;
}

/* Stats row */
.cw-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 20px;
}

.cw-stat {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    transition: all 0.25s ease;
}

.cw-stat:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.cw-stat-value {
    font-size: 14px;
    font-weight: 900;
    color: #1e40af;
    font-family: 'Outfit', sans-serif;
}

.cw-stat-label {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Section dividers */
.cw-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 10px;
}

.cw-divider::before,
.cw-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.cw-divider span {
    font-size: 8px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Contact cards */
.cw-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cw-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 12px;
    border: 1px solid #f0f4f8;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cw-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.1);
}

.cw-card-blue:hover {
    border-color: #bfdbfe;
}

.cw-card-indigo:hover {
    border-color: #c7d2fe;
}

.cw-card-green:hover {
    border-color: #bbf7d0;
}

.cw-card-amber:hover {
    border-color: #fed7aa;
}

.cw-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease;
}

.cw-card:hover .cw-card-icon {
    transform: scale(1.12);
}

.cw-card-body {
    flex: 1;
    min-width: 0;
}

.cw-card-label {
    font-size: 8px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cw-card-value {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.cw-card-sub {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 1px;
}

.cw-card-arrow {
    font-size: 9px;
    color: #cbd5e1;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.cw-card:hover .cw-card-arrow {
    color: #3b82f6;
    transform: translateX(3px);
}

/* Business hours */
.cw-hours-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 6px;
}

.cw-hour-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.cw-hour-today {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.cw-hour-abbr {
    font-size: 7px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cw-hour-today .cw-hour-abbr {
    color: #2563eb;
}

.cw-hour-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.cw-open {
    background: #22c55e;
}

.cw-closed {
    background: #e2e8f0;
}

.cw-hours-note {
    font-size: 9px;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 14px;
}

/* Social */
.cw-social-row {
    display: flex;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.cw-social-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cw-social-btn:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ── Center Panel (Form) ─────────────────────────────────────── */
.cw-center-panel {
    position: relative;
    background: linear-gradient(150deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
    padding: 28px 26px;
    overflow: hidden;
}

/* Ambient glows */
.cw-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.6;
    display: block;
}

.cw-glow-a {
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.12);
    top: -60px;
    right: -40px;
}

.cw-glow-b {
    width: 160px;
    height: 160px;
    background: rgba(99, 102, 241, 0.10);
    bottom: -40px;
    left: -30px;
}

/* Form header */
.cw-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cw-form-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cw-form-accent {
    display: inline-block;
    width: 3px;
    height: 18px;
    border-radius: 2px;
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    flex-shrink: 0;
}

.cw-form-sub {
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
    margin-left: 11px;
}

/* Progress steps */
.cw-steps {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cw-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
}

.cw-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.08);
    color: #4b5563;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.35s ease;
}

.cw-step-label {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #4b5563;
    white-space: nowrap;
    transition: color 0.35s ease;
}

.cw-step-active span {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cw-step-active .cw-step-label {
    color: #60a5fa;
}

.cw-step-done span {
    background: #22c55e;
    color: #fff;
    border-color: #16a34a;
}

.cw-step-done .cw-step-label {
    color: #4ade80;
}

.cw-step-line {
    width: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* Form grid */
.cw-form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cw-form-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Field */
.cw-label {
    display: block;
    font-size: 9px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
    margin-left: 2px;
}

.cw-required {
    color: #f87171;
}

.cw-input-wrap {
    position: relative;
}

.cw-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #475569;
    pointer-events: none;
    transition: color 0.3s ease;
}

.cw-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 10px 36px 10px 34px;
    color: #f1f5f9;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cw-input::placeholder {
    color: #334155;
}

.cw-input:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.14);
}

.cw-input:focus {
    background: rgba(255, 255, 255, 0.11);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 2px 8px rgba(59, 130, 246, 0.1);
}

.cw-input:focus~.cw-input-icon,
.cw-input-wrap:focus-within .cw-input-icon {
    color: #60a5fa;
}

/* Checkmark indicator */
.cw-input-check {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cw-check-visible {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

/* Select */
.cw-select {
    appearance: none;
    cursor: pointer;
}

.cw-select option {
    background: #1e293b;
    color: #f1f5f9;
}

.cw-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    color: #475569;
    pointer-events: none;
}

.cw-textarea {
    resize: none;
    min-height: 90px;
}

/* Char count */
.cw-charcount {
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
    transition: color 0.3s ease;
}

/* Upload zone */
.cw-upload-zone {
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.cw-upload-zone:hover,
.cw-upload-dragover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
}

.cw-upload-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
}

.cw-upload-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 14px;
    flex-shrink: 0;
}

.cw-upload-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cw-upload-text span {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 500;
}

.cw-upload-text small {
    font-size: 8px;
    color: #475569;
}

.cw-upload-link {
    color: #60a5fa;
    cursor: pointer;
    font-weight: 700;
}

.cw-upload-link:hover {
    text-decoration: underline;
}

.cw-file-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 12px 10px;
}

.cw-file-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 7px;
}

.cw-file-remove {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cw-file-remove:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Submit button */
.cw-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 13px 28px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    flex-shrink: 0;
}

.cw-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cw-submit-btn:hover::before {
    transform: translateX(100%);
}

.cw-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.cw-submit-btn:active {
    transform: scale(0.97);
}

.cw-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Autofill styles */
.cw-input:-webkit-autofill,
.cw-input:-webkit-autofill:hover,
.cw-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f1f5f9;
    -webkit-box-shadow: 0 0 0px 1000px #1e293b inset;
    transition: background-color 5000s;
}

/* Success overlay */
.cw-success-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #4f46e5 100%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cw-success-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.cw-success-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    animation: cw-success-pulse 2s ease-in-out infinite;
}

@keyframes cw-success-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
    }
}

.cw-success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.cw-success-sub {
    font-size: 12px;
    color: #bfdbfe;
    margin-bottom: 4px;
}

.cw-success-ref {
    font-size: 10px;
    color: rgba(191, 219, 254, 0.7);
    margin-bottom: 24px;
}

.cw-success-ref strong {
    color: #fff;
}

.cw-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cw-reset-btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ── Right Panel ─────────────────────────────────────────────── */
.cw-right-panel {
    padding: 24px 20px;
    background: #fff;
    border-left: 1px solid #f0f4f8;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Map */
.cw-map-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}

.cw-map-frame {
    border-radius: 14px;
    overflow: hidden;
    height: 145px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.cw-map-frame:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cw-map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(25%) saturate(80%);
    transition: filter 0.5s ease;
}

.cw-map-frame:hover iframe {
    filter: grayscale(0%) saturate(100%);
}

.cw-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 9px;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: gap 0.2s ease;
}

.cw-map-btn:hover {
    gap: 8px;
    text-decoration: underline;
}

/* FAQ (compact — right panel) */
.cw-faq-block {
    flex: 1;
}

.cw-faq-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.cw-faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 9px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.cw-faq-title {
    font-size: 11px;
    font-weight: 900;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    line-height: 1;
}

.cw-faq-sub {
    font-size: 8px;
    color: #94a3b8;
    margin-top: 2px;
}

.cw-faq-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cw-faq-item {
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.cw-faq-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cw-faq-item[open] {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.cw-faq-summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.cw-faq-summary::-webkit-details-marker {
    display: none;
}

.cw-faq-num {
    font-size: 8px;
    font-weight: 900;
    color: #94a3b8;
    background: #f1f5f9;
    min-width: 20px;
    height: 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cw-faq-item[open] .cw-faq-num {
    background: #2563eb;
    color: #fff;
}

.cw-faq-q {
    flex: 1;
    font-size: 10px;
    font-weight: 700;
    color: #374151;
    line-height: 1.4;
}

.cw-faq-item[open] .cw-faq-q {
    color: #1d4ed8;
}

.cw-faq-toggle {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cw-faq-item[open] .cw-faq-toggle {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
    transform: rotate(45deg);
}

.cw-faq-answer {
    padding: 0 10px 10px 37px;
    animation: cw-faq-drop 0.3s ease-out;
}

.cw-faq-answer p {
    font-size: 10px;
    color: #64748b;
    line-height: 1.55;
}

@keyframes cw-faq-drop {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick CTA block */
.cw-cta-block {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 14px;
    flex-shrink: 0;
}

.cw-cta-ico {
    font-size: 18px;
    color: #60a5fa;
    flex-shrink: 0;
}

.cw-cta-text {
    flex: 1;
}

.cw-cta-text strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.cw-cta-text span {
    font-size: 9px;
    color: #64748b;
}

.cw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.cw-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* ── FAQ Tab (full panel) ─────────────────────────────────────── */
.cw-faq-full-item {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.cw-faq-full-item:hover {
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cw-faq-full-item[open] {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.cw-faq-full-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.cw-faq-full-summary::-webkit-details-marker {
    display: none;
}

.cw-faq-full-num {
    font-size: 9px;
    font-weight: 900;
    color: #94a3b8;
    background: #f1f5f9;
    min-width: 24px;
    height: 24px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cw-faq-full-item[open] .cw-faq-full-num {
    background: #2563eb;
    color: #fff;
}

.cw-faq-full-q {
    flex: 1;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.cw-faq-full-item[open] .cw-faq-full-q {
    color: #1d4ed8;
}

.cw-faq-full-answer {
    padding: 0 16px 14px 50px;
    animation: cw-faq-drop 0.3s ease-out;
}

.cw-faq-full-answer p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cw-shell {
        border-radius: 16px;
    }

    .cw-left-panel {
        border-right: none;
        border-bottom: 1px solid #f0f4f8;
    }

    .cw-right-panel {
        border-left: none;
        border-top: 1px solid #f0f4f8;
    }

    .cw-stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .cw-form-header {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .cw-form-grid2 {
        grid-template-columns: 1fr;
    }

    .cw-titlebar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 14px;
    }

    .cw-titlebar-right {
        width: 100%;
        justify-content: flex-end;
    }

    .cw-steps {
        display: none;
    }
}

@media (max-width: 640px) {
    .cw-shell {
        border-radius: 14px;
    }

    .cw-left-panel,
    .cw-right-panel {
        padding: 18px 14px;
    }

    .cw-center-panel {
        padding: 20px 14px;
    }

    .cw-map-frame {
        height: 110px;
    }
}

@media print {
    .cw-shell {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .cw-center-panel,
    .cw-map-frame {
        display: none;
    }
}