:root {
    --bg-color: #030712;
    --card-bg: #0b1329;
    --accent-color: #00f0ff;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Headings Styling (No Glow Effects) */
.section-heading, .category-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    color: #00f0ff;
    letter-spacing: 1px;
    text-shadow: none !important; /* Glow Removed */
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 12px;
    border-left: 4px solid var(--accent-color);
    padding-left: 14px;
}

.category-heading {
    font-size: 1.5rem;
    margin: 20px 0 15px 0;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Floating Explosion Burst Cash Prize Badge (Bottom Right Corner) */
/* Floating Explosion Burst Cash Prize Badge */
.cash-prize-burst {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 170px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cash-prize-burst:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* Mobile Fix: Resize and position cleanly on smaller screens */
@media screen and (max-width: 768px) {
    .cash-prize-burst {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 10px auto 0 auto;
        width: 155px !important;
        height: 135px !important;
    }

    /* Adjust text size inside the badge so it fits comfortably within the spikes */
    .cash-prize-burst .prize-title,
    .cash-prize-burst h3,
    .cash-prize-burst p {
        font-size: 0.85rem !important; /* Slightly smaller font to prevent edge overflow */
        padding: 0 8px;                 /* Adds side padding from outer boundary */
    }

    .cash-prize-burst .prize-amount {
        font-size: 1rem !important;
    }
}

.hero-buttons, .cta-buttons {
        margin-bottom: 5px; /* Pulls the prize tag closer to buttons */
    }

.burst-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.7));
}

.burst-outer {
    fill: #00f0ff;
}

.burst-inner {
    fill: #0b1329;
    stroke: #00f0ff;
    stroke-width: 2px;
}

.burst-text {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.burst-text .label {
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.burst-text .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    color: #00f0ff;
    line-height: 1.1;
    margin: 2px 0;
}

.burst-text .amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    color: #f59e0b;
}

/* Hero Section */
.network-bg-wrapper {
    position: relative;
    padding: 110px 20px 80px 20px;
    text-align: center;
    background: #030712;
    overflow: hidden;
}

#networkCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(3,7,18,0.4) 0%, rgba(3,7,18,0.9) 80%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.8rem;
    margin: 15px 0;
    color: #00f0ff;
}

.sub-heading {
    font-size: 1.2rem;
    color: #e2e8f0;
}

.hero-details {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.info-tag {
    background: rgba(15, 23, 42, 0.85);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--accent-color);
    border: 1px solid var(--border-color);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: rgba(11, 19, 41, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: rgba(11, 19, 41, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Mobile View (Centers logo and links neatly) */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 15px 5%;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
        gap: 25px;
    }
}

/* Sponsors Section Container */

/* --- New Sponsors Glow Box Styles --- */

.sponsors-section {
    padding: 40px 0;
    text-align: center;
}

/* 1. The Container Box with border and glow */
.sponsors-glow-box {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: rgba(10, 15, 28, 0.6);
    border: 1.5px solid rgba(0, 240, 255, 0.6);
    border-radius: 12px;
    padding: 20px 35px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 
                inset 0 0 15px rgba(0, 240, 255, 0.1);
    max-width: 90%;
    margin: 0 auto;
}

.sponsor-img {
    object-fit: contain;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.sponsor-img:hover {
    transform: scale(1.08);
}

/* Equal visual size mapping for Desktop/Laptop */
.circle-logo {
    height: 75px;
    width: auto;
}

.rect-logo {
    height: 60px; /* Slightly lower height so wide text matches circle visual area */
    width: auto;
}

.iste-logo,
.sponsors-glow-box img:nth-child(2) {
    height: 75px !important; /* Matches the visual height of logo #1 */
    width: auto;
}
/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .sponsors-glow-box {
        gap: 12px;
        padding: 12px 15px;
    }

    .circle-logo {
        height: 48px;
    }

    .rect-logo {
        height: 32px;
    }

    /* Scaled size for 2nd logo on mobile */
    .iste-logo,
    .sponsors-glow-box img:nth-child(2) {
        height: 48px !important;
    }
}


/* Grid & Cards */
.container { padding: 60px 8%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { position: relative; background: var(--card-bg); padding: 25px; border-radius: 10px; border: 1px solid var(--border-color); }

.event-click-card:active,
.event-click-card.active-glow {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7) !important;
    transform: translateY(-3px);
}
.card-badge { position: absolute; top: 15px; right: 15px; background: rgba(0, 240, 255, 0.1); color: var(--accent-color); padding: 4px 10px; border-radius: 4px; font-size: 0.8rem; }
.event-click-card h3 { font-family: 'Orbitron', sans-serif; color: var(--accent-color); margin-bottom: 6px; }
.tagline { font-size: 0.95rem; color: var(--text-secondary); }
.venue { margin: 10px 0; font-weight: bold; }
.desc { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 15px; }
.view-more { color: var(--accent-color); font-weight: bold; font-size: 0.9rem; }

.sponsors-section { 
    text-align: center; 
    padding: 0px;
    margin-top: -70px;
    padding-bottom: 15px; 
    border-bottom: 1px solid var(--border-color); 
}

.sponsors-section h3 { 
    color: #ffffff; /* Sets color to pure white */
    font-size: 1.5rem; 
    font-weight: 700; /* Makes text bold */
    margin-top: 0;
    margin-bottom: 2px; 
}
.workshop-card { border: 1px solid var(--accent-color); }
.workshop-header { display: flex; justify-content: space-between; align-items: center; }

.agenda-timeline { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

/* Base Desktop View (Fits side-by-side cleanly) */
.agenda-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 12px 18px; 
    background: rgba(255, 255, 255, 0.02); 
    border-left: 3px solid var(--accent-color); 
}

/* Ensure the time string never wraps awkwardly into multiple lines */
.agenda-item span:first-child,
.agenda-time {
    white-space: nowrap;
    font-weight: 600;
}

.agenda-item span:last-child,
.agenda-title {
    text-align: right;
}

/* Mobile View (Stacks time and title vertically to avoid narrow squishing) */
@media screen and (max-width: 768px) {
    .agenda-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 15px;
    }

    .agenda-item span:last-child,
    .agenda-title {
        text-align: left; /* Left aligns title below the time for clean reading */
    }
}

