@charset "UTF-8";
/* 
   Techno Stat Group - Premium Redesign 
   Theme: Tech Impact Africa - Institutional & Modern
*/

:root {
    /* Colors - Institutional Palette */
    --primary-blue: #0B3C5D;
    --primary-blue: #0b3c5d;
    --secondary-blue: #328cc1;
    --light-blue: #00a8e8;
    --text-main: #333333;
    --text-secondary: #555555;
    --section-bg: #F6F8FA;
    --white: #ffffff;
    --border-color: #eeeeee;
    --accent-orange: #d9b310;
    --bg-light: #f4f7f6;
    --accent-grey: #f7f7f7;

    /* Brand Colors (Logo Based) */
    --brand-dark: #0b2846;
    /* Dark Navy Blue */
    --brand-green: #2ecc71;
    --brand-red: #e74c3c;
    --brand-yellow: #f1c40f;
    /* Kaydan style accent */

    /* Layout & Rhythm (Strict Corporate Rules) */
    --max-width: 1240px;
    --header-height: 160px;
    /* Adjusted for Kaydan Style (110+50) */
    --section-padding: 100px;
    --section-padding-mobile: 56px;
    --container-padding: 32px;
    --gap-standard: 32px;

    /* Geometry */
    --radius-card: 16px;
    --radius-btn: 10px;
    --radius-director: 20px;
    --card-radius: 12px;

    /* Shadows (Discrete) */
    --shadow-premium: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-fluid: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    /* Improved corporate line spacing */
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-section {
    background-color: var(--section-bg);
}

h1,
h2,
h3,
h4 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.25;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    /* Strict section title margin */
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

/* Specific Section Adjustments */
#director {
    padding: 30px 0;
    /* Reduced from global 60px */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--card-radius);
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width-desktop);
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.bg-grey {
    background-color: var(--accent-grey);
}

.bg-white {
    background-color: var(--white);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fluid);
    cursor: pointer;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
    border: none;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.bg-section {
    background-color: var(--section-bg);
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(47, 128, 185, 0.2);
    /* Softer shadow */
}

.btn-primary:hover {
    background-color: #266a9a;
    /* Darker secondary blue */
    transform: translateY(-2px);
    /* Subtle lift */
    box-shadow: 0 6px 15px rgba(11, 60, 93, 0.3);
}

.btn-secondary {
    background-color: transparent !important;
    border: 2px solid #0B3C5D !important;
    /* Elegant visibility */
    color: #0B3C5D !important;
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header Kaydan Style */
header {
    height: auto;
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top {
    height: 110px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    border: none !important;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    height: 50px;
    background-color: var(--white);
    border-top: none;
    /* Removed the line separating top and main header */
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-smooth);
    position: relative;
    z-index: 1100;
    /* Asymmetrical straddle: 80% above the line, 20% below */
    transform: translateY(25px);
    animation: floatingLogo 4s ease-in-out infinite;
}

@keyframes floatingLogo {
    0% {
        transform: translateY(25px);
    }

    50% {
        transform: translateY(18px);
    }

    100% {
        transform: translateY(25px);
    }
}

.logo:hover {
    animation-play-state: paused;
    transform: translateY(25px) scale(1.05);
}

.logo img {
    height: 100px;
    /* Restored for horizontal logo */
    width: auto;
    display: block;
    object-fit: contain;
    /* Use multiply to blend the white background with the header */
    mix-blend-mode: multiply;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.contact-main {
    font-size: 1.1rem;
    /* Slightly smaller as requested */
    font-weight: 800;
    color: var(--text-main);
}

.contact-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.contact-icon-box {
    font-size: 2rem;
    color: var(--text-main);
    padding: 0 10px;
}

.lang-selector {
    font-weight: 800;
    font-size: 1rem;
    font-size: 1rem;
    padding-left: 10px;
}

.lang-selector a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}

.lang-selector a:hover {
    color: var(--accent-orange);
}

nav {
    display: flex;
    justify-content: flex-end;
}

.header-main .container {
    display: flex;
    justify-content: flex-end;
    /* Right align navigation */
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Force right alignment */
    gap: 40px;
    list-style: none;
}

.nav-links li a {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-main);
    transition: var(--transition-smooth);
    position: relative;
    padding: 15px 0;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accent-orange);
}

