/* ============================================
   SECTION ÉCOSYSTÈMES MARINS - FORT-DAUPHIN
   Styles pour la section des écosystèmes côtiers et marins
============================================= */

/* --------------------------------------
   1. SECTION PRINCIPALE
-------------------------------------- */
.marine-ecosystems-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Élément décoratif circulaire */
.marine-ecosystems-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, 
        rgba(0, 119, 166, 0.05) 0%, 
        rgba(0, 119, 166, 0.02) 50%, 
        transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
    pointer-events: none;
}

/* Élément décoratif supplémentaire */
.marine-ecosystems-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(46, 139, 87, 0.05) 0%, 
        transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Conteneur de contenu */
.marine-ecosystems-section .container {
    position: relative;
    z-index: 1;
}

/* --------------------------------------
   2. EN-TÊTE SECTION
-------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Badge principal */
.badge.rounded-pill.bg-primary-soft {
    background: rgba(0, 119, 166, 0.15) !important;
    color: #005073 !important;
    border: 1px solid rgba(0, 119, 166, 0.25);
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
    display: inline-block;
}

/* Conteneur lead */
.lead-container {
    margin-top: 30px;
}

.lead-container .p-4 {
    background: linear-gradient(135deg, 
        rgba(0, 119, 166, 0.05), 
        rgba(46, 139, 87, 0.05)) !important;
    border-left: 4px solid #0077A6 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 119, 166, 0.1);
}

