@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');



/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #13167B;
    --primary-dark: #0e115c;
    --primary-light: #2a2f9e;
    --secondary-color: #1a1d1f;
    --accent-color: #ff6b00;
    --light-gray: #f5f7fa;
    --medium-gray: #e8ecef;
    --dark-gray: #6c757d;
    --text-color: #333;
    --text-light: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
    
    
    
    /* Dark mode variables */
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --footer-bg: #06143d;
    --text-primary: #333;
    --text-secondary: #6c757d;
}

body[data-theme="dark"] {
    /* Backgrounds – blue-black, not gray */
    --bg-color: #1139bb;          /* page background */
    --card-bg: #141a33;           /* cards / sections */
    --footer-bg: #06143d;         /* footer / deepest */

    /* Text */
    --text-primary: #122385;      /* main text */
    --text-secondary: #1a35ce;    /* muted text */

    /* Brand – boosted for dark */
    --primary-color: #5b6cff;     
    --primary-light: #8a96ff;
    --primary-dark: #3642b8;

    /* UI neutrals */
    --light-gray: #1c2245;        /* borders / dividers */
    --medium-gray: #2a3166;       /* subtle outlines */
    --dark-gray: #8c93c7;

    /* Text fallback */
    --secondary-color: #515774;
    --text-color: #e4e8ff;

    /* Shadows – deeper & softer */
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}


html {
    scroll-behavior: smooth;
}
html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}


h1, h2, h3, h4, h5, h6,
p,
a, li, span,
input, button, textarea {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: -0.02em;
}

h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
    line-height: 1.7;
}

p {
    line-height: 1.7;
    font-size: 1rem;
}


.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.header-container {
  display: flex;
  align-items: center;
    height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  
}

.logo img {
   height: 105px;      /* ✅ WILL NOW WORK */
  width: auto;
  object-fit: contain;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}


h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-color);
}

.text-accent {
    color: var(--accent-color);
}
/* TRANSPARENT HEADER ON HERO */
.header {
    position: fixed;
    top: 0;
    padding: 0;
    height: 110px; /* MUST be bigger than logo */
  display: flex;
  align-items: center;
    width: 100%;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

/* Header when scrolled */
.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* HERO STATE TEXT (DESKTOP + MOBILE LINKS) */
.header:not(.scrolled) .nav-link,
.header:not(.scrolled) .dropdown-item,
.header:not(.scrolled) .dropdown-btn i {
  color: #ffffff;
}
/* DESKTOP DROPDOWN — ALWAYS DARK TEXT */
.nav-desktop .dropdown-menu .dropdown-item {
  color: var(--secondary-color);
}
.nav-desktop .dropdown-menu {
  background-color: #ffffff;
}



/* Logo on hero */
.header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}
.header.scrolled .logo img {
  filter: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1; /* background */
}
.slide-content {
    position: relative;
    z-index: 3; /* text above everything */
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #fff;
}
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.65)
    );
    z-index: 2;
}


/* CTA with Image Section */
.cta-image-section {
    position: relative;
    padding: 120px 0;
    color: white;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 22, 123, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 30px;
}

.cta-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.cta-feature {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
/* =========================
   GENERAL PAGE HERO
========================= */
.page-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.35);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 40px;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}
@media (max-width: 768px) {
    .page-hero {
        min-height: 90vh;
        padding-top: 120px; /* for fixed header */
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        text-align: left;
    }

    .hero-stats {
        align-items: stretch;
    }

    .hero-stat {
        padding: 20px;
    }
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 160px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.18);
}

.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
span.stat-label{
    color: white ;
}
.stat-number {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    color: var(--accent-color);
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}


.stat-symbol {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}
@media (max-width: 400px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 400px) {

    .page-hero {
        min-height: 120vh;
        padding-top: 110px; /* fixed header space */
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* 🔥 SWITCH FROM FLEX TO GRID */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .hero-stat {
        min-width: unset;   /* 🔥 IMPORTANT */
        width: 100%;
        padding: 18px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-symbol {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

.stat-label {
    display: block;
    font-size: 1rem;
    margin-top: 8px;
color: white;
    font-weight: 600;
}


.cta-feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.cta-feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.cta-feature h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.cta-feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

.cta-buttons-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px 0;
}

.cta-buttons-group .btn {
    min-width: 200px;
}

.cta-buttons-group .btn i {
    margin-right: 10px;
}

.cta-contact-info {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
    font-size: 1.1rem;
}

.cta-contact-info i {
    color: var(--accent-color);
}/* Responsive Design */
@media (max-width: 1200px) {
   
    
  
    
    .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
   
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}
/* Dropdown icon on hero */
.header:not(.scrolled) .dropdown-btn i {
    color: #ffffff;
}

/* Reset colors after scroll */
.header.scrolled .nav-link,
.header.scrolled .dropdown-btn i {
    color: var(--secondary-color);
}
.hero {
    padding-top: 140px; /* adjust if header height changes */
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: #e05a00;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo span {
    color: var(--accent-color);
}



/* Desktop Navigation */
.nav-desktop {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 5px;
}
/* Dropdown icon button */
.dropdown-btn {
    margin-left: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dropdown-btn i {
    font-size: 0.7rem;
    color: var(--secondary-color);
    transition: transform 0.25s ease;
}

/* Rotate icon when open */
.dropdown.open .dropdown-btn i {
    transform: rotate(180deg);
}


/* Dropdown open state */
.dropdown-menu {
    display: none;
}

.dropdown.open .dropdown-menu {
    display: block;
}

/* Mobile spacing */
@media (max-width: 768px) {
    .nav-mobile .dropdown-btn {
        float: right;
    }
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
/* CLICK-BASED DROPDOWN (DESKTOP + MOBILE) */
.dropdown-menu {
    display: none;
}

.dropdown.open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--light-gray);
    color: white;
    padding-left: 25px;
}

.dropdown-item.active {
    color: var(--primary-color);
    background-color: rgba(19, 22, 123, 0.05);
}
/* FIX: Dropdown icon visibility on transparent header */
.header:not(.scrolled) .dropdown-btn i {
  color: #fff;              /* white icon */
  opacity: 1;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
     position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  z-index: 2000; /* 🔥 higher than hero */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    justify-content: space-between;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section Common */
.hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}


.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}



.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* change to center if needed */
  margin-bottom: 16px;
}

.footer-logo img {
  max-width: 160px;   /* footer-friendly size */
  width: 100%;
  height: auto;
  object-fit: contain;
}


.footer-about p {
    margin-bottom: 20px;
    color: white;
}

.footer-links h3, .footer-contact h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: white;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
    min-width: 20px;
}

