/********** Template CSS **********/
:root {
    --primary: #DAA520;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
    --gold-primary: #DAA520;
    --gold-secondary: #FFD700;
    --gold-light: #F4D03F;
    --gold-dark: #B8860B;
    --text-dark: #333;
    --transition: all 0.3s ease;
    --gold-gradient: linear-gradient(135deg, #FFD700, #DAA520, #B8860B);
    --gold-hover: linear-gradient(135deg, #B8860B, #DAA520, #FFD700);
    --gold-text: #DAA520;
}

/* Variables globales */
:root {
    --primary-color: #477905;
    --secondary-color: #AE7B00;
    --accent-color: #E13547;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: #F2BF00;
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background-color: rgb(15, 15, 15, 0.8);
}

.top-bar small {
    color: white !important;
}

.top-bar a {
    transition: transform 0.3s ease;
}

.top-bar a:hover {
    transform: translateY(-2px);
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 50;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 12px;
    margin: 15px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 15px 0;
    color: #0f0f0f;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--gold-primary) !important;
}

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    .navbar-brand img {
        width: 100px !important;
        height: 90px !important;
        top: -18px !important;
    }

    .support-btn-global {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: flex !important;
        flex-direction: column;
        padding: 0.25rem 1rem;
        font-size: 0.8rem;
        background-color: rgb(35 37 36);
    }

    .top-bar .col-lg-6 {
        padding-left: 0;
        padding-right: 0;
        text-align: center !important;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        margin-left: 1rem !important;
    }

    .navbar-brand img {
        width: 80px !important;
        height: 70px !important;
        top: -15px !important;
    }

    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        margin-right: 1rem;
        background-color: var(--primary);
    }

    .navbar-nav {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 15px;
        padding: 1rem;
        margin-top: -3rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        margin: 0.2rem 0;
        text-align: center;
        border-radius: 10px;
    }

    .support-btn-global {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 15px 20px;
    }

    .carousel {
        margin-top: 120px;
    }

   

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 70px !important;
        height: 60px !important;
        top: -12px !important;
    }

    .carousel {
        margin-top: 100px;
    }

    
    .support-btn-global {
        padding: 12px 18px;
        font-size: 0.85rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 576px) {
    .top-bar {
        height: auto;
        /* Laisse la hauteur s'adapter au contenu */
        padding: 5px 10px;
        /* Ajoute un peu de padding */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgb(35 37 36);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-size: 0.75rem;
        /* Texte un peu plus petit */
    }

    .top-bar .col-lg-6,
    .top-bar .col-12 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 5px;
        text-align: center !important;
        width: 100%;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        margin-left: 0.5rem !important;
    }

    .navbar-brand img {
        width: 60px !important;
        height: 50px !important;
        top: -10px !important;
    }

    .navbar-toggler {
        margin-right: 0.5rem;
        padding: 0.25rem 0.4rem;
        background-color: var(--primary);
    }

    .navbar-nav {
        margin: 0.5rem;
        padding: 0.8rem;
    }

    .navbar-nav .nav-link {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem;
    }

    .support-btn-global {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .carousel {
        margin-top: 85px;
    }

    .carousel-item {
        height: 210px;
        min-height: 210px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev {
        left: 5px;
    }

    .carousel-control-next {
        right: 5px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}



@media (max-width: 412px) {
    .carousel-item {
        height: 210px;
        min-height: 150px;
    }
}

@media (max-width: 414px) {
    .carousel-item {
        height: 210px;
        min-height: 150px;
    }
}


@media (max-width: 400px) {
    .navbar-brand img {
        width: 50px !important;
        height: 45px !important;
        top: -8px !important;
    }

    .carousel-item {
        height: 195px;
        min-height: 195px;
    }

    .support-btn-global {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 350px) {
    .carousel-item {
        height: 176px;
        min-height: 160px;
    }
 }
 @media (max-width: 360px) {
    .carousel-item {
        height: 180px;
        min-height: 160px;
    }
 }
/* Affichage normal pour les grands écrans */
@media (min-width: 992px) {
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 20px;
        font-size: 0.9rem;
        background-color: rgb(35 37 36);
    }
}

/* Affichage intermédiaire : 577px à 991px */
@media (min-width: 577px) and (max-width: 991px) {
    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 5px 10px;
        font-size: 0.75rem;
        background-color: rgb(35 37 36);
    }
}

/* Petits écrans */
@media (max-width: 576px) {
    .top-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 5px 8px;
        font-size: 0.65rem;
        background-color: rgb(35 37 36);
    }
}


