/* Styles de base des cartes */
.card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Animation de base au survol */
.card-hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Styles généraux des cartes */
.hover-zoom {
    transition: transform 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.02);
}

/* Styles pour les enseignements */
.bg-gradient-primary {
    background: linear-gradient(45deg, #2937f0, #9f1ae2);
    color: white;
}

.bg-gradient-light {
    background: linear-gradient(180deg, #ffffff, #f8f9fa);
}

.transform-hover {
    transition: transform 0.5s ease;
}

.card:hover .transform-hover {
    transform: scale(1.1);
}

.custom-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #dee2e6;
}

.scripture-quote {
    font-style: italic;
    border-left: 3px solid #2937f0;
    padding-left: 1rem;
}

/* Styles pour les témoignages */
.testimony-card {
    overflow: hidden;
    border-radius: 15px;
}

.testimony-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.testimony-quote {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.testimony-highlights li {
    margin: 10px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.testimony-highlights li:hover {
    background: #e9ecef;
    transform: translateX(10px);
}

.btn-gradient-primary {
    background: linear-gradient(45deg, #2937f0, #9f1ae2);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
    background: linear-gradient(45deg, #9f1ae2, #2937f0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animations personnalisées */
.btn-floating {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-floating:hover {
    transform: rotate(360deg);
}

/* Animations au survol des cartes */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card-hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Animation des images */
.card-img-top {
    transition: transform 0.6s ease-in-out;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Animation des badges */
.badge {
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.card:hover .badge {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

/* Animation des icônes */
.card i {
    transition: all 0.3s ease;
}

.card:hover i {
    transform: rotate(360deg);
    color: #2937f0;
}

/* Animation des boutons */
.btn {
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateX(3px);
}

/* Animation des listes */
.list-unstyled li {
    transition: all 0.3s ease;
    padding-left: 0;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.card:hover .list-unstyled li {
    padding-left: 10px;
}

/* Animation des citations */
.scripture-quote {
    transition: all 0.3s ease;
}

.card:hover .scripture-quote {
    border-left-width: 6px;
    padding-left: 1.5rem;
}

/* Effet de brillance au survol */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

/* Animations spécifiques pour les témoignages */
.testimony-card:hover .testimony-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%);
}

.testimony-highlights li {
    transition: all 0.3s ease;
}

.testimony-card:hover .testimony-highlights li {
    transform: translateX(10px);
}

/* Animations pour les enseignements */
.hover-zoom:hover {
    transform: scale(1.02) translateY(-5px);
}

/* Keyframes pour l'animation pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Transitions entre catégories */
[data-category] {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

[data-category].hiding {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

[data-category].showing {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    position: relative;
}

/* Supprimons les autres animations qui peuvent interférer */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

/* Réinitialisation du conteneur */
.row {
    position: relative;
   
}

/* Style des boutons de filtre */
[data-filter] {
    position: relative;
    transition: all 0.3s ease;
}

[data-filter].active {
    background-color: #048b53;
    color: white;
    transform: scale(1.05);
}

/* === 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;
    }
}

/* 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) {


    .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;
    }

    .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-item {
        height: 60vh;
        min-height: 350px;
    }

    .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;
    }

    .carousel-item {
        height: 50vh;
        min-height: 300px;
    }

    .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) {


    .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;
    }

    .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: 40vh;
        min-height: 250px;
    }

    .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: 400px) {
    .navbar-brand img {
        width: 50px !important;
        height: 45px !important;
        top: -8px !important;
    }

    .carousel-item {
        height: 35vh;
        min-height: 200px;
    }

    .support-btn-global {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
}

/* 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;
    }

}

/* 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);
    }
}