.lead-container .lead {
    color: #005073;
    font-weight: 500;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* --------------------------------------
   3. CARTES DE STATISTIQUES
-------------------------------------- */
.eco-stats-grid {
    margin-bottom: 50px;
}

.stat-card {
    background: white;
    border: 1px solid rgba(0, 119, 166, 0.1);
    border-radius: 12px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px 15px !important;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0077A6, #2E8B57);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 119, 166, 0.15);
    border-color: rgba(0, 119, 166, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-weight: 800;
    font-size: 2.2rem !important;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

/* --------------------------------------
   4. CONTENU PRINCIPAL
-------------------------------------- */
.eco-content {
    margin-bottom: 40px;
}

.eco-content h3 {
    color: #005073;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.eco-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0077A6, #2E8B57);
    border-radius: 2px;
}

/* Blocs d'information avec icônes */
.eco-content .d-flex {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 119, 166, 0.1);
    transition: all 0.3s ease;
}

.eco-content .d-flex:hover {
    border-color: rgba(0, 119, 166, 0.3);
    box-shadow: 0 5px 15px rgba(0, 119, 166, 0.1);
}

.eco-content .fs-5 {
    color: #0077A6;
    min-width: 30px;
}

.eco-content .h6 {
    color: #005073;
    font-weight: 700;
    margin-bottom: 8px;
}

.eco-content p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Badges d'écosystèmes */
.ecosystems-list {
    margin: 40px 0;
}

.ecosystems-list .h6 {
    color: #005073;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.eco-badge {
    background: white;
    border: 2px solid rgba(0, 119, 166, 0.1);
    border-radius: 12px !important;
    padding: 25px 15px !important;
    transition: all 0.4s ease;
    height: 100%;
}

.eco-badge:hover {
    background: rgba(0, 119, 166, 0.05);
    border-color: #0077A6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 119, 166, 0.1);
}

.eco-badge i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.eco-badge .h6 {
    color: #005073;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1rem;
}

.eco-badge p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* --------------------------------------
   5. CONTENEUR D'IMAGE
-------------------------------------- */
.eco-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 30px 60px rgba(0, 119, 166, 0.25);
}

.eco-image-container img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.eco-image-container:hover img {
    transform: scale(1.08);
}

/* Overlay sur l'image */
.image-overlay {
    background: linear-gradient(to top, 
        rgba(0, 80, 115, 0.95) 0%, 
        rgba(0, 80, 115, 0.7) 50%, 
        transparent 100%);
    padding: 30px 25px;
}

.image-overlay .h5 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.image-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Badges positionnés sur l'image */
.eco-image-container .position-absolute.badge {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------
   6. MINI-CARTES D'INFORMATION
-------------------------------------- */
.info-minicard {
    background: white;
    border: 2px solid rgba(0, 119, 166, 0.1);
    border-radius: 12px !important;
    padding: 25px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.info-minicard:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 119, 166, 0.15);
    border-color: rgba(0, 119, 166, 0.3);
}

.icon-wrapper {
    background: rgba(0, 119, 166, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-minicard:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 119, 166, 0.15);
}

.info-minicard .h6 {
    color: #005073;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-minicard p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------
   7. MENACES & SOLUTIONS
-------------------------------------- */
.threats-solutions {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid rgba(0, 119, 166, 0.1);
}

.threats-card, .solutions-card {
    border-radius: 12px !important;
    padding: 30px !important;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.threats-card {
    background: linear-gradient(135deg, 
        rgba(220, 53, 69, 0.05), 
        rgba(220, 53, 69, 0.02));
    border: 2px solid rgba(220, 53, 69, 0.15);
}

.solutions-card {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.05), 
        rgba(40, 167, 69, 0.02));
    border: 2px solid rgba(40, 167, 69, 0.15);
}

.threats-card:hover, .solutions-card:hover {
    transform: translateY(-5px);
}

.threats-card:hover {
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
}

.solutions-card:hover {
    box-shadow: 0 20px 40px rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

.threats-card .h5, .solutions-card .h5 {
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.threats-card .fs-4, .solutions-card .fs-4 {
    margin-right: 15px;
    min-width: 30px;
}

.threats-card ul, .solutions-card ul {
    padding-left: 10px;
}

.threats-card li, .solutions-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #495057;
    line-height: 1.6;
}

.threats-card li::before, .solutions-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.threats-card li::before {
    background-color: #DC143C;
}

.solutions-card li::before {
    background-color: #2E8B57;
}

/* --------------------------------------
   8. CTA FINAL
-------------------------------------- */
.eco-cta {
    margin-top: 60px;
    text-align: center;
}

.eco-cta .btn {
    background: linear-gradient(135deg, #0077A6, #005073);
    border: none;
    border-radius: 50px !important;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.eco-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #005073, #0077A6);
    transition: all 0.5s ease;
    z-index: -1;
}

.eco-cta .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 119, 166, 0.4);
}

.eco-cta .btn:hover::before {
    left: 0;
}

.eco-cta p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

/* --------------------------------------
   9. ANIMATIONS
-------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.eco-stats-grid {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
}

.eco-content {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.eco-image-container {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* Animation flottante pour les badges */
.badge.bg-primary-soft {
    animation: float 4s ease-in-out infinite;
}

/* --------------------------------------
   10. RESPONSIVE DESIGN
-------------------------------------- */
@media (max-width: 1200px) {
    .marine-ecosystems-section {
        padding: 70px 0;
    }
    
    .eco-image-container {
        transform: perspective(1000px) rotateY(0deg);
    }
}

@media (max-width: 992px) {
    .marine-ecosystems-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .eco-stats-grid .col-4 {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .eco-image-container {
        margin-bottom: 40px;
    }
    
    .info-minicard {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .marine-ecosystems-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .eco-stats-grid .col-4 {
        width: 100%;
    }
    
    .eco-image-container {
        transform: none !important;
        margin-bottom: 30px;
    }
    
    .eco-image-container img {
        height: 350px;
    }
    
    .threats-solutions .row > div {
        margin-bottom: 25px;
    }
    
    .eco-cta .btn {
        padding: 16px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .marine-ecosystems-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .badge.rounded-pill.bg-primary-soft {
        padding: 6px 20px;
        font-size: 0.8rem;
    }
    
    .lead-container .lead {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .eco-image-container img {
        height: 280px;
    }
    
    .eco-cta .btn {
        width: 100%;
        padding: 15px 30px;
    }
}

/* --------------------------------------
   11. CLASSES UTILITAIRES SPÉCIFIQUES
-------------------------------------- */
.bg-success-soft {
    background-color: rgba(46, 139, 87, 0.1) !important;
}

.bg-primary-soft {
    background-color: rgba(0, 119, 166, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.text-primary {
    color: #005073 !important;
}

.text-success {
    color: #2E8B57 !important;
}

.text-danger {
    color: #DC143C !important;
}

.text-warning {
    color: #FFA500 !important;
}

.opacity-90 {
    opacity: 0.9;
}

/* Assurer que tous les éléments sont visibles */
.marine-ecosystems-section * {
    opacity: 1 !important;
}

/* Styles pour la section threats-solutions améliorée */
.threats-solutions {
    position: relative;
}

/* Cartes */
.threats-card, .solutions-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.threats-card:hover, .solutions-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.threats-card:hover {
    border-color: rgba(220, 53, 69, 0.3) !important;
}

.solutions-card:hover {
    border-color: rgba(40, 167, 69, 0.3) !important;
}

/* Icon wrappers */
.icon-wrapper {
    transition: transform 0.3s ease;
}

.threats-card:hover .icon-wrapper {
    transform: rotate(15deg);
}

.solutions-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Items de liste */
.threat-item, .solution-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.threat-item:last-child, .solution-item:last-child {
    border-bottom: none;
}

.threat-item:hover, .solution-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Bullets et check icons */
.bullet-icon {
    min-width: 24px;
}

.bullet-icon i {
    transition: transform 0.3s ease;
}

.threat-item:hover .bullet-icon i {
    transform: translateX(5px);
}

.check-icon .rounded-circle {
    transition: all 0.3s ease;
}

.solution-item:hover .check-icon .rounded-circle {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

/* Badges */
.badge.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.1) !important;
    color: #2E8B57 !important;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
    transition: all 0.3s ease;
}

.badge.bg-success-soft:hover {
    background-color: rgba(40, 167, 69, 0.2) !important;
    transform: translateY(-2px);
}

/* Progress bar */
.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1s ease-in-out;
}

/* Info banner */
.info-banner {
    border: 1px solid rgba(0, 119, 166, 0.1);
    transition: all 0.3s ease;
}

.info-banner:hover {
    border-color: rgba(0, 119, 166, 0.2);
    box-shadow: 0 5px 15px rgba(0, 119, 166, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .threats-card, .solutions-card {
        margin-bottom: 20px;
    }
    
    .progress-summary .progress {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .threat-item, .solution-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bullet-icon, .check-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .stats-summary .col-6 {
        margin-bottom: 15px;
    }
}

/* Section Mangroves */
.mangroves-section {
    background: linear-gradient(135deg, #f8fff8 0%, #e6f7e6 100%);
    position: relative;
    overflow: hidden;
}

.mangroves-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    z-index: 0;
    pointer-events: none;
}

/* Cartes de caractéristiques */
.eco-importance-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 240, 0.9));
    backdrop-filter: blur(10px);
    border-left: 4px solid #2E8B57 !important;
    transition: all 0.3s ease;
}

.eco-importance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.15);
}

/* Cartes de statistiques */
.stats-grid .stat-card {
    background: white;
    border: 2px solid rgba(46, 139, 87, 0.1);
    transition: all 0.3s ease;
}

.stats-grid .stat-card:hover {
    border-color: rgba(46, 139, 87, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 139, 87, 0.1);
}

.stat-icon {
    color: #2E8B57;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

/* Conteneur d'image */
.eco-image-container .main-image {
    transform: perspective(1000px) rotateY(-2deg);
    transition: all 0.5s ease;
}

.eco-image-container:hover .main-image {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 25px 50px rgba(46, 139, 87, 0.2);
}

.eco-image-container img {
    height: 500px;
    transition: transform 0.8s ease;
}

.eco-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    background: linear-gradient(to top, 
        rgba(0, 80, 115, 0.9) 0%, 
        rgba(0, 80, 115, 0.6) 50%, 
        transparent 100%);
}

/* Cartes de features */
.feature-card {
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.15) !important;
    border-color: rgba(46, 139, 87, 0.2) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Badges */
.bg-success-soft {
    background-color: rgba(46, 139, 87, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.bg-primary-soft {
    background-color: rgba(0, 119, 166, 0.1) !important;
}

/* Alert personnalisée */
.alert.alert-success {
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.1), 
        rgba(46, 139, 87, 0.05));
    border: 2px solid rgba(46, 139, 87, 0.2) !important;
}

.alert-icon {
    color: #2E8B57;
}

/* Listes */
.list-unstyled li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #495057;
}

.list-unstyled li i {
    min-width: 20px;
}

/* Boutons */
.btn-success {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #228B22, #2E8B57);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.badge.bg-success-subtle {
    animation: float 4s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .eco-image-container img {
        height: 400px;
    }
    
    .stats-grid .col-md-6 {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .mangroves-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .eco-image-container .main-image {
        transform: none;
        margin-bottom: 30px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .mangroves-section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .eco-image-container img {
        height: 300px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Section Récifs Coralliens */
.coral-reefs-section {
    background: linear-gradient(135deg, #e6f7ff 0%, #cceeff 100%);
    position: relative;
    overflow: hidden;
}

.coral-reefs-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(23, 162, 184, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
    pointer-events: none;
}

/* Titre avec effet marin */
.coral-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #17a2b8, #20c997);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.coral-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #17a2b8, #20c997);
    border-radius: 2px;
}

/* Cartes d'importance */
.coral-importance-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 247, 255, 0.95));
    backdrop-filter: blur(10px);
    border-left: 4px solid #17a2b8 !important;
    transition: all 0.4s ease;
}

.coral-importance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(23, 162, 184, 0.2);
}

/* Statistiques coralliennes */
.coral-stat-card {
    background: white;
    border: 2px solid rgba(23, 162, 184, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.coral-stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(23, 162, 184, 0.3);
    box-shadow: 0 15px 35px rgba(23, 162, 184, 0.15);
}

.coral-stat-card .stat-icon {
    transition: transform 0.3s ease;
}

.coral-stat-card:hover .stat-icon {
    transform: scale(1.2);
}

/* Points clés */
.point-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 162, 184, 0.1);
}