.btn-header {
    height: 44px;
    padding: 0 24px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-header:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Active Styling (Orange Top Accent - Full width above link) */
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    top: -15px;
    /* Aligned with top of nav row */
    left: 0;
    background-color: var(--accent-orange);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.nav-links li a.active::after {
    transform: scaleX(1);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
    opacity: 0.6;
}

.nav-btn {
    display: flex;
    align-items: center;
}

.nav-btn .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    /* Medium radius */
    box-shadow: none;
    /* Cleaner look */
    background-color: var(--primary-blue);
    color: #fff;
    transition: var(--transition-fluid);
    white-space: nowrap;
    /* Prevent breaking line */
}

.nav-btn .btn:hover {
    background-color: #09304a;
    /* Darker blue */
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* Hero Section - Innovative & Institutional */
.hero {
    position: relative;
    background: var(--white);
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Base content layer above background layers */
.hero>.container {
    position: relative;
    z-index: 5;
    text-align: center;
    /* Center alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center flex-items */
    justify-content: center;
}

.hero h1 {
    font-size: 2.8rem;
    max-width: 900px;
    margin-bottom: 32px;
    /* Increased gap */
    line-height: 1.3;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.35rem;
    /* Slightly larger */
    color: var(--white);
    margin-bottom: 24px;
    /* Increased gap */
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-indicators {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    /* Center indicators */
    margin-bottom: 48px;
    /* High aeration */
    font-size: 0.95rem;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Center buttons */
}

/* Background Treatments (Preserved from previous edits but adjusted) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/arriere-plan.jpg') no-repeat center center;
    background-size: cover;
    opacity: 1;
    filter: grayscale(0%);
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    max-width: 900px;
    margin-bottom: 32px;
    /* Increased gap */
    color: var(--white);
    /* Light black outline (Contour noir léger) + Drop Shadow */
    text-shadow:
        -1px -1px 0 rgba(0, 0, 0, 0.5),
        1px -1px 0 rgba(0, 0, 0, 0.5),
        -1px 1px 0 rgba(0, 0, 0, 0.5),
        1px 1px 0 rgba(0, 0, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 5px;
}

.team-social-link {
    width: 35px;
    height: 35px;
    background: var(--light-bg-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fluid);
    text-decoration: none;
}

.team-social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Units List Styling */
.units-intro {
    text-align: center;
    max-width: 900px;
    margin: 80px auto 40px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    padding: 0 20px;
}

.units-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.unit-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fluid);
}

.unit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.unit-item h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
}


.unit-item .responsible {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.unit-item .responsible i {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    backdrop-filter: none;
    /* Removed blur for clarity */
    z-index: 2;
}

.hero .btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 16px 36px;
    font-weight: 600;
    border-radius: var(--radius-btn);
    box-shadow: 0 4px 12px rgba(11, 60, 93, 0.15);
}

.hero .btn-secondary {
    background-color: transparent !important;
    color: var(--white) !important;
    padding: 16px 36px;
    font-weight: 700;
    border: 2px solid var(--white) !important;
    border-radius: var(--radius-btn);
    transition: var(--transition-fluid);
}

.hero .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 1.8rem;
        /* Smaller on mobile to keep single line feel if possible, or wrap elegantly */
    }

    .hero-indicators {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
        max-width: 300px;
        /* refrain from full width ugly buttons */
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 180px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin: 0;
}

