/* -----------------------------------------------------------
   GLOBAL RESET
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    background: #ffffff;
}
.curtain-overlay {
    background: #3a7afe;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: curtainSlideFade 1.5s ease forwards;
}

@keyframes curtainSlideFade {
    0% {
        transform: translateY(0%);
        opacity: 1;
    }
    80% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}


/* -----------------------------------------------------------
   HEADER
----------------------------------------------------------- */
.main-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* -----------------------------------------------------------
   TOLL FREE MARQUEE STRIP
----------------------------------------------------------- */

.tollfree-strip{
    width:100%;
    background:#fff;
    color:#04034f;
    font-size:13px;
    padding:4px 0;
    border-top:1px solid rgba(255,255,255,0.15);
}

.tollfree-strip marquee{
    font-weight:500;
    letter-spacing:0.4px;
}

.main-header .container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 30px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Toll Free Marquee Strip */

.tollfree-strip{
    width:100%;
    background:#fff;
    color:#04034f;
    font-size:13px;
    padding:4px 0;
    overflow:hidden;
    position:relative;
}

.tollfree-strip marquee{
    display:block;
    width:100%;
}

.scroll-text{
    white-space: nowrap;
    display:inline-block;
    padding-left:100%;
    font-weight:500;
    letter-spacing:0.4px;
    animation: scrollText 15s linear infinite;
}

@keyframes scrollText{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}
/* -----------------------------------------------------------
   BRANDING
----------------------------------------------------------- */
.branding {
    display: flex;
    align-items: center;
    gap: 12px;

}
.brand-title {
    display: flex;
    align-items: flex-start;
    font-weight: 700;
    color: #04034f;
    font-family: 'Poppins', 'Segoe UI', sans-serif;

    /* Responsive font size */
    font-size: clamp(18px, 2.5vw, 32px);

    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

/* Superscript styling */
.brand-sup {
    font-size: 0.45em;          /* scales automatically */
    margin-left: 3px;
    position: relative;
    top: -0.6em;                /* perfect vertical alignment */
    font-weight: 600;
    opacity: 0.9;
}

/* Logo (if used beside text) */
.brand-logo {
    width: clamp(40px, 5vw, 55px);
    height: auto;
    object-fit: contain;
}
 sup {
    font-size: 24px;
    vertical-align: super;
    margin-left: 2px;
}
.since-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 4px;
    color: #030e43;
}

@media (max-width: 480px) {
    .brand-title sup {
        font-size: 20px;     /* reduce superscript size */
        top: -0.4em;         /* fine adjustment */
        position: relative;
    }
}


/* -----------------------------------------------------------
   DESKTOP NAVIGATION
----------------------------------------------------------- */
.nav-menu {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.3s ease;
    padding-bottom: 4px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
}

/* Store Icons */
.nav-store-item i {
    font-size: 1.3rem;
    color: #1a73e8;
    transition: 0.3s ease;
}

.nav-store-item i:hover {
    transform: scale(1.2);
}



/* -----------------------------------------------------------
   HAMBURGER BUTTON
----------------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: 0.3s;
}



/* -----------------------------------------------------------
   MOBILE OVERLAY (SLIDE PANEL)
----------------------------------------------------------- */

.mobile-overlay {
    position: fixed;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    top: 0;
    right: -100%;
    width: 58%;
    height: 100%;
    background: #ffffffee;
    backdrop-filter: blur(8px);
    padding: 100px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.18);
    transition: right 0.4s ease-in-out;
    z-index: 999;   /* BELOW HEADER */
}

.mobile-overlay.active {
    right: 0;
}

/* Prevent overlay from hiding header */
.main-header {
    z-index: 1000 !important;
}

.mobile-links {
    list-style: none;
}

.mobile-links li {
    margin: 22px 0;
}

.mobile-links a {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    color: #04034f;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s ease;
}

/* Hover effects */
.mobile-links a:hover {
    color: #1a73e8;
    transform: translateX(6px);
}

