/* ============================================
   VARIABLES ET COULEURS SYSAFRIKA
   ============================================ */

:root {
    --primary-blue: #0066cc;
    --water-blue: #0088cc;
    --dark-blue: #004499;
    --light-blue: #77ccff;
    --sky-blue: #99ddff;
    --ocean-green: #00aa77;
    --eco-green: #22bb88;
    --light-green: #99ffcc;
    --earth-brown: #66441a;
    --dark-text: #1a1a1a;
    --light-text: #f5f5f5;
    --accent-color: #ff9900;
}

/* ============================================
   STYLE GÉNÉRAL
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   HEADER ET NAVIGATION
   ============================================ */

.navbar-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 100%);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 24px;
    color: white !important;
}

.logo {
    height: 60px;
    margin-right: 15px;
    filter: brightness(0) invert(1);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.navbar-nav .nav-link:hover {
    color: var(--sky-blue) !important;
    border-bottom: 2px solid var(--sky-blue);
}

/* ============================================
   SECTION HERO
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 50%, var(--ocean-green) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--sky-blue);
    font-weight: 300;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ff7700;
    border-color: #ff7700;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 153, 0, 0.3);
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
    background-color: transparent;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--ocean-green), var(--sky-blue));
    border-radius: 2px;
}

/* ============================================
   SECTION SERVICES
   ============================================ */

.services-section {
    background-color: #f5f5f5;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--ocean-green);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.2);
}

.service-card i {
    font-size: 48px;
    color: var(--water-blue);
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   SECTION À PROPOS
   ============================================ */

.about-section {
    background-color: #f0f8ff;
}

.about-section h3 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

.about-content {
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 15px;
    color: #333;
}

.about-content strong {
    color: var(--ocean-green);
}

.about-content ul {
    list-style-type: none;
    padding-left: 0;
}

.about-content ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ocean-green);
    font-weight: bold;
    font-size: 18px;
}

.about-expertise {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.about-expertise h3 {
    margin-bottom: 25px;
}

.expertise-item {
    margin-bottom: 25px;
}

.expertise-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.progress {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--water-blue), var(--ocean-green));
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* ============================================
   SECTION RÉALISATIONS
   ============================================ */

.realisations-section {
    background-color: #ffffff;
}

.realisation-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #f0fff0 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-left: 5px solid var(--water-blue);
    transition: all 0.3s ease;
}

.realisation-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.realisation-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.realisation-header i {
    font-size: 32px;
    color: var(--ocean-green);
    margin-right: 15px;
}

.realisation-header h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin: 0;
    font-size: 22px;
}

.realisation-card .meta {
    color: var(--ocean-green);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.realisation-card ul {
    list-style-type: none;
    padding-left: 0;
}

.realisation-card ul li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    border-bottom: 1px solid rgba(0, 170, 119, 0.1);
}

.realisation-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--ocean-green);
    font-weight: bold;
}

.realisation-card ul li:last-child {
    border-bottom: none;
}

.pfe-list {
    margin-top: 15px;
}

.pfe-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--eco-green);
}

.pfe-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.pfe-item p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

/* ============================================
   SECTION FORMATIONS
   ============================================ */

.formations-section {
    background-color: #f5f5f5;
}

.formation-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border-top: 4px solid var(--light-blue);
    transition: all 0.3s ease;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.formation-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.formation-details p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
}

.formation-details .btn {
    margin-top: 10px;
}

/* ============================================
   SECTION RESSOURCES
   ============================================ */

.resources-section {
    background-color: #ffffff;
}

.resource-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    border: 2px solid var(--light-green);
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: 0 8px 20px rgba(0, 170, 119, 0.2);
}

.resource-card h3 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.resource-card i {
    color: var(--ocean-green);
    margin-right: 10px;
}

.resource-card ul {
    list-style-type: none;
    padding-left: 0;
}

.resource-card ul li {
    padding: 8px 0;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.resource-card ul li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--ocean-green);
}

/* ============================================
   SECTION DEVIS
   ============================================ */

.quote-section {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
    padding: 80px 0;
}

.quote-form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.15);
}

.quote-form-container p {
    color: #666;
    font-size: 16px;
}

.form-label {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ocean-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 170, 119, 0.25);
}

.btn-success {
    background-color: var(--ocean-green);
    border-color: var(--ocean-green);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #009966;
    border-color: #009966;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 170, 119, 0.3);
}

.btn-sm {
    padding: 6px 15px;
    font-size: 13px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 50px 0 30px;
    margin-top: 60px;
}

