/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carter+One&family=Great+Vibes&family=Mr+Dafoe&family=Tapestry&display=swap');

/* === Global Typography === */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Playfair Display', serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: 'Playfair Display', serif;
}

.paragrah {
    font-family: 'Playfair Display', serif;
}
.text{
    text-decoration: none;
}


html {
    scroll-behavior: smooth;
}


.qoutes {
    font-family: "Mr Dafoe", cursive;
    font-weight: 400;
    font-style: normal;
}

/* === Hero Section === */
.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    color: white;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* === Buttons === */
.btn-custom {
    border-radius: 50px !important;
    padding: 12px 32px;
    font-weight: 600;
    margin-right: 10px;
}

/* === Stats === */
.stats {
    position: relative;
    z-index: 2;
    color: white;
}

.stats h4 {
    font-size: 1.5rem;
    font-weight: bold;
}

/* === Navbar Global === */
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;

}

.nav-link {
    font-weight: 500;
    padding: 6px 15px !important;
    border-radius: 20px;
    /* pill-shaped edges */
    transition: background 0.5s ease, color 0.5s ease;
}

/* === Desktop Active & Hover === */
.nav-link.active,
.nav-link:hover {
    background-color: #b22222 !important;
    color: #fff !important;
    border-radius: 20px;
    /* keeps edges curved */
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        margin-top: 20px;
        animation: normal;
        /* Adds gap between logo and nav links */
        border-radius: 12px;
        flex-direction: column;
        gap: 1.5rem;
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .navbar-collapse .navbar-nav {
        display: flex;
        gap: 12px;
        flex-direction: column;

    }

    /* Mobile nav links */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .navbar-nav .nav-link {
        text-align: left;
        padding: 12px 16px;
        border-radius: 20px;
        /* pill-shaped for mobile too */
        font-size: 1rem;
    }

    .navbar-nav .nav-link.active {
        background: #dc3545;
        color: #fff !important;
        font-weight: 600;
        border-radius: 20px;
        /* curved red active state */
    }

    .navbar-nav .nav-link:hover {
        background: #f8f9fa;
        border-radius: 20px;
    }
}




/* === Fade-in utility === */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.show {
    opacity: 1;
    transform: translateY(0);
}

/* === Events === */
.event-img {
    height: 200px;
    object-fit: cover;
    border: 10px solid #fff;
    border-radius: 5px;
}

.Home-events {
    background-image: url(/Assets/Red\ banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.youtube-icon {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 2rem;
    color: white;
    padding: 8px 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.youtube-icon:hover {
    transform: scale(1.1);
}

/* === Responsive Adjustments === */



/* Desktop equal-height grid images */
@media (min-width: 768px) {
    .custom-gap {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .custom-gap>div {
        display: flex;
    }

    .custom-gap img {
        height: 100%;
    }
}

/* Mobile: tighter gaps */
@media (max-width: 767px) {
    .custom-gap {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }

    .custom-gap img {
        height: auto;
    }
}