/* Custom CSS styles will go here */

/* Define primary color based on RHDP branding */
:root {
    --bs-primary: #FF6B00; /* RHDP Orange */
    --bs-primary-rgb: 255, 107, 0; /* RGB version of the primary color */
    --bs-secondary: #1a1a1a; /* Gris foncé/Noir pour correspondre au style */
    --bs-secondary-rgb: 26, 26, 26; /* RGB version of the secondary color */
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6; /* Improve text readability */
    color: #495057; /* Default text color */
}

/* Typography Hierarchy */
h1,
.h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
h2,
.h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}
h3,
.h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}
h4,
.h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
h5,
.h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
h6,
.h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}
.lead {
    font-size: 1.15rem;
    font-weight: 400;
} /* Slightly smaller lead */

/* Override Bootstrap primary color & Button Consistency */
.btn {
    padding: 0.6rem 1.2rem; /* Consistent padding */
    font-weight: 500;
    border-radius: 0.375rem; /* Standard Bootstrap radius */
}
.btn-lg {
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem;
}
.btn-primary {
    --bs-btn-bg: #FF6B00; /* RHDP Orange */
    --bs-btn-border-color: #FF6B00;
    --bs-btn-hover-bg: #e66100; /* Slightly darker orange for hover */
    --bs-btn-hover-border-color: #cc5600;
    --bs-btn-active-bg: #cc5600; /* Even darker orange */
    --bs-btn-active-border-color: #b34c00;
    --bs-btn-disabled-bg: #FF6B00;
    --bs-btn-disabled-border-color: #FF6B00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary {
    --bs-btn-color: #FF6B00;
    --bs-btn-border-color: #FF6B00;
    --bs-btn-hover-bg: #FF6B00;
    --bs-btn-hover-border-color: #FF6B00;
    --bs-btn-active-bg: #FF6B00;
    --bs-btn-active-border-color: #FF6B00;
    --bs-btn-disabled-color: #FF6B00;
    --bs-btn-disabled-border-color: #FF6B00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.badge.bg-primary {
    background-color: var(--bs-primary) !important;
}

.dropdown-item:active {
    background-color: var(--bs-primary);
}

/* Override Bootstrap secondary color */
.bg-secondary {
    background-color: var(
        --bs-primary
    ) !important; /* Utilise la couleur orange du RHDP */
}

/* Modern Hero Slider Styles */
#modernHeroSlider {
    height: 600px;
    position: relative;
    color: #fff;
    margin-bottom: 0; /* Supprime la marge en bas */
    overflow: hidden;
}

.slider-item {
    height: 600px;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.slider-content-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 1rem;
}

.slider-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.slider-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slider-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.6;
}

.slider-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--bs-primary);
    border: 2px solid var(--bs-primary);
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-cta:hover {
    transform: translateY(-3px);
    background-color: #fff;
    color: var(--bs-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-cta i {
    transition: transform 0.3s ease;
}

.slider-cta:hover i {
    transform: translateX(5px);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--bs-primary);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #modernHeroSlider,
    .slider-item {
        height: 500px;
    }

    .slider-content-container {
        padding: 1rem;
    }

    .slider-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #modernHeroSlider,
    .slider-item {
        height: 450px;
    }

    .slider-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    .slider-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
}

/* Ajustements pour les zooms élevés */
@media screen and (min-resolution: 110dpi) {
    #modernHeroSlider {
        margin-bottom: 4rem;
    }

    .bg-secondary.py-5 {
        padding-top: 5rem !important;
    }
}

/* Logo Shadow Effect */
.navbar-brand img {
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
    transition: filter 0.3s ease; /* Optional: smooth transition */
}
/* Optional: slightly enhance shadow on hover */
/* .navbar-brand:hover img {
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
} */

/* Add other custom styles below */
.sub-title.text-primary {
    /* Ensure sub-titles also use the primary color */
    color: var(--bs-primary) !important;
}

.section-head .sub-title {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem; /* Increased space below section sub-title */
}
.section-head h2 {
    margin-bottom: 1.5rem; /* Increased space below main section title */
}

.footer a:hover {
    text-decoration: underline !important;
}

/* Style adjustments based on BoostFund template */
.content-inner-1,
.content-inner,
.values-section,
.form-wrapper1 {
    padding-top: 80px; /* Increased top padding */
    padding-bottom: 80px; /* Increased bottom padding */
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
}

