.nav-link {
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
    padding: 13px 40px;
    font-weight: 500;
    overflow: hidden;
    border-radius: 7px;
    border: 2px solid #eef4f1;
    background-color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    font-weight: 600;
    border-radius: 7px;
    background-image: url("../images/icons/bg-3.png");
    background-repeat: no-repeat;
}


.btn-open-modal {
    position: fixed;
    left: 24px; /* Distance depuis le bord gauche */
    bottom: 24px; /* Collé en bas */
    transform: none; /* Supprime le décalage vertical */
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #401a11;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    z-index: 1000;
    cursor: pointer;
}

.btn-open-modal {
    animation: pulse 2s infinite;
}

.btn-open-modal:hover {
    background-color: #7b331b;
    transform: translateY(-50%) scale(1.05);
}

.btn-open-modal:active {
    transform: translateY(-50%) scale(0.95);
}

.btn-open-modal svg {
    transition: transform 0.3s ease;
}

.btn-open-modal:hover svg {
    animation: pulse 1s infinite;
}

.video-container {
    position: relative;
    padding-bottom: 45%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.google-meet {
    background-color: #00897b;
}

.google-meet:hover {
    background-color: #00796b;
}

.facebook {
    background-color: #1877f2;
}

.facebook:hover {
    background-color: #1664d9;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        width: 100%;
    }

    .btn-open-modal {
        left: 12px;
        padding: 8px 12px;
    }

    .button-text {
        display: none;
    }

    .modal-header {
        padding: 0.75rem 1rem;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
    }

    h1.display-4 {
        font-size: 2rem;
    }
    .video-container {
        padding-bottom: 60%; /* 16:9 Aspect Ratio */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .modal-dialog {
        margin: 1rem;
    }

    .btn-open-modal {
        left: 16px;
    }
}
