/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700&family=Orbitron:wght@400;500;700;900&display=swap');

/* ========================
   CSS VARIABLES
======================== */
:root {
    --red:#d11313;
    --pink: #ff0077;
    --dark: #0a0a1a;
    --dark2: #12121e;
    --text: #e0e0e0;
    --glow-cyan: 0 0 10px #00eaff, 0 0 20px #00eaff, 0 0 40px #00eaff;
    --glow-pink: 0 0 10px #ff0077, 0 0 20px #ff0077, 0 0 40px #ff0077;
}

/* ========================
   BASE RESET
======================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    color: var(--text);
    background-color: var(--dark);
    overflow-x: hidden;
    position: relative;
}

/* ========================
   SEMICONDUCTOR ANIMATED BG
======================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0,234,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255,0,119,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.95) 0%, #0a0a1a 100%);
}

/* Circuit grid overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0,234,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,234,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(0,234,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,234,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
    animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
    0%   { opacity: 0.6; }
    100% { opacity: 1.2; }
}

/* ========================
   CANVAS BACKGROUND
   (semiconductor particles handled by JS)
======================== */
#bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ========================
   FLOATING CHIP ELEMENTS
======================== */
.chip-element {
    position: fixed;
    border: 1px solid rgba(0,234,255,0.15);
    border-radius: 3px;
    pointer-events: none;
    z-index: 0;
    animation: floatChip linear infinite;
}

.chip-element::before,
.chip-element::after {
    content: '';
    position: absolute;
    background: rgba(0,234,255,0.3);
}

/* ========================
   HEADER & NAV
======================== */
header {
    background: rgba(10, 10, 26, 0.85);
    color: #e31313;
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,234,255,0.2);
    box-shadow: 0 2px 30px rgba(0,234,255,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 26, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    font-weight: 900;
    color: var(--red);
    letter-spacing: 2px;
    text-shadow: var(--glow-cyan);
    animation: logoPulse 3s ease-in-out infinite;
    cursor: default;
    user-select: none;
}

@keyframes logoPulse {
    0%, 100% { text-shadow: 0 0 10px #d11313, 0 0 20px #d11313; }
    50%       { text-shadow: 0 0 20px #d11313, 0 0 40px #d11313, 0 0 60px #00eaff; }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 4px;
    position: relative;
    transition: color 0.3s ease;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    transition: left 0.3s ease, right 0.3s ease;
    border-radius: 2px;
}

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

.nav-links a:hover::before {
    left: 10%; right: 10%;
}

/* ========================
   COMMON SECTION STYLING
======================== */
.hero-section,
.register-section,
.events-section,
.about-college-section,
.coordinators-section,
.connect-section,
.location-section {
    max-width: 920px;
    margin: 100px auto 30px;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(18,18,30,0.85), rgba(10,10,26,0.95));
    border-radius: 16px;
    border: 1px solid rgba(0,234,255,0.25);
    box-shadow: 0 0 30px rgba(0,234,255,0.15), inset 0 0 60px rgba(0,0,0,0.3);
    color: var(--text);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

/* Corner accents */
.hero-section::before, .register-section::before,
.events-section::before, .about-college-section::before,
.coordinators-section::before, .connect-section::before,
.location-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60px; height: 60px;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    border-radius: 16px 0 0 0;
    transition: width 0.4s, height 0.4s;
}

.hero-section::after, .register-section::after,
.events-section::after, .about-college-section::after,
.coordinators-section::after, .connect-section::after,
.location-section::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 60px; height: 60px;
    border-bottom: 2px solid var(--pink);
    border-right: 2px solid var(--pink);
    border-radius: 0 0 16px 0;
    transition: width 0.4s, height 0.4s;
}

.hero-section:hover::before, .register-section:hover::before,
.events-section:hover::before, .about-college-section:hover::before,
.coordinators-section:hover::before, .connect-section:hover::before,
.location-section:hover::before {
    width: 100%; height: 100%;
    opacity: 0.05;
    background: var(--cyan);
}

.hero-section:hover,
.register-section:hover,
.events-section:hover,
.about-college-section:hover,
.coordinators-section:hover,
.connect-section:hover,
.location-section:hover {
    box-shadow: 0 0 50px rgba(0,234,255,0.25), 0 0 20px rgba(255,0,119,0.15), inset 0 0 80px rgba(0,0,0,0.2);
    transform: translateY(-4px);
}