.mobile-links a i {
    font-size: 1.35rem;
    color: #1a73e8;
}

.store-dropdown {
    position: relative;
}

.store-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
}

.store-menu {
    position: absolute;
    top: 130%;
    right: 0;
    background: white;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 6px 0;
    display: none;
}



.store-menu li a:hover {
    background: #f3f6ff;
    color: #1a73e8;
}

.store-dropdown.active .store-menu {
    display: block;
}
.store-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #04034f;
    text-decoration: none;
    font-size: 0.95rem;
}

.app-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}


/* ===============================
   MOBILE DROPDOWN – FONT MATCH FIX
================================ */

/* Main dropdown button (Products, Solutions) */
/* MAIN DROPDOWN (Products, Solutions etc.) */
.mobile-dropbtn {
    width: 100%;
    background: none;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;                 /* Stronger */
    color: #04034f;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
}

/* SUB DROPDOWN (Automotive, Consumer etc.) */
.mobile-sub-dropbtn {
    width: 100%;
    background: #f7f9ff;              /* light background */
    border: none;
    font-size: 1.15rem;               /* slightly smaller */
    font-weight: 600;
    color: #04034f;
    padding: 8px 0 8px 14px;          /* indentation */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
}

/* deeper levels */
.mobile-submenu .mobile-sub-dropdown .mobile-sub-dropbtn {
    padding-left: 28px;               /* deeper indent */
    font-size: 1.05rem;
    background: #ffffff;
}

/* Hover effect */
.mobile-dropbtn:hover,
.mobile-sub-dropbtn:hover {
    color: #1a73e8;
    transform: translateX(6px);
}

/* Arrow style difference */
.mobile-dropdown .arrow {
    font-size: 1rem;
}

.mobile-sub-dropdown .arrow {
    font-size: 0.8rem;
}

/* Submenu links */
.mobile-submenu a {
    font-size: 1rem;
    font-weight: 500;
    color: #04034f;
    padding: 8px 0 8px 40px;   /* align with deeper level */
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    
}

.mobile-submenu a:hover {
    color: #1a73e8;
    transform: translateX(6px);
}

/* icon color */
.mobile-dropbtn i {
    color: #1a73e8;
}

.mobile-dropbtn span.left {
    color: #04034f;
}

/* === DROPDOWN STYLES === */
.dropdown {
    position: relative;
    display: inline-block;
}




.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #222;
    transition: color 0.2s ease;
}

.dropbtn:hover {
    color: #1a73e8;
}

.dropbtn::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #666;
    transition: transform 0.25s ease, border-top-color 0.2s ease;
}

.dropbtn:hover::after,
.dropbtn.open::after {
    border-top-color: #1a73e8;
}

.dropbtn.open::after {
    transform: rotate(180deg);
}

/* === ENHANCED DROPDOWN PANEL === */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 320px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08),
                0 4px 8px rgba(0, 0, 0, 0.05);
    list-style: none;
    margin-top: 0; 
    padding: 8px 0;
    z-index: 1001;
     max-height: 320px; 
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    visibility: hidden;
}


/* ---------------------------
   Slim Modern Scrollbar
--------------------------- */

/* Chrome, Edge, Safari */
.dropdown-content::-webkit-scrollbar {
    width: 6px;              /* thinner width */
}

.dropdown-content::-webkit-scrollbar-track {
    background: transparent; /* clean look */
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.45);
}


/* Firefox */
.dropdown-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.25) transparent;
}

.dropdown:hover > .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}



/* Show with animation */
/* KEEP DROPDOWN OPEN WHEN HOVERING INSIDE */
/* ===============================
   MOBILE DROPDOWN DEFAULT STATE
================================ */

/* Hide all mobile submenus by default */
.mobile-submenu {
    display: none;
}

/* Show only when active */
.mobile-dropdown.active > .mobile-submenu,
.mobile-sub-dropdown.active > .mobile-submenu {
    display: block;
}


.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

