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

:root {
    /* Primary Colors from Logo */
    --primary-teal: #4ECDC4;
    --primary-dark-teal: #2FA29A;
    --primary-navy: #2C3E50;
    --primary-dark-navy: #1A252F;
    
    /* Secondary Colors */
    --secondary-light-teal: #7DD3D0;
    --secondary-medium-teal: #5EEAD4;
    --secondary-gray: #3E4C59;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FFFE;
    --gray: #64748B;
    --light-gray: #E8F4F3;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-dark-navy) 0%, var(--primary-dark-teal) 100%);
    --gradient-warm: linear-gradient(135deg, var(--primary-teal) 0%, var(--secondary-light-teal) 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--primary-navy);
    background-color: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Glassmorphism Effect */
.glassmorphism {
    background: rgba(255, 255, 255, 0.95);
    /* Removed backdrop-filter for better performance */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
}

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

.nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 70, 193, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    margin: 3px 0;
    transition: var(--transition-fast);
}

.nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    transition: width var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-mesh {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle at 20% 50%, rgba(78, 205, 196, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(47, 162, 154, 0.2) 0%, transparent 50%);
    animation: meshAnimation 20s ease infinite;
}

@keyframes meshAnimation {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    margin-top: 50px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    line-height: 1.7;
}

.highlight {
    color: var(--primary-teal);
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-cta-group .btn {
    min-width: 150px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
}

.btn-primary:hover {
    background: #3AB5A8;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(78, 205, 196, 0.3);
}

.btn-secondary {
    background: var(--primary-teal);
    color: white;
}

.btn-secondary:hover {
    background: #3AB5A8;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(78, 205, 196, 0.3);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left var(--transition-slow);
}

.btn-glow:hover::before {
    left: 100%;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
    z-index: 10;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-teal);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-teal);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    min-height: 500px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 3rem;
}

.lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.mission-box {
    padding: 2rem;
    margin-bottom: 2rem;
    background: rgba(78, 205, 196, 0.05);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: var(--radius-lg);
}

.mission-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-teal);
    font-size: 1.5rem;
}

.mission-box p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.about-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Network Visualization */
.network-container {
    position: relative;
    width: 100%;
    height: 450px;
    flex: 1;
    min-height: 450px;
}

.network-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.network-lines {
    opacity: 0.4;
}

