/* Global Reset & Variables */
:root {
    --primary: #1FAF9A;
    /* Teal */
    --secondary: #C9A24D;
    /* Gold */
    --accent: #1FAF9A;
    /* Teal */
    --dark-bg: #0F1115;
    /* Charcoal Black */
    --card-bg: rgba(14, 59, 46, 0.3);
    /* Deep Emerald Tint */
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 15% 50%, rgba(14, 59, 46, 0.8) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(31, 175, 154, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0F1115 0%, #0E3B2E 100%);
    background-size: 50px 50px, 50px 50px, 100vw 100vh, 100vw 100vh, 100vw 100vh;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 17, 21, 0.6);
    /* Semi-transparent dark background */
    backdrop-filter: blur(12px);
    /* Glass effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 175, 154, 0.2);
    /* Subtle teal border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    /* Soft shadow depth */
    z-index: 1000;
    transition: all 0.4s ease;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        /* Start off-screen */
        width: 70%;
        /* Cover mostly right side */
        height: 100vh;
        background: linear-gradient(135deg, rgba(15, 17, 21, 0.98), rgba(14, 59, 46, 0.95));
        /* Darker gradient */
        padding: 6rem 2rem 2rem;
        /* Top padding for close button/spacing */
        gap: 2rem;
        border-left: 1px solid rgba(31, 175, 154, 0.2);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        /* Slide in */
        animation: none;
        /* remove slideDown */
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        /* Above the menu */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary);
        /* Highlight when active */
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary);
    }

    /* Ensure links are large enough to tap */
    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 80%;
        text-align: left;
    }
}

.navbar.scrolled {
    background: rgba(15, 17, 21, 0.9);
    padding: 0.8rem 5%;
    border-bottom: 1px solid rgba(31, 175, 154, 0.4);
    box-shadow: 0 4px 20px rgba(0, 242, 234, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(31, 175, 154, 0.3);
    transition: var(--transition);
    line-height: 1.1;
}

.nav-logo:hover .nav-logo-text {
    text-shadow: 0 0 30px rgba(31, 175, 154, 0.6);
}

.logo-img {
    height: 70px;
    /* Increased from 60px */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(31, 175, 154, 0.3));
}

@media (max-width: 768px) {
    .nav-logo-text {
        font-size: 0.9rem;
        /* Slightly larger for better readability */
        line-height: 1.2;
        max-width: 200px;
    }

    .logo-img {
        height: 55px;
        /* Increased from 50px */
    }

    .navbar {
        padding: 0.8rem 1rem;
        /* Adjust padding for mobile to prevent overcrowding */
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary);
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(31, 175, 154, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(31, 175, 154, 0.6);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--secondary);
    /* Gold accent for active state */
    box-shadow: 0 0 10px var(--secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    user-select: none;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.hero p.typewriter-text {
    font-size: 1.5rem;
    color: var(--primary);
    min-height: 1.5em;
    /* Prevent layout shift */
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.hero p.hero-tagline {
    color: #e0fffa;
    /* High contrast bright cyan/white */
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 0 15px rgba(0, 242, 234, 0.5), 0 0 30px rgba(0, 242, 234, 0.3);
    /* enhanced glow */
    letter-spacing: 0.5px;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--dark-bg);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--dark-bg);
    opacity: 0.1;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.6);
}

/* Specific Event Buttons */
.symposium-btn {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.symposium-btn:hover {
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.6);
}

.culture-btn {
    background: linear-gradient(90deg, var(--secondary), #ff4d80);
    box-shadow: 0 0 20px rgba(255, 77, 128, 0.4);
    color: var(--dark-bg);
}

.culture-btn:hover {
    box-shadow: 0 0 30px rgba(255, 77, 128, 0.8);
}

/* Sections General */
.section {
    padding: 8rem 5% 5rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* Rules / Conditions */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.rule-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.1);
}

.rule-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Departments */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dept-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform-style: preserve-3d;
}

.dept-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.2);
    transform: translateY(-10px);
}

.dept-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    /* Changed from fill to color for font icons */
    transition: var(--transition);
}

.dept-card:hover .dept-icon {
    color: var(--primary);
    /* Changed from fill to color */
    transform: scale(1.1) rotate(5deg);
}