.main-bnr-two .banner-content .sub-title {
    font-weight: bold;
    letter-spacing: 1px;
}

.main-bnr-two .banner-content .title {
    margin-bottom: 1rem;
}

/* Styles for Values Section */
.values-section {
    background-color: #ff8c00 !important;
    padding: 80px 0;
}

.value-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.value-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.value-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.value-description {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Hero Carousel Styles */
#heroCarousel .carousel-item {
    height: 600px; /* Adjust height as needed */
    min-height: 450px;
    background-size: cover;
    background-position: center center;
}

#heroCarousel .carousel-caption {
    /* Optional: Style the caption if needed */
    bottom: 3rem;
    z-index: 10;
}

/* Ensure banner content is positioned correctly over the carousel */
.hero-banner-content {
    position: relative; /* Changed from absolute if it was */
    z-index: 2; /* Ensure content is above potential overlays */
    /* padding: added via bootstrap classes */
}

/* Slogan Font Style (Placeholder for font-family) */
.slogan-text {
    font-family: "Poppins", sans-serif; /* Apply modern font */
    font-size: 2.8rem; /* Increased size */
    font-weight: 700; /* Bold */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

/* 'En savoir plus' button hover effect */
.btn-light:hover {
    background-color: #e2e6ea; /* Slightly darker grey */
    border-color: #dae0e5;
    color: #000;
}

/* Footer Styles */
.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 5px; /* Adjust spacing */
}

.footer .social-icons a:hover {
    background-color: var(--bs-primary); /* Orange background on hover */
    color: #fff;
}

.footer .app-store-link img {
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 5px;
}

.footer .app-store-link:hover img {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Newsletter Harmonization */
.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer-newsletter .btn-subscribe {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-newsletter .btn-subscribe:hover {
    background-color: #cc7a00; /* Darker orange */
    border-color: #b36b00;
}

/* Video Carousel Styles */
.video-carousel-item .card {
    border: none; /* Remove default card border */
    box-shadow: none; /* Remove default shadow if any */
    background-color: transparent; /* Make card background transparent */
}

.video-carousel-item .card-img-top-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #eee;
    height: 220px;
    display: block;
}

.video-carousel-item .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-carousel-item .video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8rem;
    z-index: 2;
}

.video-carousel-item .card-img-top-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.video-carousel-item .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    cursor: pointer;
}

.video-carousel-item .card-img-top-wrapper:hover::before {
    background-color: rgba(0, 0, 0, 0.5);
}

.video-carousel-item .card-img-top-wrapper:hover .video-play-button {
    opacity: 1;
    color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-carousel-item .card-body {
    padding: 1rem;
}

.video-carousel-item .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    -ms-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -ms-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    font-size: 1.5rem;
    color: var(--bs-primary); /* Use primary color for nav */
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    top: 40%; /* Adjust vertical position */
    transform: translateY(-50%);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background-color: var(--bs-primary);
    color: #fff;
}
.owl-carousel .owl-nav button.owl-prev {
    left: -20px; /* Adjust position */
}
.owl-carousel .owl-nav button.owl-next {
    right: -20px; /* Adjust position */
}
.owl-carousel .owl-dots {
    margin-top: 15px;
}
.owl-carousel .owl-dots .owl-dot span {
    background: #ccc;
}
.owl-carousel .owl-dots .owl-dot.active span {
    background: var(--bs-primary);
}

/* Achievement Card Styles */
.achievement-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.achievement-icon i {
    font-size: 3rem; /* Large icon */
    color: var(--bs-primary); /* Use primary color */
    margin-bottom: 15px;
}

.achievement-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.achievement-figure {
    /* For potential key figures */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bs-secondary); /* Use secondary color for figures */
    margin-bottom: 10px;
}

.achievement-description {
    /* Optional short description */
    font-size: 0.9rem;
    color: #6c757d; /* Grey text */
}

/* Specific container for the achievement image */
.achievement-image-container {
    overflow: hidden; /* Ensure image respects border-radius */
    padding: 0 !important; /* Override default padding */
    display: flex; /* Use flex to center image if needed, or just contain */
    align-items: center; /* Center vertically if image is smaller */
    justify-content: center; /* Center horizontally if image is smaller */
    width: 100%; /* Ensure it takes full column width */
    height: 100%; /* Ensure container takes full available height */
}

.achievement-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container */
    display: block; /* Remove extra space below image */
    border-radius: 8px; /* Match card border-radius */
}

