/* ================= ROOT VARIABLES ================= */

:root {

    /* MAIN BRAND COLORS */
    --primary: #1e3a8a;
    /* deep blue (matches brochure text) */
    --secondary: #f97316;
    /* orange highlight */
    --accent: #ef4444;
    /* red accent */

    /* BACKGROUND */
    --bg-dark: #0b132b;
    --bg-card: #111827;
    --bg-card2: #1f2937;

    /* TEXT */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;

    /* UI */
    --border: rgba(249, 115, 22, 0.2);
    --glow-blue: 0 0 20px rgba(249, 115, 22, 0.35);

}

.brain-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.brain-background img {
    width: 650px;
    max-width: 80vw;
    opacity: 0.18;

    filter:
        drop-shadow(0 0 40px rgba(249, 115, 22, 0.6)) drop-shadow(0 0 80px rgba(239, 68, 68, 0.4));

    animation: brainFloat 10s ease-in-out infinite;
}

/* Floating animation */

@keyframes brainFloat {

    0% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.03);
    }

    100% {
        transform: translateY(0px) scale(1);
    }

}

/* Brand Accent Colors */
.brand-orange {
    color: var(--secondary);
    /* orange */
}

.brand-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
}

section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* ================= THREE CANVAS ================= */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* ================= NAVBAR ================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 90px;
    padding: 0 4%;

    /* NEW COLOR */
    background: linear-gradient(90deg,
            rgba(2, 6, 23, 0.95),
            rgba(15, 23, 42, 0.95),
            rgba(2, 6, 23, 0.95));

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(249, 115, 22, 0.35);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(249, 115, 22, 0.15);
}

/* LEFT SIDE */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* BRAND TEXT */

.brand-main {
    display: flex;
    align-items: center;
    gap: 6px;

    font-family: 'Lobster Two', cursive;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
}

.nav-marathi {
    font-family: 'Amita', cursive;
    font-size: 1.6rem;
    color: var(--secondary);
}

/* RIGHT SIDE */

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* BROCHURE BUTTON */

.nav-brochure {
    border: 1px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    color: white !important;
    /* ✅ changed */
    transition: 0.3s;
}

.nav-brochure:hover {
    background: var(--primary);
    color: white !important;
}

/* GNIMS LOGO */

.nav-college-logo {
    height: 45px;
    width: auto;
    border-radius: 4px;
}

/* HAMBURGER */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* ================= MOBILE ================= */

