/* === Variables globales === */
:root {
    --bleu-ciel: #e8f1fe;
    --bleu-fonce: #0056d2;
    --bleu-moyen: #3a7bd5;
    --text-color: #2c3e50;
    --gris-clair: #f8f9fa;
    --blanc: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
        transform 0.6s ease,
        opacity 0.6s ease,
        background 0.3s ease;
}
.mobile-nav {
    display: none;
}
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
}

header.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.5px;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}
.logo:hover {
    color: #000;
    transform: translateY(-1px);
}
.logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
@media (max-width: 768px) {
    .logo {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 18px;
        letter-spacing: -0.5px;
        font-weight: 800;
    }
    .logo img {
        width: 28px;
        height: 28px;
    }
}
.logo:hover img {
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.menu-toggle {
    display: none;
    margin-left: auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
    transform: scale(1.08);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    background: var(--bleu-fonce);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle::before {
    top: 14px;
}

.menu-toggle span {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.menu-toggle::after {
    bottom: 14px;
}

/* Hamburger to X animation when menu opens */
header.open .menu-toggle::before {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--bleu-fonce);
}

header.open .menu-toggle span {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}

header.open .menu-toggle::after {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
    background: var(--bleu-fonce);
}

nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    transition: color 0.25s ease;
    white-space: nowrap;
}
nav a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--bleu-fonce);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    opacity: 0.9;
}
nav a.active,
nav a:hover {
    color: var(--bleu-fonce);
}
nav a.active::after,
nav a:hover::after {
    transform: scaleX(1);
}

/* ========================================
   MOBILE-FIRST FULLSCREEN NAVIGATION
   Optimized for Touch & Thumb-Friendly
   ======================================== */

@media (max-width: 768px) {
    /* ===== PROFESSIONAL & AESTHETIC MOBILE NAVIGATION ===== */

    /* Header styles remain consistent */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        background: rgba(255, 255, 255, 0.85);
        /* backdrop-filter is removed to prevent clipping position:fixed menu */
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
        z-index: 1000;
        transition: background-color 0.3s ease;
    }

    header.open {
        background: transparent;
        box-shadow: none;
    }

    /* Change hamburger color for dark background */
    header.open .menu-toggle::before,
    header.open .menu-toggle::after {
        background: #ffffff;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        z-index: 1001;
    }

    /* Hide desktop nav on mobile */
    header > nav {
        display: none;
    }

    /* Sophisticated Dark Overlay */
    body > nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #002147; /* Dark blue from footer */
        z-index: 999;
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 0.35s ease,
            transform 0.35s ease;
    }

    header.open + nav {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    /* Elegant, Left-Aligned Menu Items */
    body > nav a {
        position: relative;
        width: 100%;
        max-width: 320px; /* More contained width */
        display: flex;
        align-items: center;
        padding: 20px 0;
        margin: 0;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.7); /* Softer white for text */
        font-size: 1.75rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
        transition: color 0.3s ease;
        opacity: 0;
        transform: translateY(15px);
    }

    body > nav a:first-of-type {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Staggered Animation for Menu Items */
    header.open + nav a {
        opacity: 1;
        transform: translateY(0);
        transition:
            opacity 0.4s ease,
            transform 0.4s ease;
    }

    header.open + nav a:nth-child(1) {
        transition-delay: 0.15s;
    }
    header.open + nav a:nth-child(2) {
        transition-delay: 0.2s;
    }
    header.open + nav a:nth-child(3) {
        transition-delay: 0.25s;
    }
    header.open + nav a:nth-child(4) {
        transition-delay: 0.3s;
    }
    header.open + nav a:nth-child(5) {
        transition-delay: 0.35s;
    }
    header.open + nav a:nth-child(6) {
        transition-delay: 0.4s;
    }

    /* Professional Hover/Active State with Animated Indicator */
    body > nav a::before {
        content: "";
        position: absolute;
        left: -20px;
        top: 50%;
        height: 0%;
        width: 3px;
        background-color: var(--bleu-fonce);
        border-radius: 2px;
        transform: translateY(-50%);
        transition: height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    body > nav a.active,
    body > nav a:hover,
    body > nav a:focus {
        color: #ffffff; /* Bright white on hover */
        background-color: transparent;
    }

    body > nav a.active::before,
    body > nav a:hover::before,
    body > nav a:focus::before {
        height: 60%; /* Reveal indicator */
    }

    /* Body Scroll Lock */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        touch-action: none;
    }

    /* Adjustments for smaller screens */
    @media (max-width: 480px) {
        body > nav a {
            font-size: 1.5rem;
            max-width: 280px;
        }
    }
}