.footer-bottom {
    border-top: 1px solid white;
    padding-top: 30px;
    text-align: center;
    color: white;
    font-size: 0.9rem;
}
/* Footer Enhancements */
.emergency-contact {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.emergency-contact h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #aaa;
    margin: 0 10px;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
}

.footer-certifications {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
}

.section-title h2::after {
    left: 50%;
    transform: translateX(-50%);
}
/* Add this to your existing CSS file */

/* Animation Classes */
.reveal-init {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animations for different elements */
h1.reveal-init {
    transform: translateY(60px);
}

p.reveal-init {
    transform: translateY(30px);
}

img.reveal-init {
    transform: translateY(40px) scale(0.95);
}

img.reveal-active {
    transform: translateY(0) scale(1);
}

.card.reveal-init {
    transform: translateY(50px) rotateX(10deg);
}

.btn.reveal-init {
    transform: translateY(30px) scale(0.95);
}

/* Staggered animations for children */
.stagger-container > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Counter animation */
.counter {
    font-variant-numeric: tabular-nums;
}






/* Scrolled logo size */


/* Immediate logo size when scrolled - no delay */
.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* Hero state – COLOR ONLY */


/* Remove any transitions that might cause delay */
.header {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}


/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    position: relative;
    min-height: 90vh; /* desktop default */
    display: flex;
    align-items: center;
}
.hero-slider,
.slide {
  padding-top: var(--header-height);
}



/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
     .slide h1 {
        font-size: 2.8rem;
    }
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
     .section {
        padding: 80px 0;
    }
      .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .cta-features {
        grid-template-columns: 1fr;
    }
      .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons-group {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-group .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-mobile.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-mobile .nav-menu {
        flex-direction: column;
    }
    
    .nav-mobile .nav-item {
        margin: 0 0 15px 0;
    }
    
    .nav-mobile .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 15px;
        display: none;
    }
    
    .nav-mobile .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
      .slide h1 {
        font-size: 2.2rem;
    }
    
    .slide p {
        font-size: 1.1rem;
    }
    
    .slider-arrows {
        padding: 0 15px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .back-to-top,
    .theme-toggle {
        bottom: 20px;
        right: 20px;
    }
    
    .theme-toggle {
        bottom: 80px;
    }
}
@media (max-width: 768px) {
  .header:not(.scrolled) .nav-mobile .dropdown-item {
    color: #000;
  }

  .header.scrolled .nav-mobile .dropdown-item {
    color: var(--secondary-color);
  }
}

@media (max-width: 768px) {
  .header {
    height: 100px;
  }

  .logo img {
    height: 85px;
  }
}
@media (max-width: 768px) {
  .footer-logo {
    justify-content: center;
  }

  .footer-logo img {
    max-width: 140px;
  }
   .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .nav-mobile .dropdown-menu {
        display: none;
    }

    .nav-mobile .dropdown.open .dropdown-menu {
        display: block;
    }
}
@media (max-width: 768px) {

    .nav-mobile .dropdown-menu {
        background-color: #ffffff;
      
        border-radius: 6px;
        margin-top: 10px;
        padding: 8px 0;
    }

    .nav-mobile .dropdown-item {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .nav-mobile .dropdown-item:not(:last-child) {
        border-bottom: 1px solid var(--medium-gray);
    }

    .nav-mobile .dropdown.open > .nav-link {
        color: var(--primary-color);
    }
}
/* SCROLLED STATE TEXT */
.header.scrolled .nav-link,
.header.scrolled .dropdown-item,
.header.scrolled .dropdown-btn i {
  color: var(--secondary-color);
}
@media (max-width: 768px) {
  .header:not(.scrolled) .nav-mobile {
    background: rgba(0, 0, 0, 0.65);  /* DARK */
    backdrop-filter: blur(12px);
  }
}
@media (max-width: 768px) {
  .header.scrolled .nav-mobile {
    background: #ffffff;  /* LIGHT */
  }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    .cta-feature {
        padding: 25px 20px;
    }
    h2 {
        font-size: 1.5rem;
    }
      .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 22px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
      .slide h1 {
        font-size: 1.8rem;
    }
}