* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive images default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #00d4ff;
    --accent-dark: #0095b3;
    --dark: #0f0f1a;
    --dark-lighter: #1a1a2e;
    --dark-card: rgba(26, 26, 46, 0.8);
    --light: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-cyber: linear-gradient(135deg, #00d4ff 0%, #6366f1 50%, #ec4899 100%);
    --gradient-dark: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(99, 102, 241, 0.1) 50%, rgba(236, 72, 153, 0.1) 100%);
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.5);
    --glow-secondary: 0 0 20px rgba(236, 72, 153, 0.5);
    --glow-accent: 0 0 20px rgba(0, 212, 255, 0.5);
    --blur-glass: blur(20px);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Enhanced Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--dark-lighter) 0%, var(--dark) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    opacity: 0.7;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 80%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    top: 10%;
    right: 30%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    bottom: 20%;
    left: 10%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 60%;
    right: 10%;
    animation: particleFloat 4s ease-in-out infinite;
    animation-delay: 3.2s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    z-index: 1;
    position: relative;
    max-width: 500px;
    padding: 2rem;
    animation: loadingContentFadeIn 1s ease-out;
}

@keyframes loadingContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-logo-container {
    margin-bottom: 2rem;
    position: relative;
}

.loading-logo-ring {
    position: relative;
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--primary), var(--secondary), var(--accent));
    /* Disable rotation */
    animation: none;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-logo {
    background: var(--dark);
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.loading-text-container {
    margin-bottom: 3rem;
}

.loading-text {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    }
}

.loading-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.loading-progress-container {
    margin: 3rem 0;
    position: relative;
}

.loading-bar {
    width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.loading-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-cyber);
    border-radius: 3px;
    position: relative;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.loading-glow {
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes progressGlow {
    0% { right: 100%; }
    100% { right: -10px; }
}

.loading-percentage {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: bold;
    text-align: center;
}

.loading-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out;
    box-shadow: 0 0 10px var(--accent);
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: -1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

/* Additional header text logo */
.college-logo-text {
    height: 32px;
    width: auto;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    opacity: 1;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35), 0 0 4px rgba(255,255,255,0.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45)) brightness(1.06);
    transition: filter 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.college-logo-text:hover {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.55), 0 0 6px rgba(255,255,255,0.35);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.85)) brightness(1.15);
}
@media (max-width: 768px) {
    .college-logo-text { height: 24px; margin-left: 6px; padding: 3px 6px; }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 56px;
    width: auto;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.9;
}

.college-logo-container {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.college-logo-container a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.college-logo-container a:hover {
    transform: scale(1.05);
}

.college-logo-header {
    height: 64px;
    width: auto;
    border-radius: 8px;
    opacity: 0.9;
    filter: brightness(1.1);
    transition: opacity 0.3s ease;
    display: block;
}

.college-logo-header:hover {
    opacity: 1;
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Page Container */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    opacity: 0.8;
    /* Disable rotating background animation */
    animation: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-cyber);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 25%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg); 
        opacity: 0.1;
    }
    25% { 
        transform: translateY(-30px) translateX(30px) rotate(90deg); 
        opacity: 0.2;
    }
    50% { 
        transform: translateY(-60px) translateX(0px) rotate(180deg); 
        opacity: 0.1;
    }
    75% { 
        transform: translateY(-30px) translateX(-30px) rotate(270deg); 
        opacity: 0.2;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-glass);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
}

@keyframes gradient-shift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-logo {
    height: 80px;
    max-width: 60vw;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.8)); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 3rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.typing-text {
    opacity: 0.8;
}

.dynamic-text {
    color: var(--accent);
    font-weight: 600;
    min-width: 200px;
    text-align: left;
}

.cursor {
    color: var(--primary);
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.primary-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-cyber);
    position: relative;
    overflow: hidden;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.primary-cta:hover::before {
    left: 100%;
}

.secondary-cta {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-cta:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 15px;
    backdrop-filter: var(--blur-glass);
    min-width: 120px;
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

/* Features Section */
.features {
    max-width: 1400px;
    margin: 5rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Events Section */
.section-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.events-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: var(--light);
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-button.active {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.tab-button:hover {
    transform: translateY(-2px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

.event-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: var(--gradient);
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.leader-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s;
}

/* Special styling for faculty card */
.leader-card.faculty {
    border: 2px solid var(--secondary);
    box-shadow: 0 25px 60px rgba(236, 72, 153, 0.35);
    position: relative;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.12), rgba(255, 255, 255, 0.04));
}
.leader-card.faculty .leader-image {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-color: var(--secondary);
}
.faculty-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-2);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
}