/* Global Width Constraints - Mobile Specific */
@media (max-width: 768px) {
    .hero,
    .about-section,
    .section-choisir,
    .chiffres-section,
    .groupes-simples,
    .footer {
        max-width: 100vw;
        overflow-x: hidden;
        width: 100%;
    }

    .hero-content,
    .about-container,
    .chiffres-container,
    .groupes-container,
    .footer-container {
        max-width: 100%;
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    section {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .choisir-grid,
    .chiffres-grid,
    .groupes-logos {
        max-width: 100%;
        width: 100%;
    }
}

/* ========== SECTION MOT DU DIRECTEUR ========== */
.mot-directeur {
    padding: 70px 20px;
    background: linear-gradient(135deg, #f4f8ff, #ffffff);
}

.mot-directeur-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: #fff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.mot-directeur-container::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: var(--bleu-ciel);
    border-radius: 50%;
    opacity: 0.5;
}

.mot-directeur-image {
    flex: 1;
    min-width: 260px;
    text-align: center;
}

.mot-directeur-image img {
    max-width: 350px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.mot-directeur-image img:hover {
    transform: scale(1.05);
}

.mot-directeur-texte {
    flex: 2;
    min-width: 320px;
}

.mot-directeur-texte h2 {
    font-size: 28px;
    color: var(--bleu-fonce);
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 6px solid var(--bleu-fonce);
    padding-left: 14px;
}

.mot-directeur-texte p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 18px;
    text-align: justify;
}

.mot-directeur-signature {
    margin-top: 25px;
    font-size: 16px;
    color: var(--bleu-fonce);
    font-weight: bold;
    font-style: italic;
    border-top: 2px solid var(--bleu-ciel);
    padding-top: 12px;
    display: inline-block;
}

@media (max-width: 768px) {
    .mot-directeur-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }
    .mot-directeur-texte h2 {
        text-align: center;
        border-left: none;
        border-bottom: 3px solid var(--bleu-fonce);
        display: inline-block;
        padding: 0 0 8px 0;
    }
    .mot-directeur-signature {
        margin: 25px auto 0;
        display: block;
    }
}

/* ========== SECTION MISSIONS ========== */
.missions {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f9fbff 0%, #e8f1fe 100%);
}

.missions::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bleu-ciel);
    opacity: 0.3;
    z-index: 0;
    top: -100px;
    left: -100px;
}

.missions-container {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--bleu-fonce);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--bleu-fonce);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* Design schématique compact */
.schema-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.schema-item {
    flex: 0 0 calc(20% - 20px);
    min-width: 180px;
    background: var(--blanc);
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--bleu-fonce);
}

.schema-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.12);
}

.schema-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--bleu-ciel);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.schema-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.schema-item:hover .schema-icon {
    transform: scale(1.1);
    background: var(--bleu-fonce);
}

.schema-item h3 {
    font-size: 16px;
    color: var(--bleu-fonce);
    margin-bottom: 10px;
    font-weight: 600;
    min-height: 40px;
}

.schema-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

/* Ligne de connexion pour le schéma */
.schema-connector {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--bleu-moyen);
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.6;
}

/* Version mobile */
@media (max-width: 1024px) {
    .schema-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .missions {
        padding: 60px 15px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 16px;
    }

    .schema-item {
        flex: 0 0 calc(50% - 20px);
    }

    .schema-connector {
        display: none;
    }
}

@media (max-width: 480px) {
    .schema-item {
        flex: 0 0 100%;
    }
}

/* Animation pour l'apparition des éléments */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.schema-item {
    opacity: 0;
}

.schema-item.animated {
    animation: fadeInUp 0.5s ease forwards;
}