/* Optional: Add subtle icons (using Font Awesome) */
.dropdown-content a::before {
    content: '●';
    color: #1a73e8;
    font-size: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.dropdown-content a:hover::before {
    opacity: 1;
}

.dropdown-content a:hover {
    background-color: #f0f7ff;
    color: #0d5ab3;
    transform: translateX(4px);
}

/* Divider (optional — for "All Products" header) */
.dropdown-content .divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent);
    margin: 6px 0;
    border: none;
}

/* Optional: Add small subtle label (e.g., “Featured”) */
.dropdown-content .tag {
    font-size: 0.75rem;
    background: #e6f0ff;
    color: #1a73e8;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    font-weight: 600;
}

/* === SUB-DROPDOWN (2nd LEVEL) === */
.sub-dropdown {
    position: relative;
}

/* Clickable button */
.sub-dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
}

/* Hover only for visual feedback (NOT opening) */
.sub-dropbtn:hover {
    background-color: #f0f7ff;
    color: #0d5ab3;
}

/* Arrow rotation */
.sub-dropdown.active .arrow {
    transform: rotate(180deg);
}

/* Submenu (hidden by default) */
.sub-dropdown-content {
    display: none;
    margin-left: 12px;
    padding-left: 12px;
}

.sub-dropdown.active .sub-dropdown-content {
    display: block;
}