/* ========================
   HERO SECTION
======================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    border-radius: 0;
    max-width: 100%;
    padding: 120px 40px 60px;
    border: none;
    border-bottom: 1px solid rgba(0,234,255,0.2);
    background: transparent;
    box-shadow: none;
}

.hero-section:hover {
    transform: none;
    box-shadow: none;
}

.hero-section::before, .hero-section::after {
    display: none;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 50px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18,18,30,0.9), rgba(10,10,26,0.95));
    border: 1px solid rgba(0,234,255,0.3);
    box-shadow: 0 0 40px rgba(0,234,255,0.2), inset 0 0 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent 0deg,
        rgba(0,234,255,0.03) 60deg,
        transparent 120deg,
        rgba(255,0,119,0.03) 180deg,
        transparent 240deg,
        rgba(0,234,255,0.03) 300deg,
        transparent 360deg
    );
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========================
   HERO TEXT ELEMENTS
======================== */
.institution-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0,234,255,0.5);
    position: relative; z-index: 1;
}

.autonomous-status {
    font-size: 1rem;
    color: rgba(224,224,224,0.7);
    font-style: italic;
    position: relative; z-index: 1;
}

.department, .club, .association {
    font-size: 0.95rem;
    color: rgba(224,224,224,0.85);
    letter-spacing: 1px;
    position: relative; z-index: 1;
}

.association-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--pink);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255,0,119,0.5);
    position: relative; z-index: 1;
}

.presentation-text {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: rgba(224,224,224,0.6);
    text-transform: uppercase;
    position: relative; z-index: 1;
}

.center-logo {
    margin: 24px 0;
    position: relative; z-index: 1;
}

.center-logo img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,234,255,0.6));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); filter: drop-shadow(0 0 20px rgba(0,234,255,0.6)); }
    50%       { transform: translateY(-8px); filter: drop-shadow(0 0 30px rgba(0,234,255,0.9)); }
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #fff;
    font-weight: 900;
    letter-spacing: 4px;
    text-shadow: 0 0 10px #ff0077, 0 0 20px #ff0077, 0 0 40px #ff0077;
    animation: titleGlow 2s ease-in-out infinite alternate;
    position: relative; z-index: 1;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 10px #ff0077, 0 0 20px #ff0077; }
    to   { text-shadow: 0 0 20px #ff0077, 0 0 40px #ff0077, 0 0 80px #ff0077, 0 0 120px rgba(255,0,119,0.3); }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 2px;
    position: relative; z-index: 1;
}

.event-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--cyan);
    letter-spacing: 2px;
    border: 1px solid rgba(0,234,255,0.3);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(0,234,255,0.05);
    position: relative; z-index: 1;
}

/* ========================
   REGISTER / CTA BUTTONS
======================== */
.register-btn, .register-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff0077, #cc0055);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: 24px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulseCTA 2.5s ease-in-out infinite;
    z-index: 1;
}

.register-btn::before, .register-button::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.register-btn:hover::before, .register-button:hover::before {
    left: 100%;
}

.register-btn:hover, .register-button:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,0,119,0.5);
}

@keyframes pulseCTA {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,0,119,0.6), 0 4px 15px rgba(255,0,119,0.3); }
    50%       { box-shadow: 0 0 0 12px rgba(255,0,119,0), 0 4px 15px rgba(255,0,119,0.3); }
}

.about-btn, .direction-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00eaff, #0099bb);
    color: #0a0a1a;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.about-btn::before, .direction-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.about-btn:hover::before, .direction-btn:hover::before {
    left: 100%;
}

.about-btn:hover, .direction-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,234,255,0.4);
}

/* ========================
   ANIMATED TEXT (STAGGERED)
======================== */
.animated-text {
    opacity: 0;
    transform: translateX(-40px) skewX(-5deg);
    animation: swipeIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes swipeIn {
    0% {
        opacity: 0;
        transform: translateX(-60px) skewX(-8deg);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: translateX(6px) skewX(1deg);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) skewX(0deg);
        filter: blur(0);
    }
}

.animated-section {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: fadeSlideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes fadeSlideUp {
    0%   { opacity: 0; transform: translateY(50px) scale(0.96); filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Stagger delays */
.delay-1  { animation-delay: 0.15s; }
.delay-2  { animation-delay: 0.30s; }
.delay-3  { animation-delay: 0.45s; }
.delay-4  { animation-delay: 0.60s; }
.delay-5  { animation-delay: 0.75s; }
.delay-6  { animation-delay: 0.90s; }
.delay-7  { animation-delay: 1.05s; }
.delay-8  { animation-delay: 1.20s; }
.delay-9  { animation-delay: 1.35s; }
.delay-10 { animation-delay: 1.50s; }
.delay-11 { animation-delay: 1.65s; }

/* ========================
   SECTION TITLES
======================== */
.section-title, .events-main-title, .register-main-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 24px;
    display: inline-block;
    padding-bottom: 12px;
    position: relative;
    text-shadow: 0 0 10px rgba(0,234,255,0.4);
}

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

.events-main-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #ff0077, #ff4499, #ff0077);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255,0,119,0.5));
    margin-bottom: 40px;
    animation: titleGlowPink 2s ease-in-out infinite alternate;
}

@keyframes titleGlowPink {
    from { filter: drop-shadow(0 0 10px rgba(255,0,119,0.4)); }
    to   { filter: drop-shadow(0 0 25px rgba(255,0,119,0.8)); }
}

.register-main-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff, #ff0077);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255,0,119,0.4));
}

