/* ✅ Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;600;700&family=Urbanist:wght@300;400;600;700;800&display=swap');

/* ✅ Root Variables */
:root {
    --primary-color: #4facfe;
    --secondary-color: #e4c266;
    --accent-red: #e6283d;
    --navy-blue: #09113b;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1d20;
    --text-dark: #212529;
    --text-light: #ffffff;
}

/* ✅ Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
}

/* ✅ Preloader */
#preloader {
    background: var(--light-bg) url(loader.gif) no-repeat center;
    background-size: 120px;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* ✅ Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Lexend Deca', sans-serif;
    color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 600; }

/* ✅ Navbar */
.navbar {
    background: linear-gradient(125deg, #09113b, #290779);
}
.nav-item a {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
}
.nav-item a:hover {
    color: var(--dark-bg) !important;
    background-color: var(--secondary-color);
    border-radius: 0.3rem;
    transform: scale(1.05);
}

/* ✅ Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.15);
    background: linear-gradient(16deg, #e6283d, #86035e);
    animation: dropdownFade 0.3s ease forwards;
}
.dropdown-item:hover {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff !important;
    transform: translateX(5px);
}

/* ✅ Cards & Effects */
.card {
    border-radius: 1rem;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* ✅ Components */
.btn-custom {
    background: linear-gradient(135deg, #4facfe, #875cee);
    color: var(--text-light);
    padding: 0.7rem 1.5rem;
    border-radius: 0.4rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-custom:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

/* ✅ Gallery */
.gallery-block .item img {
    border-radius: 0.5rem;
    transition: 0.4s;
}
.gallery-block .scale-on-hover:hover {
    transform: scale(1.05);
}

/* ✅ Video Container (Modernized) */
.yt-video-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9; /* Modern way to maintain aspect ratio */
}
.yt-video-box iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ✅ Modal Styling (Smooth Effect) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px); /* Background blur effect */
}
.modal-content {
    background: white;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    overflow: hidden;
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-header {
    background-color: #b90000;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ✅ Animations */
@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0px); }
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ✅ Responsive Helpers */
@media (max-width:990px) {
    .nav-item a { text-align: center; border: solid 1px var(--secondary-color); margin-top: 0.5rem; }
}