.point-item:hover {
    background: linear-gradient(135deg, #e6f7ff, #d1f2ff) !important;
    border-color: rgba(23, 162, 184, 0.3);
    transform: translateY(-3px);
}

/* Image avec effet marin */
.coral-image-container .main-coral-image {
    transform: perspective(1000px) rotateX(2deg) rotateY(-3deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.coral-image-container:hover .main-coral-image {
    transform: perspective(1000px) rotateX(0) rotateY(0);
    box-shadow: 0 30px 60px rgba(23, 162, 184, 0.25);
}

.marine-effect {
    position: relative;
    overflow: hidden;
}

.marine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

.coral-image-container:hover .marine-effect::before {
    left: 100%;
}

.coral-image-container img {
    height: 500px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.coral-image-container:hover img {
    transform: scale(1.08);
}

.image-overlay {
    background: linear-gradient(to top, 
        rgba(0, 80, 115, 0.95) 0%, 
        rgba(0, 80, 115, 0.7) 50%, 
        transparent 100%);
    z-index: 2;
}

/* Badges colorés */
.badge.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.15) !important;
    color: #17a2b8 !important;
    border: 1px solid rgba(23, 162, 184, 0.25) !important;
}

.badge.bg-success-soft {
    background-color: rgba(40, 167, 69, 0.15) !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.25) !important;
}

.badge.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #ffc107 !important;
    border: 1px solid rgba(255, 193, 7, 0.25) !important;
}

