/* ================================ */
/* BASE STYLES & IMPORTS            */
/* ================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ================================ */
/* CSS VARIABLES & THEMES           */
/* ================================ */

:root {
    /* Default Theme (Red/Pink) */
    --primary-color: #eb4747;
    --secondary-color: #F18383;
    --accent-color: #F6B3B3;
    --background-dark: #010101;
    --background-medium: #3C3838;
    --background-light: #7F7777;
    --card-bg-dark: rgba(60, 56, 56, 0.4);
    --card-bg-light: rgba(127, 119, 119, 0.3);
    --text-primary: #FEFEFE;
    --text-secondary: #d7af29;
    --text-accent: #ccb55b;
    --border-light: rgba(254, 254, 254, 0.1);
    --shadow-primary: rgba(235, 72, 71, 0.3);
    --shadow-secondary: rgba(241, 131, 131, 0.4);
    --overlay-primary: rgba(235, 72, 71, 0.3);
    --overlay-secondary: rgba(241, 131, 131, 0.2);
    --particle-1: rgba(235, 72, 71, 0.4);
    --particle-2: rgba(241, 131, 131, 0.35);
    --navbar-bg: rgba(1, 1, 1, 0.3);
    --navbar-bg-lw: rgba(1, 1, 1, 0.9)
}

/* Purple/Blue Theme */
[data-theme="purple"] {
    --primary-color: #7C3AED;
    --secondary-color: #3B82F6;
    --accent-color: #A855F7;
    --background-dark: #0A0A0F;
    --background-medium: #1a1a2e;
    --background-light: #16213e;
    --card-bg-dark: rgba(26, 26, 46, 0.4);
    --card-bg-light: rgba(22, 33, 62, 0.3);
    --text-primary: #F5F5F5;
    --text-secondary: #CFCFCF;
    --text-accent: #E5E7EB;
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-primary: rgba(124, 58, 237, 0.3);
    --shadow-secondary: rgba(59, 130, 246, 0.4);
    --overlay-primary: rgba(124, 58, 237, 0.3);
    --overlay-secondary: rgba(59, 130, 246, 0.2);
    --particle-1: rgba(124, 58, 237, 0.4);
    --particle-2: rgba(59, 130, 246, 0.35);
    --navbar-bg: rgba(10, 10, 15, 0.3);
    --navbar-bg-lw: rgba(10, 10, 15, 0.9)
}

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-medium) 50%, var(--background-light) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    perspective: 1000px;
    position: relative;
    transition: all 0.3s ease;
}

/* ================================ */
/* ANIMATED BACKGROUND EFFECTS      */
/* ================================ */

/* Moving gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--overlay-primary) 0%,
        var(--overlay-secondary) 25%,
        var(--card-bg-light) 50%,
        var(--overlay-primary) 75%,
        var(--background-dark) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -10;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, var(--particle-1) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, var(--particle-2) 2px, transparent 2px),
        radial-gradient(circle at 40% 40%, var(--particle-1) 2px, transparent 2px),
        radial-gradient(circle at 60% 90%, var(--particle-2) 2px, transparent 2px),
        radial-gradient(circle at 90% 60%, var(--particle-1) 2px, transparent 2px);
    background-size: 
        200px 200px,
        150px 150px,
        300px 300px,
        250px 250px,
        180px 180px;
    animation: floatParticles 30s linear infinite;
    z-index: -9;
    pointer-events: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* ================================ */
/* UTILITY CLASSES                  */
/* ================================ */

/* Visibility & Animation States */

.hidden {
    display: none !important;
}

.animate-on-scroll {
    opacity: 0;
    transition: all 1s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
}

/* ================================ */
/* BUTTON COMPONENTS                */
/* ================================ */

/* Theme Toggle Button */
.theme-toggle-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-primary);
    animation: themeButtonBounce 1.5s ease-in-out infinite;
}

.theme-toggle-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px var(--shadow-primary);
    border-width: 3px;
    border-color: var(--secondary-color);
    animation-play-state: paused; /* Pause bounce on hover */
}

/* Primary & Secondary Buttons */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--shadow-primary);
    transform: translateY(-2px);
}

.filter-btn {
    background: var(--card-bg-dark);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ================================ */
/* NAVIGATION                       */
/* ================================ */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.logo:hover .logo-text {
    color: var(--primary-color);
    font-size: 1.65rem;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    position: relative;
}

.logo:hover .logo-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--shadow-primary);
    transform: translate(-50%, -50%);
    animation: nav-pulse 2.5s ease-out;
    z-index: -1;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.join-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.join-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-secondary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================================ */
