@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --orange: #FF6B00;
    --orange-light: #FF8C3D;
    --orange-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8C3D 100%);
    --vert: #008000;
    --vert-light: #00A300;
    --vert-gradient: linear-gradient(135deg, #008000 0%, #00A300 100%);
    --blanc: #FFFFFF;
    --gris-clair: #F8F9FA;
    --gris-fonce: #495057;

    --primary-color: #009e60;
    --secondary-color: #ff8c00;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Poppins', sans-serif !important;
    background-color: var(--gris-clair);
    color: #333;
    padding-top: 30px;
    line-height: 1.6;
}

/* Animation globale */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    padding: 60px 0;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out forwards;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--orange-gradient);
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--vert);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    position: absolute;
    height: 4px;
    width: 80px;
    background: var(--orange-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--orange-gradient);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E55E00 0%, #FF8C3D 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,0,0.3);
}

.btn-outline {
    color: var(--vert);
    background-color: transparent;
    border: 2px solid var(--vert);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-outline:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--vert);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    color: #fff;
}

.btn-outline:hover:after {
    height: 100%;
}

.card {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    background: #fff;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--orange-gradient);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.card:hover:before {
    height: 100%;
}

.card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(1.1);
}

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

.card-img:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.card:hover .card-img:after {
    opacity: 1;
}

.card-body {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.card-body h4 {
    color: var(--gris-fonce);
    font-weight: 600;
    font-size:16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.card-body h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--orange);
}

/* Stats styling */
.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stat-item:before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: var(--orange-light);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.stat-item:hover:before {
    transform: scale(1.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    position: relative;
}

.stat-number:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
    opacity: 0.3;
}

.stat-label {
    font-size: 1rem;
    color: var(--vert);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Events styling */
.event-date {
    background: var(--orange-gradient);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255,107,0,0.2);
    position: relative;
    overflow: hidden;
}

.event-date:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
}

.card:hover .event-date:before {
    left: 100%;
}

.event-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--vert);
    font-size: 18px;
}

/* Tabs styling */
.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs > li {
    margin-bottom: -2px;
}

.nav-tabs > li > a {
    border: none;
    color: var(--gris-fonce);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange-gradient);
    transition: all 0.3s ease;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a:hover {
    border: none;
    color: var(--orange);
    background-color: transparent;
}

.nav-tabs > li.active > a:after,
.nav-tabs > li > a:hover:after {
    width: 100%;
}

.tab-content {
    padding: 30px;
    border: none;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Video section */
.embed-responsive {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Newsletter form */
.newsletter-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.newsletter-form:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--orange);
    opacity: 0.05;
    z-index: 0;
}

.newsletter-form:after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--vert);
    opacity: 0.05;
    z-index: 0;
}

.form-control {
    height: 50px;
    border-radius: 25px;
    padding: 6px 20px;
    box-shadow: none;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 8px rgba(255,107,0,0.1);
}

/* Partners */
.partners-logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.partners-logo img {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.5s ease;
    transform: scale(0.95);
}

.partners-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Director styling */
.director-img {
    border-radius: 5%;
    max-width: 200px;
    margin: 0 auto 20px;
    display: block;
    border: 5px solid var(--orange);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.director-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255,107,0,0.2);
}

/* Tables */
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0,128,0,0.05);
}

.table-bordered {
    border: none;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border: 1px solid #eee;
}

.panel {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.panel:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.panel-heading {
    padding: 15px;
    border-radius: 10px 10px 0 0;
}

.panel-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.panel-body {
    padding: 20px;
}

/* Quote */
blockquote {
    padding: 20px;
    margin: 0 0 20px;
    font-size: 17px;
    border-left: 5px solid var(--orange);
    background-color: rgba(255,107,0,0.05);
    border-radius: 0 10px 10px 0;
    position: relative;
}

blockquote:before {
    content: '\201C';
    font-size: 60px;
    color: var(--orange);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: Georgia, serif;
}

/* Animations */
.fadeInUp {
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .partners-logo img {
        max-height: 60px;
    }
}


/* Style pour les formations */
.formation-card {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: white;
    transition: all 0.3s;
}

.formation-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.formation-card .formation-img {
    height: 150px;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.formation-card .formation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formation-card .formation-content {
    padding: 15px;
}

.formation-card .formation-footer {
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.panel-heading , .panel-default > .panel-heading{
    padding: 10px;
}
/* Stats styling */
.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    z-index: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stat-item:before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: var(--orange-light);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.stat-item:hover:before {
    transform: scale(1.5);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    position: relative;
}

.stat-number:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--orange);
    opacity: 0.3;
}

.stat-label {
    font-size: 1rem;
    color: var(--vert);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Events styling */
.event-date {
    background: var(--orange-gradient);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255,107,0,0.2);
    position: relative;
    overflow: hidden;
}

.event-date:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
}

.card:hover .event-date:before {
    left: 100%;
}

.event-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--vert);
    font-size: 18px;
}

/* Tabs styling */
.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs > li {
    margin-bottom: -2px;
}

.nav-tabs > li > a {
    border: none;
    color: var(--gris-fonce);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--orange-gradient);
    transition: all 0.3s ease;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a:hover {
    border: none;
    color: var(--orange);
    background-color: transparent;
}

.nav-tabs > li.active > a:after,
.nav-tabs > li > a:hover:after {
    width: 100%;
}