.badge.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.15) !important;
    color: #dc3545 !important;
    border: 1px solid rgba(220, 53, 69, 0.25) !important;
}

/* Cartes thématiques */
.activity-card, .biodiversity-card, .conservation-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card:hover, .biodiversity-card:hover, .conservation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(23, 162, 184, 0.15) !important;
}

.activity-card:hover {
    border-color: rgba(23, 162, 184, 0.2) !important;
}

.biodiversity-card:hover {
    border-color: rgba(40, 167, 69, 0.2) !important;
}

.conservation-card:hover {
    border-color: rgba(220, 53, 69, 0.2) !important;
}

/* Icônes des cartes */
.activity-icon, .biodiversity-icon, .conservation-icon {
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-icon,
.biodiversity-card:hover .biodiversity-icon,
.conservation-card:hover .conservation-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Alert personnalisée */
.alert.alert-info {
    background: linear-gradient(135deg, 
        rgba(23, 162, 184, 0.1), 
        rgba(23, 162, 184, 0.05));
    border: 2px solid rgba(23, 162, 184, 0.2) !important;
}

.alert-icon {
    color: #17a2b8;
}

/* Boutons améliorés */
.btn-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    border: none;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, #138496, #17a2b8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(23, 162, 184, 0.3);
}

.btn-outline-info:hover {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
}

