/* ============================================
   ZENTRIX — IEEE Technology Festival
   Black & White Premium Theme
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #131320;
    --bg-secondary: #1a1a2e;
    --bg-card: #232338;
    --bg-card-hover: #2c2c44;
    --bg-elevated: #1e1e32;

    --text-primary: #aa8be4;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent: #aa8be4;
    --accent-dim: rgba(170, 139, 228, 0.8);
    --accent-glow: rgba(170, 139, 228, 0.25);

    --border-subtle: rgba(170, 139, 228, 0.15);
    --border-card: rgba(170, 139, 228, 0.25);
    --border-hover: rgba(255, 255, 255, 0.3);

    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(170, 139, 228, 0.06) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(120, 100, 200, 0.04) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Global Animated Background */
.global-bg-anim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.global-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, rgba(170, 139, 228, 0.5), transparent);
    width: 2px;
    height: 100vh;
    top: -100vh;
    animation: slideDown infinite linear;
}

@keyframes slideDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(200vh); }
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(170, 139, 228, 0.25);
    animation: spinSlow 30s infinite linear;
}

@keyframes spinSlow {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Geometric Floating Shapes */
.bg-shape {
    position: absolute;
    border: 2px solid rgba(170, 139, 228, 0.3);
    animation: shapeFloat infinite linear;
}

.bg-square {
    border-radius: 4px;
}

.bg-triangle {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 45px solid transparent;
    border: none;
    background-image: linear-gradient(rgba(170, 139, 228, 0.35), rgba(170, 139, 228, 0.35));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 50px;
    height: 45px;
    background-color: transparent;
}

@keyframes shapeFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.9; }
    100% { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

/* Glowing Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 139, 228, 0.25), transparent 70%);
    filter: blur(15px);
    animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
    50% { transform: scale(1.2) translate(30px, -30px); opacity: 1.0; }
    100% { transform: scale(0.9) translate(-20px, 40px); opacity: 0.5; }
}

/* Scattered Particles */
.bg-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #aa8be4;
    border-radius: 50%;
    animation: particleSparkle 6s linear infinite;
    box-shadow: 0 0 12px 3px rgba(170, 139, 228, 0.8);
}

@keyframes particleSparkle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    30% { opacity: 1; transform: translateY(-20px) scale(1.5); }
    70% { opacity: 0.8; transform: translateY(-40px) scale(0.8); }
    100% { transform: translateY(-60px) scale(0); opacity: 0; }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.15;
}

/* ---------- Utility ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, #aa8be4 0%, rgba(170, 139, 228, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="scale"] {
    transform: scale(0.8);
}

[data-reveal="blur"] {
    transform: translateY(20px);
    filter: blur(12px);
}

[data-reveal="rotate"] {
    transform: perspective(800px) rotateX(15deg) translateY(40px);
    transform-origin: bottom center;
}

[data-reveal="zoom"] {
    transform: scale(0.5);
    filter: blur(4px);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0) scale(1) perspective(800px) rotateX(0deg);
    filter: blur(0);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), rgba(170, 139, 228, 0.4));
    z-index: 10001;
    transition: width 0.05s linear;
    box-shadow: 0 0 10px rgba(170, 139, 228, 0.5);
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.about-description {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.about-description.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grid children */
[data-reveal]:nth-child(2) {
    transition-delay: 0.1s;
}

[data-reveal]:nth-child(3) {
    transition-delay: 0.2s;
}

[data-reveal]:nth-child(4) {
    transition-delay: 0.3s;
}

[data-reveal]:nth-child(5) {
    transition-delay: 0.15s;
}

[data-reveal]:nth-child(6) {
    transition-delay: 0.25s;
}

[data-reveal]:nth-child(7) {
    transition-delay: 0.35s;
}

[data-reveal]:nth-child(8) {
    transition-delay: 0.2s;
}

[data-reveal]:nth-child(9) {
    transition-delay: 0.3s;
}