.network-line {
    stroke: url(#gradient-teal);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.network-line:hover {
    opacity: 0.8;
    stroke-width: 3;
}

/* Signal animation along lines */
.network-signal {
    fill: var(--primary-teal);
    filter: drop-shadow(0 0 6px rgba(78, 205, 196, 0.8));
}

@keyframes signal-move {
    from {
        offset-distance: 0%;
    }
    to {
        offset-distance: 100%;
    }
}

/* Gradient definition will be added to SVG */
.network-dot {
    fill: var(--primary-teal);
    opacity: 0.6;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { 
        r: 3;
        opacity: 0.6;
    }
    50% { 
        r: 5;
        opacity: 1;
    }
}

.network-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.network-node {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    background: white;
    border: 2px solid var(--primary-teal);
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.network-node span {
    position: relative;
    z-index: 2;
    color: var(--primary-navy);
}

/* Node types */
.node-core {
    background: linear-gradient(135deg, #4ECDC4, #44A5A0);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

.node-core span {
    color: white;
}

.node-primary {
    background: rgba(78, 205, 196, 0.1);
    border-width: 2px;
}

.node-secondary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(78, 205, 196, 0.5);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.node-tertiary {
    background: rgba(107, 70, 193, 0.05);
    border-color: rgba(107, 70, 193, 0.3);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.node-small {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

.prism-face {
    position: absolute;
    width: 300px;
    height: 300px;
    /* Removed backdrop-filter for better performance */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 205, 196, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Face-specific gradients for glass effect */
.face-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(50%, 50%) rotate(0deg); }
}

.face-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    text-align: center;
}

.prism-face h4 {
    color: var(--primary-navy);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.skill-items::-webkit-scrollbar {
    width: 4px;
}

.skill-items::-webkit-scrollbar-track {
    background: rgba(78, 205, 196, 0.1);
    border-radius: 2px;
}

.skill-items::-webkit-scrollbar-thumb {
    background: rgba(78, 205, 196, 0.3);
    border-radius: 2px;
}

.skill-items span {
    background: rgba(78, 205, 196, 0.15);
    color: var(--primary-navy);
    padding: 0.4rem 0.8rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.3);
    /* Removed backdrop-filter for better performance */
    transition: all 0.3s ease;
    white-space: nowrap;
}

.skill-items span:hover {
    background: rgba(78, 205, 196, 0.25);
    transform: scale(1.05);
}

.core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.core-item {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
}

/* Position each face */
.prism-face-front {
    transform: rotateY(0deg) translateZ(150px);
}

.prism-face-back {
    transform: rotateY(180deg) translateZ(150px);
}

.prism-face-right {
    transform: rotateY(90deg) translateZ(150px);
}

.prism-face-left {
    transform: rotateY(-90deg) translateZ(150px);
}

.prism-face-top {
    transform: rotateX(90deg) translateZ(150px);
}

.prism-face-bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

/* Light refraction effects */
.prism-light {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.prism-light-1 {
    background: radial-gradient(
        circle at 30% 30%,
        rgba(78, 205, 196, 0.3) 0%,
        transparent 50%
    );
    animation: lightMove1 8s ease-in-out infinite;
}

.prism-light-2 {
    background: radial-gradient(
        circle at 70% 70%,
        rgba(44, 62, 80, 0.2) 0%,
        transparent 50%
    );
    animation: lightMove2 10s ease-in-out infinite;
}

.prism-light-3 {
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: lightMove3 6s linear infinite;
}

@keyframes lightMove1 {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.8; }
}

@keyframes lightMove2 {
    0%, 100% { transform: rotate(0deg) translateX(0); opacity: 0.3; }
    50% { transform: rotate(-90deg) translateX(20px); opacity: 0.6; }
}

@keyframes lightMove3 {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

/* Hover effect */
.prism:hover {
    animation-play-state: paused;
}

.prism-face:hover .face-gradient {
    animation-duration: 1s;
}





@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(8px, -10px) rotate(2deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(1deg); }
    50% { transform: translate(-6px, -8px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(-1deg); }
    50% { transform: translate(5px, -12px) rotate(1deg); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(-7px, -9px) rotate(-2deg); }
}

/* Primary cards (tech focused) */


/* Position additional cards */
.card-5 {
    top: 5%;
    left: 35%;
    animation: float5 10s ease-in-out infinite;
}

.card-6 {
    top: 35%;
    left: 8%;
    animation: float6 11s ease-in-out infinite;
}

.card-7 {
    top: 30%;
    right: 10%;
    animation: float7 9s ease-in-out infinite;
}

.card-8 {
    top: 55%;
    left: 25%;
    animation: float8 12s ease-in-out infinite;
}

.card-9 {
    bottom: 8%;
    left: 30%;
    animation: float9 10s ease-in-out infinite;
}

.card-10 {
    bottom: 30%;
    right: 20%;
    animation: float10 11s ease-in-out infinite;
}

.card-11 {
    top: 50%;
    right: 35%;
    animation: float11 13s ease-in-out infinite;
}

.card-12 {
    bottom: 45%;
    left: 15%;
    animation: float12 9s ease-in-out infinite;
}

/* Additional float animations */
@keyframes float5 {
    0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
    50% { transform: translate(6px, -11px) rotate(1.5deg); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) rotate(1deg); }
    50% { transform: translate(-7px, -9px) rotate(-1deg); }
}

@keyframes float7 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(9px, -8px) rotate(2deg); }
}

@keyframes float8 {
    0%, 100% { transform: translate(0, 0) rotate(1.5deg); }
    50% { transform: translate(-5px, -10px) rotate(-1.5deg); }
}

@keyframes float9 {
    0%, 100% { transform: translate(0, 0) rotate(-1deg); }
    50% { transform: translate(7px, -12px) rotate(1deg); }
}

@keyframes float10 {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(-8px, -7px) rotate(-2deg); }
}

@keyframes float11 {
    0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
    50% { transform: translate(6px, -9px) rotate(1.5deg); }
}

@keyframes float12 {
    0%, 100% { transform: translate(0, 0) rotate(1deg); }
    50% { transform: translate(-6px, -11px) rotate(-1deg); }
}

/* Additional cards positioning */
.card-13 {
    top: 15%;
    left: 55%;
    animation: float13 11s ease-in-out infinite;
}

.card-14 {
    bottom: 20%;
    left: 50%;
    animation: float14 12s ease-in-out infinite;
}

.card-15 {
    top: 25%;
    left: 20%;
    animation: float15 10s ease-in-out infinite;
}

.card-16 {
    top: 40%;
    right: 25%;
    animation: float16 13s ease-in-out infinite;
}

.card-17 {
    top: 70%;
    left: 40%;
    animation: float17 9s ease-in-out infinite;
}

.card-18 {
    bottom: 5%;
    right: 35%;
    animation: float18 11s ease-in-out infinite;
}

.card-19 {
    top: 60%;
    right: 50%;
    animation: float19 14s ease-in-out infinite;
}

.card-20 {
    top: 75%;
    right: 15%;
    animation: float20 10s ease-in-out infinite;
}

/* Additional float animations */
@keyframes float13 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(8px, -10px) rotate(2deg); }
}