/* ========================
   EVENTS CONTAINER & CARDS
======================== */
.events-section {
    min-height: 100vh;
    padding: 100px 30px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-bottom: 50px;
    perspective: 1200px;
}

/* ── Swipe-In Card Animations ── */
.event-box {
    background: linear-gradient(145deg, rgba(18,18,30,0.95), rgba(10,10,26,0.98));
    border: 1px solid rgba(0,234,255,0.3);
    border-radius: 16px;
    padding: 28px 20px;
    width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateX(-80px) rotateY(-15deg) scale(0.9);
    animation: cardSwipeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.event-box:nth-child(1) { animation-delay: 0.1s; }
.event-box:nth-child(2) { animation-delay: 0.25s; }
.event-box:nth-child(3) { animation-delay: 0.40s; }
.event-box:nth-child(4) { animation-delay: 0.55s; }
.event-box:nth-child(5) { animation-delay: 0.70s; }

@keyframes cardSwipeIn {
    0% {
        opacity: 0;
        transform: translateX(-80px) rotateY(-20deg) scale(0.88);
        filter: blur(4px);
    }
    70% {
        opacity: 1;
        transform: translateX(6px) rotateY(2deg) scale(1.01);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg) scale(1);
        filter: blur(0);
    }
}

/* Shimmer sweep on hover */
.event-box::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(0,234,255,0.08), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.event-box:hover::before {
    left: 160%;
}

/* Cyan top border glow */
.event-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.event-box:hover::after {
    transform: scaleX(1);
}

.event-box:hover {
    transform: translateY(-10px) scale(1.03) rotateY(2deg);
    box-shadow: 0 20px 50px rgba(0,234,255,0.25), 0 0 0 1px rgba(0,234,255,0.4);
    border-color: rgba(0,234,255,0.6);
}

.event-image {
    max-width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
    filter: brightness(0.85) saturate(1.2);
    transition: filter 0.4s ease, transform 0.4s ease;
    position: relative; z-index: 1;
}

.event-box:hover .event-image {
    filter: brightness(1) saturate(1.5);
    transform: scale(1.05);
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    word-wrap: break-word;
    line-height: 1.4;
    position: relative; z-index: 1;
    transition: color 0.3s ease;
}

.event-box:hover .event-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(0,234,255,0.6);
}

.view-details-btn {
    background: linear-gradient(135deg, #ff0077, #cc0055);
    color: white;
    padding: 10px 22px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative; z-index: 1;
    overflow: hidden;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.4s ease;
}

.view-details-btn:hover::before { left: 100%; }
.view-details-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(255,0,119,0.5);
}

/* ========================
   NEXT PAGE BUTTON
======================== */
.next-page-container {
    margin-top: 20px;
    text-align: center;
}

.next-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0,234,255,0.15), rgba(0,234,255,0.05));
    color: var(--cyan);
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0,234,255,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.next-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,234,255,0.2), transparent);
    transition: left 0.5s ease;
}

.next-btn:hover::before { left: 100%; }
.next-btn:hover {
    background: linear-gradient(135deg, rgba(0,234,255,0.25), rgba(0,234,255,0.1));
    box-shadow: 0 0 30px rgba(0,234,255,0.3);
    transform: translateX(5px);
    border-color: var(--cyan);
}

/* ========================
   ABOUT BUTTON CONTAINER
======================== */
.about-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

/* ========================
   REGISTER SECTION
======================== */
.register-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-color: rgba(255,0,119,0.3);
}

.register-section::before {
    border-color: var(--pink);
}

.register-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(224,224,224,0.9);
    max-width: 600px;
    margin: 0 auto;
}

.description-box {
    background: rgba(255,0,119,0.05);
    border: 1px solid rgba(255,0,119,0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

/* ========================
   ABOUT COLLEGE
======================== */
.college-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(224,224,224,0.85);
    text-align: left;
}

/* ========================
   COORDINATORS
======================== */
.coordinators-content {
    text-align: center;
}

.coordinator-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    margin-top: 28px;
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.red-bold {
    color: var(--pink);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255,0,119,0.4);
}