/* ---------- Keyframes ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(50px) skewY(2deg);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) skewY(0deg);
        filter: blur(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(8px);
        opacity: 0;
    }
}

@keyframes orbDrift1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-40px, 30px);
    }

    66% {
        transform: translate(25px, -20px);
    }
}

@keyframes orbDrift2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -25px);
    }

    66% {
        transform: translate(-20px, 35px);
    }
}

@keyframes orbDrift3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, -20px);
    }
}

@keyframes particleDrift {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) translateX(8px);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.2;
    }

    75% {
        transform: translateY(-28px) translateX(6px);
        opacity: 0.5;
    }

    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.12);
    }

    50% {
        border-color: rgba(255, 255, 255, 0.3);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-logo-img {
    height: 48px;
    width: auto;
    filter: brightness(1);
    transition: var(--transition-smooth);
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #fff;
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 24px;
    background: #aa8be4;
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-btn:hover {
    background: rgba(170, 139, 228, 0.85);
    box-shadow: 0 0 30px rgba(170, 139, 228, 0.15);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-link:hover {
    color: #fff;
    padding-left: 12px;
}

.mobile-btn {
    margin-top: 8px;
    padding: 14px 24px;
    background: #aa8be4;
    color: #000;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: radial-gradient(ellipse at 50% 40%, rgba(170, 139, 228, 0.08) 0%, transparent 60%);
}

/* Background Effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(170, 139, 228, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(170, 139, 228, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(170, 139, 228, 0.08), transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbDrift1 18s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(170, 139, 228, 0.06), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation: orbDrift2 22s ease-in-out infinite;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(170, 139, 228, 0.05), transparent 70%);
    top: 50%;
    left: 35%;
    animation: orbDrift3 15s ease-in-out infinite;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

.p1 {
    width: 2px;
    height: 2px;
    top: 20%;
    left: 15%;
    animation: particleDrift 12s ease-in-out infinite;
}

.p2 {
    width: 3px;
    height: 3px;
    top: 35%;
    right: 20%;
    animation: particleDrift 10s ease-in-out infinite 1.5s;
}

.p3 {
    width: 2px;
    height: 2px;
    bottom: 30%;
    left: 45%;
    animation: particleDrift 15s ease-in-out infinite 0.8s;
}

.p4 {
    width: 3px;
    height: 3px;
    top: 15%;
    right: 35%;
    animation: particleDrift 11s ease-in-out infinite 2.2s;
}

.p5 {
    width: 2px;
    height: 2px;
    top: 40%;
    left: 28%;
    animation: particleDrift 14s ease-in-out infinite 3.2s;
}

.p6 {
    width: 2px;
    height: 2px;
    bottom: 22%;
    right: 32%;
    animation: particleDrift 9s ease-in-out infinite 1.8s;
}

/* Hero Content */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-logo {
    margin-bottom: 36px;
    animation: titleReveal 1s ease-out 0.4s both;
}