/* About Header Specifics (LA MARQUE / Institutional) */
.page-header.about-header {
    /* Fallback or base style */
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-header.institutional-header {
    height: 500px;
    /* Total height increased to account for fixed header + visual space */
    padding-top: var(--header-height);
    /* Push content below fixed header (140px) */
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(11, 40, 70, 0.8), rgba(11, 40, 70, 0.6)), url('../img/hero-bg-v2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: left;
}

/* Contact Header Specifics */
.page-header.contact-header {
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background: #0b2846;
}

.page-header.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 50, 100, 0.8), rgba(0, 30, 70, 0.7)), url('../img/hero-bg-v2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(1.15) brightness(1.05) saturate(1.1);
    z-index: 0;
}

.page-header.contact-header h1 {
    font-size: 5rem;
    color: var(--white) !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    margin: 0;
    text-transform: uppercase;
}

/* Page Hero (experiences.html, about.html, etc.) */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Reduced padding for a cleaner "band" look without text */
    padding: 220px 0 80px;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
    margin-bottom: 0;
}

.page-hero h1 {
    color: white !important;
    text-align: center;
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Specific refinement for Experiences page: 2.8rem for better presence */
.experiences-header h1 {
    font-size: 2.8rem !important;
}

.institutional-header .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 20px;
    /* Visual correction */
}

.page-header.institutional-header h1 {
    font-size: 4.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.institutional-header .page-header-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}

.institutional-header .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
    font-weight: 300;
}


/* =========================================
   NEW SERVICES SECTION REDESIGN
   ========================================= */

/* Intro Section */
.services-intro {
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.services-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    margin: 0 auto 24px;
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    /* Ensure equal height */
}

/* Service Card Base */
.service-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: var(--card-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fluid);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Axis Specific Colors & Accents */
.axe-1 {
    border-top: 5px solid #0B3C5D;
}

/* Deep Blue */
.axe-2 {
    border-top: 5px solid #00A8E8;
}

/* Cyan/Tech Blue */
.axe-3 {
    border-top: 5px solid #546E7A;
}

/* Mineral Blue/Grey */

/* Highlighted Card (Axe 2) */
.service-card.highlight {
    background: linear-gradient(to bottom, #ffffff, #fcfcfc);
    border: 1px solid rgba(0, 168, 232, 0.15);
    /* Subtle cyan border */
    transform: scale(1.02);
    /* Slightly larger */
    z-index: 2;
    /* Lift above others */
}

.service-card.highlight:hover {
    transform: scale(1.02) translateY(-12px);
}

/* Badge */
.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 168, 232, 0.1);
    color: #0077b6;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Icons */
.card-icon {
    margin-bottom: 24px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.big-icon {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.axe-1 .big-icon {
    color: #0B3C5D;
}

.axe-2 .big-icon {
    color: #00A8E8;
}

.axe-3 .big-icon {
    color: #546E7A;
}

.service-card:hover .big-icon {
    transform: scale(1.1);
}

/* Typography */
.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.3;
    min-height: 54px;
    /* Align titles */
}

.service-card:hover h3 {
    color: var(--primary-blue);
    /* Title becomes dark blue on hover */
}

.force-value {
    font-style: italic;
    color: #5F6B73;
    font-weight: 500;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    border-left: 3px solid rgba(0, 0, 0, 0.1);
    padding-left: 16px;
}

/* Service List */
.service-list {
    list-style: none;
    margin-top: 0;
    text-align: left;
}

.service-list li {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    line-height: 1.5;
}

.service-list li i {
    font-size: 0.9rem;
    margin-top: 4px;
    opacity: 0.8;
}

.axe-1 .service-list li i {
    color: #0B3C5D;
}

.axe-2 .service-list li i {
    color: #00A8E8;
}

.axe-3 .service-list li i {
    color: #546E7A;
}

/* Push the CTA button to the bottom of the highlighted card */
.axe-2 .text-center {
    margin-top: auto;
    padding-top: 20px;
}

/* Style for the scroll-down button */
.btn-scroll-down {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #f0f8ff, #e0f3ff);
    color: #0077b6;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(0, 168, 232, 0.25);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.btn-scroll-down:hover {
    background: linear-gradient(135deg, #00A8E8, #0077b6);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* Stack vertically */
        max-width: 500px;
        margin: 0 auto;
    }

    .service-card.highlight {
        transform: none;
        /* Remove scale on mobile */
    }

    .service-card.highlight:hover {
        transform: translateY(-5px);
    }

    .service-card {
        min-height: auto;
        /* Allow auto height */
    }

    .service-card h3 {
        min-height: auto;
    }
}


/* Services Header (Abstract + Human) */
.page-header.services-header {
    height: 500px;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(11, 40, 70, 0.85), rgba(0, 100, 200, 0.4)), url('../img/hero-bg-v3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: left;
}

.services-header .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 20px;
}