/* Progress bar */
.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1.5s ease-in-out;
}

/* Animations */
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marine-wave {
    position: relative;
    overflow: hidden;
    height: 20px;
}

.marine-wave::before {
    content: '~~~~~~~~~~~~';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    color: #17a2b8;
    opacity: 0.3;
    animation: wave 3s linear infinite;
}

@keyframes floatCoral {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.badge.bg-info-subtle {
    animation: floatCoral 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .coral-image-container img {
        height: 400px;
    }
    
    .coral-stat-card .stat-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .coral-reefs-section {
        padding: 60px 0;
    }
    
    .coral-title {
        font-size: 2.2rem;
    }
    
    .coral-image-container .main-coral-image {
        transform: none;
        margin-bottom: 30px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0 !important;
    }
    
    .point-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .coral-reefs-section {
        padding: 50px 0;
    }
    
    .coral-title {
        font-size: 1.8rem;
    }
    
    .coral-image-container img {
        height: 300px;
    }
    
    .coral-stats-grid .col-md-4 {
        margin-bottom: 15px;
    }
}

/* Section Herbiers Marins */
.seagrass-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffe6 100%);
    position: relative;
    overflow: hidden;
}

.seagrass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, -30%);
    z-index: 0;
    pointer-events: none;
}

.seagrass-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 119, 166, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, 30%);
    z-index: 0;
    pointer-events: none;
}

.seagrass-section .container {
    position: relative;
    z-index: 1;
}

/* Titre avec effet herbier */
.seagrass-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.seagrass-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    border-radius: 2px;
}

/* Effet vagues */
.wave-decoration {
    position: relative;
    height: 20px;
    overflow: hidden;
}

.wave-decoration::before {
    content: '~~~~~~~~~~~~';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    color: #2E8B57;
    opacity: 0.3;
    animation: waveFlow 4s linear infinite;
}

@keyframes waveFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Carte de valeur écologique */
.eco-value-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 240, 0.95));
    backdrop-filter: blur(10px);
    border-left: 4px solid #2E8B57 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
}

/* Statistiques herbiers */
.seagrass-stats-grid .seagrass-stat-card {
    background: white;
    border: 2px solid rgba(46, 139, 87, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seagrass-stats-grid .seagrass-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seagrass-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 139, 87, 0.3);
    box-shadow: 0 12px 25px rgba(46, 139, 87, 0.1);
}

.seagrass-stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    transition: transform 0.3s ease;
}

.seagrass-stat-card:hover .stat-icon {
    transform: scale(1.2);
}