.hero-logo-img {
    max-width: clamp(320px, 60vw, 680px);
    height: auto;
    margin: 0 auto;
    display: block;
    filter: brightness(1) drop-shadow(0 0 40px rgba(255, 255, 255, 0.08));
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.7s ease-out 0.7s both;
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    margin-bottom: 44px;
    animation: fadeInUp 0.7s ease-out 0.85s both;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat:hover .stat-number {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    transition: var(--transition-smooth);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.7s ease-out 1s both;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #aa8be4;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: rgba(170, 139, 228, 0.9);
    box-shadow: 0 0 40px rgba(170, 139, 228, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-card);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    color: #aa8be4;
    border-color: rgba(170, 139, 228, 0.4);
    background: rgba(170, 139, 228, 0.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.7s ease-out 1.3s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.about-description {
    text-align: center;
    max-width: 800px;
    margin: -20px auto 60px;
}

.about-description p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.about-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.about-card:hover::before {
    opacity: 1;
}

.about-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
    background: var(--bg-secondary);
    position: relative;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Event Card */
.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(170, 139, 228, 0.6), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.event-card:hover {
    border-color: rgba(170, 139, 228, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.event-card:hover::before {
    opacity: 1;
}

/* Featured card (Hack The Gap) */
.event-card.featured {
    border-color: rgba(170, 139, 228, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(170, 139, 228, 0.05) 100%);
}

.event-card.featured:hover {
    border-color: rgba(170, 139, 228, 0.6);
}

.event-featured-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #fff;
}

.event-number {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.event-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.4;
}

.event-brief {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    gap: 8px;
    flex-wrap: wrap;
}

.event-date,
.event-prize,
.event-fee {
    font-weight: 500;
}

.event-prize {
    color: #fff;
    font-weight: 700;
}

.event-expand-hint {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.event-card:hover .event-expand-hint {
    color: #fff;
}

/* Event Detail Modal */
.event-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 780px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-lg);
    padding: 48px;
    z-index: 10001;
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.event-modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.92);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.event-modal::-webkit-scrollbar {
    width: 6px;
}

.event-modal::-webkit-scrollbar-track {
    background: transparent;
}

.event-modal::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.event-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.event-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.event-modal h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-transform: uppercase;
    padding-right: 50px;
}

.event-overview {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.event-info-block h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.event-info-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info-block li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 12px;
    position: relative;
}

.event-info-block li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.event-info-block li strong {
    color: #fff;
    font-weight: 600;
}

/* Modal Overlay */
.event-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
}

.event-modal-overlay.active {
    display: block;
}

/* ============================================
   GUESTS SECTION
   ============================================ */
.guests-section {
    background: var(--bg-primary);
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.guest-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.guest-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.guest-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.guest-card:hover::after {
    opacity: 1;
}

.guest-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.guest-card:hover .guest-photo {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.guest-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    font-size: 2.5rem;
}

.guest-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.guest-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.guest-org {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors-section {
    background: var(--bg-secondary);
}

.sponsors-tiers {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.sponsor-tier {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sponsor-tier.revealed {
    opacity: 1;
    transform: translateY(0);
}

.tier-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sponsor-logo-placeholder {
    padding: 24px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    min-width: 160px;
}

.sponsor-logo-placeholder:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    color: var(--text-secondary);
    transform: translateY(-2px);
}

.sponsor-logo-placeholder.large {
    padding: 40px 60px;
    font-size: 1rem;
    min-width: 240px;
    border-color: rgba(255, 255, 255, 0.15);
}

.sponsor-logo-placeholder.small {
    padding: 18px 32px;
    font-size: 0.8rem;
    min-width: 130px;
}

.sponsor-cta {
    text-align: center;
    margin-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sponsor-cta.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sponsor-cta p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 16px;
}

/* ============================================
   REGISTER / CTA SECTION
   ============================================ */
.register-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.register-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.register-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.register-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.register-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.r-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    top: -80px;
    right: -60px;
    animation: orbDrift1 12s ease-in-out infinite;
}

.r-orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.02);
    bottom: -60px;
    left: -40px;
    animation: orbDrift2 15s ease-in-out infinite;
}

.register-content {
    position: relative;
    z-index: 2;
}

.register-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.register-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.register-form {
    display: flex;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    filter: brightness(0.85);
    transition: var(--transition-smooth);
}

.footer-logo:hover .footer-logo-img {
    filter: brightness(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: #fff;
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guests-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 70px 0;
    }

    /* Nav */
    .navbar {
        padding: 12px 0 !important;
    }

    .nav-logo {
        gap: 10px !important;
    }

    .nav-logo-img {
        height: 28px !important;
    }

    .nav-logo .nav-separator {
        font-size: 20px !important;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Hero Section */
    .hero {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-logo-img {
        max-height: 60px !important;
    }

    .hero-logo .gradient-text {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 8px;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-divider {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-description {
        margin: -10px auto 40px;
    }

    .about-description p {
        font-size: 0.95rem;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-card {
        padding: 24px 20px;
    }

    /* Event Modal */
    .event-modal {
        width: 95% !important;
        max-width: 95% !important;
        max-height: 90vh;
        padding: 24px 18px !important;
        margin: 5vh auto;
    }

    .event-modal-body h3 {
        font-size: 1.2rem;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Guests */
    .guests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .guest-card {
        padding: 24px 12px;
    }

    /* Register CTA */
    .register-card {
        padding: 40px 20px;
    }

    .register-content h2 {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        gap: 16px !important;
    }

    .footer-logo-img[alt="MGM Logo"] {
        height: 60px !important;
    }

    .footer-logo-img[alt="IEEE Logo"],
    .footer-logo-img[alt="IEEE Maharashtra Logo"] {
        height: 32px !important;
    }

    .footer-logo span {
        font-size: 32px !important;
    }

    /* Scroll animations — reduce intensity on mobile */
    [data-reveal] {
        transform: translateY(20px);
    }

    [data-reveal="left"] {
        transform: translateX(-20px);
    }

    [data-reveal="right"] {
        transform: translateX(20px);
    }

    [data-reveal="rotate"] {
        transform: perspective(600px) rotateX(8deg) translateY(20px);
    }

    [data-reveal="zoom"] {
        transform: scale(0.85);
        filter: blur(2px);
    }

    [data-reveal="scale"] {
        transform: scale(0.9);
    }

    /* Background animations — reduce for performance */
    .global-bg-anim {
        opacity: 0.5;
    }

    .scroll-indicator {
        display: none;
    }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .section-desc {
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* Nav */
    .nav-logo-img {
        height: 22px !important;
    }

    .nav-logo .nav-separator {
        font-size: 16px !important;
    }

    .nav-logo {
        gap: 6px !important;
    }

    /* Hero */
    .hero-logo-img {
        max-height: 45px !important;
    }

    .hero-logo .gradient-text {
        font-size: clamp(2rem, 10vw, 3rem) !important;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.1rem;
    }

    /* Events */
    .event-number {
        font-size: 3rem;
    }

    .event-title {
        font-size: 1rem;
    }

    .event-brief {
        font-size: 0.8rem;
    }

    .event-meta {
        font-size: 0.75rem;
    }

    /* Modal */
    .event-modal {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 95vh;
        border-radius: 12px !important;
        padding: 20px 14px !important;
        margin: 2.5vh auto;
    }

    .event-modal-body h3 {
        font-size: 1.1rem;
    }

    .event-overview {
        font-size: 0.85rem;
    }

    /* Guests */
    .guests-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guest-name {
        font-size: 0.9rem;
    }

    /* Register */
    .register-content h2 {
        font-size: 1.3rem;
    }

    .register-content p {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-logo {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .footer-logo span {
        display: none !important;
    }

    .footer-logo-img[alt="MGM Logo"] {
        height: 48px !important;
    }

    .footer-logo-img[alt="IEEE Logo"],
    .footer-logo-img[alt="IEEE Maharashtra Logo"] {
        height: 28px !important;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    /* Sponsors */
    .sponsor-logo-placeholder {
        min-width: auto;
        padding: 18px 24px;
        font-size: 0.78rem;
    }

    .sponsor-logo-placeholder.large {
        min-width: auto;
        padding: 28px 40px;
    }

    .sponsor-logos {
        gap: 12px;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 12px 24px;
    }
}