/* ============================================
   SECTION À PROPOS - NOUVELLES CARTES D'EXPERTISE
   ============================================ */

.expertise-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expertise-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: block;
}

.expertise-card h5 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 10px;
}

.expertise-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.about-mission {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    padding: 30px;
    border-radius: 15px;
    color: var(--dark-blue);
}

.about-mission h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.about-stats {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-stats h4 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    text-align: center;
}

.stats-item {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 100%);
    border-radius: 10px;
    color: white;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stats-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   SECTION RESSOURCES/TUTORIELS
   ============================================ */

.tutoriels-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.resources-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    height: 100%;
}

.resources-category h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
}

.resources-category h3 i {
    margin-right: 10px;
}

.resource-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.resource-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.resource-item.premium {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
}

.resource-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.resource-header i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 15px;
    min-width: 30px;
}

.resource-header h5 {
    color: var(--dark-blue);
    margin-bottom: 5px;
    font-weight: 600;
}

.price-tag {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-left: auto;
}

.resource-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-outline-success:hover,
.btn-warning:hover {
    transform: scale(1.05);
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CAROUSEL COMMUNICATIONS SCIENTIFIQUES - PLEINE LARGEUR
   ============================================ */

.full-width-communications {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
}

.full-width-communications .realisation-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 100%);
    color: white;
    margin: -25px -25px 20px -25px;
    padding: 20px 25px;
    border-radius: 15px 15px 0 0;
}

.full-width-communications .realisation-header h3 {
    color: white;
    margin-bottom: 0;
}

.communication-slide {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.communication-content {
    flex: 1;
    margin-bottom: 25px;
}

.communication-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.communication-header i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 15px;
    width: 25px;
}

.communication-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 16px;
    background: rgba(255, 153, 0, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.communication-title {
    color: var(--dark-blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.communication-details {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.communication-gallery {
    margin-top: auto;
}

.gallery-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-photo {
    flex: 1;
    max-width: 250px;
    min-width: 200px;
}

.gallery-photo img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    border-color: var(--primary-blue);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    border-radius: 10px;
    color: var(--dark-blue);
    text-align: center;
    padding: 20px;
    border: 2px solid var(--primary-blue);
    min-width: 250px;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.gallery-placeholder span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.communication-logos {
    margin-top: 20px;
    justify-content: center;
}

.communication-logo {
    max-height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.pdf-button-blue {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.pdf-button-blue:hover,
.pdf-button-blue:focus {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    color: white;
}

/* Styles pour le carousel des communications */
#communicationsCarousel .carousel-control-prev,
#communicationsCarousel .carousel-control-next {
    width: 6%;
    opacity: 0.9;
}

#communicationsCarousel .carousel-control-prev-icon,
#communicationsCarousel .carousel-control-next-icon {
    background-color: var(--primary-blue);
    border-radius: 50%;
    padding: 15px;
    width: 20px;
    height: 20px;
}

#communicationsCarousel .carousel-indicators {
    margin-top: 30px;
}

#communicationsCarousel .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--light-blue);
    border: 2px solid var(--primary-blue);
    margin: 0 8px;
}

#communicationsCarousel .carousel-indicators button.active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* ============================================
   RESPONSIVE POUR CAROUSEL COMMUNICATIONS PLEINE LARGEUR
   ============================================ */

@media (max-width: 768px) {
    .communication-slide {
        padding: 20px;
        min-height: 400px;
        margin: 15px 0;
    }

    .communication-title {
        font-size: 16px;
    }

    .communication-details {
        font-size: 14px;
    }

    .gallery-row {
        gap: 15px;
    }

    .gallery-photo {
        max-width: none;
        min-width: unset;
    }

    .gallery-photo img {
        height: 120px;
    }

    .gallery-placeholder {
        min-width: unset;
        height: 120px;
    }

    .full-width-communications .realisation-header {
        margin: -20px -20px 15px -20px;
        padding: 15px 20px;
    }
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 10px 0;
}

.footer-section a {
    color: var(--sky-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-green);
    text-decoration: underline;
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-expertise {
        margin-top: 30px;
    }

    .quote-form-container {
        padding: 25px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.realisation-card,
.formation-card,
.resource-card {
    animation: slideInUp 0.6s ease-out;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--water-blue);
    border-radius: 5px;
}

.communication-list {
    margin-top: 15px;
}

.communication-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
}

.communication-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 5px;
}

.communication-item em {
    color: var(--ocean-green);
    font-style: italic;
}

/* ============================================
   CAROUSEL PFE
   ============================================ */

#pfeCarousel {
    margin-top: 20px;
}

