/* --- BOLLYWOOD POP ART THEME --- */
:root {
    --bg-color: #2c003e; /* Deep Purple Background */
    --card-bg: #fff;
    --text-color: #000;
    --primary-color: #ff0055; /* Rani Pink */
    --accent-color: #ffd700; /* Marigold Yellow */
    --action-color: #00e5ff; /* Cinema Blue */
    --font-head: 'Bangers', cursive; /* Comic Book Style */
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(#4a006a 20%, transparent 20%);
    background-size: 20px 20px; /* Polka dot pattern */
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}


/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    background: #fff;
    padding: 40px;
    border: 4px solid #000;
    box-shadow: 10px 10px 0px var(--primary-color);
    max-width: 800px;
    z-index: 2;
    transform: rotate(-2deg); /* Tilted for fun */
}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4rem;
    line-height: 1;
    color: #000;
    margin-bottom: 10px;
    -webkit-text-stroke: 0px black;
}

.hero p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* BUTTONS - POP ART STYLE */
.cta-buttons a {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    border: 3px solid #000;
    margin: 10px;
    transition: 0.2s;
}

.btn.primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 5px 5px 0px #000;
}

.btn.primary:hover {
    background: var(--action-color);
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #000;
    color: #000;
}

.btn.secondary {
    background: var(--accent-color);
    color: #000;
    box-shadow: 5px 5px 0px #000;
}

.btn.secondary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #000;
}

/* CARDS - COMIC PANELS */
.highlights { padding: 80px 50px; text-align: center; }
.highlights h2 { font-family: var(--font-head); font-size: 3rem; color: #fff; text-shadow: 3px 3px 0px #000; margin-bottom: 50px;}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 40px;
}

.card {
    /* allows optional image via inline CSS var --card-bg, fallback to white */
    background: var(--card-bg, #fff) no-repeat center/cover;
    padding: 20px;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px var(--action-color);
    transition: 0.3s;
    text-decoration: none;
    color: var(--card-text-color, inherit);
    display: block;
    position: relative;
    overflow: hidden;
}

/* subtle dark overlay for readability when a background image is used */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.35));
    pointer-events: none;
    opacity: calc(var(--card-has-overlay, 1));
    z-index: 0;
}

/* ensure card content sits above the overlay */
.card > * {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 12px 12px 0px var(--primary-color);
    z-index: 10;
}

.card h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--card-text-color, #000);
    text-shadow: 0 2px 0 rgba(0,0,0,0.25);
}

/* CARTOON CHARACTER PLACEHOLDER CSS */
.cartoon-character {
    position: absolute;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}
.char-left { left: 0; width: 320px; }
.char-right { right: 0; width: 280px; }

/* MOBILE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-content { transform: rotate(0deg); width: 90%; }
    .nav-links { display: none; }
    .cartoon-character { width: 150px; opacity: 0.8; }
}
/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    pointer-events: auto;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 0px; 
    right: -40px;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 0px;
}

.nav-logo {
    width: 130px;
    height: auto;
}

.nav-title {
    color: #000000;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.9;
}

/* underline hover effect */
.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #c04406;
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;    padding: 8px;}

.hamburger span {
    width: 30px;
    height: 4px;
    background: #ffffff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80%;
        left: 0;
        width: 100%;
        height: auto;
        background: #00000085;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        color: #c04406;
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
        margin-right: 60px;
    }

    .navbar {
        padding: 14px 24px;
        height: 70px;
        background: transparent;
        
    }

    .nav-logo {
        width: 70px;
    }
}
/* MARK: ---0-490 Mobile */
@media (max-width: 490px) {

    #text,
    #arrow {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }

    #info2 {
        transform-origin: 50% 50%;
        transform: translateY(-120px) scale(0.8);
    }
}
/* FOOTER */
.footer {
    position: relative;
    width: 100%;
    background: linear-gradient(120deg, #2a0000, #000);
    color: #fff;
    padding: 80px 10% 30px;
    z-index: 20;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer-logo {
    width: 90px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(255, 180, 80, 0.5));
}

.footer-left h3 {
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: 2px;
}

.footer-left p {
    opacity: 0.8;
    margin-top: 6px;
}

.footer h4 {
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #ffcc70;
}

.footer-center a {
    display: block;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-center a:hover {
    opacity: 1;
    color: #ffcc70;
    transform: translateX(5px);
}
.footer-right a {
    display: block;
    text-decoration: none;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-right a:hover {
    opacity: 1;
    color: #ff7700;
    transform: translateX(5px);
}
.footer-right p {
    opacity: 0.85;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.75;
}

.footer-bottom a {
    text-decoration: none;
    color: #f3c369;
    font-weight: 600;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .footer-center a:hover {
        transform: none;
    }
        .footer-right a:hover {
        transform: none;
    }
}
 .highlight { color: var(--primary-color); }

.sub-hero {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 20px 0 30px;
    color: #333;
}

.stats-bar div {
    font-size: 1.4rem;
    font-weight: bold;
}

.card {
    position: relative;
    overflow: hidden;
}

.card:hover::after {
    content: "REGISTER →";
    position: absolute;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    background: var(--action-color);
    color: #000;
    padding: 12px 30px;
    font-family: var(--font-head);
    font-size: 1.4rem;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 #000;
}

/* Make cards taller for images */
.card { min-height: 320px; }   