/* News Card Styles */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Keep image zoom contained */
}

.news-card .card-img-top-wrapper {
    overflow: hidden; /* Container for image zoom */
    height: 200px; /* Fixed height for image container */
    background-color: #eee; /* Placeholder background */
}

.news-card .card-img-top-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px); /* Lift card slightly */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Add shadow */
}

.news-card:hover .card-img-top-wrapper img {
    transform: scale(1.05); /* Zoom image slightly */
}

/* Règle supprimée car vide et non nécessaire */

.news-card .card-title {
    font-size: 1.2rem; /* Slightly larger title */
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 6px;
    background-color: var(--bs-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid var(--bs-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-date {
    font-weight: bold;
    color: var(--bs-primary);
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--bs-secondary);
}

/* Responsive timeline */
@media (max-width: 767.98px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 18px;
    }

    .timeline-item:nth-child(even)::after {
        left: 18px;
    }
    /* Reduce section padding on smaller screens */
    .content-inner-1,
    .content-inner,
    .values-section,
    .form-wrapper1 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    /* Reduce hero carousel height */
    #heroCarousel .carousel-item {
        height: 450px; /* Shorter height for mobile */
        min-height: 350px;
    }

    /* Reduce slogan text size */
    .slogan-text {
        font-size: 2rem; /* Smaller slogan on mobile */
    }

    /* Adjust Owl Carousel navigation */
    .owl-carousel .owl-nav button.owl-prev {
        left: 5px; /* Bring nav buttons inside */
    }
    .owl-carousel .owl-nav button.owl-next {
        right: 5px; /* Bring nav buttons inside */
    }

    /* Reduce achievement icon size */
    .achievement-icon i {
        font-size: 2.5rem;
    }

    /* Adjust footer newsletter layout */
    .footer-newsletter .input-group {
        flex-direction: column;
    }
    .footer-newsletter .form-control {
        margin-bottom: 10px;
        width: 100%;
    }
    .footer-newsletter .btn-subscribe {
        width: 100%;
    }
}

/* Flash Info Styles */
.bg-orange {
    background-color: #FF6B00 !important;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: none; /* Supprime la bordure */
    margin-top: 0; /* Supprime la marge en haut */
}

.flash-info-slider {
    position: relative;
    padding: 1.2rem 0;
    overflow: hidden;
    background-color: #ff8c00;
    margin-top: 0; /* Supprime la marge en haut */
}

.flash-info-label {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    white-space: nowrap;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.flash-info-label i {
    font-size: 1.4rem;
    margin-right: 0.8rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.flash-info-text {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Styles pour le mode défilement */
.flash-info-scroll {
    display: flex;
    overflow: hidden;
    position: relative;
    padding: 0.5rem;
}

.flash-info-scroll .flash-messages {
    display: flex;
    animation: scrollMessages 40s linear infinite;
    white-space: nowrap;
    padding-left: 100%;
}

.flash-info-scroll .flash-message-item {
    padding-right: 150px;
    flex-shrink: 0;
}

@keyframes scrollMessages {
    0%,
    5% {
        transform: translateX(0);
    }
    85% {
        transform: translateX(-200%);
    }
    95%,
    100% {
        transform: translateX(-200%);
    }
}

/* Ajout d'une pause au survol */
.flash-info-scroll:hover .flash-messages {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .flash-info-label {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }

    .flash-info-text {
        font-size: 1rem;
    }

    .flash-info-slider {
        padding: 1rem 0;
    }
}

/* Ajustement de l'espacement pour la section Actualités */
.content-inner-1 {
    padding-top: 2rem; /* Réduit l'espace en haut puisque le flash info aura sa propre marge */
}

/* Nos Valeurs Section */
.bg-secondary.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 5rem !important;
    position: relative;
    z-index: 1;
    margin-top: 0; /* Supprime la marge en haut */
    background: linear-gradient(45deg, var(--bs-primary), #ff9f1a) !important;
}

.value-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.value-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.value-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.value-description {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Chronologie Page Styles */
main.container {
    padding-top: 6rem !important; /* Plus d'espace en haut */
}

.timeline {
    margin-top: 3rem; /* Espace entre le texte d'introduction et la timeline */
}

main.container h1 {
    color: var(--bs-primary) !important; /* Couleur orange du RHDP */
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

main.container .text-gray-700 {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    main.container {
        padding-top: 4rem !important;
    }

    main.container h1 {
        font-size: 2rem;
    }
}