.page-header.services-header h1 {
    font-size: 4.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.services-header .page-header-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
}

.services-header .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 15px;
    font-weight: 300;
}

.services-header .header-hook {
    margin-top: 20px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
}

/* Cards & Sections */
.presentation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.presentation-text h2 {
    margin-bottom: 24px;
}

.presentation-text p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.legal-info {
    margin-top: 30px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--card-radius);
    border-left: 5px solid var(--light-blue);
    box-shadow: var(--shadow-soft);
}

.legal-info p {
    margin: 5px 0;
    font-weight: 600;
    color: var(--secondary-blue);
}

/* Cards General Style */
.card-container {
    background: var(--white);
    padding: 32px;
    /* Internal padding: 32px */
    border-radius: var(--radius-card);
    /* 16px */
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
    border-top: 4px solid var(--secondary-blue);
}

.card-container h3 {
    margin-bottom: 12px;
    /* Title -> Text: 12px */
}

.card-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Vision & Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* Generous gap */
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-card);
    box-shadow: 0 10px 40px rgba(255, 107, 0, 0.08);
    /* Orange shadow as requested */
    border: 1px solid rgba(255, 107, 0, 0.05);
    /* Subtle orange border */
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 107, 0, 0.15);
}

.vm-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.vm-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

/* Icon next to title layout if needed, or keeping icon above */
.vm-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.vm-header i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.vm-header h3 {
    margin: 0;
    /* Reset margin when inside header flex */
}

.vm-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: justify;
    /* Justified text as requested */
}

/* Axes d'intervention */
.axes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-standard);
}

.axe-card.visual-card {
    padding: 0;
    overflow: hidden;
    border: none;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.axe-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.visual-card:hover .img-placeholder {
    transform: scale(1.1);
}

.axe-body {
    padding: 30px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.axe-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.4;
}

.axe-link-wrapper {
    margin-top: auto;
}

.axe-pill-link {
    display: inline-block;
    padding: 8px 24px;
    background-color: #FFF5F0;
    color: var(--accent-orange);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fluid);
}

.axe-pill-link:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.axe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Visual card architecture updated */

/* Organization & Team - Premium Style */
.org-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.org-header h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.org-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.team-subtitle {
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
    font-weight: 700;
}

.section-number,
.unit-number {
    color: var(--accent-orange);
    margin-right: 12px;
    font-weight: 800;
    font-size: 1.1em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fluid);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-role {
    display: inline-block;
    padding: 6px 16px;
    background: var(--light-bg-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.team-img-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 8px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.08);
}


/* Operational Units List */
.units-list-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.units-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unit-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.unit-item:last-child {
    border-bottom: none;
}

.unit-icon {
    width: 40px;
    height: 40px;
    background: var(--light-bg-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-right: 20px;
    font-size: 1.2rem;
}

.unit-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .team-card {
        height: 400px;
        /* Slightly shorter on mobile */
    }
}

.partner-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    /* Reduced padding for tighter rows */
    position: relative;
    background: var(--white);
    margin-bottom: 20px;
}

.partner-track {
    display: flex;
    width: calc(250px * 36);
    /* 12 original * 3 sets */
    animation: scroll 60s linear infinite;
}