.dept-name {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.speaker-card {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.speaker-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.speaker-img-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(125, 249, 255, 0.2);
    position: relative;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.speaker-card:hover .speaker-img {
    transform: scale(1.1);
}

.speaker-name {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.speaker-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Prizes */
.prizes-section {
    background: transparent;
    /* Changed from dark gradient to transparent */
    text-align: center;
}

.prize-pool {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary);
    text-shadow: 0 0 30px rgba(255, 0, 80, 0.4);
    margin: 2rem 0;
    transition: var(--transition);
}

.prizes-section:hover .prize-pool {
    transform: scale(1.05);
    text-shadow: 0 0 50px rgba(255, 0, 80, 0.8);
}

/* Coordinators Section */
/* Coordinators Section - Transparent Integration */
.coords-container {
    margin-top: 4rem;
    padding: 2rem 0;
    /* Adjusted padding adjustments */
    position: relative;
    /* 1. Transparent Background to match site theme */
    background: transparent;

    /* Remove old borders/shadows/backgrounds */
    border: none;
    box-shadow: none;
    z-index: 1;
}

/* Removed Moving Light Sweep Animation (::before) */
/* Removed Abstract Mesh Glow (::before on title) */

.coords-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    display: inline-block;

    /* Clean Tech Text */
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 201, 167, 0.4);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.coords-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* 4. Enhancement: Premium Glass Cards */
.coord-card {
    /* Soft Inner Glass */
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 2.5rem 3rem;
    border-radius: 20px;
    min-width: 260px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* 1px Subtle Gradient Border hint (using faint solid color for cleanliness) */
    border: 1px solid rgba(0, 201, 167, 0.1);
    border-top: 1px solid rgba(0, 201, 167, 0.25);
    /* Top light source hint */
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.coord-card:hover {
    /* Hover: Slight Lift & Soft Glow */
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(0, 201, 167, 0.3);

    /* Soft Teal Glow (Not Neon) */
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 201, 167, 0.15);
    /* Very subtle glow */
}

/* Cultural Override Adaptation */
.cultural-coords.coords-container {
    background: transparent;
    /* Ensure transparent for cultural too */
    box-shadow: none;
    border-image: none;
}

.cultural-coords .coords-title {
    text-shadow: 0 0 30px rgba(255, 77, 128, 0.4);
}

/* Removed Cultural Mesh Glow */

.cultural-coords .coord-card {
    border-color: rgba(255, 77, 128, 0.1);
    border-top-color: rgba(255, 77, 128, 0.25);
}

.cultural-coords .coord-card:hover {
    border-color: rgba(255, 77, 128, 0.3);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 77, 128, 0.15);
}

.coord-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.coord-role {
    color: var(--secondary);
    /* Gold */
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0;
    font-weight: 600;
}

.coord-phone {
    /* Kept for structure, though specific style wasn't explicitly requested to change, minor cleanup */
    color: var(--text-muted);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Cultural Theme Override for Coordinators */
.cultural-coords.coords-container {
    background:
        radial-gradient(circle at center, rgba(255, 77, 128, 0.08) 0%, rgba(59, 14, 25, 0.02) 60%, transparent 100%),
        radial-gradient(var(--text-muted) 1px, transparent 1px);
    border-image: linear-gradient(90deg, transparent, var(--secondary), #ff4d80, var(--secondary), transparent) 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 -1px 10px rgba(255, 77, 128, 0.1),
        0 1px 10px rgba(255, 77, 128, 0.1);
}

.cultural-coords .coords-title {
    background: linear-gradient(135deg, #ff4d80, #ffb3c6);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 77, 128, 0.3);
}

.cultural-coords .coord-card:hover {
    border-color: #ff4d80;
    background: rgba(255, 255, 255, 0.04);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 77, 128, 0.3);
}

/* Contact Form */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-input option {
    background-color: #000;
    color: var(--text-main);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
    background: rgba(0, 0, 0, 0.8);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Contact & Footer */
/* Contact & Footer */
.footer {
    background: #0f1011;
    /* Fallback */
    background: linear-gradient(to right, #000000, #7A6946, #000000);
    /* Gradient based on analyzed color */
    padding: 4rem 5% 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(193, 169, 77, 0.3);
    /* Goldish border */
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h3 {
    color: var(--secondary);
    /* Use Gold for headings */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
    /* Brighter text */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.register-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--secondary), #ff4d80);
    border: none;
    color: #fff;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 0, 80, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
    transform: skewX(-20deg);
}

.register-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 80, 0.7);
}

.register-btn:hover::before {
    width: 150%;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark-bg);
    transform: rotate(360deg);
}

/* Events Page Specific */
.events-header {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    background: radial-gradient(circle at center, rgba(0, 242, 234, 0.1) 0%, transparent 70%);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.dept-title-text {
    font-size: 4rem;
    text-align: center;
    background: linear-gradient(135deg, #fff 30%, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
    animation: textGlow 2s ease-in-out infinite alternate;
}

.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-weight: 600;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    transition: var(--transition);
}

.back-btn:hover {
    background: rgba(0, 242, 234, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.2);
}

.events-container {
    padding: 0 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.15);
    transform: translateY(-5px);
}

.event-meta {
    display: flex;
    flex-direction: column;
    /* Stack items vertically */
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-meta i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.event-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.event-subtitle {
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    font-weight: 600;
    display: block;
}

.event-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    padding-top: 2rem;
    border-top: 1px solid rgba(193, 169, 77, 0.2);
    font-size: 0.9rem;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(0, 242, 234, 0.2);
    }

    to {
        text-shadow: 0 0 20px rgba(0, 242, 234, 0.6);
    }
}

/* Hero Buttons Container */
.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero .register-btn {
    margin-top: 3rem;
}

