:root {
    --primary-color: #1b5e20;
    --primary-light: #4c8c4a;
    --primary-dark: #003300;
    --accent-color: #ffc107;
    --text-light: #f5f5f5;
    --text-dark: #333;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu ul {
    display: flex;
    list-style: none;
}

.top-menu ul li {
    margin-right: 20px;
}

.top-menu ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.top-menu ul li a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.main-menu ul {
    display: flex;
    list-style: none;
}

.main-menu ul li {
    margin-left: 25px;
    position: relative;
}

.main-menu ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

.main-menu ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542744095-fcf48d80b0fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1776&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Services Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
}

/* Innovation Section */
.innovation {
    background-color: var(--gray-light);
}

.innovation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.innovation-text {
    flex: 1;
}

.innovation-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.innovation-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.innovation-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.innovation-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.testimonials .section-title h2 {
    color: var(--text-light);
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .innovation-content {
        flex-direction: column;
    }
    
    .main-menu ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Styles pour les pages de service détaillées */
.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.documents-list {
    margin: 20px 0;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--gray-light);
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.document-item:hover {
    background: var(--gray-medium);
}

.document-item i {
    color: #e74c3c;
    margin-right: 15px;
    font-size: 1.2rem;
}

.document-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.document-item a:hover {
    text-decoration: underline;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    margin-bottom: 10px;
    color: white;
}

.newsletter-signup {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
}

.service-image {
    text-align: center;
    margin: 30px 0;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Formulaires modernes */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}
.form-group {
    position: relative;
}

.form-group:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transition: width 0.3s ease;
}

.form-group:focus-within:after {
    width: 100%;
}

/* Animation pour les nouvelles sections */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card .card-body > .row {
    animation: slideDown 0.3s ease-out;
}
/* Dans votre CSS existant */
.language-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.lang-option:hover {
    background: var(--gray-light);
}

.lang-option img {
    width: 20px;
    height: 15px;
    margin-right: 10px;
    border-radius: 2px;
}
/* Language Switcher Styles */
.language-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px;
    padding: 5px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 140px;
    display: none;
    z-index: 1000;
}

.language-switcher:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s ease;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: var(--gray-light);
}

.lang-option.active {
    background: var(--primary-light);
    color: white;
}

.flag-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Animation de changement de langue */
@keyframes fadeIn {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

main {
    animation: fadeIn 0.3s ease-out;
}
/* Footer Legal Links */
.footer-bottom {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-bottom-links {
        order: -1;
        margin-bottom: 10px;
    }
}
/* Amélioration de la barre latérale */
#leftBar {
    flex: 0 0 320px;
    position: sticky;
    top: 120px;
    height: fit-content;
    margin-right: 40px;
}

#subMenu {
    list-style: none;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.1);
    border: 1px solid rgba(27, 94, 32, 0.08);
    padding: 10px;
    transition: all 0.3s ease;
}

#subMenu:hover {
    box-shadow: 0 12px 40px rgba(27, 94, 32, 0.15);
    transform: translateY(-2px);
}

#subMenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 16px 16px 0 0;
}

#subMenu li {
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#subMenu li:last-child {
    margin-bottom: 0;
}

#subMenu li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: transparent;
}

#subMenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(27, 94, 32, 0.05), rgba(76, 140, 74, 0.05));
    transition: width 0.3s ease;
    z-index: -1;
}

#subMenu li a:hover::before {
    width: 100%;
}

#subMenu li a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

#subMenu li.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

#subMenu li.active a {
    color: white;
    font-weight: 600;
}

#subMenu li.active a::before {
    background: transparent;
}

/* Icônes pour les éléments du menu */
#subMenu li a::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

#subMenu li a:hover::after {
    opacity: 1;
    transform: scale(1.5);
}

#subMenu li.active a::after {
    content: '✓';
    background: transparent;
    width: auto;
    height: auto;
    opacity: 1;
    font-size: 12px;
    font-weight: bold;
}

/* Indicateur de progression */
#subMenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(27, 94, 32, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    border-radius: 16px;
}

/* Animation pour l'élément actif */
@keyframes pulseActive {
    0% {
        box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(27, 94, 32, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
    }
}

#subMenu li.active {
    animation: pulseActive 2s infinite ease-in-out;
}

/* Badge pour les nouvelles sections */
#subMenu li.new::before {
    content: 'NEW';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* En-tête du menu */
