 :root {
     --primary-orange: #E67E22;
     --primary-color: var(--primary-orange);
     --primary-dark: #C65F1E;
     --secondary-color: #2C3E50;
     --accent-color: #333333;
     --light-color: #f8f9fa;
     --dark-color: #212529;
     --header-height: 80px;
     --topbar-height: 50px;
 }
 
 body {
     font-family: 'Poppins', sans-serif;
     color: var(--dark-color);
     overflow-x: hidden;
     padding-top: 0;
     transition: padding-top 0.3s ease;
 }
 
 body.header-fixed {
     padding-top: var(--header-height);
 }
 
 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-family: 'Montserrat', sans-serif;
     font-weight: 700;
 }
 /* Header & Navigation */
 
 .top-bar {
     background-color: var(--accent-color);
     color: white;
     padding: 10px 0;
     font-size: 0.9rem;
     transition: transform 0.3s ease, opacity 0.3s ease;
     position: relative;
     z-index: 1031;
 }
 
 .top-bar.hidden {
     transform: translateY(-100%);
     opacity: 0;
     pointer-events: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
 }
 
 .top-bar a {
     color: var(--primary-orange);
     text-decoration: none;
 }
 
 .top-bar a:hover {
     text-decoration: underline;
 }
 
 .main-header {
     background-color: white;
     padding: 15px 0;
     transition: all 0.3s ease;
     width: 100%;
     z-index: 1030;
 }
 
 .main-header.fixed-header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
     backdrop-filter: blur(6px);
     animation: slideDown 0.3s ease;
 }
 
 @keyframes slideDown {
     from {
         transform: translateY(-100%);
     }
     to {
         transform: translateY(0);
     }
 }
 
 .logo {
     font-family: 'Montserrat', sans-serif;
     font-weight: 900;
     font-size: 1.8rem;
     color: var(--accent-color);
     text-decoration: none;
 }
 
 .logo span {
     color: var(--primary-orange);
 }
 
 .navbar-nav .nav-link {
     font-weight: 600;
     color: var(--dark-color) !important;
     margin: 0 10px;
     padding: 8px 15px !important;
     border-radius: 5px;
     transition: all 0.3s ease;
 }
 
 .navbar-nav .nav-link:hover,
 .navbar-nav .nav-link.active {
     background-color: var(--primary-orange);
     color: white !important;
 }
 /* ================= ACTIVE LINKS ================= */
 /* Pour les liens principaux */
 /* Activation des liens avec fond orange */
 
 .navbar-nav .nav-link.active {
     background-color: #E67E22 !important;
     color: white !important;
     border-radius: 5px;
 }
 /* Pour le dropdown parent actif */
 
 .nav-item.dropdown .nav-link.active {
     background-color: #E67E22 !important;
     color: white !important;
 }
 /* Pour les sous-éléments du dropdown */
 
 .dropdown-item.active {
     background-color: #E67E22 !important;
     color: white !important;
 }
 /* Effet hover pour renforcer l'expérience */
 
 .navbar-nav .nav-link:hover {
     background-color: #E67E22 !important;
     color: white !important;
     border-radius: 5px;
 }
 
 .dropdown-item:hover {
     background-color: #E67E22 !important;
     color: white !important;
 }
 /* Optionnel : pour le logo */
 /* .navbar-brand.logo.active {
     filter: drop-shadow(0 0 2px #E67E22);
 } */
 
 .btn-don {
     background-color: var(--primary-orange);
     color: white !important;
     font-weight: 700;
     padding: 10px 25px !important;
     border-radius: 5px;
     border: none;
     transition: all 0.3s ease;
 }
 
 .btn-don:hover {
     background-color: var(--primary-dark);
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
 }
 /* Dropdown Styles - sans hover CSS, géré par JS */
 
 .nav-item.dropdown {
     position: relative;
 }
 
 .dropdown-menu {
     top: 100%;
     left: 0;
 }
 
 .dropdown-menu {
     border: none;
     border-radius: 10px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     padding: 15px 0;
     margin-top: 0;
     /* IMPORTANT */
     border-top: 3px solid var(--primary-orange)
 }
 
 .dropdown-item {
     padding: 10px 25px;
     font-weight: 500;
     transition: all 0.3s ease;
 }
 
 .dropdown-item:hover {
     background-color: var(--primary-orange);
     color: white;
     padding-left: 30px;
 }
 
 .dropdown-toggle::after {
     display: none !important;
     /* Supprime la flèche Bootstrap */
 }
 /* Carousel */
 
 .header-carousel {
     height: 70vh;
     min-height: 500px;
     position: relative;
     overflow: hidden;
 }
 
 .carousel-item {
     height: 70vh;
     min-height: 500px;
     background-position: center;
     background-size: cover;
 }
 
 .carousel-item:nth-child(1) {
     background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/Lessaliennes/mama0.jpg') center/cover no-repeat;
 }
 
 .carousel-item:nth-child(2) {
     background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
 }
 
 .carousel-item:nth-child(3) {
     background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
 }
 
 .carousel-caption {
     bottom: 30%;
     text-align: left;
 }
 
 .carousel-caption h2 {
     font-weight: 800;
     font-size: 3rem;
     color: var(--primary-orange);
     margin-bottom: 20px;
 }
 
 .carousel-caption p {
     font-size: 1.2rem;
     margin-bottom: 30px;
 }
 /* Section Styles */
 
 .section-title {
     position: relative;
     margin-bottom: 50px;
 }
 
 .section-title h2 {
     font-weight: 800;
     color: var(--accent-color);
     position: relative;
     display: inline-block;
     padding-bottom: 15px;
 }
 
 .section-title h2:after {
     content: '';
     position: absolute;
     width: 80px;
     height: 4px;
     background-color: var(--primary-orange);
     bottom: 0;
     left: 0;
 }
 
 .section-title.center-title h2:after {
     left: 50%;
     transform: translateX(-50%);
 }
 /* Program Cards */
 
 .program-card {
     background-color: white;
     border-radius: 10px;
     padding: 30px;
     height: 100%;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     border-top: 4px solid var(--primary-orange);
     transition: all 0.3s ease;
     margin-bottom: 30px;
 }
 
 .program-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
 }
 
 .program-icon {
     width: 70px;
     height: 70px;
     border-radius: 50%;
     background-color: var(--primary-orange);
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 20px;
 }
 
 .program-icon i {
     font-size: 1.8rem;
     color: white;
 }
 
 .program-card h4 {
     color: var(--accent-color);
     margin-bottom: 15px;
     font-weight: 700;
 }
 /* Mission Section */
 
 .mission-section {
     background-color: #f9f9f9;
     padding: 80px 0;
 }
 
 .mission-section a:hover .mission-box {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 5);
     cursor: pointer;
 }
 
 .mission-box {
     background-color: white;
     border-radius: 10px;
     padding: 30px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     height: 100%;
 }
 
 .event-image {
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     height: 100%;
     min-height: 300px;
     background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
     background-size: cover;
     background-position: center;
     display: flex;
     align-items: flex-end;
     padding: 20px;
 }
 
 .event-image h4 {
     color: white;
     font-weight: 700;
     text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
 }
 /* STEM Section */
 
 .stem-section {
     background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/College/college-allingba2.JPG');
     background-size: cover;
     background-position: center;
     color: white;
     padding: 100px 0;
     text-align: center;
 }
 
 .stem-section h3 {
     color: var(--primary-orange);
     font-size: 2.2rem;
     margin-bottom: 30px;
     font-weight: 800;
 }
 /* News Section */
 
 .news-card {
     background-color: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
     margin-bottom: 30px;
     transition: all 0.3s ease;
     height: 100%;
 }
 
 .news-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 }
 
 .news-image {
     height: 200px;
     background-size: cover;
     background-position: center;
     background-color: #eee;
 }
 
 .news-date {
     background-color: var(--primary-orange);
     color: white;
     padding: 10px 15px;
     font-weight: 600;
     display: inline-block;
 }
 
 .news-content {
     padding: 20px;
 }
 /* Contact & Footer */
 
 .contact-info {
     margin-bottom: 30px;
 }
 
 .contact-info i {
     color: var(--primary-orange);
     margin-right: 10px;
     width: 20px;
 }
 
 .newsletter-form .form-control {
     border-radius: 5px 0 0 5px;
     border: 1px solid #ddd;
 }
 
 .newsletter-form .btn {
     border-radius: 0 5px 5px 0;
     background-color: var(--primary-orange);
     color: white;
     border: 1px solid var(--primary-orange);
     font-weight: 600;
 }
 
 footer {
     background-color: var(--accent-color);
     color: white;
     padding: 60px 0 30px;
 }
 
 .footer-links a {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     transition: all 0.3s ease;
     display: block;
     margin-bottom: 10px;
 }
 
 .footer-links a:hover {
     color: var(--primary-orange);
     padding-left: 5px;
 }
 
 .social-icons a {
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background-color: rgba(255, 255, 255, 0.1);
     display: inline-flex;
     align-items: center;
     justify-content: center;
     margin-right: 10px;
     transition: all 0.3s ease;
 }
 
 .social-icons a:hover {
     background-color: var(--primary-orange);
     color: white;
     transform: translateY(-5px);
 }
 /* Back to top button */
 
 .back-to-top {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 50px;
     height: 50px;
     background-color: var(--primary-orange);
     color: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     text-decoration: none;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
     z-index: 1000;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s ease;
 }
 
 .back-to-top.active {
     opacity: 1;
     visibility: visible;
 }
 
 .back-to-top:hover {
     background-color: var(--primary-dark);
     transform: translateY(-5px);
 }
 /* Custom text color for links */
 
 .text-primary-custom {
     color: var(--primary-orange) !important;
 }
 
 .text-primary-custom:hover {
     color: var(--primary-dark) !important;
 }
 /* Responsive Styles */
 
 @media (max-width: 992px) {
     .carousel-caption {
         bottom: 50%;
         transform: translateY(50%);
         text-align: center;
         left: 5%;
         right: 5%;
         padding: 0 15px;
     }
     .carousel-caption h2 {
         font-size: 1.6rem;
     }
     .carousel-caption p {
         font-size: 1rem;
     }
     .navbar-nav .nav-link {
         margin: 5px 0;
     }
     .program-card,
     .mission-box {
         margin-bottom: 20px;
     }
     body.header-fixed {
         padding-top: 0;
     }
 }
 
 @media (max-width: 768px) {
     .carousel-caption h2 {
         font-size: 1rem;
         padding-left: 1rem;
         padding-right: 1rem;
     }
     .carousel-caption p {
         font-size: 0.9rem;
         padding-left: 1rem;
         padding-right: 1rem;
     }
     .carousel-caption .btn-lg {
         padding: 8px 20px;
         font-size: 0.9rem;
     }
     .top-bar .social-icons {
         justify-content: center;
         margin-top: 10px;
     }
     .logo {
         font-size: 1.5rem;
     }
     .program-card,
     .mission-box {
         margin-bottom: 15px;
     }
 }
 
 @media (max-width: 576px) {
     .section-padding {
         padding: 50px 0;
     }
     .mission-section,
     .values-section {
         padding: 50px 0;
     }
     .stem-section {
         padding: 60px 0;
     }
     .section-title h2 {
         font-size: 1.6rem;
     }
     .stem-section h3 {
         font-size: 1.7rem;
     }
     .header-carousel,
     .carousel-item {
         min-height: 400px;
         height: 60vh;
     }
     .carousel-caption h2 {
         font-size: 1.5rem;
     }
     .carousel-caption p {
         font-size: 0.95rem;
     }
     .carousel-caption .btn-lg {
         padding: 8px 20px;
         font-size: 0.9rem;
     }
     .program-card,
     .mission-box {
         padding: 20px;
     }
     .program-icon {
         width: 60px;
         height: 60px;
     }
     .program-icon i {
         font-size: 1.5rem;
     }
     .program-card h4 {
         font-size: 1.2rem;
     }
     .stem-section .btn {
         display: block;
         width: 100%;
         margin: 10px 0 !important;
     }
     .stem-section .me-3 {
         margin-right: 0 !important;
     }
     .news-image {
         height: 160px;
     }
     .news-content h5 {
         font-size: 1.1rem;
     }
     .contact-info p {
         word-break: break-word;
         font-size: 0.9rem;
     }
     .footer-links a {
         display: inline-block;
         margin-right: 10px;
     }
     .footer-links {
         text-align: center;
         margin-top: 15px;
     }
     .back-to-top {
         width: 40px;
         height: 40px;
         font-size: 1.2rem;
         bottom: 20px;
         right: 20px;
     }
     .top-bar .row>div {
         text-align: center !important;
         justify-content: center !important;
     }
     .top-bar .social-icons {
         margin-left: 0 !important;
         margin-top: 5px;
     }
 }
 
 @media (max-width: 400px) {
     .logo {
         font-size: 1.3rem;
     }
     .carousel-caption h2 {
         font-size: 1.2rem;
     }
     .section-title h2 {
         font-size: 1.4rem;
     }
     .stem-section h3 {
         font-size: 1.4rem;
     }
     .program-card {
         padding: 15px;
     }
     .news-image {
         height: 140px;
     }
 }
 
 @media (max-width: 360px) {
     .logo {
         font-size: 1.1rem;
     }
     .logo img {
         width: 35px;
         height: 35px;
     }
 }
 
 .section-padding {
     padding: 80px 0;
 }
 
 .mb-40 {
     margin-bottom: 40px;
 }
 
 .mt-40 {
     margin-top: 40px;
 }
 /* Toast Notification */
 
 .toast-notification {
     position: fixed;
     bottom: 30px;
     right: 30px;
     background-color: white;
     color: var(--dark-color);
     border-radius: 12px;
     box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
     padding: 16px 20px;
     display: flex;
     align-items: center;
     gap: 15px;
     z-index: 1050;
     max-width: 380px;
     width: calc(100% - 60px);
     transform: translateX(calc(100% + 60px));
     transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
     border-left: 4px solid var(--primary-orange);
     font-family: 'Poppins', sans-serif;
 }
 
 .toast-notification.show {
     transform: translateX(0);
 }
 
 .toast-icon {
     background-color: var(--primary-orange);
     color: white;
     width: 42px;
     height: 42px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.4rem;
     flex-shrink: 0;
 }
 
 .toast-content {
     flex: 1;
 }
 
 .toast-title {
     font-weight: 700;
     font-size: 1rem;
     color: var(--primary-orange);
     margin-bottom: 4px;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }
 
 .toast-message {
     font-size: 0.95rem;
     color: var(--dark-color);
     line-height: 1.4;
 }
 
 .toast-close {
     background: none;
     border: none;
     color: #aaa;
     font-size: 1.4rem;
     cursor: pointer;
     padding: 0 5px;
     transition: color 0.2s;
     line-height: 1;
     flex-shrink: 0;
 }
 
 .toast-close:hover {
     color: var(--primary-orange);
 }
 
 @media (max-width: 576px) {
     .toast-notification {
         bottom: 20px;
         right: 20px;
         padding: 12px 16px;
         max-width: calc(100% - 40px);
         width: calc(100% - 40px);
     }
     .toast-icon {
         width: 36px;
         height: 36px;
         font-size: 1.2rem;
     }
     .toast-title {
         font-size: 0.9rem;
     }
     .toast-message {
         font-size: 0.85rem;
     }
 }
}
.toast-close:hover {
    color: var(--primary-orange);
}
@media (max-width: 576px) {
    .toast-notification {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }
    
    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .toast-title {
        font-size: 0.9rem;
    }
    
    .toast-message {
        font-size: 0.85rem;
    }
}

/* Toast personnalisé : fond blanc, texte et icône orange */
.toast-success {
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-left: 5px solid var(--primary-orange) !important;
}
.toast-success .toast-title,
.toast-success .toast-message {
    color: var(--primary-orange) !important;
}
.toast-success .toast-close-button {
    color: var(--primary-orange) !important;
    opacity: 0.7;
}
.toast-success .toast-close-button:hover {
    color: var(--primary-orange) !important;
}
.toast-success .toast-progress {
    background-color: var(--primary-orange) !important;
}
.toast-success .toast-icon {
    color: var(--primary-orange) !important;
}