@media(max-width:1024px) {

    nav {
        height: 80px;
        padding: 0 3%;
    }

    .nav-logo-img {
        height: 40px;
    }

    .brand-main {
        font-size: 1rem;
    }

    .nav-marathi {
        font-size: 1.2rem;
    }

    .nav-right {
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 10px;

        flex-direction: column;
        align-items: flex-start;

        width: 200px;
        padding: 20px;

        background: #020617;
        border: 1px solid var(--border);
        border-radius: 10px;

        display: none;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-college-logo {
        height: 38px;
    }

}

.hero-theme {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg,
            #f97316,
            #facc15,
            #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 150px;
    align-items: center;
    justify-content: center;
    padding: 150px 5% 4rem;
    text-align: center;
    z-index: 1;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(249, 115, 22, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* HERO TITLE */
.hero-title {
    font-family: "Lobster Two", cursive;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 0rem;
    margin: 0;
    /* REMOVE bottom space */
    line-height: 1;

    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-main {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
}

.hero-tagline {
    font-family: 'Lustria', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    letter-spacing: 6px;
    margin-bottom: 4rem;

    color: #ffffff;

    position: relative;
    z-index: 10;

    text-shadow:
        0 0 6px rgba(0, 0, 0, 0.9),
        0 0 12px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(249, 115, 22, 0.8);
}

.hero-tagline::before {

    content: "";

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 650px;
    height: 120px;

    background: radial-gradient(circle,
            rgba(11, 19, 43, 0.95),
            rgba(11, 19, 43, 0.7),
            transparent);

    filter: blur(40px);

    z-index: -1;
}

/* Marathi Word Override */
.hero-marathi {
    font-family: 'Amita', cursive;
    font-size: clamp(4rem, 8vw, 7rem);
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
    letter-spacing: 3px;
}

/* Orange C */
.hero-title .brand-orange {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;

    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color:  #ffffff !important;

    border-radius: 50px;
    box-shadow:
        0 0 15px rgba(249, 115, 22, 0.6),
        0 0 30px rgba(239, 68, 68, 0.4);

    margin-bottom: 2rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
}

.hero-theme {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 5px;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.hero-countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.countdown-unit {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.countdown-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #ffffff;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}



#about {
    padding: 100px 10%;
    background: transparent;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* LEFT SIDE */

.section-label {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(90deg, #00d4ff, #6a5cff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

/* RIGHT CARD */

.about-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 18px;
    padding: 35px;
    min-width: 320px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-6px);
}

.about-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: #ffffff;
}

/* Custom Bullets */

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.about-card li::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: var(--secondary);
}


/* ================= EVENTS ================= */

#events {
    padding: 6rem 5%;
}

.events-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;

    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--text-primary);
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: white;
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.event-card {
    background: linear-gradient(180deg,
            rgba(30, 58, 138, 0.2),
            rgba(0, 0, 0, 0.7));
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: 16px;
    padding: 1.5rem;
    /* border: 1px solid var(--border); */
    cursor: pointer;
    transition: 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}

.event-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.event-meta {
    font-size: 0.9rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-meta i,
.event-meta span.icon {
    color: var(--secondary);
}

/* ================= MODAL ================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    float: right;
    cursor: pointer;
}

.btn-primary {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* ================= FOOTER ================= */

footer {

    background: linear-gradient(180deg,
            #020617,
            #0f172a);

    padding: 4rem 5% 2rem;

    border-top: 1px solid rgba(249, 115, 22, 0.35);

    box-shadow:
        0 -10px 40px rgba(0, 0, 0, 0.6);

    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    font-family: 'Lobster Two', cursive;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white; 
    transition: 0.3s;
    border: 1px solid var(--border);
}

.social-icons a:hover {
    background: var(--primary);
    color: black;
    transform: translateY(-3px);
}

.social-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.footer-college-logo {
    height: 42px;
    width: auto;
    border-radius: 6px;
    background: white;
    padding: 4px;
    margin-left: 10px;
    transition: 0.3s;
}

.footer-college-logo:hover {
    transform: scale(1.05);
}


.footer-contact {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== FOOTER LOGOS ===== */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.footer-logos img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: 0.3s;
}

.footer-logos img:hover {
    transform: scale(1.05);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    max-width: calc(100% - 40px);
    min-width: 0;
}

/* .nav-logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    flex-shrink: 1;
} */

.nav-marathi {
    font-family: 'Amita', cursive;
    font-size: 1.6rem;
    /* Adjust if needed */
    margin-left: 6px;
    color: var(--secondary);
}

/* Brand Text */
.nav-brand-text {
    display: flex;
    flex-direction: row;
    line-height: 1.1;
    align-items: center;
}

.brand-main {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
}



.brand-font {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

.brand-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.nav-brochure {
    border: 1px solid var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    color: #ffffff !important;
    transition: 0.3s;
}

.nav-brochure:hover {
    background: var(--primary);
    color: #ffffff !important;
}

/* ================= FORM SECTION ================= */

#registration {
    padding: 8rem 5%;
    display: none;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 650px;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--glow-blue);
}

#form-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #ffffff;
}

.form-group input,
.form-group select {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card2);
    color: white;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.form-group input[type="file"]::file-selector-button {
    background: linear-gradient(135deg, var(--bg-card2), var(--bg-card));
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-right: 1rem;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: var(--glow-blue);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-blue);
}




/* ================= MACHINE ODYSSEY WOW ================= */

.machine-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

/* Glowing Energy Line Behind Text */
.machine-line {
    position: absolute;
    top: 50%;
    left: -20%;
    width: 140%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--secondary),
            var(--primary),
            transparent);
    opacity: 0.7;
}