/* HERO SECTION                     */
/* ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    background: radial-gradient(ellipse at center, var(--shadow-primary) 0%, transparent 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    opacity: 0;
    animation: fadeInUp 1.5s ease 0.8s forwards;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse at center, var(--shadow-primary) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(20px);
}

.hero-text {
    flex: 1;
}

/* Glassmorphism Nameplate Title */
.hero-content h1 {
    font-size: 2.0rem;
    font-weight: 900;
    margin: 1rem auto;
    text-align: center;
    position: relative;
    display: inline-block;
    padding: 1.5rem 3rem;
    
    /* Glassmorphism nameplate background */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    
    /* 3D nameplate effects */
    box-shadow: 
        0 15px 35px var(--background-dark),
        0 8px 20px var(--shadow-primary),
        inset 0 2px 0 var(--border-light),
        inset 0 -2px 0 var(--background-dark);
    
    /* Text styling */
    color: var(--text-primary);
    text-shadow: 0 1px 2px var(--background-dark);
    
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
}

.hero-content h1:hover {
    transform: translateY(-3px) rotateX(8deg);
    box-shadow: 
        0 25px 50px var(--background-dark),
        0 15px 30px var(--shadow-secondary),
        0 8px 20px var(--shadow-primary),
        inset 0 2px 0 var(--border-light),
        inset 0 -2px 0 var(--background-dark);
    border-color: var(--shadow-primary);
}

.hero-content h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, var(--card-bg-dark), var(--card-bg-light));
    border-radius: 25px;
    z-index: -2;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-accent);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 500;
    text-shadow: 0 1px 2px var(--background-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Social Media Buttons */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    align-self: center;
    will-change: transform;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-btn:hover .social-icon {
    transform: scale(1.1);
}

/* Individual social button colors */
.social-btn.slack {
    background: rgba(74, 21, 75, 0.1);
    color: #E01E5A;
    border-color: rgba(224, 30, 90, 0.2);
}

.social-btn.slack:hover {
    background: rgba(74, 21, 75, 0.3);
    border-color: #E01E5A;
    box-shadow: 0 8px 25px rgba(224, 30, 90, 0.4);
}

.social-btn.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
    border-color: rgba(225, 48, 108, 0.2);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, rgba(225, 48, 108, 0.3), rgba(253, 29, 29, 0.3), rgba(245, 96, 64, 0.3));
    border-color: #E1306C;
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-btn.linkedin {
    background: rgba(10, 102, 194, 0.1);
    color: #0A66C2;
    border-color: rgba(10, 102, 194, 0.2);
}

.social-btn.linkedin:hover {
    background: rgba(10, 102, 194, 0.3);
    border-color: #0A66C2;
    box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4);
}

.social-btn.github {
    background: rgba(240, 246, 252, 0.1);
    color: #F0F6FC;
    border-color: rgba(240, 246, 252, 0.2);
}

.social-btn.github:hover {
    background: rgba(240, 246, 252, 0.3);
    border-color: #F0F6FC;
    box-shadow: 0 8px 25px rgba(240, 246, 252, 0.4);
}

/* Hero Logo with Pulsating Waves */
.hero-logo {
    display: flex;
    align-items: center;
    position: relative;
    opacity: 0;
    animation: fadeInRight 1.5s ease 1.2s forwards;
}

.hero-logo-image {
    height: 275px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px var(--shadow-primary));
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    will-change: transform, filter;
}

.hero-logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 16px 32px var(--shadow-secondary));
}

.hero-logo::before,
.hero-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--shadow-primary);
    transform: translate(-50%, -50%);
    animation: pulse-wave 5s ease-in-out infinite;
    z-index: 1;
}

.hero-logo::after {
    animation-delay: 2.5s;
    border-color: var(--shadow-secondary);
}

/* Upcoming Meetings Widget */
.upcoming-meetings {
    background: linear-gradient(145deg, var(--card-bg-dark), var(--card-bg-light));
    border-radius: 20px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    box-shadow: 
        0 8px 32px var(--background-dark),
        inset 0 1px 0 var(--border-light),
        inset 0 -1px 0 var(--background-dark);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInLeft 1.5s ease 1.6s forwards;
}

.upcoming-meetings::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.8s ease;
}

.upcoming-meetings:hover::before {
    left: 100%;
}

.upcoming-meetings:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 20px 40px var(--background-dark),
        0 10px 25px var(--shadow-primary),
        inset 0 1px 0 var(--border-light),
        inset 0 -1px 0 var(--background-dark);
}