/* Bénéfices écologiques */
.benefit-item {
    border: 1px solid rgba(46, 139, 87, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #f0fff4, #e6ffe6) !important;
    border-color: rgba(46, 139, 87, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.1);
}

/* Image avec effet sous-marin */
.seagrass-image-container .main-seagrass-image {
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.seagrass-image-container:hover .main-seagrass-image {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 25px 50px rgba(46, 139, 87, 0.2);
}

.underwater-effect {
    position: relative;
    overflow: hidden;
}

.underwater-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.1) 0%, 
        rgba(0, 119, 166, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.seagrass-image-container:hover .underwater-effect::after {
    opacity: 1;
}

.seagrass-image-container img {
    height: 500px;
    transition: transform 0.8s ease;
}

.seagrass-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    background: linear-gradient(to top, 
        rgba(0, 80, 115, 0.9) 0%, 
        rgba(0, 80, 115, 0.7) 50%, 
        transparent 100%);
}

/* Cartes thématiques */
.biodiversity-card, .flora-card, .activities-card, .conservation-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.biodiversity-card:hover, .flora-card:hover, 
.activities-card:hover, .conservation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1) !important;
}

.biodiversity-card:hover {
    border-color: rgba(0, 119, 166, 0.2) !important;
}

.flora-card:hover {
    border-color: rgba(46, 139, 87, 0.2) !important;
}

.activities-card:hover {
    border-color: rgba(255, 193, 7, 0.2) !important;
}

.conservation-card:hover {
    border-color: rgba(220, 53, 69, 0.2) !important;
}

/* Icônes des cartes */
.card-icon {
    transition: transform 0.3s ease;
}

.biodiversity-card:hover .card-icon,
.flora-card:hover .card-icon,
.activities-card:hover .card-icon,
.conservation-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Espèces emblématiques */
.species-item, .activity-item {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.species-item:hover, .activity-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.species-icon, .activity-icon {
    transition: transform 0.3s ease;
}

.species-item:hover .species-icon,
.activity-item:hover .activity-icon {
    transform: scale(1.1);
}

/* Badges colorés */
.bg-success-soft {
    background-color: rgba(46, 139, 87, 0.1) !important;
}

.bg-primary-soft {
    background-color: rgba(0, 119, 166, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

/* Message de conservation */
.conservation-message {
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.1), 
        rgba(46, 139, 87, 0.05));
    border: 2px solid rgba(46, 139, 87, 0.2) !important;
}

.alert-icon-large {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 240, 0.9));
    border: 2px solid rgba(46, 139, 87, 0.2) !important;
    transition: all 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.15);
    border-color: rgba(46, 139, 87, 0.3) !important;
}

/* Boutons */
.btn-success {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #228B22, #2E8B57);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    border: none;
}

/* Progress bars */
.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1.5s ease-in-out;
}

/* Animations flottantes */
@keyframes floatSeagrass {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.badge.bg-success-subtle {
    animation: floatSeagrass 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .seagrass-image-container img {
        height: 400px;
    }
    
    .seagrass-stats-grid .stat-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .seagrass-section {
        padding: 60px 0;
    }
    
    .seagrass-title {
        font-size: 2.2rem;
    }
    
    .seagrass-image-container .main-seagrass-image {
        transform: none;
        margin-bottom: 30px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .benefit-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .seagrass-section {
        padding: 50px 0;
    }
    
    .seagrass-title {
        font-size: 1.8rem;
    }
    
    .seagrass-image-container img {
        height: 300px;
    }
    
    .seagrass-stats-grid .col-md-4 {
        margin-bottom: 15px;
    }
    
    .cta-card .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Italy Bay Section */
.italy-bay-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f0ff 100%);
    position: relative;
    overflow: hidden;
}

.italy-bay-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 119, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: 0;
    pointer-events: none;
}

.italy-bay-section .container {
    position: relative;
    z-index: 1;
}

/* Heritage Card */
.heritage-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.95));
    backdrop-filter: blur(10px);
    border-left: 4px solid #005073 !important;
    transition: all 0.4s ease;
}

.heritage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 119, 166, 0.15);
}

/* Bay Stats */
.bay-stats-grid .bay-stat-card {
    background: white;
    border: 2px solid rgba(0, 119, 166, 0.15);
    transition: all 0.3s ease;
}

.bay-stats-grid .bay-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 119, 166, 0.3);
    box-shadow: 0 10px 20px rgba(0, 119, 166, 0.1);
}

