/* Global Styles */
:root {
    --bg-dark: #050a14;
    --bg-card: rgba(20, 30, 48, 0.6);
    --primary-accent: #00f2ff;
    /* Cyan */
    --secondary-accent: #00ff9d;
    /* Neon Green */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 242, 255, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 255, 157, 0.08), transparent 25%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-color {
    color: var(--primary-accent);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.g-icon {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

/* Helper Classes */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    color: #000;
    border: none;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.6);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    /* Changed from fixed height to min-height */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    /* Updated background with a subtle tech-grid overlay and deeper gradient */
    background: linear-gradient(rgba(5, 10, 20, 0.85), rgba(5, 10, 20, 0.95)),
        url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    /* overflow: hidden; Removed to prevent clipping content */
    padding: 120px 0 80px 0;
    /* Added padding to ensure spacing on top and bottom */
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #050a14 120%);
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    padding-bottom: 50px;
}

.dept-name {
    font-size: 1rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.college-name {
    font-size: 2rem;
    /* Increased size */
    color: #ecb80d;
    margin-bottom: 5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.college-sub-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: var(--secondary-accent);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.spot-reg-badge {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    position: absolute;
    top: -25px;
    /* Moved higher up */
    right: -20px;
    /* Moved further right */
    transform: rotate(10deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    animation: wiggle 3s infinite;
    z-index: 10;
    white-space: nowrap;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .college-name {
        font-size: 1.5rem;
        /* Responsive adjustment */
    }
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.subtitle {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 300;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Announcement Box */
#announcement {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 230, 0, 0.1), rgba(255, 150, 0, 0.1));
    border: 1px solid rgba(255, 200, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.highlight-box .icon-box {
    font-size: 2rem;
    color: #ffcc00;
    /* Gold/Yellow accent */
}

.highlight-box .text-box h3 {
    margin-bottom: 5px;
    color: #ffeb3b;
    font-family: var(--font-heading);
}

.highlight-box .fee {
    font-size: 1.1rem;
}

.highlight-text {
    color: #ffeb3b;
    font-weight: 700;
    font-size: 1.3rem;
}

/* About Section */
.about-card {
    border-left: 4px solid var(--primary-accent);
}

.about-card p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cbd5e1;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.category-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-accent);
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

.highlight-card {
    background: linear-gradient(145deg, rgba(0, 242, 255, 0.1), rgba(0, 255, 157, 0.05));
    border-color: rgba(0, 242, 255, 0.3);
}

/* Guidelines Section */
.guidelines-wrapper {
    background: rgba(15, 23, 42, 0.8);
}

.guidelines-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.guidelines-list li i {
    color: var(--secondary-accent);
    margin-right: 15px;
    font-size: 1.2rem;
}

.guidelines-list li:last-child {
    margin-bottom: 0;
}

/* Prizes Section */
.prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.prize-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

.trophy-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
}

.gold {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.silver {
    color: #c0c0c0;
    text-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.bronze {
    color: #cd7f32;
    text-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

.prize-card h3 {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.prize-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 20px;
}

/* CTA Section */
#cta {
    background: linear-gradient(rgba(5, 10, 20, 0.9), rgba(5, 10, 20, 0.9)),
        url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.2rem;
}

/* Presents Text */
.presents-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 5px;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0.8;
}

/* Guidelines Grid Refactor */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.guideline-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.guideline-card:hover {
    border-color: var(--secondary-accent);
    transform: translateY(-5px);
}

.guideline-card .g-icon {
    font-size: 2rem;
    color: var(--secondary-accent);
    margin-bottom: 15px;
}

.guideline-card h3 {
    font-family: var(--font-heading);
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.guideline-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Area */
.contact-area {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-label {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-accent);
    border-radius: 50px;
    color: var(--primary-accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-accent);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

/* Footer */
footer {
    background: #020408;
    padding: 60px 0 30px;
    /* Increased top padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.coordinators-section {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.coordinators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.coord-group h4 {
    color: var(--primary-accent);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coord-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.coord-list span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.coord-list span strong {
    color: var(--text-main);
    display: block;
    font-weight: 600;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.sub-footer {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--primary-accent);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-accent);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .highlight-box {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .glass-panel {
        padding: 20px;
    }

    .college-name {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .college-sub-name {
        font-size: 0.9rem;
    }

    .dept-name {
        font-size: 0.9rem;
    }

    #hero h1 {
        font-size: 3.5rem;
        /* Slightly smaller than desktop */
    }
}

/* Event Date Flash Card Alert */
.event-date-card {
    display: inline-block;
    background: rgba(255, 0, 85, 0.15);
    /* Red/Pink tint for alert */
    border: 2px solid #ff0055;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
    animation: flash-card-pulse 2s infinite ease-in-out;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 5;
}

.event-date-card i {
    margin-right: 10px;
    color: #ff0055;
}

@keyframes flash-card-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px 0 rgba(255, 0, 85, 0.4);
        transform: scale(1.05);
        /* Slight grow effect */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
        transform: scale(1);
    }
}

.main-tagline {
    font-size: 1.5rem;
    color: var(--secondary-accent);
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

.footer-tagline {
    color: var(--secondary-accent);
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-top: 5px;
    font-style: italic;
    opacity: 0.9;
}