.upcoming-meetings h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.event-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--card-bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.event-item:last-child {
    margin-bottom: 0;
}

.event-category {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.event-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ================================ */
/* GLASSMORPHISM CARD COMPONENTS    */
/* ================================ */

/* Base Card Styles */
.about-card,
.event-card,
.project-card,
.team-card {
    background: linear-gradient(145deg, var(--card-bg-dark), var(--card-bg-light));
    border-radius: 20px;
    padding: 2rem;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-light);
    box-shadow: 
        0 8px 32px var(--background-dark),
        inset 0 1px 0 var(--border-light),
        inset 0 -1px 0 var(--background-dark);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.about-card::before,
.event-card::before,
.project-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.about-card:hover::before,
.event-card:hover::before,
.project-card:hover::before,
.team-card:hover::before {
    left: 100%;
}

.about-card:hover,
.event-card:hover,
.project-card:hover,
.team-card:hover {
    transform: translateY(-10px) rotateX(10deg) scale(1.03);
    box-shadow: 
        0 25px 50px var(--background-dark),
        0 15px 35px var(--shadow-primary),
        inset 0 1px 0 var(--border-light),
        inset 0 -1px 0 var(--background-dark);
    border-color: var(--shadow-secondary);
    transition: all 0.2s ease-in-out;
}

/* Card Content Styles */
.about-card h3,
.event-card h3,
.project-card h3,
.team-card h3 {
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px var(--background-dark);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-card h3 {
    font-size: 1.5rem;
}

.project-card h3 {
    font-size: 1.25rem;
}

.team-card h3 {
    font-size: 1.25rem;
}

/* ================================ */
/* PAGE SECTIONS                    */
/* ================================ */

/* Section Base Styles */
.about,
.events,
.projects,
.team,
.join {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.join {
    max-width: 800px;
}

/* Section Headers */
.about h2,
.events h2,
.projects h2,
.team h2,
.join h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.events h2,
.team h2 {
    margin-bottom: 3rem;
}

/* About Section */
.about-description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    perspective: 1200px;
}

.about-card {
    text-align: center;
}

.about-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-accent);
    line-height: 1.6;
    font-weight: 500;
}

/* Events Section */
.event-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.events-grid {
    display: grid;
    gap: 2rem;
}

.event-meta {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Projects Section */
.projects-description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    perspective: 1200px;
}

.project-card {
    overflow: hidden;
}

.project-card::before {
    z-index: 1;
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--background-medium), var(--background-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-github {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-top: 1px solid var(--shadow-primary);
    padding-top: 1rem;
    margin-top: 1rem;
}

.project-github:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    perspective: 1200px;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-avatar:not(:has(img)) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
}

.team-role {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.team-major {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.team-email,
.team-linkedin {
    display: block;
    color: var(--primary-color);
    font-size: 0.75rem;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.team-linkedin {
    font-weight: 500;
}

.team-email:hover,
.team-linkedin:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Join Section */
.join-description {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--card-bg-dark);
    border: 1px solid var(--shadow-primary);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--shadow-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group.focused label {
    color: var(--primary-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.form-group.focused input,
.form-group.focused select,
.form-group.focused textarea {
    transform: scale(1.02);
    box-shadow: 0 0 0 3px var(--shadow-primary);
}

/* ================================ */
/* FOOTER                           */
/* ================================ */

.footer {
    background: var(--navbar-bg);
    padding: 2rem;
    margin-top: 5rem;
    border-top: 1px solid var(--shadow-primary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-logo:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.back-to-top-arrow {
    font-size: 2em;
    font-weight: 900;
    animation: pulseArrow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.footer-logo:hover .back-to-top-arrow {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ================================ */
/* ANIMATIONS & KEYFRAMES           */
/* ================================ */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatParticles {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(-10px) translateX(-15px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes nav-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

@keyframes pulse-wave {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    40% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes pulseArrow {
    0%, 100% {
        opacity: 0.7;
        transform: translateY(0px);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@keyframes themeButtonBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

/* ================================ */
/* RESPONSIVE MEDIA QUERIES         */
/* ================================ */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--navbar-bg-lw);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-logo-image {
        height: 180px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-buttons {
        justify-content: center;
        gap: 1rem;
    }

    .about h2,
    .events h2,
    .projects h2,
    .team h2,
    .join h2 {
        font-size: 2rem;
    }

    .about-cards,
    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .event-filters {
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .navbar {
        padding: 1rem;
    }

    .logo-image {
        height: 32px;
    }

    .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .about h2,
    .events h2,
    .projects h2,
    .team h2,
    .join h2 {
        font-size: 1.75rem;
    }
}