.bay-stat-card .stat-icon {
    transition: transform 0.3s ease;
}

.bay-stat-card:hover .stat-icon {
    transform: scale(1.2);
}

/* Feature Items */
.feature-item {
    border: 1px solid rgba(0, 119, 166, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, #e6f0ff, #d1e7ff) !important;
    border-color: rgba(0, 119, 166, 0.3);
    transform: translateY(-3px);
}

/* Image Container */
.bay-image-container .main-bay-image {
    transform: perspective(1000px) rotateY(-2deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bay-image-container:hover .main-bay-image {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 25px 50px rgba(0, 119, 166, 0.2);
}

.nautical-effect {
    position: relative;
    overflow: hidden;
}

.nautical-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.6s ease;
    z-index: 1;
}

.bay-image-container:hover .nautical-effect::before {
    left: 100%;
}

.bay-image-container img {
    height: 500px;
    transition: transform 0.8s ease;
}

.bay-image-container:hover img {
    transform: scale(1.05);
}

/* Info Cards */
.info-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 119, 166, 0.1) !important;
}

.info-card .card-icon {
    transition: transform 0.3s ease;
}

.info-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Heritage Message */
.heritage-message {
    background: linear-gradient(135deg, rgba(0, 119, 166, 0.1), rgba(0, 119, 166, 0.05));
    border: 2px solid rgba(0, 119, 166, 0.2) !important;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 248, 255, 0.9));
    border: 2px solid rgba(0, 119, 166, 0.2) !important;
    transition: all 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 15px 30px rgba(0, 119, 166, 0.15);
}

/* Badge Colors */
.bg-primary-soft { background-color: rgba(0, 119, 166, 0.1) !important; }
.bg-success-soft { background-color: rgba(46, 139, 87, 0.1) !important; }
.bg-warning-soft { background-color: rgba(255, 193, 7, 0.1) !important; }
.bg-info-soft { background-color: rgba(23, 162, 184, 0.1) !important; }
.bg-danger-soft { background-color: rgba(220, 53, 69, 0.1) !important; }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #005073, #0077A6);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003d55, #005073);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 119, 166, 0.3);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #005073, #0077A6);
    color: white;
}

/* Animations */
@keyframes nauticalFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.badge.bg-primary-subtle {
    animation: nauticalFloat 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .bay-image-container img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .italy-bay-section {
        padding: 60px 0;
    }
    
    .section-header h1 {
        font-size: 2.2rem;
    }
    
    .bay-image-container .main-bay-image {
        transform: none;
        margin-bottom: 30px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .italy-bay-section {
        padding: 50px 0;
    }
    
    .section-header h1 {
        font-size: 1.8rem;
    }
    
    .bay-image-container img {
        height: 300px;
    }
    
    .bay-stats-grid .col-md-4 {
        margin-bottom: 15px;
    }
}

/* Section Baie d'Ambinanibe */
.ambinanibe-bay-section {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffe6 100%);
    position: relative;
    overflow: hidden;
}

.ambinanibe-bay-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46, 139, 87, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-30%, -30%);
    z-index: 0;
    pointer-events: none;
}

.ambinanibe-bay-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 119, 166, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, 30%);
    z-index: 0;
    pointer-events: none;
}

.ambinanibe-bay-section .container {
    position: relative;
    z-index: 1;
}

/* Titre mangrove */
.mangrove-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mangrove-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    border-radius: 2px;
}

/* Carte sanctuaire écologique */
.eco-sanctuary-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 255, 240, 0.95));
    backdrop-filter: blur(10px);
    border-left: 4px solid #2E8B57 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.eco-sanctuary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(46, 139, 87, 0.15);
}