/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Mobile Menu */
@media (max-width: 992px) {
    .navbar-collapse {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(20px);
        border-radius: 20px;
        margin: 1rem;
        padding: 1.5rem;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Menu déroulant superposé */
    .custom-dropdown {
        position: absolute !important;
        top: 10px;
        right: 330px;
        z-index: 999;
        display: none;
        background-color: white;
        border-radius: 0.3rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    }




    /* Supprime l'espacement entre le bouton dropdown et le menu */
    .navbar .dropdown-menu {
        margin: 0 !important;
        top: 100%;
        /* positionne juste sous le lien */
        border-radius: 0 !important;
    }


    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }

}

@media (max-width: 1100px) {
    .navbar-brand img {
        max-width: 120px;
    }

    .navbar-nav .nav-link {
        padding-right: 0.2rem;
        padding-left: 0.5rem;
        margin-right: 1.3rem !important;
        font-size: 0.6rem;
    }

    .support-btn-global {
        padding: 5px 10px !important;
        font-size: 15px !important;
    }
}


/* Loading Animation */
.carousel-item img {
    animation: slideIn 0.8s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 0.6;
        transform: scale(1);
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    z-index: 1;

}


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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}



.about-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(48, 57, 59, 0.5)), url(../img/mains2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(48, 57, 59, 0.5)), url(../img/magasine/magazine.jpg) center center no-repeat;
    background-size: cover;
}

.causes-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(48, 57, 59, 0.5)), url(../img/logo.png) center center no-repeat;
    background-size: cover;
}

.service-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(48, 57, 59, 0.5)), url(../img/video.png) center center no-repeat;
    background-size: cover;
}

.team-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(48, 57, 59, 0.5)), url(../img/music2.jpg) center center no-repeat;
    background-size: cover;
}

.livre-header {
    padding-top: 20rem;
    padding-bottom: 15rem;
    background: linear-gradient(rgba(0, 29, 35, 0.1), rgba(48, 57, 59, 0.5)), url(../img/logo-livres/logo3.jpg) center center no-repeat;
    background-size: cover;
}

.contact-header {
    padding-top: 14rem;
    padding-bottom: 10rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/logo.png) center center no-repeat;
    background-size: cover;
}