.tab-content {
    padding: 30px;
    border: none;
    border-radius: 0 0 10px 10px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Video section */
.embed-responsive {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.section {
    padding: 60px 0;
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease-out forwards;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--orange-gradient);
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: 700;
    color: var(--vert);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    position: absolute;
    height: 4px;
    width: 80px;
    background: var(--orange-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: var(--orange-gradient);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E55E00 0%, #FF8C3D 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,0,0.3);
}

.btn-outline {
    color: var(--vert);
    background-color: transparent;
    border: 2px solid var(--vert);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-outline:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--vert);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    color: #fff;
}

.btn-outline:hover:after {
    height: 100%;
}

.dg_container {
     /*   border: 5px dashed white;*/
     /*   background: #e4e1df;*/
       /* background:#023A05 !important;*/
    background: linear-gradient(135deg, var(--primary-color), #006e42);
        padding: 10px;
    border-radius: 5px;
    margin-top: 13px;
    color:white
}

.tricolor-border {
    border: 5px solid; /* épaisseur de la bordure */
    border-image: linear-gradient(to right, orange 33.33%, white 33.33%, white 66.66%, green 66.66%) 1;
    padding: 5px;
}


.stats-card {
    background: white;
    padding: 1.5rem;
    text-align: center;
}

.stats-card .number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-card .label {
    font-size: 1.5rem;
    color: #6c757d;
}

.calendar-card {
    padding: 0;
}

.calendar-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.calendar-event {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.calendar-event:last-child {
    border-bottom: none;
}

.calendar-date {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

/*.mission-card {
    padding: 1.5rem;
    background: white;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.mission-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}*/

/*
.training-card {
    padding: 0;
    background: white;
}

.training-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.training-table {
    margin-bottom: 0;
}

.training-table th {
    font-weight: 600;
    color: var(--dark-color);
    background-color: #f8f9fa;
}

.training-table td {
    vertical-align: middle;
}
*/

.training-panel {
    padding: 0;
    background: white;
}

.training-header {
    background: #009e60;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.training-table {
    margin-bottom: 0;
}

.training-table th {
    font-weight: 600;
    color: #333;
    background-color: #f9f9f9;
}

.training-table td {
    vertical-align: middle;
}

.btn-download {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #e67e00;
    transform: scale(1.05);
}

.flag-colors {
    display: flex;
    height: 5px;
    margin-top: 2rem;
}

.flag-orange, .flag-white, .flag-green {
    height: 100%;
    flex: 1;
}

.flag-orange {
    background-color: #ff8c00;
}

.flag-white {
    background-color: white;
}

.flag-green {
    background-color: #009e60;
}
.header_chiffre {
    background: linear-gradient(135deg, var(--primary-color), #006e42);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#chiffres.section::before{
  background:white;
  }
.calendar-panel {
    padding: 0;
}

.calendar-header {
    background: #009e60;
    color: white;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.calendar-event {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: white;
}

.calendar-event:last-child {
    border-bottom: none;
}

.calendar-date {
    font-size: 16px;
    font-weight: 600;
    color: #009e60;
}
/* Bootstrap 3 specific fixes */
.row-eq-height {
    display: flex;
    flex-wrap: wrap;
}

.row-eq-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row-eq-height .panel {
    flex: 1;
}

/* Mission Card Styles */
.mission-card {
   /* background: linear-gradient(135deg, #2c3e50, #1a242f);*/
 /*   background: linear-gradient(135deg, #007b4a, #1a242f);*/
    color: black;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/*.mission-card:hover {
    transform: translateY(-5px);
}*/

/*.mission-card:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}*/

.event-date {
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 26px !important;
    text-align: center;
    position: relative;
}

.event-date:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #fa6200;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
   /* background-color: rgba(255, 255, 255, 0.1); */

    background-color: rgb(247, 239, 234);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mission-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
   /* transform: translateX(5px);*/
}

.mission-item i {
    color: #fa6200;
    font-size: 28px;
    margin-right: 15px;
    margin-top: 5px;
}

.mission-item h6 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    color: black;
}

.mission-item p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #222121;
}
.direction-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-top: 3px solid #FF8C00; /* Bordure orange en haut */
    margin-bottom: 30px;
}

.direction-box:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background-color: #f5fff5; /* Fond légèrement vert au survol */
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.direction-box:hover:before {
    height: 100%;
}

.direction-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.direction-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.direction-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.direction-box:hover .direction-icon img {
    transform: scale(1.1);
}

.direction-title {
    margin: 0 0 15px;
    flex-grow: 1;
}

.direction-title a {
    color: #276841; /* Texte en vert */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.direction-title a:hover {
    color: #FF8C00; /* Texte en orange au survol */
}

.read-more {
    display: inline-block;
    text-decoration: none;
    color: #fff; /* Texte en blanc */
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: #276841; /* Fond en vert */
    border: 1px solid #276841;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.read-more:hover {
    background-color: #FF8C00; /* Fond en orange au survol */
    border-color: #FF8C00;
    color: #fff;
}

/*
// Evenement */

.events-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    background-color: white;
    transition: transform 0.3s;
}

.events-card:hover {
    transform: translateY(-5px);
}

.events-date {
    background-color: #f27a2c;
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.events-content {
    padding: 25px;
}

.events-title {
    color: #2e7d32;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 22px;
}

.events-description {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.events-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
