/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors - Vert */
    --primary-color: #019837;
    --primary-dark: #016b28;
    --primary-light: #02b844;
    
    /* Secondary Colors - Orange */
    --secondary-color: #ff6b35;
    --secondary-dark: #e55a2b;
    --secondary-light: #ff8c69;
    
    /* GreenDataFlow Brand */
    --brand-color: #2c5530;
    --brand-light: #4a7c59;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #212529;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    --brand-gradient: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.18);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: 4px;
    font-weight: 600;
    padding: 4px 8px;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(119, 175, 10, 0.1);
    transition: var(--transition);
    padding: 0.3rem 0;
}

/* ===== CONTAINER SPACING ===== */
.container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.brand-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    transition: var(--transition);
    margin: 0 0.1rem;
    font-size: 0.8rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:focus {
    color: var(--primary-color) !important;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.navbar-brand:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(119, 175, 10, 0.25);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    max-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px; /* Compense la hauteur de la navigation fixe */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 110%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.7rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 1.2rem;
}

.hero-stats {
    margin-top: 1.2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.65rem;
    margin: 0;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    animation: float 3s ease-in-out infinite;
    font-size: 0.8rem;
}

.floating-card i {
    font-size: 1rem;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: -10%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--light-gray);
    padding: 1.2rem 0;
}

.feature-card {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(119, 175, 10, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.feature-icon i {
    font-size: 1rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.4rem;
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    font-size: 0.7rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.feature-list i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--brand-gradient);
    padding: 1.2rem 0;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.testimonial-card {
    background: var(--white);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-quote {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--primary-color);
    display: block;
    flex-shrink: 0;
}

.author-info h5 {
    margin: 0;
    color: var(--black);
    font-weight: 600;
    font-size: 0.8rem;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.7rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--white);
    padding: 1.2rem 0;
}

.cta-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 0.6rem;
}

