:root {
  --header-height-desktop: 80px;
  --header-height-tablet: 96px;
  --header-height-mobile: 110px;
}


/* -----------------------------------------------------------
   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);
}

.main-header .container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 30px;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* -----------------------------------------------------------
   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;
    }
}

/* ===============================
   AUTOMOTIVE HERO BASE
================================ */
.auto-hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.775), rgba(30, 41, 59, 0.404)),
    url("../assets/telematics-bg.png") center / cover no-repeat;
  margin-top: 90px; /* fixed header */
 
  overflow: hidden;
  color: #fff;
  z-index: 1;
}

.auto-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.326), rgba(30, 41, 59, 0.118));
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ===============================
   GRID
================================ */
.auto-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100vh - 80px); /* FIXED */
  position: relative;
  z-index: 2;
}

/* ===============================
   TEXT
================================ */
.auto-hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.auto-hero-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 28px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(37,99,235,0.45);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(37,99,235,0.6);
}

.btn-outline {
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.35);
  color: #e2e8f0;
  text-decoration: none;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

/* ===============================
   IMAGE AREA
================================ */
.auto-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* RESPONSIVE IMAGE (NO BREAK AT 1044px) */
.circle-image {
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   TECH BADGES
================================ */
.tech-badge {
  position: absolute;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.45);
  box-shadow: 0 10px 25px rgba(56,189,248,0.35);
  animation: float 5s ease-in-out infinite;
  white-space: nowrap;
}

.badge-ecu {
  top: 10%;
  left: 8%;
}

.badge-can {
  bottom: 10%;
  right: 12%;
  animation-delay: 1.5s;
}

.badge-diag {
  top: 45%;
  right: 6px; /* FIX overflow */
  animation-delay: 3s;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===============================
   RESPONSIVE FIXES
================================ */

/* Tablet */
@media (max-width: 1042px) {
  .auto-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .auto-hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .auto-hero {
    padding: 60px 0 40px;
  }

  .auto-hero-text h1 {
    font-size: 2.1rem;
  }

  .circle-image {
    width: 85vw;
    height: 85vw;
  }

  .tech-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }
}
@media (max-width: 1040px) {
  .auto-hero {
    padding-top: calc(var(--header-height-tablet) + 60px);
  }

  .auto-hero-text h1 {
    font-size: 2.6rem;
  }
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.auto-hero-text h1 {
  animation: fadeUp 0.9s ease forwards;
}

.auto-hero-text p {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.15s;
}
.circle-image {
  animation: fadeScale 1s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.hero-buttons a:nth-child(1) {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.3s;
}

.hero-buttons a:nth-child(2) {
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.45s;
}

/* Prevent flash before animation */
.auto-hero-text h1,
.auto-hero-text p,
.hero-buttons a {
  opacity: 0;
}

   /*************************************************** Device Navigation Cards section **********************************************************/
        .device-navigation {
            padding: 60px 0;
            background: #f8fafc;
        }
        
        .navigation-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .navigation-header h2 {
            font-size: 2.5rem;
            color: #0f172a;
            margin-bottom: 1rem;
        }
        
        .navigation-header p {
            color: #64748b;
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .navigation-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1000px;
            margin: 0 auto;
        }
        
        .nav-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }
        
        .nav-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }
        
        .nav-card i {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        .nav-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #0f172a;
        }
        
        .nav-card p {
            color: #64748b;
            line-height: 1.6;
        }
        
        @media (max-width: 992px) {
            .device-container {
                flex-direction: column;
                text-align: center;
            }
            
            .device-info {
                width: 100%;
            }
        }
        
        @media (max-width: 768px) {
            .features-container,
            .extra-features-grid,
            .navigation-cards {
                grid-template-columns: 1fr;
            }
            
            .navigation-header h2 {
                font-size: 2rem;
            }
        }
/* ================================
   Device Navigation Animations
================================ */

/* Initial hidden state */
.navigation-header h2,
.navigation-header p,
.nav-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Animate when visible */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}




/* =====================================================================================================
                                          SOLUTIONS SECTION
======================================================================================================== */
.solutions-section {
  background: #ffffff;
  padding: 90px 20px;
}

.solutions-container {
  max-width: 1250px;
  margin: auto;
}