/* THE TEXT */
.hero-theme {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    margin-top: 2rem;
    font-size: 3rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 800;
    z-index: 2;

    background: linear-gradient(90deg,
            var(--secondary),
            var(--primary),
            var(--accent),
            var(--secondary));
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    color: var(--secondary);
    letter-spacing: 2px;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* COleege logo */
.college-info {
    position: absolute;
    top: 130px;
    /* pushes it below navbar */
    right: 30px;
    /* right corner */
    z-index: 10;
}

.college-logo {
    width: auto;
    height: 80px;
    object-fit: contain;

}

.college-name {
    font-family: "Cinzel", serif;
    font-size: 1rem;
    color: white;
    letter-spacing: 0.1px;
}


.social-icons a {
    width: 45px;
    height: 45px;
    font-size: 18px;
}

/* ================= MOBILE RESPONSIVE ================= */

/* Tablets */
@media (max-width: 1024px) {

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-description {
        max-width: 100%;
    }

    .college-info {
        right: 20px;
        top: 110px;
    }

}


/* Phones */
@media (max-width: 768px) {

    /* NAVBAR */

    nav {
        padding: 0.8rem 2%;
    }

    .nav-logo-img {
        height: 40px;
    }

    .brand-main {
        font-size: clamp(0.7rem, 4vw, 1rem);
    }

    .nav-marathi {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }

    .nav-links {
        display: none;
    }

    /* HERO */

    #hero {
        padding: 120px 2% 4rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-marathi {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-tagline {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        letter-spacing: clamp(1px, 1vw, 3px);
    }

    .hero-theme {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
        letter-spacing: clamp(1px, 1vw, 3px);
    }

    .theme-tagline {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    /* COUNTDOWN */

    .hero-countdown {
        gap: clamp(5px, 2vw, 15px);
    }

    .countdown-unit {
        padding: clamp(6px, 2vw, 12px) clamp(10px, 3vw, 18px);
    }

    .countdown-num {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    /* EVENTS */

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .event-card {
        padding: 1.2rem;
    }

    /* FILTER BUTTON */

    .filter-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    /* ABOUT */

    #about {
        padding: 80px 2%;
    }

    .about-card {
        min-width: auto;
        width: 100%;
    }

    /* FORM */

    #registration {
        padding: 5rem 2%;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-group input {
        padding: 0.7rem;
    }

    /* MODAL */

    .modal {
        width: 95%;
        padding: 1.5rem;
    }

    /* FOOTER */

    footer {
        padding: 3rem 2% 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* COLLEGE LOGO */

    .nav-college-logo {
        display: block;
        height: 40px;
        margin-left: auto;
        margin-right: 15px;
        /* Add some space before hamburger menu */
        border-radius: 4px;
    }

    .college-info {
        display: none;
    }

    @media(max-width:768px) {

        .footer-logos {
            justify-content: center;
        }

        .footer-brand {
            align-items: center;
            text-align: center;
        }

        .social-row {
            justify-content: center;
        }

        .footer-college-logo {
            margin-top: 5px;
        }
    }

}


/* SMALL PHONES */

@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.8rem);
    }

    .hero-marathi {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .hero-theme {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }

    .theme-tagline {
        font-size: clamp(0.7rem, 4vw, 1rem);
    }

    .countdown-unit {
        padding: clamp(4px, 1.5vw, 8px) clamp(6px, 2.5vw, 10px);
    }

    .countdown-num {
        font-size: clamp(1rem, 5vw, 1.4rem);
    }

    .form-container {
        padding: 1rem;
        box-sizing: border-box;
    }

    .submit-btn {
        font-size: 0.9rem;
    }

}



/* ================= PAYMENT QR ================= */

.payment-section {
    text-align: center;
    margin-bottom: 25px;
}

.payment-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.qr-box {
    background: var(--bg-card2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    display: inline-block;
    max-width: 260px;
    width: 100%;
}

.qr-image {
    width: 100%;
    max-width: 220px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.upi-id {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-top: 5px;
}

.scan-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.85rem;
    transition: 0.3s;
}

.team-member strong {
    display: block;
    color: var(--primary);
}

.team-member span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.team-member a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 0.8rem;
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-blue);
}

.footer-contact a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.3s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.map-link {
    text-decoration: none;
    color: var(--text-secondary);
}

.map-link:hover {
    color: var(--primary);
    text-decoration: underline;
}


@media(max-width:768px) {

    /* center all footer content */
    .footer-container {
        text-align: center;
    }

    /* center logo + text */
    footer .nav-logo {
        justify-content: center;
    }

    /* center social row */
    .social-row {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    /* GNIMS logo centered */
    .footer-college-logo {
        margin-left: 0;
        margin-top: 8px;
        height: 40px;
    }

}

.brain-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    max-width: 80vw;
    z-index: -2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-background img {
    width: 100%;
    opacity: 0.10;

    filter:
        drop-shadow(0 0 40px rgba(249, 115, 22, 0.7)) drop-shadow(0 0 90px rgba(239, 68, 68, 0.4));

    animation: brainPulse 6s ease-in-out infinite;

    mix-blend-mode: screen;
}

@keyframes brainPulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }

    100% {
        transform: scale(1)
    }
}

.hero-title .tech-blue {
  background: linear-gradient(
    180deg,
    #ffffff 0%,      /* top highlight (shine) */
    #93c5fd 20%,     /* light blue */
    #3b82f6 50%,     /* main blue */
    #1e3a8a 100%     /* deep blue */
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 8px rgba(255,255,255,0.6),
    0 0 20px rgba(59,130,246,0.6);
}
.submit-btn.loading {
  background: gray;
}