
.vimeo-wrapper {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.vimeo-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}




.testimonial-card {margin:10px !important;}

/* Modal Base - Hidden by default */
.modal {
    display: none;
    position: fixed;
    z-index: 9999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 60px;
}

/* Show modal when Bootstrap adds the 'show' class */
.modal.show {
    display: block !important;
}

/* Modal backdrop */
.modal-backdrop {
    z-index: 99998 !important;
}

/* Modal dialog centering */
.modal-dialog {
    max-width: 900px;
    margin: 5% auto;
    position: relative;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Modal header - positioned absolutely for close button */
.modal-header {
    border-bottom: none;
    padding: 0;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: transparent;
}

/* Modal body - no padding for edge-to-edge content */
.modal-body {
    padding: 0;
    max-height: 85vh;
    overflow-y: auto;
}

/* Close button - white background with dark X (light theme default) */
.btn-close,
.btn-close-custom {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: none !important;
}

.btn-close:hover,
.btn-close-custom:hover {
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Custom X icon - dark/black for light theme */
.btn-close-custom::before,
.btn-close-custom::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #000000 !important;
    background-color: #000000 !important;
    top: 50%;
    left: 50%;
    transition: background 0.2s ease;
}

.btn-close-custom::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-close-custom::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Dark theme close button - DARK BACKGROUND (#141C29) with WHITE X */
.modal-content.dark-theme .btn-close,
.modal-content.dark-theme .btn-close-custom {
    background: #141C29 !important;
    background-color: #141C29 !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.modal-content.dark-theme .btn-close:hover,
.modal-content.dark-theme .btn-close-custom:hover {
    background: #1f2937 !important;
    background-color: #1f2937 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* WHITE X for dark theme */
.modal-content.dark-theme .btn-close-custom::before,
.modal-content.dark-theme .btn-close-custom::after {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Remove Bootstrap default btn-close styling */
.btn-close {
    background-size: 0 !important;
    filter: none !important;
}

.modal-content.dark-theme .btn-close {
    background-size: 0 !important;
    filter: none !important;
}

/* Loading spinner styling */
.modal-body .spinner-border {
    color: #ff6b35;
    width: 3rem;
    height: 3rem;
}

.modal-body .text-center {
    padding: 40px 20px;
}

/* Modal title */
.modal-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
    }
    
    .modal-content {
        border-radius: 20px;
    }
    
    .btn-close,
    .btn-close-custom {
        width: 35px;
        height: 35px;
    }
    
    .btn-close-custom::before,
    .btn-close-custom::after {
        width: 16px;
    }
    
    .modal-body {
        max-height: 85vh;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .modal {
        padding: 10px;
    }
    
    .modal-dialog {
        margin: 10px;
        max-width: calc(100% - 20px);
        width: calc(100% - 20px);
    }
    
    .modal-header {
        top: 10px;
        right: 10px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}








/* Light theme scrollbar - very light gray */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 5px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #d0d0d0;
}

/* Dark theme scrollbar - dark blue */
.modal-content.dark-theme .modal-body::-webkit-scrollbar-track {
    background: #0a0e14;
}

.modal-content.dark-theme .modal-body::-webkit-scrollbar-thumb {
    background: #141c29;
    border-radius: 5px;
}

.modal-content.dark-theme .modal-body::-webkit-scrollbar-thumb:hover {
    background: #1f2937;
}