.leader-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4);
}

.leader-image {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);
    object-fit: cover;
    background: var(--gradient);
}

.leader-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.leader-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.leader-bio {
    color: #cbd5e1;
    line-height: 1.6;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
    line-height: 1.8;
}

.about-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #cbd5e1;
    margin-top: 0.5rem;
}

/* Enhanced About Section Styles */

/* About Hero Section */
.about-hero {
    position: relative;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.about-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: aboutFloat 6s infinite ease-in-out;
    opacity: 0.6;
}

.about-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.about-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.about-particle:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.about-particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.about-particle:nth-child(5) {
    top: 30%;
    left: 90%;
    animation-delay: 3s;
    animation-duration: 9s;
}

@keyframes aboutFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

.about-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.about-hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 1.4rem;
    color: #cbd5e1;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-card, .vision-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.mission-card:hover::before, .vision-card:hover::before {
    left: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

.mission-icon, .vision-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.mission-card h3, .vision-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
}

/* Enhanced Stats Section */
.enhanced-stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
}

.stats-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.enhanced-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.enhanced-stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
}

.enhanced-stat-card .stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Technologies Section */
.technologies {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.tech-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.tech-category h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
}

.tech-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.tech-item span {
    color: #cbd5e1;
    font-weight: 500;
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.activity-card:hover::before {
    left: 100%;
}

.activity-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
    border-color: var(--primary);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.activity-card p {
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 1rem;
}

/* Join Us Section */
.join-us {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.join-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.join-us-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-us-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.join-benefits {
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.benefit-icon {
    font-size: 1.2rem;
    color: var(--success);
}

.benefit-item span:last-child {
    color: #cbd5e1;
    font-weight: 500;
}

.join-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.join-us-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    animation: floatAround 8s infinite ease-in-out;
    opacity: 0.8;
}

.elem-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.elem-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.elem-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.elem-4 {
    top: 40%;
    right: 40%;
    animation-delay: 6s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
    .about-hero {
        padding: 4rem 0 3rem;
    }
    
    .about-hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-card, .vision-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .enhanced-stat-card {
        padding: 2rem 1.5rem;
    }
    
    .enhanced-stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .join-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .join-us-text h2 {
        font-size: 2rem;
    }
    
    .join-actions {
        justify-content: center;
    }
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 5rem auto;
    max-width: 1200px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(99, 102, 241, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-form h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
}

.contact-form .cta-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Enhanced Thank You Page */
#thank-you {
    min-height: 100vh;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

#thank-you.active {
    display: flex;
}

.thank-you-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, var(--dark-lighter) 0%, var(--dark) 70%);
    z-index: -1;
}

.thank-you-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.success-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    opacity: 0;
    animation: successParticleFloat 4s ease-in-out infinite;
}

.success-particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.success-particle:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.success-particle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.success-particle:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.success-particle:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 2s;
}

.success-particle:nth-child(6) {
    top: 70%;
    right: 5%;
    animation-delay: 2.5s;
}

@keyframes successParticleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0px) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-50px) scale(1.2);
    }
}

.thank-you-container {
    background: var(--dark-card);
    backdrop-filter: var(--blur-glass);
    border: var(--border-glass);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: thankYouSlideIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

@keyframes thankYouSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.thank-you-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-cyber);
    animation: successGlow 2s ease-in-out infinite alternate;
}

@keyframes successGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.success-animation {
    margin-bottom: 2rem;
    position: relative;
}

.checkmark-container {
    position: relative;
    display: inline-block;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-cyber);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    animation: checkmarkScale 0.8s ease-out 0.3s both;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

@keyframes checkmarkScale {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.checkmark-circle {
    stroke-dasharray: 62.83; /* 2 * π * 10 */
    stroke-dashoffset: 62.83;
    animation: drawCircle 1s ease-out 0.5s both;
}

.checkmark-path {
    stroke-dasharray: 12;
    stroke-dashoffset: 12;
    animation: drawPath 0.6s ease-out 1.2s both;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.success-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: var(--gradient-cyber);
    opacity: 0.3;
    filter: blur(20px);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 0.6; transform: scale(1.1); }
}