.coordinator-name {
    font-size: 1.1rem;
    color: #fff;
    margin: 4px 0;
    font-weight: 600;
}

.coordinator-details {
    font-size: 0.9rem;
    color: rgba(224,224,224,0.6);
    margin: 2px 0;
}

/* ========================
   CONNECT SECTION
======================== */
.connect-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.connect-link {
    font-size: 1rem;
    color: var(--text);
    margin: 10px 0;
    display: block;
}

.connect-link a {
    color: var(--pink);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-all;
}

.connect-link a:hover { color: #ff4499; }

/* ========================
   LOCATION
======================== */
.location-content { text-align: center; }

.map-container { margin-top: 20px; }

.location-map-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--pink);
    box-shadow: 0 0 20px rgba(255,0,119,0.3);
    transition: box-shadow 0.4s ease;
}

.location-map-image:hover {
    box-shadow: 0 0 40px rgba(255,0,119,0.5);
}

/* ========================
   MODAL
======================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    overflow: auto;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    animation: modalBgIn 0.3s ease forwards;
}

@keyframes modalBgIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    background: linear-gradient(145deg, rgba(18,18,30,0.97), rgba(10,10,26,0.99));
    margin: 4% auto;
    padding: 30px;
    border: 1px solid rgba(0,234,255,0.4);
    width: 90%;
    max-width: 820px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 0 50px rgba(0,234,255,0.3), 0 0 100px rgba(0,0,0,0.8);
    animation: modalSlideIn 0.45s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    overflow: hidden;
}

/* Top accent bar */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), var(--cyan));
    background-size: 200%;
    animation: barFlow 3s linear infinite;
}

@keyframes barFlow {
    0%   { background-position: 0%; }
    100% { background-position: 200%; }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-60px) scale(0.92);
        filter: blur(4px);
    }
    70% {
        transform: translateY(6px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.close-btn {
    color: rgba(255,255,255,0.7);
    position: absolute;
    top: 14px; right: 20px;
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.close-btn:hover {
    color: var(--pink);
    transform: rotate(90deg) scale(1.2);
}

.modal-inner-content {
    text-align: left;
    padding-top: 20px;
    color: var(--text);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: var(--cyan);
    margin-bottom: 16px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0,234,255,0.5);
}

.modal-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--pink);
    margin-top: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,0,119,0.3);
    position: relative;
}

.modal-subtitle::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 40px; height: 2px;
    background: var(--pink);
    box-shadow: 0 0 8px var(--pink);
}

.modal-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 12px;
    color: rgba(224,224,224,0.85);
}

.rule-section {
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(0,234,255,0.03);
    border-left: 2px solid rgba(0,234,255,0.2);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.rule-section:hover {
    border-left-color: var(--cyan);
    background: rgba(0,234,255,0.06);
}

.rule-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.rule-section ul, .rule-section ol {
    padding-left: 20px;
}

.rule-section li {
    margin-bottom: 6px;
    line-height: 1.6;
    color: rgba(224,224,224,0.85);
}

/* ========================
   SCROLL REVEAL ANIMATION
   (for elements not on hero)
======================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========================
   SCAN LINE EFFECT
======================== */
.hero-content::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0,234,255,0.6), transparent);
    animation: scanLine 6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes scanLine {
    0%   { top: -4px; opacity: 1; }
    95%  { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

/* ========================
   HAMBURGER
======================== */
.hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(0,234,255,0.3);
    color: var(--cyan);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.hamburger:hover {
    background: rgba(0,234,255,0.1);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
    .event-title.hero-title,
    .register-main-title,
    .events-main-title {
        font-size: 2.2rem;
    }

    .institution-name { font-size: 1.2rem; }
    .hero-content { padding: 30px 20px; }

    .hero-section, .register-section, .events-section,
    .about-college-section, .coordinators-section,
    .connect-section, .location-section {
        margin: 80px 12px 20px;
        padding: 30px 20px;
    }

    .events-container { flex-direction: column; align-items: center; }
    .event-box { width: 85%; }
    .modal-content { width: 95%; margin: 8% auto; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; left: 0;
        background: rgba(10, 10, 26, 0.98);
        border-top: 1px solid rgba(0,234,255,0.2);
        padding: 16px 0;
    }

    .nav-links.active { display: flex; }
    .nav-links li { text-align: center; margin: 6px 0; }
    .nav-links a { font-size: 1.1rem; padding: 10px 20px; }
    .hamburger { display: block; }
}

.coordinators {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    padding: 50px 25px;
}

.coordinators h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 35px;
}

.coordinator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 25px;
}