@keyframes float14 {
    0%, 100% { transform: translate(0, 0) rotate(1.5deg); }
    50% { transform: translate(-7px, -8px) rotate(-1.5deg); }
}

@keyframes float15 {
    0%, 100% { transform: translate(0, 0) rotate(-1deg); }
    50% { transform: translate(6px, -11px) rotate(1deg); }
}

@keyframes float16 {
    0%, 100% { transform: translate(0, 0) rotate(2deg); }
    50% { transform: translate(-8px, -9px) rotate(-2deg); }
}

@keyframes float17 {
    0%, 100% { transform: translate(0, 0) rotate(-1.5deg); }
    50% { transform: translate(7px, -10px) rotate(1.5deg); }
}

@keyframes float18 {
    0%, 100% { transform: translate(0, 0) rotate(1deg); }
    50% { transform: translate(-6px, -12px) rotate(-1deg); }
}

@keyframes float19 {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(9px, -8px) rotate(2deg); }
}

@keyframes float20 {
    0%, 100% { transform: translate(0, 0) rotate(1.5deg); }
    50% { transform: translate(-5px, -11px) rotate(-1.5deg); }
}


/* Why Join Section */
.why-join {
    background: linear-gradient(180deg, var(--off-white) 0%, white 50%, var(--off-white) 100%);
}

.initiatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.initiative-card {
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 380px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
    border-radius: 24px;
    transform: translateZ(0); /* Force GPU acceleration */
    will-change: transform;
    transition: transform 0.2s ease;
    overflow: hidden;
    backface-visibility: hidden; /* Prevent flicker */
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.initiative-card:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 40px rgba(78, 205, 196, 0.15);
}

.initiative-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(107, 70, 193, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-icon svg {
    color: var(--primary-teal);
    transition: transform 0.2s ease;
    will-change: transform;
}

.initiative-card:hover .card-icon svg {
    transform: scale(1.05);
}

.initiative-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0;
}

.initiative-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding: 0 1rem;
}

.initiative-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

.initiative-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.initiative-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--primary-teal), #3AB5A8);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-small:hover {
    background: linear-gradient(135deg, #3AB5A8, var(--primary-teal));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.3);
}

/* Events Section */
.events-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.featured-event {
    padding: 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
}

.event-date {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    font-weight: 600;
}