.cta-subtitle {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cta-buttons {
    margin-bottom: 1rem;
}

.cta-features {
    margin-top: 1rem;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.cta-feature i {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cta-feature span {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
}

.cta-image-container {
    text-align: center;
}

.cta-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cta-image:hover {
    transform: scale(1.02);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 0.6rem 0 0.4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 0.6rem;
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 24px;
    height: 24px;
    background: rgba(119, 175, 10, 0.1);
    border: 1px solid rgba(119, 175, 10, 0.2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.7rem;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(119, 175, 10, 0.2);
    margin: 1.5rem 0 0.8rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .floating-card {
        position: static;
        margin: 0.8rem 0;
        animation: none;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.4rem;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
    
    .testimonial-card {
        padding: 0.8rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--primary-gradient) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background: var(--secondary-gradient) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: 20px;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--primary-gradient);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    background: var(--light-gray);
    padding: 3rem 0;
}

.feature-card-large {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(119, 175, 10, 0.1);
}

.feature-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-image {
    height: 150px;
    overflow: hidden;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card-large:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 1.5rem;
}

.feature-content .feature-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-content .feature-icon i {
    font-size: 1rem;
    color: var(--white);
}

.feature-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== MISSION SECTION ===== */
.mission-section {
    background: var(--white);
    padding: 3rem 0;
}

.mission-stats {
    margin-top: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1.2rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.stat-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.stat-box p {
    color: var(--gray);
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

.mission-image img {
    box-shadow: var(--shadow-lg);
}

/* ===== VALUES SECTION ===== */
.values-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(119, 175, 10, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: var(--white);
    padding: 5rem 0;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(119, 175, 10, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.team-image {
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    padding: 2rem;
    text-align: center;
}

.team-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== STORY SECTION ===== */
.story-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.story-image img {
    box-shadow: var(--shadow-lg);
}

.story-timeline {
    margin-top: 2rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.timeline-year {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
}

.timeline-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--white);
    padding: 3rem 0;
}

.contact-form-container {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.contact-form-subtitle {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.4rem;
    display: block;
    font-size: 0.9rem;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(119, 175, 10, 0.25);
    outline: none;
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.contact-form .form-check {
    margin-bottom: 1.2rem;
}

.contact-form .form-check-input {
    margin-top: 0.25rem;
}

.contact-form .form-check-label {
    font-weight: 400;
    color: var(--gray);
    line-height: 1.4;
    font-size: 0.85rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 0.8rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
    color: var(--white);
}

.contact-details h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.4rem;
}

.contact-details p {
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
    font-size: 0.85rem;
}

.social-links h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.accordion-item {
    border: none;
    margin-bottom: 0.8rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1.2rem;
    font-weight: 600;
    color: var(--black);
    border-radius: 12px !important;
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(119, 175, 10, 0.25);
}

.accordion-body {
    background: var(--white);
    padding: 1.2rem;
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--white);
    padding: 2rem 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 300px;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    background: var(--light-gray);
    padding: 3rem 0;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(1, 152, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-gradient);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 1;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(1, 152, 55, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
}

.price-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

.pricing-features {
    padding: 1.5rem 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.pricing-features i {
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.pricing-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid rgba(1, 152, 55, 0.1);
}

/* Language Switcher */
.language-switcher .btn {
    min-width: 70px;
    font-size: 0.8rem;
    padding: 6px 12px;
    border: 1px solid #dee2e6;
    background: var(--white);
    color: var(--dark-gray);
}

.language-switcher .btn:hover {
    background: var(--light-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.language-switcher .btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 152, 55, 0.25);
    border-color: var(--primary-color);
}

.language-switcher .btn i {
    font-size: 0.8rem;
}

.language-switcher .dropdown-menu {
    min-width: 140px;
    border: 1px solid rgba(1, 152, 55, 0.1);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.language-switcher .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.language-switcher .dropdown-item:hover {
    background: rgba(1, 152, 55, 0.1);
    color: var(--primary-color);
}

.language-switcher .dropdown-item img {
    border-radius: 2px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== DOCUMENTATION STYLES ===== */
.documentation-hero {
    background: var(--primary-gradient);
    color: white;
    padding: 100px 0 80px;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.documentation-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.documentation-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.search-box .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.documentation-content {
    padding: 40px 0;
}

.documentation-sidebar {
    position: sticky;
    top: 80px;
    background: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.sidebar-title {
    color: var(--brand-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.sidebar-nav .nav-link {
    color: var(--dark-gray);
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.85rem;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    color: var(--primary-color);
    background: none;
    padding-left: 0.8rem;
}

.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
}

.documentation-main {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.doc-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.doc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.doc-section .section-title {
    color: var(--brand-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary-color);
}

.doc-section h4 {
    color: var(--brand-color);
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
    font-size: 1.1rem;
}

.doc-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1.2rem 0 0.8rem;
    font-size: 1rem;
}

.doc-section ul,
.doc-section ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.doc-section li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.doc-section .card {
    border: none;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.2rem;
}

.doc-section .card-header {
    border-radius: 6px 6px 0 0 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
}

.doc-section .card-header.text-white {
    color: white !important;
}

.doc-section .card-header.text-white h5 {
    color: white !important;
    margin: 0;
}

/* Force white text for Bootstrap card headers with text-white class */
.card-header.bg-primary.text-white,
.card-header.bg-success.text-white {
    color: white !important;
}

.card-header.bg-primary.text-white h5,
.card-header.bg-success.text-white h5 {
    color: white !important;
}

.doc-section .table {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.doc-section .table th {
    background: var(--light-gray);
    color: var(--brand-color);
    font-weight: 600;
    border-top: none;
}

.help-section {
    background: var(--light-gray);
}

.help-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.help-card h5 {
    color: var(--brand-color);
    font-weight: 600;
    margin: 0.8rem 0 0.4rem;
    font-size: 0.9rem;
}

.help-card p {
    color: var(--gray);
    margin: 0;
    font-size: 0.8rem;
}

/* Documentation responsive */
@media (max-width: 768px) {
    .documentation-hero {
        padding: 80px 0 60px;
        min-height: 350px;
    }
    
    .documentation-title {
        font-size: 1.6rem;
    }
    
    .documentation-subtitle {
        font-size: 0.9rem;
    }
    
    .documentation-main {
        padding: 1.5rem 1rem;
    }
    
    .documentation-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .doc-section .section-title {
        font-size: 1.3rem;
    }
  
  
@media (max-width: 576px) {
    .custom-navbar .navbar-brand img {
        height: 36px !important;
        max-width: 100%;
    }
    .custom-navbar .brand-text {
        display: none;
    }
    .custom-navbar .navbar-nav {
        flex-wrap: wrap;
    }
    .custom-navbar .navbar-nav .nav-item,
    .custom-navbar .navbar-nav .nav-link,
    .custom-navbar .navbar-nav .btn,
    .custom-navbar .navbar-nav .language-switcher {
        flex: 1 1 100%; /* chaque item prend toute la largeur */
        margin-bottom: 4px;
    }
    body, html {
        overflow-x: hidden; /* empêche tout scroll horizontal */
    }
}

    
    .page-header {
        padding: 6rem 0 3rem;
        min-height: 300px;
    }
}