/* Submenu links */
.sub-dropdown-content li a {
    display: block;
    padding: 10px 20px;
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.sub-dropdown-content li a:hover {
    background-color: #e6f0ff;
    color: #1a73e8;
    padding-left: 24px;
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 991px) {
    .brand-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 813px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .brand-title {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 45px;
    }

    .brand-title {
        font-size: 0.9rem;
    }
}
/* -----------------------------------------------------------
   HERO SECTION
----------------------------------------------------------- */
.hero {
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../assets/ADAS-32-1.jpg') center/cover no-repeat;
    color: white;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(58, 122, 254, 0.15), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(4, 3, 79, 0.1), transparent 50%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #ffffff, #e6f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    max-width: 800px;
    margin-bottom: 2rem;
    color: #e2e8f0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -----------------------------------------------------------
   PRODUCTS SECTION — MODERN TAB + GRID
----------------------------------------------------------- */
.products {
    padding: 6rem 0;
    width:100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

/* -----------------------------------------------------------
   PRODUCTS SIDEBAR LAYOUT
----------------------------------------------------------- */

.products-layout{
    display:flex;
    width:100%;
    min-height:calc(100vh - 80px);
}

.products-content{
    flex:1;
    padding:40px;
}

/* SIDEBAR */
.category-sidebar{
    width:320px;
    background:#ffffff;
    padding:20px;
    box-shadow:var(--shadow-md);

    display:flex;
    flex-direction:column;
    gap:12px;

    position:sticky;
    top:80px;                 /* height of header */
    height:calc(100vh - 80px); /* full screen minus header */

    overflow-y:auto;
}

.category-intro{
    margin-bottom:40px;
    max-width:800px;
}

.category-intro h3{
    font-size:28px;
    margin-bottom:10px;
    color:#1c1c1c;
}

.category-intro p{
    font-size:16px;
    line-height:1.7;
    color:#555;
}

/* SIDEBAR BUTTON */
.sidebar-btn{
    padding:14px 16px;
    border:none;
    /* border-radius:10px; */
    background:#f1f5f9;
    font-weight:600;
    font-size:0.95rem;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
    transition:var(--transition);
}

/* Hover */
.sidebar-btn:hover{
    background:#e8f0ff;
    transform:translateX(4px);
}

/* Active */
.sidebar-btn.active{
    background:linear-gradient(135deg,var(--primary),var(--primary-light));
    color:#fff;
    box-shadow:var(--shadow-sm);
}

/* Products Content Area */
.products-content{
    flex:1;
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.tab-btn i {
    font-size: 1.1rem;
}

/* Tab Content */
.tab-panels {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
    display:block;
    opacity:1;
    visibility:visible;
    animation:fadeInUp 0.5s ease forwards;
}

/* -----------------------------------------------------------
   SIDEBAR MOBILE
----------------------------------------------------------- */

@media (max-width: 900px){

    .products-layout{
        flex-direction:column;
    }

    .category-sidebar{
        width:100%;
        flex-direction:row;
        overflow-x:auto;
        gap:10px;
        padding:10px;
        position:static;
    }

    .sidebar-btn{
        flex:1;
        white-space:nowrap;
        justify-content:center;
        font-size:0.9rem;
    }

}

/* Initial hidden state */
.scroll-pop {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Visible state */
.scroll-pop.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}


/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2.2rem;
    margin-top: 1.5rem;
}

/* Product Card */
.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    will-change: transform, box-shadow;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.product-img {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img img {
    transform: scale(1.12) rotate(1deg);
}

.product-info {
    padding: 1.4rem 1.2rem;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--secondary);
    margin: 0.3rem 0 0.8rem;
    transition: color 0.3s;
}

.product-card:hover .product-title {
    color: var(--primary);
}

/* Buttons */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(58, 122, 254, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.05rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(58, 122, 254, 0.5);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.95rem;
}

.btn-buy {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

.btn-buy:hover {
    background: #0d5ab3;
}

/* Highlight Pulse */
.products.highlight-target {
    animation: pulseHighlight 1s ease-out;
}

@keyframes pulseHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 122, 254, 0.4);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(58, 122, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 122, 254, 0);
    }
}


/* Initial hidden state */
.stagger-item {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

/* Visible */
.stagger-item.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
/* ------------------- FOOTER ------------------- */
.footer {
  background: #04034f;
  color: #ffffff;
  padding: 50px 20px 20px;
  margin-top: 60px;
  border-top: 3px solid #3a7afe;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #dcdcdc;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #3a7afe;
  transform: translateX(5px);
}

/* ------ Social Icons ------ */
.social-icons {
  text-align: center;
  margin-bottom: 15px;
}

.social-icons a {
  color: #ffffff;
  margin: 0 10px;
  font-size: 20px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #3a7afe;
  transform: scale(1.2);
}

/* ------ Bottom Text ------ */
.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #bbbbbb;
}

.footer-bottom p {
  margin-top: 10px;
}
.footer-catalogue {
  margin: 20px 0;
}

.catalogue-btn {
  display: inline-flex;
  gap: 10px;
  padding: 12px 22px;
  background: #1c69ff;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.catalogue-btn i {
  font-size: 16px;
}

.catalogue-btn:hover {
  background: #04034f;
  transform: translateY(-2px);
}
/* -----------------------------------------------------------
   MODAL
----------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: #e2e8f0;
}

.modal-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 0;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.modal-body {
    padding: 24px;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}

.modal-body ul {
    padding-left: 20px;
    margin: 12px 0;
}

.modal-body li {
    margin-bottom: 8px;
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 991px) {
    .brand-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 835px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 320px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .products {
        padding: 4rem 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-title {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  overflow: hidden;
  display: none;
  z-index: 1001;
}

/* Header */
.chat-header {
  background: #0b3c52;
  color: #fff;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-size: 16px;
}

.chat-header .status {
  font-size: 12px;
  color: #9effc4;
}

.close-btn {
  font-size: 22px;
  cursor: pointer;
}

/* Body */
.chat-body {
  padding: 15px;
  background: #f4efe8;
}

.chat-message {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
}

/* Footer */
.chat-footer {
  padding: 15px;
  text-align: center;
}

.start-chat-btn {
  display: block;
  background: #25d366;
  color: #fff;
  padding: 12px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 6px;
}

.start-chat-btn:hover {
  background: #1ebe5d;
}

.chat-footer small {
  color: #777;
}

/* ===== SECTION LAYOUT ===== */
.products {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ===== PRODUCTS LAYOUT ===== */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== PROFESSIONAL SIDEBAR ===== */
.category-sidebar {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  border-radius: 10px;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.category-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateX(4px);
}

/* .category-btn.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
} */

.category-btn.active::after {
  content: '';
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.btn-icon {
  width: 28px;
  text-align: center;
  font-size: 1.1rem;
}

.btn-text {
  flex: 1;
}

.btn-count {
  background: #e2e8f0;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  transition: all 0.2s;
}

.category-btn.active .btn-count {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.sidebar-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.sidebar-footer small {
  display: block;
  color: #64748b;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.sidebar-cta {
  display: inline-block;
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.sidebar-cta:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Category group wrapper */
.category-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Toggle arrow button */
.btn-toggle {
  margin-left: auto;
  width: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .category-btn.active {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
} */

.category-btn[aria-expanded="true"] .btn-toggle i {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

/* .category-btn[aria-expanded="true"] {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
} */

/* Submenu container */
.category-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease-out, opacity 0.2s ease;
  background: #f8fafc;
  border-radius: 0 0 10px 10px;
  margin-left: 44px;
  margin-right: 1rem;
}

.category-submenu.expanded {
  max-height: 300px; /* Adjust based on your content */
  opacity: 1;
  transition: max-height 0.4s ease-in, opacity 0.3s ease;
}

/* Submenu links */
.submenu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.submenu-link:hover,
.submenu-link:focus {
  background: #e2e8f0;
  color: #0f172a;
  border-left-color: #3b82f6;
  padding-left: 1.25rem;
}

.submenu-link.active {
  background: #dbeafe;
  color: #1d4ed8;
  border-left-color: #3b82f6;
  font-weight: 500;
}

/* Sub-count badge */
.sub-count {
  background: #cbd5e1;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.submenu-link:hover .sub-count,
.submenu-link.active .sub-count {
  background: #3b82f6;
  color: #fff;
}

/* Active category with expanded submenu */
.category-btn.active[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.highlight-target {
  animation: pulse-highlight 1.2s ease;
}

@keyframes pulse-highlight {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Mobile optimization */
@media (max-width: 991px) {
  .category-submenu {
    margin-left: 40px;
  }
  
  .submenu-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.85rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .category-submenu,
  .btn-toggle,
  .submenu-link {
    transition: none !important;
  }
}

/* ===== TAB PANELS ===== */
.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-hero {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-left: 4px solid #3b82f6;
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 2rem;
}

.category-hero h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.category-hero p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ===== PROFESSIONAL PRODUCT CARD ===== */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-media {
  position: relative;
  padding-top: 75%; /* 4:3 aspect ratio */
  background: #f8fafc;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.3s ease;
}

.product-card:hover .card-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.badge-2g { background: #64748b; color: #fff; }
.badge-4g { background: #3b82f6; color: #fff; }
.badge-4g-lte { background: #8b5cf6; color: #fff; }
.badge-advanced { background: #059669; color: #fff; }
.badge-rugged { background: #dc2626; color: #fff; }

/* Blurred Card Container */
.product-card.upcoming {
  position: relative;
  opacity: 0.9;
}

/* Blur everything inside the card */
.product-card.upcoming .card-media img,
.product-card.upcoming .card-body {
  filter: blur(4px);
  -webkit-filter: blur(4px);
  transition: filter 0.3s ease;
}

/* Keep ribbon sharp and unblurred */
.badge-ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 100;
  white-space: nowrap;
  border-radius: 8px;
  filter: none;
  -webkit-filter: none;
}

/* Optional: Add glow effect to ribbon */
.badge-ribbon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border-radius: 8px;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.5;
}

/* Optional: Remove blur on hover */
.product-card.upcoming:hover .card-media img,
.product-card.upcoming:hover .card-body {
  filter: blur(0px);
}

.btn-disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

.card-wishlist {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}

.card-wishlist:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}

.card-excerpt {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: #3b82f6;
  color: #fff;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #3b82f6;
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .card-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}