:root {
    --primary: #2d6a4f;
    --secondary: #40916c;
    --success: #1b4332;
    --danger: #dc3545;
}

body {
    background: #f8f9f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.card {
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: none;
}
.card:hover {
    transform: translateY(-5px);
}
.btn-primary {
    background: #2d6a4f;
    border: none;
}
.btn-primary:hover {
    background: #1b4332;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.comment-box {
    background: #e9f5e9;
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
    border-left: 5px solid #2d6a4f;
}
.dashboard-stats {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.dashboard-stats i {
    font-size: 2.5rem;
    color: #2d6a4f;
}
.navbar-brand img {
    max-height: 45px;
    width: auto;
}
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 35px;
    }
}
.hero-section {
        background: linear-gradient(135deg, #0a3d2e 0%, #1b6d3f 100%);
        color: white;
        position: relative;
        overflow: hidden;
        width: 100%;
        padding: 2rem 0;
    }
    .hero-section::before {
        content: "";
        position: absolute;
        top: -50%;
        right: -20%;
        width: 80%;
        height: 200%;
        background: rgba(255,255,255,0.05);
        transform: rotate(15deg);
        pointer-events: none;
    }
    .hero-container {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
    .hero-content {
        padding: 0 1rem;
    }
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        display: inline-block;
        margin-bottom: 1rem;
    }
    .hero-title {
        font-size: 3rem;
        font-weight: bold;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-title span {
        display: inline-block;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .hero-buttons .btn {
        padding: 0.75rem 1.8rem;
        font-size: 1rem;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    .hero-buttons .btn:hover {
        transform: translateY(-3px);
    }
    .hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    /* Grandes tablettes et petits écrans (992px - 1199px) */
    @media (min-width: 992px) and (max-width: 1199px) {
        .hero-title {
            font-size: 2.5rem;
        }
        .hero-subtitle {
            font-size: 1.1rem;
        }
        .hero-buttons .btn {
            padding: 0.7rem 1.5rem;
        }
    }
    
    /* Tablettes (768px - 991px) */
    @media (min-width: 768px) and (max-width: 991px) {
        .hero-section {
            padding: 1.5rem 0;
        }
        .hero-title {
            font-size: 2.2rem;
            text-align: center;
        }
        .hero-subtitle {
            font-size: 1rem;
            text-align: center;
            padding: 0 1rem;
        }
        .hero-badge {
            display: block;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
        }
        .hero-buttons {
            justify-content: center;
        }
        .hero-buttons .btn {
            padding: 0.6rem 1.3rem;
            font-size: 0.95rem;
        }
        .hero-content {
            text-align: center;
            margin-bottom: 2rem;
        }
        .hero-image {
            max-width: 80%;
            display: block;
            margin: 0 auto;
        }
    }
    
    /* Mobiles (576px - 767px) */
    @media (min-width: 576px) and (max-width: 767px) {
        .hero-section {
            padding: 1rem 0;
        }
        .hero-title {
            font-size: 1.8rem;
            text-align: center;
        }
        .hero-subtitle {
            font-size: 0.95rem;
            text-align: center;
            padding: 0 0.5rem;
        }
        .hero-badge {
            font-size: 0.75rem;
            display: block;
            text-align: center;
            margin: 0 auto 1rem auto;
            width: fit-content;
        }
        .hero-buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.8rem;
        }
        .hero-buttons .btn {
            width: 100%;
            max-width: 280px;
            text-align: center;
            font-size: 0.9rem;
            padding: 0.6rem 1rem;
        }
        .hero-content {
            text-align: center;
            margin-bottom: 1.5rem;
        }
        .hero-image {
            width: 100%;
            max-width: 100%;
        }
    }
    
    /* Très petits mobiles (moins de 576px) */
    @media (max-width: 575px) {
        .hero-section {
            padding: 0.75rem 0;
        }
        .hero-title {
            font-size: 1.5rem;
            text-align: center;
        }
        .hero-subtitle {
            font-size: 0.85rem;
            text-align: center;
            padding: 0 0.5rem;
        }
        .hero-badge {
            font-size: 0.7rem;
            display: block;
            text-align: center;
            margin: 0 auto 0.8rem auto;
            width: fit-content;
        }
        .hero-buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
        }
        .hero-buttons .btn {
            width: 100%;
            max-width: 260px;
            font-size: 0.85rem;
            padding: 0.5rem 0.8rem;
        }
        .hero-content {
            text-align: center;
            margin-bottom: 1rem;
        }
        .hero-image {
            width: 100%;
            max-width: 100%;
        }
        .container {
            padding-left: 10px;
            padding-right: 10px;
        }
    }