.pfe-slide {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.school-logo {
    width: 80px;
    height: 80px;
    background: var(--water-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin-right: 20px;
    flex-shrink: 0;
}

.pfe-content {
    flex: 1;
}

.pfe-content h5 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 700;
}

.year {
    color: var(--ocean-green);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.pfe-subject-btn {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    border: none;
    background: none;
    text-align: left;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
}

.pfe-subject-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Contrôles du carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--water-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--dark-blue);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-indicators {
    margin-top: 15px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-blue);
    border: none;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: var(--water-blue);
}

/* ============================================
   MODALS PFE
   ============================================ */

.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--water-blue));
    color: white;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 30px;
}

.modal-body h6 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-body p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.modal-body strong {
    color: var(--ocean-green);
}

/* ============================================
   SECTION ACTUALITÉS
   ============================================ */

.actualites-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.actualites-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(0,136,204,0.05)" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,90.7C672,85,768,107,864,112C960,117,1056,107,1152,96C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
}

.actualites-section .container {
    position: relative;
    z-index: 2;
}

#newsCarousel {
    margin-top: 30px;
}

.news-slide {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border: 1px solid rgba(0, 136, 204, 0.1);
    transition: all 0.3s ease;
}

.news-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.news-image {
    width: 200px;
    height: 150px;
    margin-right: 30px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--water-blue), var(--ocean-green));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.news-placeholder span {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-category {
    font-size: 14px;
    font-weight: 600;
    color: var(--ocean-green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.3;
}

.news-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.news-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-tags .badge {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Contrôles du carousel actualités */
#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--water-blue);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

#newsCarousel .carousel-control-prev:hover,
#newsCarousel .carousel-control-next:hover {
    opacity: 1;
    background: var(--dark-blue);
}

#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

#newsCarousel .carousel-indicators {
    margin-top: 25px;
}

#newsCarousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--light-blue);
    border: 2px solid var(--water-blue);
    margin: 0 6px;
    transition: all 0.3s ease;
}

#newsCarousel .carousel-indicators .active {
    background-color: var(--water-blue);
    transform: scale(1.2);
}

/* ============================================
   RESPONSIVE ACTUALITÉS
   ============================================ */

/* ============================================
   BLOG - STYLES SPÉCIFIQUES
   ============================================ */

/* Section Hero du Blog */
.blog-hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.02"/><circle cx="10" cy="50" r="0.5" fill="white" opacity="0.02"/><circle cx="90" cy="30" r="0.5" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.blog-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-featured-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Section Articles */
.blog-articles-section {
    background: #f8f9fa;
}

/* Article Vedette */
.featured-article {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-blue);
}

.article-category {
    display: inline-flex;
    align-items: center;
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.article-category i {
    margin-right: 8px;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #888;
}

.article-meta i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.article-read-more {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.article-image img {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Cartes d'Articles */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
}

.blog-placeholder-image i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.blog-placeholder-image span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 5px;
}

.blog-card-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

.blog-card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(3px);
}

/* Pagination */
.blog-pagination .pagination {
    gap: 10px;
}

.blog-pagination .page-link {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.blog-pagination .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Section Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 25px 0 0 25px;
    border: 2px solid var(--primary-blue);
    padding: 12px 20px;
    font-size: 16px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    font-weight: 600;
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: scale(1.05);
}

/* Section Catégories */
.categories-section {
    background: white;
}

.category-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
    color: var(--dark-blue);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--water-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.category-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Footer amélioré pour le blog */
.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sky-blue);
}

/* ============================================
   RESPONSIVE POUR LE BLOG
   ============================================ */

/* ============================================
   RESSOURCES - STYLES SPÉCIFIQUES
   ============================================ */

/* Section Hero Ressources */
.resources-hero-section {
    background: linear-gradient(135deg, var(--ocean-green) 0%, var(--eco-green) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.resources-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="geo-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="white" opacity="0.05"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.05"/><path d="M10 50 L90 50 M50 10 L50 90" stroke="white" stroke-width="1" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23geo-pattern)"/></svg>');
    pointer-events: none;
}

.resources-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.resources-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0.9;
}

.resources-hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
}

.resources-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.resources-featured-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Cartes de Données */
.data-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--ocean-green);
}

