body {
        margin: 0;
        padding: 0;
        background: #FFFFFF;
        color: #1E3A8A;
        font-family: 'Inter', sans-serif;
        scroll-behavior: smooth;
        padding-top: 70px;
        transition: background 0.3s, color 0.3s;
    }

    body.bg-dark {
        background: #1E3A8A;
        color: #F5F5F5;
    }

    body.bg-light {
        background: #FFFFFF;
        color: #1E3A8A;
    }

    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .preloader.bg-dark {
        background: #1E3A8A;
    }

    .spinner {
        border: 8px solid rgba(245, 245, 245, 0.3);
        border-top: 8px solid #7C3AED;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }

    .spinner.bg-dark {
        border-color: rgba(245, 245, 245, 0.3);
        border-top-color: #FACC15;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .music-ball {
        position: fixed;
        width: 30px;
        height: 30px;
        background: radial-gradient(circle, #7C3A8A, #FACC15);
        border-radius: 50%;
        pointer-events: none;
        z-index: 1000;
        animation: pulse 2s infinite;
    }

    .music-ball.bg-dark {
        background: radial-gradient(circle, #FACC15, #7C3AED);
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }

    .navbar {
        padding: 1rem;
        z-index: 1000;
    }

    .navbar.bg-dark {
        background: #1E3A8A;
    }

    .navbar.bg-light {
        background: #FFFFFF;
    }

    .navbar .navbar-brand img {
        transition: opacity 0.3s;
    }

    .navbar .nav-link {
        color: #FACC15;
        transition: color 0.3s;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .navbar .nav-link:hover {
        color: #7C3AED;
    }

    .navbar.text-light .nav-link {
        color: #F5F5F5;
    }

    .navbar.text-light .nav-link:hover {
        color: #FACC15;
    }

    .navbar-toggler-icon-custom {
        font-size: 1.5rem;
        color: #FACC15;
    }

    .navbar-dark .navbar-toggler-icon-custom {
        color: #FACC15;
    }

    .navbar-light .navbar-toggler-icon-custom {
        color: #1E3A8A;
    }

    .theme-icon {
        height: 24px;
        width: 24px;
        vertical-align: middle;
        transition: opacity 0.3s;
    }

    .navbar-dark .theme-icon {
        filter: brightness(0) invert(1);
    }

    .navbar-light .theme-icon {
        filter: none;
    }

    .dropdown-item {
        color: #1E3A8A;
    }

    .dropdown-item:hover {
        background-color: #FACC15;
        color: #1E3A8A;
    }

    .dropdown-item.text-light {
        color: #F5F5F5;
    }

    .dropdown-item.text-light:hover {
        background-color: #7C3AED;
        color: #F5F5F5;
    }

    .hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 320px;
    max-height: 800px;
    overflow: hidden;
}

/* Video always fills hero properly */
.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Overlay content */
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35); /* optional for readability */
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    max-width: 700px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 260px;
    }
}


    .hero .text-light {
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    }

    .bg-light {
        background-color: #F8F9FA;
    }

    .card {
        border: none;
        transition: transform 0.3s;
    }

    .card:hover {
        transform: translateY(-10px);
    }

    .btn-primary {
        background-color: #7C3AED;
        border-color: #7C3AED;
    }

    .btn-primary:hover {
        background-color: #FACC15;
        border-color: #FACC15;
        color: #1E3A8A;
    }

    .btn-primary.text-light:hover {
        color: #F5F5F5;
    }

    .footer {
        background: #1E3A8A;
    }

    .gradient-divider {
        height: 5px;
        background: linear-gradient(90deg, #7C3AED, #FACC15);
        margin: 2rem 0;
    }

    .gradient-btn {
        background: linear-gradient(90deg, #7C3AED, #FACC15);
        color: #FFFFFF;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block;
        transition: background 0.3s;
    }

    .gradient-btn:hover {
        background: linear-gradient(90deg, #FACC15, #7C3AED);
        color: #FFFFFF;
    }

    .glass-card {
        background: #FFFFFF;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 2rem;
        color: #333333;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
    }

    .glass-card:hover {
        transform: translateY(-5px);
    }

    .glass-card .form-control:focus {
        border-color: #FACC15;
        box-shadow: 0 0 5px rgba(250, 204, 21, 0.5);
    }

    .form-label {
        font-weight: bold;
        color: #1E3A8A;
    }

    .social-icons a {
        color: #FACC15;
        margin: 0 1rem;
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .social-icons a:hover {
        color: #FFFFFF;
        text-shadow: 0 0 10px #FACC15, 0 0 20px #FACC15;
    }

    #map {
        height: 400px;
        width: 100%;
        border-radius: 15px;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: #FFFFFF;
    }

    .join-section {
        background-color: #FFFFFF !important;
        color: #000000;
        padding: 2rem 0;
        text-align: center;
        position: relative;
    }

    .join-section::before {
        content: none;
    }

    .join-section > * {
        position: relative;
        z-index: 1;
    }

    .carousel-item p {
        margin: 0;
        font-style: italic;
        color: #FACC15;
    }

    .carousel-item small {
        display: block;
        color: #FFFFFF;
    }

    .accordion-item {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 10px;
        backdrop-filter: blur(10px);
        margin-bottom: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .accordion-button {
        background: rgba(30, 58, 138, 0.8);
        color: #FACC15;
        font-weight: bold;
        border: none;
        transition: all 0.3s ease;
    }

    .accordion-button:not(.collapsed) {
        background: rgba(30, 58, 138, 0.6);
        color: #FFFFFF;
    }

    .accordion-button:focus {
        box-shadow: none;
        border: none;
    }

    .accordion-body {
        background: rgba(255, 255, 255, 0.05);
        color: #FFFFFF;
        padding: 1.5rem;
    }

    .countup {
        transition: all 1.0s ease-out;
    }

    @media (max-width: 768px) {
        .hero .text-overlay h1 {
            font-size: 2rem;
        }
        .hero .text-overlay .lead {
            font-size: 1rem;
        }
        #map {
            height: 300px;
        }
        .row.contact-layout {
            flex-direction: column;
        }
        .navbar-nav {
            margin-top: 1rem;
        }
        .navbar-nav .nav-link {
            text-align: center;
        }
        .d-flex {
            flex-direction: column;
            align-items: center;
            margin-top: 1rem;
        }
        .dropdown {
            margin-top: 1rem;
        }
    }

    @media (max-width: 576px) {
        .navbar-brand img {
            height: 30px;
        }
        .navbar-nav .nav-link {
            font-size: 0.9rem;
        }
        .d-flex .btn {
            width: 100%;
            margin-bottom: 0.5rem;
        }
    }

    .navbar-light .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.1);
    }

    .navbar-dark .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.1);
    }