.register-now-btn {
    padding: 1rem 3.5rem;
    font-size: 1.2rem;
    box-shadow: 0 0 25px rgba(31, 175, 154, 0.5);
    display: inline-block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* .nav-links rules are handled in previous media query (lines 128+) */

    .hero h1 {
        font-size: 3.5rem;
    }

    .coord-grid {
        flex-direction: column;
        align-items: center;
    }

    /* Adjust grid for smaller tablets/phones */
    .rules-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Specific Mobile Optimization (320px - 480px) */
@media (max-width: 480px) {

    /* Navbar & Logo */
    /* Navbar & Logo */
    .navbar {
        padding: 0.8rem 1rem;
        flex-direction: row;
        /* Row layout for header */
        justify-content: space-between;
        gap: 1rem;
        background: rgba(15, 17, 21, 0.95);
    }

    .nav-logo {
        flex-direction: row;
        align-items: center;
        text-align: left;
        width: auto;
        flex: 1;
        /* Allow text to take space */
    }

    .logo-img {
        height: 40px;
        /* Smaller mobile logo */
        width: auto;
        margin-bottom: 0;
        margin-right: 10px;
    }

    .nav-logo-text {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.2;
        text-align: left;
        display: block;
        max-width: 100%;
    }

    /* Typography Fixes */
    .hero {
        padding: 8rem 1.5rem 4rem;
        /* Adjust padding for navbar height */
    }

    .hero h1 {
        font-size: 2.2rem;
        /* Adjusted for small screens */
        line-height: 1.2;
        margin-bottom: 1rem;
        word-wrap: break-word;
    }

    .hero p.typewriter-text {
        font-size: 1rem;
        line-height: 1.5;
        min-height: 4.5em;
        /* Ensure enough space */
        width: 100%;
    }

    /* Button Fixes */
    .hero-cta-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        margin-top: 2rem;
    }

    .hamburger {
        margin-top: 0;
        margin-left: 10px;
        /* Space between text and menu */
    }

    .btn-primary {
        width: 100%;
        /* Full width for easier tapping */
        padding: 0.9rem 1rem;
        /* Consistent padding */
        font-size: 1rem;
        /* Readable size */
        white-space: nowrap;
        /* Prevent awkward breaks */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .register-now-btn {
        width: 100%;
        font-size: 1.1rem;
        padding: 1rem;
    }

    /* Section & General Layout */
    .section {
        padding: 4rem 1.25rem;
        /* ~20px side padding */
    }

    .section-title {
        font-size: 1.8rem;
        width: 100%;
    }

    .dept-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        /* Stack cards */
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .contact-item {
        justify-content: center;
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobile Hero & Nav Adjustments */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        padding: 0 1rem;
    }

    .hero-cta-buttons {
        gap: 1.5rem;
    }

    .hero .register-btn {
        margin-top: 2rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .btn-sub {
        font-size: 0.85rem;
        margin-top: 0.2rem;
        font-weight: 500;
        opacity: 0.9;
    }

    .nav-logo-text {
        font-size: 0.9rem;
        /* Increase readability */
        max-width: 85%;
        /* Allow more width */
    }

    .logo-img {
        height: 60px;
        /* Force larger logo on mobile */
    }
}

/* Alert Box Styles */
.registration-alert {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.alert-content {
    background: rgba(40, 10, 10, 0.85);
    /* Darker background for legibility */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 12px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.15);
    max-width: 600px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.alert-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ff4d4d;
    box-shadow: 0 0 10px #ff4d4d;
}

.alert-content:hover {
    transform: translateY(-3px);
    background: rgba(255, 77, 77, 0.15);
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.25);
    border-color: rgba(255, 77, 77, 0.5);
}

.alert-icon {
    font-size: 2rem;
    color: #ff4d4d;
    animation: pulse 2s infinite;
}

.alert-text-content {
    text-align: left;
}

.alert-highlight {
    color: #ff4d4d;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
}

.alert-date {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .alert-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    .alert-content::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .alert-text-content {
        text-align: center;
    }
}

/* Pricing Display Responsive */
.pricing-display p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .pricing-display p {
        font-size: 1rem !important;
        /* Force smaller size on mobile */
        white-space: normal;
        word-wrap: break-word;
    }
}

/* Pricing Section Styles - Replaced from Inline */
.pricing-display {
    margin-top: 3rem;
    text-align: center;
    font-family: var(--font-heading);
}

.price-item {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price-item span {
    color: #fff;
    margin-left: 5px;
}

.price-symposium {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(31, 175, 154, 0.3);
}

.price-culture {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(201, 162, 77, 0.3);
}

.price-total {
    font-size: 1.5rem;
    margin-top: 1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Mobile Pricing Adjustment */
@media (max-width: 480px) {
    .price-item {
        font-size: 1rem;
        /* Smaller font for better fit */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        margin-bottom: 1rem;
    }

    .price-total {
        font-size: 1.3rem;
    }
}