.coordinator-card {
    position: relative;
    height: 430px;
    border-radius: 30px;
    overflow: hidden;
    background: white;
    border: 2px solid #ddd;
}

.coordinator-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.details {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;

    padding: 18px 20px;

    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
}

.details h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.details p {
    font-size: 17px;
    color: #666;
}


/* Mobile */
@media (max-width: 600px) {

    .coordinators {
        padding: 30px 15px;
    }

    .coordinators h1 {
        font-size: 28px;
    }

    .coordinator-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 12px;
    }

    .coordinator-card {
        height: 300px;
        border-radius: 22px;
    }

    .details {
        left: 7px;
        right: 7px;
        bottom: 7px;
        padding: 12px 13px;
        border-radius: 18px;
    }

    .details h2 {
        font-size: 14px;
    }

    .details p {
        font-size: 12px;
    }
}

/* =========================================
   EVENT DETAILS MODAL
========================================= */

.event-modal {
    display: none;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.80);

    backdrop-filter: blur(8px);

    z-index: 9999;

    justify-content: center;
    align-items: center;

    padding: 20px;
}


/* MODAL ACTIVE */

.event-modal.active {
    display: flex;
}


/* MODAL BOX */

.modal-content {

    position: relative;

    width: 100%;
    max-width: 850px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 40px;

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(12, 25, 50, 0.98),
            rgba(3, 8, 22, 0.98)
        );

    border: 1px solid #00eaff;

    box-shadow:
        0 0 25px rgba(0, 234, 255, 0.30),
        inset 0 0 25px rgba(0, 234, 255, 0.05);

    animation: modalOpen 0.35s ease;
}


/* OPEN ANIMATION */

@keyframes modalOpen {

    from {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

}


/* CLOSE BUTTON */

.modal-close {

    position: absolute;

    top: 15px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: white;

    font-size: 30px;

    cursor: pointer;

    transition: 0.3s;
}


.modal-close:hover {

    background: #ff2f92;

    transform: rotate(90deg);

}


/* MODAL TITLE */

.modal-title {

    text-align: center;

    font-size: 42px;

    color: #ff4c9a;

    text-transform: uppercase;

    margin-bottom: 8px;

    text-shadow:
        0 0 10px rgba(255, 76, 154, 0.6);

}


/* SUBTITLE */

.modal-subtitle {

    text-align: center;

    color: #00eaff;

    font-size: 18px;

    margin-bottom: 30px;

}


/* INFORMATION GRID */

.modal-details {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-bottom: 30px;
}


/* INFO BOX */

.modal-info {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(0, 234, 255, 0.25);

}


.modal-info > span {

    font-size: 25px;

}


.modal-info strong {

    display: block;

    color: #00eaff;

    margin-bottom: 5px;

}


.modal-info p {

    color: #ddd;

}


/* CONTENT SECTIONS */

.modal-section {

    margin-top: 25px;

}


.modal-section h3 {

    color: #ff4c9a;

    font-size: 23px;

    margin-bottom: 12px;

}


.modal-section p {

    color: #ddd;

    line-height: 1.7;

}


.modal-section ul {

    padding-left: 25px;

    color: #ddd;

    line-height: 2;

}


/* REGISTER BUTTON */

.register-btn {

    display: block;

    width: fit-content;

    margin: 35px auto 5px;

    padding: 14px 40px;

    border-radius: 30px;

    background:
        linear-gradient(
            90deg,
            #ff2992,
            #ff4d4d
        );

    color: white;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;

    box-shadow:
        0 0 20px rgba(255, 41, 146, 0.3);

}


.register-btn:hover {

    transform: scale(1.06);

    box-shadow:
        0 0 30px rgba(255, 41, 146, 0.6);

}


/* MOBILE */

@media (max-width: 600px) {

    .event-modal {

        padding: 10px;

    }


    .modal-content {

        padding: 30px 20px;

        max-height: 95vh;

        border-radius: 20px;

    }


    .modal-title {

        font-size: 30px;

        padding: 0 30px;

    }


    .modal-subtitle {

        font-size: 14px;

    }


    .modal-details {

        grid-template-columns: 1fr;

    }


    .modal-section h3 {

        font-size: 20px;

    }


    .modal-section p,
    .modal-section li {

        font-size: 14px;

    }

}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.register {
    padding: 10px 18px;
    background: #36c6ff;
    color: black;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
}

.register.red {
    background: #ff5b5b;
    color: white;
}