.thank-you-content {
    animation: contentFadeIn 0.8s ease-out 0.8s both;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.thank-you-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 500;
}

.confirmation-details {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.confirmation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.confirmation-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.confirmation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.confirmation-text strong {
    color: var(--accent);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.confirmation-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.primary-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-cyber);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.primary-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    color: white;
}

.secondary-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary-action:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.social-connect {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-connect p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .thank-you-container {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .checkmark {
        width: 80px;
        height: 80px;
    }
    
    .confirmation-details {
        gap: 1.5rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .primary-action,
    .secondary-action {
        justify-content: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        min-width: 150px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thank-you-container {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .thank-you-subtitle {
        font-size: 1rem;
    }
    
    .confirmation-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .confirmation-icon {
        margin: 0;
    }
}

/* Ad Container */
.ad-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.ad-container ins {
    display: block !important;
    margin: 0 auto;
}

/* Responsive Ad Styling */
@media (max-width: 768px) {
    .ad-container {
        margin: 1.5rem auto;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .ad-container {
        margin: 1rem auto;
        padding: 0.75rem;
    }
}
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 5rem;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logos a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logos a:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: block;
}

.footer-logo:hover {
    opacity: 1;
}

.mad-logo {
    max-height: 50px;
}

.college-logo {
    max-height: 60px;
    filter: brightness(1.1);
}

.college-affiliation {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 800px;
        padding: 1.5rem;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .primary-cta,
    .secondary-cta {
        min-width: 200px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Hero stats: arrange in two neat columns on mobile */
    .hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-top: 1rem; align-items: stretch; }
    .stat-item { width: 100%; padding: 1rem; border-radius: 12px; }
    /* Make the last card span full width and centered for nicer balance */
    .hero-stats .stat-item:last-child { grid-column: 1 / -1; justify-self: center; max-width: 320px; }

    /* Features: attractive staggered layout on mobile */
    .features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; padding: 0 var(--container-pad); }
    .feature-card { padding: 1.25rem; }
    /* Make the 1st, 5th, 9th... cards full-width to create a nice rhythm */
    .feature-card:nth-child(4n+1) { grid-column: 1 / -1; }
    /* Subtle alternating accent for visual separation */
    .feature-card:nth-child(odd) { background: rgba(255,255,255,0.06); }
    .feature-card:nth-child(even) { background: rgba(255,255,255,0.04); }

    /* What We Do: similar staggered pattern */
    .activities-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; padding: 0 var(--container-pad); }
    .activity-card { padding: 1.25rem; }
    .activity-card:nth-child(4n+1) { grid-column: 1 / -1; }
    .activity-card:nth-child(odd) { background: rgba(255,255,255,0.06); }
    .activity-card:nth-child(even) { background: rgba(255,255,255,0.04); }
    /* Events cards */
    .events-grid { gap: 0.9rem; }
    .event-card { padding: 0; }
    .event-content { padding: 1rem; }
    .event-card h3 { font-size: 1.1rem; }
    .event-card p { font-size: 0.95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* Announcements */
    .announcements-container { padding: 1rem; }
    .announcement-card { padding: 1.25rem; }
    .announcement-title { font-size: 1.25rem; }
    .announcement-subject { font-size: 1rem; }
    .announcement-details { font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    /* About page cards */
    .mission-vision-grid { gap: 1.25rem; }
    .mission-card, .vision-card { padding: 2rem 1.5rem; }
    .mission-card h3, .vision-card h3 { font-size: 1.4rem; }
    .mission-card p, .vision-card p { font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    /* What we do */
    .activities-grid { gap: 1.25rem; }
    .activity-card { padding: 1.5rem; }
    .activity-card h3 { font-size: 1.2rem; }
    .activity-card p { font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    /* Feature cards (home) */
    .features { gap: 1rem; }
    .feature-card { padding: 1.5rem; }
    .feature-card h3 { font-size: 1.2rem; }
    .feature-card p { font-size: 0.95rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    /* Leadership card tweaks for mobile */
    .leader-card { padding: 1.25rem; }
    .leader-image { max-width: 150px; }
    .leader-name { font-size: 1.25rem; }
    .leader-role { font-size: 0.95rem; }
    .leader-bio { font-size: 0.95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    :root {
        --container-pad: 1rem;
    }

    body { -webkit-tap-highlight-color: transparent; }
    .no-scroll { overflow: hidden; }

    .nav-container { padding: 1rem var(--container-pad); }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.25rem var(--container-pad);
        gap: 0.75rem;
        border-radius: 0 0 16px 16px;
        border-top: 1px solid rgba(99, 102, 241, 0.3);
    }

    .nav-links a { padding: 0.5rem 0.25rem; }

    .nav-links.active { display: flex; animation: slideDown 0.25s ease; }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .mobile-menu-btn { display: block; padding: 0.5rem; border-radius: 8px; transition: all 0.3s; }
    .mobile-menu-btn:active { transform: scale(0.98); }

    .logo img { height: 28px; }
    .college-logo-header { height: 35px; }
    .college-logo-container { margin-right: 0.5rem; }
    .logo { gap: 0.5rem; }

    .hero-card { padding: 1.25rem; border-radius: 16px; }
    .hero h1 { font-size: 2.2rem; flex-direction: column; gap: 0.75rem; }
    .hero-logo { height: 64px; }

    .hero-subtitle { font-size: 1rem; flex-direction: column; text-align: center; }
    .dynamic-text { min-width: auto; text-align: center; }

    .hero-buttons { gap: 0.75rem; margin-bottom: 2rem; }
    .cta-button { width: 100%; max-width: 320px; text-align: center; padding: 0.85rem 1.25rem; }

    .hero-stats { flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
    .stat-item { min-width: auto; width: 100%; padding: 1rem; }
    .stat-number { font-size: 2rem; }

    .features { margin: 3rem auto; padding: 0 var(--container-pad); }
    .feature-card { padding: 1.5rem; }

    .section-container { padding: 0 var(--container-pad); }

.events-grid, .leadership-grid { grid-template-columns: repeat(2, 1fr); }
    /* .event-image height handled by aspect-ratio */

    .events-tabs { flex-direction: column; gap: 0.75rem; align-items: stretch; padding: 0 var(--container-pad); }
    .tab-button { min-width: 100%; text-align: center; }

    .contact-section { margin: 3rem var(--container-pad); padding: 2rem 1.25rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 1rem; }

    .about-hero { padding: 5rem 0 3rem; }
    .about-hero-title { font-size: 2.25rem; }
    .about-hero-subtitle { font-size: 1rem; }
    .mission-vision-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .footer-logos {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo { height: 40px; }
    .college-logo { max-height: 45px; }
    
    .college-affiliation {
        font-size: 0.8rem;
    }

    /* Toned-down animations on mobile */
    .shape { animation-duration: 30s; }
    .feature-card:hover, .event-card:hover, .leader-card:hover { transform: translateY(-4px); }
}

@media (max-width: 480px) {
    /* Events cards tighter */
    .events-grid { gap: 0.6rem; }
    .event-card h3 { font-size: 1rem; }
    .event-card p { -webkit-line-clamp: 3; line-clamp: 3; }

    /* Announcements tighter */
    .announcement-card { padding: 1rem; }
    .announcement-title { font-size: 1.1rem; }
    .announcement-subject { font-size: 0.95rem; }
    .announcement-details { -webkit-line-clamp: 3; line-clamp: 3; }

    /* About tighter */
    .mission-card, .vision-card { padding: 1.25rem; }
    .mission-card h3, .vision-card h3 { font-size: 1.2rem; }
    .mission-card p, .vision-card p { -webkit-line-clamp: 3; line-clamp: 3; }

    /* Activities tighter */
    .activity-card { padding: 1.25rem; }
    .activity-card h3 { font-size: 1.1rem; }
    .activity-card p { -webkit-line-clamp: 3; line-clamp: 3; }

    /* Features tighter */
    .feature-card { padding: 1.25rem; }
    .feature-card h3 { font-size: 1.1rem; }
    .feature-card p { -webkit-line-clamp: 3; line-clamp: 3; }
    /* Leadership card tighter layout for very small screens */
    .leader-card { padding: 1rem; }
    .leader-image { max-width: 120px; }
    .leader-name { font-size: 1.1rem; }
    .leader-role { font-size: 0.9rem; }
    .leader-bio { font-size: 0.9rem; -webkit-line-clamp: 2; line-clamp: 2; }
    .leader-card.faculty .leader-image { max-width: 160px; }
    .nav-container { padding: 0.75rem 0.85rem; }
    .logo img { height: 24px; }
    .college-logo-header { height: 30px; }
    .college-logo-container { margin-right: 0.25rem; }
    .logo { gap: 0.4rem; }
    .events-grid, .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .event-card, .leader-card { padding: 1rem; }
    .hero-content { padding: 0.75rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero-logo { height: 56px; }
    .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.85rem; }

    .cta-button { max-width: 100%; }

    .section-title { font-size: 1.75rem; }
    .feature-card, .leader-card, .contact-item { padding: 1.25rem; }

    /* sizes handled by aspect-ratio; optionally limit max-width for grid */
    .leader-image { max-width: 140px; }

    .contact-form { padding: 1.25rem; margin: 1.5rem 0.75rem 0; }
    .contact-section { padding: 1.5rem 0.75rem; margin: 2rem 0.75rem; }

    .loading-bar { width: 220px; }
    .loading-text { font-size: 1.6rem; }

    /* Disable heavy animations on very small screens */
    .shape { display: none; }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .shape,
    #particles-js {
        display: none;
    }
}


/* Scroll Animations */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Navigation */
nav {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Ripple Effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Card Effects */
.feature-card, .event-card, .leader-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

/* Enhanced Hover States */
.feature-card:hover,
.event-card:hover,
.leader-card:hover {
    box-shadow: 0 25px 80px rgba(99, 102, 241, 0.4);
}

/* Enhanced Button Animations */
.cta-button,
.tab-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-button::after,
.tab-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after,
.tab-button:hover::after {
    width: 300px;
    height: 300px;
}

/* Admin Styles */
.admin-access {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-access.show {
    opacity: 1;
}

.admin-btn {
    background: var(--gradient-2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.admin-btn.primary {
    background: var(--gradient-cyber);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.admin-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.admin-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
}

.admin-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.admin-modal-content {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    min-width: 400px;
    max-width: 90vw;
    backdrop-filter: var(--blur-glass);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-modal-header h2 {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.admin-modal-close:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.admin-form-group input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.admin-login-btn {
    width: 100%;
    background: var(--gradient-cyber);
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

/* Admin Dashboard */
.admin-dashboard {
    background: var(--dark);
    min-height: 100vh;
    padding-top: 100px;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header h1 {
    background: var(--gradient-cyber);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Announcement Form */
.announcement-form {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: var(--blur-glass);
    animation: fadeInUp 0.3s ease;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h3 {
    color: var(--accent);
    margin: 0;
}

.close-form-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-form-btn:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Announcements Display */
.announcements-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.announcement-card {
    background: var(--dark-card);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: var(--blur-glass);
    transition: all 0.3s;
    animation: fadeInUp 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.announcement-title {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.announcement-subject {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.announcement-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.announcement-details {
    color: var(--light);
    line-height: 1.6;
    margin: 1.5rem 0;
    white-space: pre-wrap;
}

.announcement-media {
    margin: 1.5rem 0;
}

.announcement-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-images img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
}

.announcement-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.announcement-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-videos iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.announcement-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.announcement-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.announcement-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Admin Announcements List */
.admin-announcements {
    margin-top: 3rem;
}

.admin-announcements h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-announcement-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s;
}

.admin-announcement-item:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.admin-announcement-info {
    flex: 1;
}

.admin-announcement-info h4 {
    color: var(--accent);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.admin-announcement-info p {
    color: var(--text-muted);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.admin-announcement-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-announcement-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.edit-btn {
    background: var(--gradient-cyber);
    color: white;
}

.edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.delete-btn {
    background: var(--gradient-2);
    color: white;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 72, 153, 0.3);
}

.loading-announcements,
.loading-admin-announcements {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
}

.no-announcements {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

/* Mobile Responsiveness for Admin */
@media (max-width: 768px) {
    .admin-access {
        right: 10px !important;
        top: 10px !important;
    }
    
    .admin-modal-content {
        min-width: auto;
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .admin-announcement-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-announcement-actions {
        width: 100%;
        justify-content: center;
    }
    
    .announcement-images {
        grid-template-columns: 1fr;
    }
    
    .announcement-videos {
        grid-template-columns: 1fr;
    }
}


/* Register Button Styles for Event Cards */
.event-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-cyber);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.register-btn svg {
    transition: transform 0.3s ease;
}

.register-btn:hover svg {
    transform: translateX(3px);
}


/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-card);
    position: relative;
    animation: popupSlide 0.4s ease;
    overflow: hidden;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close:hover {
    background: var(--error);
    transform: scale(1.1);
}

.popup-header {
    background: var(--gradient-cyber);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.popup-header h2 {
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.popup-body {
    padding: 2rem;
}

.popup-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.popup-btn.primary {
    background: var(--primary);
    color: white;
}

.popup-btn.secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-btn:hover {
    transform: translateY(-2px);
}

.popup-btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--glow-primary);
}

.popup-btn.secondary:hover {
    color: var(--light);
    border-color: var(--primary);
}

/* Event Content in Popup */
.event-info {
    text-align: center;
}

.event-info h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.event-info .event-date {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.event-info .event-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-info .event-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive popup styles */
@media (max-width: 768px) {
    .popup-content {
        margin: 1rem;
    }
    
    .popup-header,
    .popup-body {
        padding: 1.5rem;
    }
    
    .popup-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Live event badge and media wrapper */
.event-media { position: relative; }
.live-badge { position: absolute; top: 10px; left: 10px; background: rgba(255, 0, 0, 0.15); color: #ff4d4f; border: 1px solid rgba(255,77,79,0.5); padding: 6px 10px; border-radius: 999px; font-weight: 800; font-size: 0.8rem; display: inline-flex; align-items: center; gap: 6px; backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(255, 77, 79, 0.25); letter-spacing: 0.3px; }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); animation: pulseDot 1.5s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7); } 70% { box-shadow: 0 0 0 8px rgba(255, 77, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); } }
.join-live-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, #ff4d4f, #ff7a45); color: #fff; border: none; border-radius: 999px; padding: 0.75rem 1.5rem; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 6px 20px rgba(255, 77, 79, 0.3); }
.join-live-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 77, 79, 0.45); }

/* Live welcome overlay */
.live-overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 2000; background: radial-gradient(ellipse at center, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.98) 70%); overflow: hidden; }
.live-overlay.show { display: flex; }
.live-overlay-content { position: relative; text-align: center; padding: 2.5rem 1.75rem; max-width: 720px; width: 92%; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,0.45); animation: popIn 600ms cubic-bezier(.2,.9,.3,1.2) both; }
.live-burst { position: absolute; inset: -30%; background: radial-gradient(60% 60% at 50% 50%, rgba(99,102,241,0.25), transparent 60%), radial-gradient(50% 50% at 30% 40%, rgba(0,212,255,0.2), transparent 60%), radial-gradient(45% 45% at 70% 60%, rgba(236,72,153,0.2), transparent 60%); filter: blur(40px); animation: swirl 5s ease-in-out infinite alternate; }
.live-kicker { font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: #a5b4fc; margin-bottom: .75rem; position: relative; z-index: 1; }
.live-title { font-size: 2.2rem; margin: 0 0 .5rem; background: var(--gradient-cyber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; z-index: 1; }
.live-subtitle { color: #cbd5e1; font-size: 1rem; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.live-sparks { position: absolute; inset: 0; pointer-events: none; }
.live-sparks .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); opacity: 0; }
.live-sparks .s1 { top: 20%; left: 20%; animation: sparkFloat 5s ease-in-out infinite; }
.live-sparks .s2 { top: 70%; left: 60%; animation: sparkFloat 5s ease-in-out infinite .6s; }
.live-sparks .s3 { top: 40%; left: 80%; animation: sparkFloat 5s ease-in-out infinite 1.2s; }
@keyframes sparkFloat { 0%,100%{ transform: translate(0,0) scale(.6); opacity:.3 } 50%{ transform: translate(20px,-30px) scale(1); opacity:1 } }
@keyframes popIn { 0%{ transform: translateY(20px) scale(.96); opacity:0 } 100%{ transform: translateY(0) scale(1); opacity:1 } }
@keyframes swirl { 0%{ transform: rotate(0deg) scale(1)} 100%{ transform: rotate(8deg) scale(1.05)} }
.live-welcome-btn { position: relative; z-index: 1; margin-top: 1rem; padding: 0.85rem 1.75rem; border-radius: 999px; border: 2px solid var(--primary); background: transparent; color: var(--light); font-weight: 800; letter-spacing: .03em; cursor: pointer; transition: all .25s ease; opacity: .6; }
.live-welcome-btn:disabled { cursor: not-allowed; }
.live-overlay.ready .live-welcome-btn { opacity: 1; background: var(--gradient-cyber); border-color: transparent; box-shadow: 0 12px 36px rgba(99,102,241,.35); }
.live-overlay.ready .live-welcome-btn:hover { transform: translateY(-2px); }
.live-overlay-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 1.1rem; display: grid; place-items: center; cursor: pointer; transition: all .2s ease; z-index: 2; }
.live-overlay-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }

/* ---- Merged from home-enhancements.css ---- */
/* Featured Upcoming Event banner */
.featured-event-banner {
  margin: 2rem auto 0;
  max-width: 1000px;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.10));
  backdrop-filter: blur(10px);
  display: none;
}
.featured-event-banner .banner-inner { display: grid; grid-template-columns: 80px 1fr auto; gap: 1rem; align-items: center; }
.featured-event-banner .banner-icon { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: rgba(99, 102, 241, 0.15); color: #fff; font-size: 1.75rem; box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25); }
.featured-event-banner .banner-content h3 { margin: 0 0 0.25rem 0; font-size: 1.25rem; background: linear-gradient(135deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.featured-event-banner .banner-meta { display: flex; gap: 1rem; flex-wrap: wrap; color: #cbd5e1; font-size: 0.95rem; }
.featured-event-banner .banner-actions a { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.75rem 1.25rem; border: 2px solid var(--primary); color: var(--light); text-decoration: none; transition: all .25s ease; }
.featured-event-banner .banner-actions a.primary { background: var(--gradient-cyber); border-color: transparent; }
.featured-event-banner .banner-actions a:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35); }

/* Aurora overlays */
.aurora-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.aurora-bg::before,.aurora-bg::after{content:"";position:absolute;width:120%;height:120%;left:-10%;top:-10%;background:radial-gradient(60% 60% at 30% 40%, rgba(99,102,241,0.35), transparent 60%),radial-gradient(50% 50% at 70% 60%, rgba(0,212,255,0.25), transparent 60%),radial-gradient(45% 45% at 50% 20%, rgba(236,72,153,0.25), transparent 60%);filter:blur(40px) saturate(120%);animation:auroraMove 18s ease-in-out infinite alternate}
.aurora-bg::after{animation-duration:22s;animation-delay:-6s;transform:rotate(15deg) scale(1.05)}
@keyframes auroraMove{0%{transform:translateX(-4%) translateY(-2%) scale(1.05)}50%{transform:translateX(4%) translateY(2%) scale(1.07)}100%{transform:translateX(-2%) translateY(0%) scale(1.05)}}
.hero .floating-shapes{display:none}

.aurora-global{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.aurora-global::before,.aurora-global::after{content:"";position:absolute;width:140%;height:140%;left:-20%;top:-20%;background:radial-gradient(60% 60% at 25% 35%, rgba(99,102,241,0.18), transparent 60%),radial-gradient(55% 55% at 70% 65%, rgba(0,212,255,0.12), transparent 60%),radial-gradient(45% 45% at 50% 20%, rgba(236,72,153,0.14), transparent 60%);filter:blur(60px) saturate(120%);animation:auroraMove 28s ease-in-out infinite alternate}
.aurora-global::after{animation-duration:34s;animation-delay:-8s;transform:rotate(8deg) scale(1.05)}

/* Divider */
.section-divider{height:1px;margin:0 0 3rem 0;background:linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent)}

/* Hero card and CTA enhancements */
.hero-card{position:relative;max-width:900px;margin:0 auto;padding:2rem;border-radius:20px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.08);backdrop-filter:blur(12px);box-shadow:0 30px 80px rgba(0,0,0,0.25)}
.hero-card::before{content:"";position:absolute;inset:-1px;border-radius:22px;padding:1px;background:linear-gradient(135deg, rgba(99,102,241,0.6), rgba(236,72,153,0.6), rgba(0,212,255,0.6));-webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:heroBorderGlow 6s ease-in-out infinite alternate}
@keyframes heroBorderGlow{0%{opacity:.4;filter:blur(.5px)}50%{opacity:.8;filter:blur(1px)}100%{opacity:.5;filter:blur(.7px)}}
.hero .cta-button{will-change:transform}
.hero .cta-button.primary-cta{box-shadow:0 14px 40px rgba(99, 102, 241, 0.35)}
.hero .cta-button.primary-cta:hover{transform:translateY(-4px) scale(1.02)}
.hero .cta-button.secondary-cta{border-width:2px}
.hero .cta-button.secondary-cta:hover{transform:translateY(-4px)}
