    /* The Dark Overlay */
    .modal-overlay {
        display: none; /* Hidden by default */
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.85); /* Darker backdrop */
        backdrop-filter: blur(5px);
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    /* Show state */
    .modal-overlay.show {
        display: flex;
        opacity: 1;
    }

    /* The Glass Box */
    .modal-content {
        background: rgba(10, 25, 47, 0.95); /* Deep Blue base */
        width: 90%;
        max-width: 600px;
        padding: 40px;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        transform: translateY(20px);
        transition: transform 0.3s ease;
    }

    .modal-overlay.show .modal-content {
        transform: translateY(0);
    }

    /* Close Button ('X') */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 25px;
        color: #aaa;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.2s;
    }

    #quoteModal .close-btn {
        top:0px;
    }

    .close-btn:hover { color: var(--accent-gold); }

    /* Form Styles */
    .modal-header { text-align: center; margin-bottom: 30px; }
    .modal-header h2 { font-size: 1.8rem; }
    .modal-header p { font-size: 0.9rem; color: #ccc; }

    .quote-form { display: flex; flex-direction: column; gap: 20px; }
    
    .form-row { display: flex; gap: 20px; }
    
    .input-group { flex: 1; display: flex; flex-direction: column; gap: 8px; }
    
    label { font-size: 0.85rem; font-weight: 600; color: var(--accent-gold); text-transform: uppercase; }
    
    input, select, textarea {
        padding: 12px;
        border-radius: 6px;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(255,255,255,0.05);
        color: white;
        font-family: var(--font-body);
        font-size: 0.95rem;
    }

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--accent-blue);
        background: rgba(255,255,255,0.1);
    }

    .mobile-nav-button{
        border: 1px solid white;
        z-index: 10000;
        top: 100px !important;
        display: block;
        position: absolute;
    }

    /* Mobile Responsive */
    @media (max-width: 600px) {
        .form-row { flex-direction: column; gap: 20px; }
        .modal-content { padding: 30px 20px; width: 95%; }
    }

/* --- VIDEO CAROUSEL STYLES --- */

/* Wider Modal for Cinema Feel */
.video-modal {
    max-width: 1000px;
    width: 95%;
    padding: 0; /* Removing padding allows video to touch edges if desired */
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden; /* Contains the rounded corners */
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

/* The Video Player */
.video-wrapper {
    width: 100%;
    /* Max height ensures it fits on laptop screens without scrolling */
    max-height: 80vh; 
    display: flex;
    justify-content: center;
    background: black;
}

video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    outline: none;
}

/* Navigation Buttons (Arrows) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--accent-blue); /* Uses your global blue variable */
    color: white;
}

#prev-video { left: 10px; }
#next-video { right: 10px; }

/* Metadata Section */
.carousel-meta {
    padding: 20px;
    background: rgba(10, 25, 47, 0.95); /* Deep Blue Background */
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

#video-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #e6e6e6;
    font-family: 'Montserrat', sans-serif;
}

/* Dots Indicator */
.dots-container {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent-gold); /* Uses your global gold variable */
    transform: scale(1.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-btn { width: 40px; height: 40px; font-size: 1.2rem; }
}