.partner-track.reverse {
    animation: scroll-reverse 60s linear infinite;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    /* Reduced padding */
    transition: 0.3s;
    margin: 0 15px;
    /* Spacing between cards */
    background: #ffffff;
    /* White background for visibility */
    border-radius: 12px;
    /* Rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Removed grayscale filter */
.partner-logo-item img {
    max-width: 100%;
    max-height: 80px;
    /* Slightly smaller to fit in card */
    object-fit: contain;
    filter: none;
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 12));
        /* 250px + 30px margin = 280px */
    }
}

.partners-header {
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0b2846;
}

.partners-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(11, 40, 70, 0.7), rgba(11, 40, 70, 0.5)), url('../img/hero-bg-v5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(1.15) brightness(1.05) saturate(1.1);
    z-index: 0;
}

.partners-header h1 {
    font-size: 5rem;
    color: var(--white) !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Experiences Header Background */
.experiences-header {
    height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0b2846;
}

.experiences-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(11, 40, 70, 0.75), rgba(255, 107, 0, 0.15)), url('../img/hero-bg-v4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(1.15) brightness(1.05) saturate(1.1);
    z-index: 0;
}

.experiences-header h1 {
    font-size: 4.5rem;
    color: var(--white) !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    margin: 0;
    text-transform: uppercase;
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(calc(-280px * 12));
    }

    100% {
        transform: translateX(0);
    }
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.partner-logo {
    width: 100%;
    height: 150px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.3s;
}

.partner-logo:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Director's Message - Corporate Layout updated */
.director-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    /* 40% / 60% */
    gap: 48px;
    /* Strict spacing image <-> text */
    align-items: start;
    background: var(--white);
    padding: 32px 48px;
    /* Reduced top/bottom padding */
    border-radius: var(--radius-director);
    /* 20px */
    box-shadow: var(--shadow-premium);
}

.director-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
}

.director-info {
    margin-top: 32px;
    /* detached signature */
    text-align: left;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.director-info h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.director-info p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-blue);
}

.director-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: justify;
}

.director-text p:last-child {
    margin-bottom: 0;
}

.director-text p:first-child {
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.contact-info-block {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
}

.contact-info-block h3,
.contact-info-block p,
.contact-info-block strong {
    color: var(--white);
}

.form-group input,
.form-group textarea {
    background: var(--accent-grey);
    border: 1px solid transparent;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--light-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(50, 140, 193, 0.1);
}

/* Experiences (Timeline / Cards) */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.exp-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    align-items: center;
    border-left: 5px solid var(--primary-blue);
    transition: var(--transition-speed);
}

.exp-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.exp-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light-blue);
    font-family: 'Outfit', sans-serif;
}

.legal-info {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.legal-info p {
    font-size: 0.95rem !important;
    font-weight: 600;
}

.exp-details h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.exp-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.exp-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.exp-meta i {
    color: var(--light-blue);
}


/* Scroll Down Button (Service Card) */
.btn-scroll-down {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 30px;
    background-color: rgba(11, 60, 93, 0.05);
}

.btn-scroll-down:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(2px);
}

/* =========================================
   FORMATIONS IMAGE CARDS (V3)
   ========================================= */

.bg-light-pattern {
    background-color: #F8F9FA;
    background-image: radial-gradient(#e5e9f2 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Grid V3 */
.formation-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Image Card used for formations */

.image-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fluid);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Image Wrapper & Zoom Effect */
.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #eceff1;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Content */
.card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
    line-height: 1.3;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Action Link */
.card-action {
    font-weight: 700;
    color: #FF9800;
    /* Orange */
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fluid);
}

.card-action:hover {
    gap: 12px;
    color: #F57C00;
    /* Darker Orange */
}