.about-header,
.testimonial-header,
.causes-header,
.service-header,
.team-header,
.livre-header,
.contact-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {

    .about-header,
    .testimonial-header,
    .causes-header,
    .service-header,
    .team-header,
    .livre-header,
    .contact-header {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

/* Contact Page Styles */
.contact-info-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.contact-info-card:hover,
.contact-info-card.active {
    transform: translateY(-10px);
    background: var(--gold-gradient);
    color: white;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.contact-info-card:hover .icon-circle {
    background: white;
    color: var(--gold-primary);
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.custom-input {
    margin-bottom: 1.5rem;
}

.custom-input .form-control {
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 1rem 1rem 1rem 2.5rem;
    border-radius: 0;
    background: transparent;
}

.custom-input .form-control:focus {
    box-shadow: none;
    border-color: var(--gold-primary);
}

.custom-input label {
    left: 0;
    color: #666;
}

.custom-input label i {
    margin-right: 0.5rem;
    color: var(--gold-primary);
}

.title-separator {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 1.5rem 0;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--gold-gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact-info-card {
        margin-bottom: 1rem;
    }
}


/* Styles pour le loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Styles pour l'image GIF */
.loader img {
    width: 300px;
    height: 300px;
    animation: pulse 3s infinite;
    /* Alterne entre l'opacité et la transparence */

}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Animation de variation d'opacité */


/* About Section */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.floating-image {
    position: absolute;
    top: -80px;
    /* ← image remonte de 20px */
    right: -30px;
    width: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}


.main-image {
    position: relative;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gold-gradient);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mission-points {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.point-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.point-item:hover {
    transform: translateX(10px);
}

.point-item i {
    margin-right: 1rem;
    color: var(--gold-primary);
}

.scripture-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
    border-left: 4px solid transparent;
    border-image: var(--gold-gradient);
    border-image-slice: 1;
}

/* Actions Section */
.action-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-10px);
}

.action-icon {
    width: 80px;
    height: 80px;
    margin: -40px auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Donation Section */
.donation-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/donation-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.donation-button {
    background: var(--gold-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donation-button:hover {
    background: var(--gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}


/* Section Éducation */
.education-section {
    background: linear-gradient(to right, #fff 50%, var(--bg-light) 50%);
    overflow: hidden;
}

.education-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-size: 1rem;
}

.education-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    background: var(--gold-primary);
    color: white;
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.education-gallery {
    position: relative;
    padding: 2rem;
}

.education-gallery .main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img {
    border-radius: 10px;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Section Soutien */
.support-section {
    position: relative;
    overflow: hidden;
}

.divine-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.divine-separator .line {
    height: 2px;
    width: 100px;
    background: var(--gold-gradient);
}

.divine-separator i {
    margin: 0 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.support-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.support-card.featured {
    background: var(--gold-gradient);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.2);
}

.support-card .card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold-primary);
    transition: var(--transition);
}

.support-card.featured .card-icon {
    background: white;
}

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

.support-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    color: var(--gold-primary);
    background: var(--bg-light);
    text-decoration: none;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.support-btn.primary {
    background: white;
    color: var(--gold-primary);
}

.support-btn i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.support-btn:hover i {
    transform: translateX(5px);
}

/* Style global du bouton Soutenir */
.support-btn-global {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white !important;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.support-btn-global:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

.support-btn-global .btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.support-btn-global .btn-icon {
    background: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-btn-global .btn-icon i {
    color: var(--gold-primary);
}

.support-btn-global::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(30deg);
    animation: shineSupportBtn 3s infinite;
}

@keyframes shineSupportBtn {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(100%) rotate(30deg);
    }
}


/* === FOOTER CUSTOM DESIGN === */
.footer-custom {
    background: linear-gradient(135deg, #181d2f 0%, #232946 100%);
    color: #e0e0e0;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -4px 32px 0 rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.footer-logo-box {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    text-align: center;
}

.footer-box {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.06);
}

.footer-link {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 8px;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    padding-left: 0;
}

.footer-link:hover {
    color: #F9E61F;
    padding-left: 8px;
}

.btn-social {
    background: #232946;
    color: #F9E61F;
    border-radius: 50%;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.btn-social:hover {
    background: #F9E61F;
    color: #232946;
}

.btn-gradient-footer {
    background: linear-gradient(90deg, #b18306 0%, #b18306 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.btn-gradient-footer:hover {
    background: linear-gradient(90deg, #b18306 0%, #b18306 100%);
    color: #fff;
}

.footer-separator {
    border-top: 2px solid #fff;
    opacity: 0.08;
    margin: 0 0 24px 0;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
}

@media (max-width: 991px) {
    .footer-custom {
        border-radius: 0;
    }

    .footer-logo-box,
    .footer-box {
        margin-bottom: 24px;
    }
}

/* === FOOTER GLASSMORPHISM DESIGN === */
.footer-glass {
    background: linear-gradient(120deg, #f9fafc 0%, #e3e6f3 100%);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    box-shadow: 0 -4px 32px 0 rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.footer-top-separator {
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #b88d02 0%, #b88d02 50%, #b88d02 100%);
    opacity: 0.7;
    margin-bottom: 16px;
}

.footer-glass-box {
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 4px 24px 0 rgba(34, 41, 68, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 200, 200, 0.18);
    transition: box-shadow 0.2s;
}

.footer-glass-box:hover {
    box-shadow: 0 8px 32px 0 rgba(34, 41, 68, 0.16);
}

.footer-title {
    color: #232946;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    color: #232946;
    margin-bottom: 8px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.footer-link-glass {
    color: #232946;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
    padding-left: 0;
}

.footer-link-glass:hover {
    color: #b48401;
    padding-left: 8px;
}

.footer-social {
    background: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px 0 rgba(34, 41, 68, 0.10);
    margin: 0 4px;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social:hover {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);
    color: #fff;
    transform: scale(1.1) rotate(-8deg);
}

.btn-glass-gradient {
    background: linear-gradient(90deg, #b88d02 0%, #b88d02 100%);
    color: #fff;
    font-weight: 600;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(34, 41, 68, 0.10);
    transition: background 0.2s;
}

.btn-glass-gradient:hover {
    background: linear-gradient(90deg, #a07b01 0%, #a07b01 100%);
    color: #fff;
}

.footer-bottom-glass {
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid #e3e6f3;
    box-shadow: 0 2px 8px 0 rgba(34, 41, 68, 0.04);
    margin-top: 16px;
}

@media (max-width: 991px) {
    .footer-glass {
        border-radius: 0;
    }

    .footer-glass-box {
        margin-bottom: 24px;
    }
}

strong,
b {
    font-weight: 700 !important;
}

.footer-list li {
    word-break: break-word;
    /* Permet de couper le mot si nécessaire */
    overflow-wrap: break-word;
    /* Ancien nom, pour compatibilité */
    white-space: normal;
    /* S'assure que le texte peut aller à la ligne */
}

#newsletter-loader {
  display: none;
  margin: 10px auto 15px;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-top-color: #c5a22f; /* couleur verte sympa */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