.event-details {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.event-details span {
    color: var(--gray);
}

.event-countdown {
    margin: 2rem 0;
}

.countdown {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.time-unit {
    text-align: center;
}

.time-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
}

.time-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.events-calendar {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar-items {
    margin-top: 1.5rem;
}

.calendar-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.calendar-item:last-child {
    border-bottom: none;
}

.calendar-item .date {
    font-weight: 700;
    color: var(--primary-teal);
}

/* New Events Section Layout */
.events-main-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Current Event Panel */
.current-event-panel {
    padding: 2.5rem;
    position: relative;
}

.current-event-panel h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.detail-item svg {
    color: var(--primary-teal);
    flex-shrink: 0;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.event-badge-small {
    display: inline-block;
    background: var(--primary-teal);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.event-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.event-details-link {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.event-details-link:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Events Sidebar */
.events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

/* Countdown Card */
.countdown-card {
    padding: 2rem;
    text-align: center;
}

.countdown-card h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.time-unit {
    text-align: center;
}

.time-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* Upcoming Events Card */
.upcoming-events-card {
    padding: 2rem;
}

.upcoming-events-card h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.upcoming-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upcoming-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.upcoming-date {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
}

.upcoming-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.upcoming-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.upcoming-info h5 {
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.upcoming-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Past Events Section */
.past-events-section {
    margin-top: 3rem;
}

.events-section-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(78, 205, 196, 0.2);
}

.past-events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
}

.event-date-tag {
    background: var(--primary-teal);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date-tag.past {
    background: #999;
    opacity: 0.8;
}

.event-date-tag .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date-tag .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-card-content {
    flex: 1;
}

.event-card-content h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.event-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-link {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.event-link:hover {
    text-decoration: underline;
}

/* Testimonials Section */
.testimonials {
    background: var(--light-gray);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    padding: 3rem;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.testimonial-card.active {
    opacity: 1;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-teal);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: var(--primary-navy);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray);
    font-size: 0.875rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray);
    opacity: 0.3;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    opacity: 1;
    background: var(--primary-teal);
}

/* Join Section */
.join-section {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
}

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

.join-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.join-card:hover {
    transform: translateY(-10px);
}

.join-card.featured {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-warm);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.join-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-teal);
}

.join-icon svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    transition: all var(--transition-normal);
}

.join-card:hover .join-icon svg {
    transform: scale(1.1);
    stroke: var(--primary-navy);
}

.join-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-navy);
}
.join-card p {
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: var(--primary-dark-navy);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-brand h3,
.footer-socials h3 {
    margin-bottom: 1rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

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

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

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


.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
    
    .logo-img {
        height: 40px;
        width: 40px;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        display: none;
    }

    .events-wrapper {
        grid-template-columns: 1fr;
    }

    .featured-event {
        grid-template-columns: 1fr;
    }

    .event-date {
        width: fit-content;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-brand {
        text-align: center;
    }

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

    
    /* Network visualization responsive */
    .network-container {
        height: 400px;
        min-height: 400px;
    }
    
    .network-node {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .node-core {
        font-size: 1rem !important;
        padding: 0.8rem 1.5rem !important;
    }

    /* Critical mobile fixes for navigation */
    .nav-container {
        padding: 0.75rem 1rem;
        max-width: 100%;
    }

    /* Fix container padding on mobile */
    .container {
        padding: 0 1rem;
    }

    /* Critical fix: Events main layout - convert to single column */
    .events-main-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Events sidebar - stack vertically */
    .events-sidebar {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    /* Current event panel mobile optimization */
    .current-event-panel {
        padding: 1.5rem;
    }

    .current-event-panel h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .event-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .event-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .event-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .event-actions .btn {
        width: 100%;
        text-align: center;
    }

    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Countdown card mobile optimization */
    .countdown-card {
        padding: 1.5rem;
        width: 100%;
    }

    .countdown-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .time-value {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.75rem;
    }

    /* Upcoming events card mobile optimization */
    .upcoming-events-card {
        padding: 1.5rem;
        width: 100%;
    }

    .upcoming-events-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .upcoming-list {
        gap: 1rem;
    }

    .upcoming-date {
        min-width: 50px;
        padding: 0.5rem;
    }

    .upcoming-date .month {
        font-size: 0.7rem;
    }

    .upcoming-date .day {
        font-size: 1.1rem;
    }

    .upcoming-info h5 {
        font-size: 0.95rem;
    }

    .upcoming-info p {
        font-size: 0.85rem;
    }

    /* Glassmorphism cards mobile padding */
    .glassmorphism {
        padding: 1.5rem;
    }

    /* Initiative cards mobile layout */
    .initiatives-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mission box mobile */
    .mission-box {
        padding: 1.5rem;
    }

    /* Section headers mobile */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Past events grid already handled but ensure it's working */
    .past-events-grid {
        grid-template-columns: 1fr;
    }

    /* Event card mobile optimization */
    .event-card {
        padding: 1.5rem;
    }

    /* Detail items mobile spacing */
    .detail-item {
        font-size: 0.9rem;
    }

    /* Ensure no horizontal overflow */
    body {
        overflow-x: hidden;
    }

    * {
        max-width: 100%;
    }
}

/* Combined Events Section Styles */
.next-event-wrapper {
    margin-bottom: 4rem;
}

.next-event {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-event-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.next-event-info h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.events-section-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-teal);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
}

.event-date-tag {
    background: var(--primary-teal);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date-tag.past {
    background: #999;
    opacity: 0.8;
}

.event-date-tag .month {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date-tag .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-card-content {
    flex: 1;
}

.event-card-content h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.event-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-link {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.event-link:hover {
    text-decoration: underline;
}

.past-event-card {
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.past-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.past-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.2);
}

.past-event-card:hover::before {
    transform: scaleX(1);
}

.event-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.event-date-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-sm);
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.event-date-badge .month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.25rem 0;
}

.event-date-badge .year {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
}

.event-header h3 {
    flex: 1;
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin: 0;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--gray);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-description {
    margin-bottom: var(--spacing-md);
}

.event-description p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

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

.speaker-quote {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(44, 62, 80, 0.05) 100%);
    border-left: 4px solid var(--primary-teal);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    position: relative;
}

.speaker-quote cite {
    display: block;
    margin-top: var(--spacing-sm);
    font-style: normal;
    font-weight: 600;
    color: var(--primary-dark-teal);
    text-align: right;
}

.event-sponsors {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(100, 116, 139, 0.1);
    font-size: 0.875rem;
    color: var(--gray);
}

.sponsor-label {
    font-weight: 600;
    color: var(--primary-navy);
    margin-right: 0.5rem;
}

/* Footer Email Signup Styles */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-signup {
    flex: 1;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.08), rgba(107, 70, 193, 0.04));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.footer-socials {
    flex: 0 0 auto;
    text-align: center;
}

.footer-signup h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.footer-signup p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.email-form {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.2);
}