/* Responsive */
@media (max-width: 992px) {
    .formation-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .formation-grid-v3 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* International Grid (2 cards centered) */
.formation-grid-international {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .formation-grid-international {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}


/* Footer */
footer {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 64px 0;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    /* Gap between blocks: 40px */
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--brand-yellow);
    /* Contrast accent */
    bottom: 0;
    left: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 5px 0;
    transition: var(--transition-fluid);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Utilities */
.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .header-main {
        display: none;
    }

    /* Show header-main when menu is active */
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        padding: 40px 20px;
        gap: 24px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        list-style: none;
        overflow-y: auto;
    }

    .nav-links.active li a {
        font-size: 1.1rem;
        padding: 10px 0;
    }

    .nav-links li a::after {
        display: none;
    }

    .header-contact {
        display: flex;
        margin-left: auto;
        margin-right: 15px;
    }

    .header-contact .contact-item,
    .header-contact .contact-icon-box {
        display: none;
    }

    .lang-selector {
        background-color: var(--primary-blue);
        color: var(--white);
        padding: 5px 12px;
        border-radius: 6px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .lang-selector a {
        color: var(--white) !important;
    }

    .header-top {
        height: 70px;
    }

    :root {
        --header-height: 70px;
    }

    .logo {
        transform: none !important;
        animation: none !important;
    }

    .logo img {
        height: 50px !important;
        filter: none !important;
    }

    .hamburger {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-blue);
        margin-left: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .presentation-grid,
    .director-grid,
    .axes-grid,
    .vision-mission-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .page-header.institutional-header,
    .page-header.contact-header,
    .page-header.services-header,
    .page-header.partners-header,
    .page-header.experiences-header {
        height: 350px !important;
        padding-top: 100px !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-indicators {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
    }

    .units-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   EXPERIENCE GRID LAYOUT (New)
   ========================================= */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

.experience-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 30px;
    box-shadow: var(--shadow-premium);
    border-top: 4px solid transparent;
    transition: var(--transition-fluid);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Card Content Styling */
.experience-date {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    opacity: 0.8;
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--text-main);
}

.experience-meta {
    margin-top: auto;
    /* Push to bottom */
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.experience-meta div {
    margin-bottom: 8px;
}

.experience-meta div:last-child {
    margin-bottom: 0;
}

.experience-meta i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Axe Specific Themes */
/* Axe 1: Blue */
.axe-1-theme .experience-card {
    border-top-color: var(--primary-blue);
}

.axe-1-theme .experience-date {
    color: var(--primary-blue);
}

.axe-1-theme .experience-meta i {
    color: var(--primary-blue);
}

/* Axe 2: Orange */
.axe-2-theme .experience-card {
    border-top-color: var(--accent-orange);
}

.axe-2-theme .experience-date {
    color: var(--accent-orange);
}

.axe-2-theme .experience-meta i {
    color: var(--accent-orange);
}

/* Axe 1: Blue (Default) */
.axe-1-theme .experience-card {
    border-top-color: var(--primary-blue);
}

.axe-1-theme .experience-date {
    color: var(--primary-blue);
}

.axe-1-theme .experience-meta i {
    color: var(--primary-blue);
}

/* Axe 2: Green (Digital) */
.axe-2-theme .experience-card {
    border-top-color: var(--brand-green);
}

.axe-2-theme .experience-date {
    color: var(--brand-green);
}

.axe-2-theme .experience-meta i {
    color: var(--brand-green);
}

/* Axe 3: Red (BTP) */
.axe-3-theme .experience-card {
    border-top-color: var(--brand-red);
}

.axe-3-theme .experience-date {
    color: var(--brand-red);
}

.axe-3-theme .experience-meta i {
    color: var(--brand-red);
}

/* Brand Color Accents for Cards */
.accent-blue {
    border-top: 4px solid var(--primary-blue);
}

.accent-green {
    border-top: 4px solid var(--brand-green);
}

.accent-yellow {
    border-top: 4px solid var(--brand-yellow);
}

.accent-red {
    border-top: 4px solid var(--brand-red);
}

.accent-green h4 {
    color: var(--brand-green);
}

.accent-yellow h4 {
    color: var(--brand-yellow);
}

.accent-red h4 {
    color: var(--brand-red);
}

.accent-green .axe-pill-link {
    background-color: var(--brand-green);
    color: #fff;
}

.accent-yellow .axe-pill-link {
    background-color: var(--brand-yellow);
    color: #fff;
}

.accent-red .axe-pill-link {
    background-color: var(--brand-red);
    color: #fff;
}

/* =====================================================
   RESPONSIVE MOBILE COMPLET - Techno Stat Group
   Breakpoints: 992px (tablet), 768px (mobile), 480px (small)
   ===================================================== */

/* ---- TABLETTE : max-width 992px ---- */
@media (max-width: 992px) {

    /* Header */
    .header-top {
        height: 70px !important;
    }

    .header-main {
        display: block !important;
        height: 0;
        padding: 0;
        margin: 0;
        border: none;
        overflow: visible;
        background: transparent;
    }

    .logo {
        transform: none !important;
        animation: none !important;
    }

    .logo img {
        height: 48px !important;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
        padding: 10px;
        margin-right: -10px;
        position: relative;
        z-index: 10001;
        /* Must be higher than .nav-links.active */
    }

    .header-contact .contact-item,
    .header-contact .contact-icon-box {
        display: none;
    }

    /* Navigation mobile (overlay) */
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        /* Cover full screen including header-top */
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 100px 30px 40px;
        /* Space for the logo/X area */
        z-index: 10000;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        visibility: visible;
        opacity: 1;
    }

    .nav-links.active li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links.active li a {
        font-size: 1.1rem;
        padding: 18px 0;
        display: block;
        color: var(--primary-blue);
        font-weight: 700;
    }

    .nav-links li a::after {
        display: none;
    }

    /* Hero - tablette */
    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* services grid 2 col on tablet */
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Axes grid */
    .axes-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Director grid */
    .director-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .director-profile-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Vision/Mission */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Formation grids */
    .formation-grid-v3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Page headers height */
    .page-header.institutional-header,
    .page-header.contact-header,
    .page-header.services-header,
    .page-header.partners-header,
    .page-header.experiences-header {
        height: 350px !important;
        padding-top: 90px !important;
    }

    .page-header h1,
    .page-header.institutional-header h1,
    .page-header.services-header h1,
    .page-header.contact-header h1 {
        font-size: 2.4rem !important;
    }

    /* Units container */
    .units-container {
        grid-template-columns: 1fr;
    }

    /* experiences grid */
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- MOBILE : max-width 768px ---- */
@media (max-width: 768px) {

    :root {
        --section-padding: 60px 0;
    }

    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 18px;
    }

    /* Header */
    .header-top {
        height: 65px !important;
    }

    .logo img {
        height: 42px !important;
    }

    .lang-selector {
        font-size: 0.8rem;
        padding-left: 6px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .hero-indicators {
        flex-direction: column;
        gap: 8px;
        font-size: 0.85rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }

    .hero .btn-primary,
    .hero .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Titres de section */
    h2 {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }

    h3 {
        font-size: 1.2rem;
    }

    /* Page headers */
    .page-header.institutional-header,
    .page-header.contact-header,
    .page-header.services-header,
    .page-header.partners-header,
    .page-header.experiences-header {
        height: 280px !important;
        padding-top: 80px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .page-header h1,
    .page-header.institutional-header h1,
    .page-header.services-header h1,
    .page-header.contact-header h1 {
        font-size: 1.8rem !important;
        letter-spacing: 0 !important;
    }

    .institutional-header .container,
    .services-header .container {
        align-items: center;
    }

    .institutional-header .page-header-subtitle,
    .services-header .page-header-subtitle {
        justify-content: center;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }

    .services-header .header-hook {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Mot du Directeur */
    .director-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .director-profile-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .director-img {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto;
    }

    .director-text {
        font-size: 0.95rem;
    }

    /* Qui sommes-nous */
    .presentation-text h2 {
        text-align: center;
    }

    .presentation-text p {
        font-size: 1rem;
    }

    /* Axes d'intervention */
    .axes-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

    .axe-img-box {
        height: 160px;
    }

    /* Services page */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-card.highlight {
        transform: none;
    }

    .service-card.highlight:hover {
        transform: translateY(-5px);
    }

    .service-card h3 {
        font-size: 1.2rem;
        min-height: auto;
    }

    /* Formations */
    .services-intro h2 {
        font-size: 1.7rem;
    }

    .formation-grid-v3 {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .formation-grid-international {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    /* About - Team */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
        gap: 24px;
    }

    .team-card {
        text-align: center;
    }

    .team-img-wrapper {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    /* Vision Mission */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vm-card {
        padding: 28px 20px;
    }

    .vm-card h3 {
        font-size: 1.4rem;
    }

    /* Unités */
    .units-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .unit-item {
        padding: 18px 16px;
    }

    .unit-item h4 {
        font-size: 1rem;
    }

    .units-intro {
        font-size: 1rem;
        margin: 40px auto 24px;
    }

    /* Expériences */
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-card {
        padding: 24px 20px;
    }

    .experience-title {
        font-size: 1.05rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card {
        padding: 24px 20px;
    }

    .contact-form-card {
        padding: 24px 20px;
    }

    /* Partenaires */
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo-item img {
        max-height: 60px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer {
        padding: 48px 0;
    }

    /* Section subtitles */
    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Btn scroll down (services) */
    .btn-scroll-down {
        font-size: 0.85rem;
        padding: 12px 20px;
    }

    /* International card section */
    .section-header[style*="margin-top: 100px"] {
        margin-top: 60px !important;
    }
}

/* ---- TRÈS PETIT MOBILE : max-width 480px ---- */
@media (max-width: 480px) {

    .container {
        padding: 0 14px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .page-header h1,
    .page-header.institutional-header h1,
    .page-header.services-header h1,
    .page-header.contact-header h1 {
        font-size: 1.5rem !important;
    }

    .page-header.institutional-header,
    .page-header.contact-header,
    .page-header.services-header,
    .page-header.partners-header,
    .page-header.experiences-header {
        height: 240px !important;
        padding-top: 75px !important;
    }

    .service-card {
        padding: 24px 16px;
    }

    .services-grid,
    .formation-grid-v3,
    .formation-grid-international {
        max-width: 100%;
    }

    .team-grid {
        max-width: 100%;
    }

    .team-img-wrapper {
        width: 140px;
        height: 140px;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .director-img {
        width: 130px !important;
        height: 130px !important;
    }

    .vm-card {
        padding: 20px 16px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .footer-grid {
        gap: 20px;
    }

    .nav-links.active {
        padding: 24px 20px;
        top: 65px;
        /* Mobile header-top height at 480px */
        height: calc(100vh - 65px);
    }

    .nav-links.active li a {
        font-size: 1rem;
        padding: 14px 0;
    }

    .btn {
        font-size: 0.875rem;
        padding: 12px 20px;
    }

    .experience-card {
        padding: 20px 16px;
    }

    .image-card .card-img-wrapper {
        height: 180px;
    }

    .image-card .card-content {
        padding: 16px;
    }

    .image-card .card-content h4 {
        font-size: 0.95rem;
    }
}

/* =====================================================
   CONTACT PAGE - Formulaire & Grille
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Colonne info - texte sur fond bleu foncé */
.contact-info {
    background: var(--primary-blue);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.contact-info-block h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-info-block p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.7;
}

.contact-info-block p strong {
    color: var(--white);
    font-weight: 700;
}

.map-container {
    margin-top: 32px;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.map-container iframe {
    display: block;
    border-radius: var(--card-radius);
}

/* Colonne formulaire */
.contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 28px;
    font-weight: 700;
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Groupes de champs */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Inputs & Textarea */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #f7f9fc;
    border: 1.5px solid #d1d9e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
    display: block;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aab0bb;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--secondary-blue);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(50, 140, 193, 0.12);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #a0b4c8;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* Bouton d'envoi */
.contact-form-container .btn-primary,
.contact-form-container button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.contact-form-container .btn-primary:hover,
.contact-form-container button[type="submit"]:hover {
    background-color: #09304a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 60, 93, 0.25);
}

/* Responsive contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 28px;
    }

    .contact-form-container {
        padding: 28px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .map-container iframe {
        height: 300px;
    }
}