.solutions-container h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.solutions-subtitle {
  font-size: 1.05rem;
  color: #475569;
  max-width: 780px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ===============================
   GRID
================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ===============================
   CARD
================================ */
.solution-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 28px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.25);
}

/* ===============================
   ICON
================================ */
.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  border: 2px solid #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 26px;
  position: relative;
}

.icon-box i {
  font-size: 28px;
  color: #0f172a;
}

.icon-bar {
  position: absolute;
  right: -8px;
  width: 6px;
  height: 26px;
  background: linear-gradient(180deg, #2563eb, #38bdf8);
  border-radius: 6px;
}

/* ===============================
   TEXT
================================ */
.solution-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.solution-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solutions-container h2 {
    font-size: 2.1rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   SOLUTIONS – ANIMATIONS
================================ */

/* Initial hidden state */
.solution-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Reveal on scroll */
.solution-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Icon animation */
.solution-card .icon-box {
  transform: scale(0.9);
  transition: transform 0.6s ease;
}

.solution-card.show .icon-box {
  transform: scale(1);
}

/* Icon bar animation */
.solution-card .icon-bar {
  width: 0;
  height: 3px;
  background: #2563eb;
  display: block;
  margin-top: 8px;
  transition: width 0.6s ease 0.2s;
}

.solution-card.show .icon-bar {
  width: 28px;
}

/* Hover effect */
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
  transition: all 0.35s ease;
}

.solution-card:hover i {
  color: #2563eb;
}

/* ===============================
   CTA SECTION
================================ */
.cta-section {
  position: relative;
  padding: 120px 20px;
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.25), transparent 40%),
    linear-gradient(180deg, #020617, #020617);
  color: #ffffff;
  overflow: hidden;
}

/* Center container */
.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.cta-container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* Subtitle */
.cta-container p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Button */
.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(59,130,246,0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(59,130,246,0.65);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .cta-section {
    padding: 90px 20px;
  }

  .cta-container p {
    font-size: 1rem;
  }
}

/* ======================================== DETAILED CAPABILITIES SECTION ================================================= */

.capabilities-section {
  padding: 80px 20px;
  background: #f8fafc;
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 34px;
  font-weight: 700;
  color: #0f172a;
}

.section-desc {
  color: #475569;
  max-width: 820px;
  margin-bottom: 50px;
}

.capability-tag {
  display: inline-block;
  margin: 50px 0 20px;
  padding: 6px 16px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  border-radius: 20px;
  font-size: 13px;
}

.capability-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
}

.capability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.capability-content h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.sub-title {
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 15px;
}

.capability-content ul {
  padding-left: 18px;
  margin-bottom: 25px;
}

.capability-content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-box {
  background: #f1f5f9;
  padding: 20px;
  border-radius: 12px;
}

.info-box h4 {
  color: #2563eb;
  font-size: 14px;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .capability-card {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   CAPABILITIES – ANIMATIONS
================================ */

/* Initial hidden state */
.capability-card,
.capability-tag {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Visible on scroll */
.capability-card.show,
.capability-tag.show {
  opacity: 1;
  transform: translateY(0);
}

/* Image animation */
.capability-image img {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  transition: all 0.9s ease;
}

.capability-card.show .capability-image img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Content animation */
.capability-content {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.9s ease 0.15s;
}

.capability-card.show .capability-content {
  opacity: 1;
  transform: translateX(0);
}

/* Tag animation */
.capability-tag {
  display: inline-block;
  margin: 60px 0 20px;
  padding: 6px 16px;
  background: #eef2ff;
  color: #2563eb;
  font-weight: 600;
  border-radius: 999px;
}

/* Hover micro-interaction */
.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
}


/* ====================================== WHY CHOOSE US SECTION ==================================== */

.why-choose {
  background: #f6f8fc;
  padding: 80px 20px;
  font-family: "Inter", sans-serif;
}

.why-card {
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.why-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.why-desc {
  color: #4b5563;
  line-height: 1.7;
  max-width: 850px;
  margin-bottom: 40px;
}

/* GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  align-items: center;
}

.icon {
  width: 42px;
  height: 42px;
  background: #eef2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.why-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.why-item span {
  font-size: 14px;
  color: #6b7280;
}

/* BUTTONS */
.why-actions {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: #9ca3af;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  pointer-events: none; /* matches disabled look */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-actions {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------- 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);
}

/* ====================================================== 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;
}