.data-header {
    background: linear-gradient(135deg, var(--ocean-green) 0%, var(--eco-green) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.data-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.data-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.data-content {
    padding: 25px;
}

.data-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.data-files {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #e9ecef;
    border-color: var(--ocean-green);
}

.file-item i {
    color: var(--ocean-green);
    margin-right: 12px;
    width: 20px;
    font-size: 1.1rem;
}

.file-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.download-btn {
    color: var(--ocean-green);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: var(--ocean-green);
    color: white;
    transform: scale(1.1);
}

/* Section Événements Historiques */
.historical-events-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.country-events {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.country-title {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.country-title i {
    margin-right: 15px;
    color: var(--ocean-green);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.event-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    background: #fafbfc;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--ocean-green);
    box-shadow: 0 5px 15px rgba(0, 170, 119, 0.1);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.event-header h5 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.event-date {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 153, 0, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.event-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.event-gallery {
    margin-bottom: 15px;
}

.event-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.placeholder-gallery {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--sky-blue) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    border: 2px solid var(--primary-blue);
}

.placeholder-gallery i {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.placeholder-gallery span {
    font-size: 12px;
    font-weight: 600;
}

.event-link {
    color: var(--ocean-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: var(--eco-green);
    transform: translateX(5px);
}

.event-link i {
    margin-left: 8px;
}

.historical-events-section .form-label {
    font-weight: 600;
    color: var(--dark-blue);
}

.historical-events-section .card {
    border: 1px solid #e7eef7;
}

.historical-events-section .table {
    background: white;
}

.historical-events-section .table th,
.historical-events-section .table td {
    vertical-align: middle;
}

.historical-events-section .table-responsive {
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.08);
    border-radius: 15px;
}

.historical-events-section .alert {
    border-radius: 12px;
}

#adminPanel {
    border: 1px solid #dbe7f3;
    background: #ffffff;
}

#pendingEventsTable th,
#pendingEventsTable td {
    font-size: 14px;
}

/* Section Liens Utiles */
.useful-links-section {
    background: white;
}

.links-category {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.links-category:hover {
    border-color: var(--ocean-green);
    box-shadow: 0 10px 30px rgba(0, 170, 119, 0.1);
}

.category-header {
    text-align: center;
    margin-bottom: 25px;
}

.category-header i {
    font-size: 2.5rem;
    color: var(--ocean-green);
    margin-bottom: 15px;
    display: block;
}

.category-header h4 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-blue);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: var(--ocean-green);
    background: #f0f8f0;
    transform: translateX(5px);
}

.link-item span {
    font-weight: 500;
}

.link-item i {
    color: var(--ocean-green);
    opacity: 0.7;
}

/* Section Tutoriels Vidéo */
.video-tutorials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
}

.video-placeholder span {
    font-size: 14px;
    font-weight: 600;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-content {
    padding: 20px;
}

.video-content h5 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
}

.video-meta span {
    display: flex;
    align-items: center;
}

.video-meta i {
    margin-right: 5px;
}

.video-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.video-link:hover {
    color: #c82333;
    transform: translateX(5px);
}

.video-link i {
    margin-left: 8px;
}

/* Section Cas Pratiques */
.case-studies-section {
    background: white;
}

.case-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-left: 5px solid var(--ocean-green);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.case-header i {
    font-size: 2rem;
    color: var(--ocean-green);
    margin-right: 15px;
}

.case-header h4 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.case-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-steps {
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 0;
}

.step-number {
    width: 25px;
    height: 25px;
    background: var(--ocean-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.step span {
    color: #555;
    font-size: 14px;
}

.case-link {
    color: var(--ocean-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: var(--eco-green);
    transform: translateX(5px);
}

.case-link i {
    margin-left: 8px;
}

/* ============================================
   RESPONSIVE POUR LA PAGE RESSOURCES
   ============================================ */

@media (max-width: 768px) {
    .resources-hero-title {
        font-size: 2.5rem;
    }

    .resources-hero-subtitle {
        font-size: 1.2rem;
    }

    .resources-stats {
        flex-direction: column;
        gap: 15px;
    }

    .data-files {
        gap: 10px;
    }

    .file-item {
        padding: 10px 12px;
    }

    .file-item span {
        font-size: 13px;
    }

    .country-events {
        padding: 20px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .links-list {
        gap: 10px;
    }

    .link-item {
        padding: 10px 12px;
    }

    .video-thumbnail {
        height: 140px;
    }

    .case-card {
        padding: 20px;
    }

    .case-steps {
        margin-bottom: 15px;
    }
}