#subMenu::before {
    content: 'Quick Navigation';
    display: block;
    padding: 20px 20px 15px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(27, 94, 32, 0.1);
    margin-bottom: 10px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    #leftBar {
        flex: 1;
        position: static;
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }
    
    #subMenu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    #subMenu li {
        flex: 1;
        min-width: calc(50% - 8px);
        margin-bottom: 0;
    }
    
    #subMenu li a {
        padding: 12px 15px;
        justify-content: center;
        text-align: center;
    }
    
    #subMenu li a:hover {
        padding-left: 15px;
    }
    
    #subMenu li a::after {
        display: none;
    }
    
    #subMenu::before {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    #subMenu li {
        min-width: 100%;
    }
    
    #subMenu::before {
        font-size: 1rem;
        padding: 12px;
    }
}

/* Effet de scroll smooth pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Indicateur visuel pendant le scroll */
#subMenu li.scrolling {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(76, 140, 74, 0.1));
}

#subMenu li.scrolling a {
    color: var(--primary-color);
    font-weight: 500;
}
/* Styles pour les icônes dans le menu */
#subMenu li a i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--primary-light);
}

#subMenu li.active a i,
#subMenu li a:hover i {
    color: inherit;
    transform: scale(1.1);
}

/* Badge pour les documents */
#subMenu li a .badge {
    margin-left: 8px;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Animation d'entrée des éléments */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#subMenu li {
    animation: slideInFromLeft 0.5s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

/* Progress indicator */
.progress-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
    border-radius: 0 0 2px 2px;
}

/* Indicateur de position */
.position-indicator {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

#subMenu li.scrolling .position-indicator {
    opacity: 1;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.3);
    }
}
/* Correction du layout principal */
.hasLeftCol {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}

#leftBar {
    flex: 0 0 300px;
    position: sticky;
    top: 120px; /* Ajustez selon la hauteur de votre header */
    height: fit-content;
    align-self: flex-start;
    margin-right: 0;
}

#right {
    flex: 1;
    min-width: 0; /* Important pour le responsive */
}

/* Styles pour la barre latérale */
#subMenu {
    list-style: none;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.1);
    border: 1px solid rgba(27, 94, 32, 0.08);
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
}

#subMenu::before {
    content: 'Quick Navigation';
    display: block;
    padding: 20px 20px 15px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(27, 94, 32, 0.1);
    margin-bottom: 10px;
    text-align: center;
}

#subMenu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(27, 94, 32, 0.03) 50%, 
        transparent 100%);
    pointer-events: none;
    border-radius: 16px;
}

#subMenu li {
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#subMenu li:last-child {
    margin-bottom: 0;
}

#subMenu li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: transparent;
}

#subMenu li a i {
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--primary-light);
}

#subMenu li a:hover i,
#subMenu li.active a i {
    color: inherit;
    transform: scale(1.1);
}

#subMenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(27, 94, 32, 0.05), rgba(76, 140, 74, 0.05));
    transition: width 0.3s ease;
    z-index: -1;
}

#subMenu li a:hover::before {
    width: 100%;
}

#subMenu li a:hover {
    color: var(--primary-color);
    padding-left: 25px;
}

#subMenu li.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
}

#subMenu li.active a {
    color: white;
    font-weight: 600;
}

#subMenu li.active a::before {
    background: transparent;
}

/* Badge pour NEW */
#subMenu li.new::before {
    content: 'NEW';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Animation pour l'élément actif */
@keyframes pulseActive {
    0% {
        box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(27, 94, 32, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(27, 94, 32, 0.2);
    }
}

#subMenu li.active {
    animation: pulseActive 2s infinite ease-in-out;
}

/* Styles pour le contenu principal */
.mainContent {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
}

.mainContent h2 {
    color: var(--primary-color);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
    font-size: 1.8rem;
}

.mainContent h2:first-of-type {
    margin-top: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hasLeftCol {
        flex-direction: column;
        gap: 30px;
    }
    
    #leftBar {
        flex: 1;
        position: static;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    #subMenu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    #subMenu li {
        flex: 1;
        min-width: calc(50% - 8px);
        margin-bottom: 0;
    }
    
    #subMenu li a {
        padding: 12px 15px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    #subMenu li a i {
        margin-right: 0;
        margin-bottom: 8px;
        font-size: 1.2rem;
    }
    
    #subMenu li a:hover {
        padding-left: 15px;
    }
    
    #subMenu::before {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    #subMenu li.new::before {
        position: absolute;
        right: 5px;
        top: 5px;
        transform: none;
        font-size: 9px;
        padding: 2px 6px;
    }
}

@media (max-width: 768px) {
    .mainContent {
        padding: 25px 20px;
    }
    
    #subMenu li {
        min-width: 100%;
    }
    
    #subMenu li a {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    #subMenu li a i {
        margin-right: 12px;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hasLeftCol {
        margin-top: 20px;
    }
    
    #subMenu::before {
        font-size: 1rem;
        padding: 12px;
    }
    
    .mainContent h2 {
        font-size: 1.5rem;
    }
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mainContent {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* Ajustez selon votre header */
}