/* Statistiques mangroves */
.mangrove-stats-grid .mangrove-stat-card {
    background: white;
    border: 2px solid rgba(46, 139, 87, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mangrove-stats-grid .mangrove-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2E8B57, #3CB371);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mangrove-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 139, 87, 0.3);
    box-shadow: 0 12px 25px rgba(46, 139, 87, 0.1);
}

.mangrove-stat-card:hover::before {
    opacity: 1;
}

.mangrove-stat-card .stat-icon {
    transition: transform 0.3s ease;
}

.mangrove-stat-card:hover .stat-icon {
    transform: scale(1.2);
}

/* Bénéfices écosystémiques */
.benefit-item {
    border: 1px solid rgba(46, 139, 87, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: linear-gradient(135deg, #f0fff4, #e6ffe6) !important;
    border-color: rgba(46, 139, 87, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.1);
}

/* Image avec effet mangrove */
.mangrove-image-container .main-mangrove-image {
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mangrove-image-container:hover .main-mangrove-image {
    transform: perspective(1000px) rotateY(0);
    box-shadow: 0 25px 50px rgba(46, 139, 87, 0.2);
}

.mangrove-effect {
    position: relative;
    overflow: hidden;
}

.mangrove-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.1) 0%, 
        rgba(0, 119, 166, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mangrove-image-container:hover .mangrove-effect::after {
    opacity: 1;
}

.mangrove-image-container img {
    height: 500px;
    transition: transform 0.8s ease;
}

.mangrove-image-container:hover img {
    transform: scale(1.05);
}

.image-overlay {
    background: linear-gradient(to top, 
        rgba(0, 80, 115, 0.9) 0%, 
        rgba(0, 80, 115, 0.7) 50%, 
        transparent 100%);
}

/* Cartes écosystème */
.ecosystem-card {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ecosystem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1) !important;
}

.ecosystem-card .card-icon {
    transition: transform 0.3s ease;
}

.ecosystem-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Éléments d'expérience */
.experience-item, .fauna-item, .species-item {
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.experience-item:hover, .fauna-item:hover, .species-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.experience-icon {
    transition: transform 0.3s ease;
}

.experience-item:hover .experience-icon {
    transform: scale(1.1);
}

/* Message écologique */
.eco-message {
    background: linear-gradient(135deg, 
        rgba(46, 139, 87, 0.1), 
        rgba(46, 139, 87, 0.05));
    border: 2px solid rgba(46, 139, 87, 0.2) !important;
}

.alert-icon-large {
    animation: ecoPulse 2s infinite;
}

@keyframes ecoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* CTA écologique */
.eco-cta-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 255, 240, 0.9));
    border: 2px solid rgba(46, 139, 87, 0.2) !important;
    transition: all 0.3s ease;
}

.eco-cta-card:hover {
    box-shadow: 0 15px 30px rgba(46, 139, 87, 0.15);
    border-color: rgba(46, 139, 87, 0.3) !important;
}

/* Badges colorés */
.bg-success-soft {
    background-color: rgba(46, 139, 87, 0.1) !important;
}

.bg-primary-soft {
    background-color: rgba(0, 119, 166, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

/* Boutons écologiques */
.btn-success {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #228B22, #2E8B57);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(46, 139, 87, 0.3);
}

.btn-outline-success:hover {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    border: none;
    color: #2E8B57;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: #2E8B57;
}

/* Progress bars */
.progress {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 1.5s ease-in-out;
}

/* Animation flottante */
@keyframes floatMangrove {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.badge.bg-success-subtle {
    animation: floatMangrove 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
    .mangrove-image-container img {
        height: 400px;
    }
    
    .mangrove-stats-grid .stat-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .ambinanibe-bay-section {
        padding: 60px 0;
    }
    
    .mangrove-title {
        font-size: 2.2rem;
    }
    
    .mangrove-image-container .main-mangrove-image {
        transform: none;
        margin-bottom: 30px;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .benefit-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .ambinanibe-bay-section {
        padding: 50px 0;
    }
    
    .mangrove-title {
        font-size: 1.8rem;
    }
    
    .mangrove-image-container img {
        height: 300px;
    }
    
    .mangrove-stats-grid .col-md-4 {
        margin-bottom: 15px;
    }
    
    .eco-cta-card .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}