/* Délais d'animation pour chaque élément */
.schema-item:nth-child(1) {
    animation-delay: 0.1s;
}
.schema-item:nth-child(2) {
    animation-delay: 0.2s;
}
.schema-item:nth-child(3) {
    animation-delay: 0.3s;
}
.schema-item:nth-child(4) {
    animation-delay: 0.4s;
}
.schema-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* ========== SECTION TERRAIN ========== */
.terrain {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.terrain-container {
    max-width: 1200px;
    margin: auto;
}

.terrain-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.terrain-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.terrain-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 86, 210, 0.15);
}

.terrain-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.terrain-item:hover img {
    transform: scale(1.05);
}

.terrain-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 33, 71, 0.85);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .terrain-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .terrain-item img {
        height: 220px;
    }
}

/* ========== SECTION VISION AVEC LIGNE CENTRALE COMPACTE ========== */
.vision {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.vision::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bleu-ciel);
    opacity: 0.3;
    z-index: 0;
}

.vision-container {
    max-width: 1000px;
    margin: auto;
    position: relative;
    z-index: 1;
}

/* Timeline Design Compact */
.timeline {
    position: relative;
    padding: 20px 0; /* réduit */
}

/* Ligne centrale */
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--bleu-moyen);
    border-radius: 2px;
}

/* Points de repère */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bleu-fonce);
    border: 3px solid var(--blanc);
    box-shadow: 0 0 0 2px var(--bleu-fonce);
    z-index: 2;
}

/* Conteneur des éléments de timeline */
.timeline-item {
    position: relative;
    margin-bottom: 10px; /* réduit */
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contenu de la timeline */
.timeline-content {
    position: relative;
    width: calc(40% - 20px); /* réduit largeur */
    padding: 16px; /* un peu plus compact */
    background: var(--blanc);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

/* Flèches pointant vers la ligne centrale */
.timeline-content::before {
    content: "";
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: 100%;
    border-width: 8px 12px 8px 0;
    border-color: transparent var(--blanc) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: 100%;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--blanc);
}

/* Icônes dans la timeline */
.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bleu-ciel);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.timeline-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* Titres et textes */
.timeline-content h3 {
    font-size: 15px; /* réduit légèrement */
    color: var(--bleu-fonce);
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 13px; /* réduit */
    line-height: 1.4;
    color: var(--text-color);
    margin: 0;
}

/* Effet au survol */
.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.15);
}

.timeline-content:hover .timeline-icon {
    background: var(--bleu-fonce);
    transform: scale(1.1);
}

.timeline-content:hover .timeline-icon img {
    filter: brightness(0) invert(1);
}

/* Version mobile */
@media (max-width: 768px) {
    .vision {
        padding: 40px 15px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* Adaptation de la timeline pour mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -12px;
        right: auto;
        border-width: 8px 12px 8px 0;
        border-color: transparent var(--blanc) transparent transparent;
    }
}

/* Animation pour l'apparition des éléments */
@keyframes fadeInUpVision {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item.animated {
    animation: fadeInUpVision 0.6s ease forwards;
}

/* Délais d'animation pour chaque élément */
.timeline-item:nth-child(1) {
    animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
    animation-delay: 0.4s;
}
.timeline-item:nth-child(5) {
    animation-delay: 0.5s;
}

.footer {
    background-color: #002147;
    color: #ffffff;
    padding: 60px 20px 20px;
    font-size: 15px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.footer-logo span {
    font-size: 20px;
}

.footer-tagline {
    margin: 0;
    color: #cce5ff;
    opacity: 0.9;
}

.footer-social {
    display: inline-flex;
    gap: 12px;
    margin-top: 6px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
    stroke: none;
}

.footer-columns {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 28px;
}

.footer-col {
    min-width: 240px;
}

.footer-col h4 {
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #e6f0ff;
}

.footer-col li svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #cce5ff;
    stroke-width: 1.6;
    flex: 0 0 18px;
    margin-top: 3px;
}

.footer-col li a {
    color: #cce5ff;
}

.footer-col li strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-col h3,
.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
}

.footer p {
    margin: 8px 0;
    line-height: 1.6;
}

.footer a {
    color: #cce5ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    color: #cbd5e1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom-links {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 0 16px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }

    .footer-col {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 16px 0;
    }
}