.text-center { text-align: center; }
.highlight { color: var(--accent-color); font-weight: bold; margin-top: 6px; }

.student-box { display: flex; flex-direction: column; padding: 12px; background: rgba(255, 255, 255, 0.02); border-radius: 6px; }
.student-box .role { font-size: 0.8rem; color: var(--accent-color); }
.student-box .name { font-weight: bold; }

/* Centered Footer */
footer {
    background: #030712;
    padding: 50px 0 30px 0;
    border-top: 1px solid var(--border-color);
}

footer a { color: var(--accent-color); text-decoration: none; }
.footer-divider { height: 1px; background: var(--border-color); margin: 20px 0; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); z-index: 2000; justify-content: center; align-items: center; }
.modal-box { background: var(--card-bg); border: 1px solid var(--accent-color); padding: 25px; border-radius: 10px; width: 90%; max-width: 480px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { color: #f59e0b; }
.close-btn { cursor: pointer; font-size: 1.5rem; }
.alert-box { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; padding: 15px; border-radius: 6px; }
.alert-box ul { list-style: none; }
.alert-box li { margin-bottom: 8px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 15px; }

.btn-primary, .btn-glow, .btn-outline, .btn-secondary {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary, .btn-glow { background: var(--accent-color); color: #000; border: none; }
.btn-outline { background: transparent; color: var(--accent-color); border: 1px solid var(--accent-color); }
.btn-secondary { background: #334155; color: #fff; border: none; }

/* Add smooth transition to all container cards */
#about .card,
.event-click-card,
#workshop .card,
#agenda .card,
#committee .card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

/* HOVER EFFECT: Glow ONLY when cursor is placed over the box */
#about .card:hover,
.event-click-card:hover,
#workshop .card:hover,
#agenda .card:hover,
#committee .card:hover {
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6) !important;
    transform: translateY(-4px); /* Subtle lift effect */
}

/* Fullscreen Fixed Canvas Background */
#cyberParticleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Positions it behind all cards & text */
    pointer-events: none; /* Allows clicks to pass through to buttons/cards */
    background: transparent;
}

/* Ensure main containers sit above the animated canvas */
.navbar, .hero, .container, footer, .fixed-cash-prize {
    position: relative;
    z-index: 1;
}

/* sponsers */
/* Sponsors Wrapper Section */
.sponsors-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Flex Container for Side-by-Side Logos */
.sponsors-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* Space between the two logos */
    flex-wrap: wrap; /* Wraps cleanly on mobile screens */
    padding:20px 0 ;
}



/* Sponsor Image Sizing */
.sponsor-logo, .sponsors-container img {
    max-width: 150px; /* Base size for laptop screens */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Mobile View Adjustments (Screens <= 768px) */
@media screen and (max-width: 768px) {
    .sponsors-container {
        gap: 20px; /* Reduce gap between logos so they have more room to expand */
    }

    .sponsor-logo, .sponsors-container img {
        max-width: 100px; /* Increases image size on mobile screens */
        width: 35%; /* Allows up to 2-3 logos per row flexibly */
        height: auto;
    }
}
/*tittle font*/

/* Navbar Logo Image */
.nav-logo-img {
    height: 40px;            /* Adjust height to fit navbar */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 2px rgba(0,229,255,0.3)); 
}

/* Hero Title Logo Image */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.hero-logo-img {
    max-width: 550px;         /* Max width for large screens */
    width: 85%;              /* Responsive sizing for mobile */
    height: auto;
    filter: drop-shadow(0 0 3px rgba(0,229,255,0.3)) drop-shadow(0 0 15px rgba(0,229,255,0.3));
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-logo-img {
        height: 30px;
    }
    .hero-logo-img {
        max-width: 320px;
    }
}