.email-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.email-submit:hover {
    background: var(--primary-dark-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
}

.form-message {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.success {
    color: var(--primary-teal);
    opacity: 1;
}

.form-message.error {
    color: #ff6b6b;
    opacity: 1;
}

/* Responsive styles for past events */
@media (max-width: 768px) {
    .past-events-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .past-event-card {
        padding: var(--spacing-md);
    }
    
    .event-header {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .event-date-badge {
        align-self: flex-start;
    }
    
    .event-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-signup {
        padding: 2rem 1.5rem;
        width: 100%;
    }
    
    .footer-socials {
        width: 100%;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .email-input {
        width: 100%;
    }
}

/* Extra small devices (phones smaller than 480px) */
@media (max-width: 480px) {
    /* Even smaller padding for very small phones */
    .nav-container {
        padding: 0.5rem 0.75rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    /* Reduce font sizes for very small screens */
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .current-event-panel h3 {
        font-size: 1.25rem;
    }
    
    /* Smaller countdown numbers */
    .time-value {
        font-size: 1.75rem;
    }
    
    /* Smaller padding for cards */
    .glassmorphism {
        padding: 1rem;
    }
    
    .current-event-panel {
        padding: 1rem;
    }
    
    .countdown-card {
        padding: 1rem;
    }
    
    .upcoming-events-card {
        padding: 1rem;
    }
    
    /* Adjust button sizes */
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Ensure hamburger menu is visible */
    .nav-toggle {
        margin-right: 0;
    }
}

/* Interactive Network Visualization - Clean Design */
#network-visualization.network-container {
    background: linear-gradient(135deg, #f0fdfa 0%, #f1f5f9 100%);
    border-radius: 20px;
    height: 600px;
    min-height: 600px;
    position: relative;
}

.network-link {
    stroke: #cbd5e1;
    stroke-opacity: 0.3;
    fill: none;
    transition: all 0.3s ease;
}

.network-link.highlight {
    stroke: #14b8a6;
    stroke-opacity: 0.8;
    stroke-width: 2 !important;
}

.network-link.strong {
    stroke-width: 2;
}

.network-link.medium {
    stroke-width: 1.5;
}

.network-link.weak {
    stroke-width: 1;
}

.network-node-group {
    cursor: grab;
}

.network-node-group.dragging {
    cursor: grabbing;
}

.network-node-pill {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.network-node-group:hover .network-node-pill {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transform: scale(1.05);
}

.network-node-label {
    pointer-events: none;
    user-select: none;
    font-size: 13px;
    font-weight: 500;
    fill: white;
    text-anchor: middle;
    dominant-baseline: middle;
}

/* Node category colors - Different shades of teal */
.node-core { 
    fill: #0d9488; /* Darkest teal */
}

.node-concept { 
    fill: #14b8a6; /* Medium-dark teal */
}

.node-technology { 
    fill: #2dd4bf; /* Medium teal */
}

.node-industry { 
    fill: #5eead4; /* Light teal */
}

.node-role { 
    fill: #99f6e4; /* Lightest teal */
}

/* Darker text for lighter backgrounds */
.node-industry .network-node-label,
.node-role .network-node-label {
    fill: #134e4a;
}

/* Tooltip */
.network-tooltip {
    position: absolute;
    padding: 12px 16px;
    background: white;
    color: #1e293b;
    border-radius: 12px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.network-tooltip.visible {
    opacity: 1;
}

.network-tooltip h4 {
    margin: 0 0 4px 0;
    color: #0d9488;
    font-size: 15px;
    font-weight: 600;
}

.network-tooltip p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
}