@import url('./colors.css');
@import url('./typography.css');
@import url('./components.css');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

/* Base styles */
:root {
  --primary: #8554C8;
  --primary-dark: #542C8A;
  --secondary: #00A085;
  --secondary-light: #00D3B0;
  --meteorite-200: #A17AD5;
  --meteorite-100: #BCA1E1;
  --meteorite-50: #CAB4E7;
  --caribbean-green-50: #B9FFF3;
  --greyscale-title: #0A0B0B;
  --greyscale-body: #222626;
  --greyscale-negative: #fff;
  --framework-1: #EF6163;
  --framework-2: #5380D5;
  --framework-3: #6C38B1;
  --focus-bg: linear-gradient(180deg, var(--primary-dark) 26%, var(--primary) 100%);
  --focus-title: #00D3B0;
  --focus-text: #fff;
  --cta-bg: var(--meteorite-50);
  --bg: #FFF;
  --text: #222;
  --muted: #666;
  --hero-bg: #f8f8ff;
  --focus-1: #EF6163;
  --focus-2: #5380D5;
  --focus-3: #6C38B1;
  --focus-4: #3EC6B6;
  --footer-bg: #f8f8ff;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --navbar-height: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--greyscale-body);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  font-family: 'Manrope', Helvetica, Arial, sans-serif;
  font-weight: 600;
  margin: 0 0 0.5em 0;
}
h1 { font-size: 48px; color: var(--greyscale-title); line-height: 72px; }
/* Desktop section headings: 40px */
h2 { font-size: 40px; color: var(--greyscale-title); line-height: 60px; }
h3 { font-size: 33px; color: var(--greyscale-body); line-height: 49.5px; font-weight: 600; }
h4 { font-size: 28px; color: var(--greyscale-title); line-height: 42px; font-weight: 800; }

body, p, ul, li, a, button, input, textarea {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--greyscale-body);
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 22px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.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 var(--transition-medium);
}

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

.btn.primary {
    background: linear-gradient(150deg, var(--secondary-light) 32%, var(--secondary) 100%);
    color: #fff;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(0, 160, 133, 0.3);
}

.btn.primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 133, 0.4);
}

.btn.secondary {
  background: rgba(133, 84, 200, 0.15);
  color: var(--primary);
  border: 2px solid rgba(133, 84, 200, 0.3);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: rgba(133, 84, 200, 0.25);
  color: var(--primary);
  border-color: rgba(133, 84, 200, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(133, 84, 200, 0.4);
}

/* Hero section secondary button with inverted colors */
.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}



/* Header/Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  padding: 1rem 7.5vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: transform var(--transition-medium), background-color var(--transition-medium);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 85px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.7);
}

.header.nav-hidden {
  transform: translateY(-100%);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 39.33px;
  font-family: 'Manrope', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--greyscale-title);
  line-height: 16.22px;
}
.logo img {
  max-height: 3.5rem;
  height: auto;
  width: auto;
  display: block;
  transition: transform var(--transition-medium);
}
.logo:hover img {
  transform: scale(1.05);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: max(1rem, 2vw);
    justify-content: flex-end;
    margin-right: 0;
}
.nav a {
  color: var(--greyscale-body);
  text-decoration: none;
  font-size: 18px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 30.4px;
  transition: all var(--transition-medium);
  padding: 8px 16px 0 16px;
  border-radius: 8px;
  position: relative;
}
.nav a:hover, .nav a:focus {
  color: var(--primary);
  transform: translateY(-1px);
}
.nav a.active {
  color: var(--primary);
  font-weight: 700;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-medium);
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

body { min-width: 320px; }

.container {
    width: 90%;
    margin: 0 auto;
}
header {
    background: #FFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 1.5rem 0 1rem 0;
}
.hero {
    padding: 10vh 7.5vw 0 7.5vw;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 60px 60px;
    clip-path: ellipse(120% 100% at 50% 0%);
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    animation: programFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: programFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 1;
}



/* Translucent Tulip Petals in Corners */
.petal-animation {
    position: absolute;
    width: 600px;
    height: 600px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
}

.petal-group-1 {
    top: -150px;
    right: -100px;
    animation: organicFloat1 20s ease-in-out infinite;
}

.petal-group-2 {
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    opacity: 0.6;
    animation: organicFloat2 25s ease-in-out infinite;
    animation-delay: -10s;
}

.organic-petal {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%);
    border-radius: 50% 80% 60% 70%;
    backdrop-filter: blur(2px);
    animation: organicBreath 12s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

.petal-group-1 .petal-a {
    width: 250px;
    height: 350px;
    top: 50px;
    left: 80px;
    transform: rotate(-25deg);
    animation-delay: 0s;
}

.petal-group-1 .petal-b {
    width: 180px;
    height: 280px;
    top: 200px;
    left: 250px;
    transform: rotate(45deg);
    animation-delay: -3s;
}

.petal-group-1 .petal-c {
    width: 120px;
    height: 200px;
    top: 100px;
    left: 350px;
    transform: rotate(-60deg);
    animation-delay: -6s;
}

.petal-group-2 .petal-a {
    width: 200px;
    height: 300px;
    bottom: 80px;
    left: 50px;
    transform: rotate(35deg);
    animation-delay: -2s;
}

.petal-group-2 .petal-b {
    width: 160px;
    height: 240px;
    bottom: 150px;
    left: 200px;
    transform: rotate(-40deg);
    animation-delay: -5s;
}

.petal-group-2 .petal-c {
    width: 100px;
    height: 160px;
    bottom: 50px;
    left: 300px;
    transform: rotate(70deg);
    animation-delay: -8s;
}

@keyframes heroBackgroundFloat {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translate(25px, -20px) rotate(45deg) scale(1.15);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-15px, 15px) rotate(90deg) scale(0.9);
        opacity: 1.2;
    }
    75% { 
        transform: translate(20px, -25px) rotate(135deg) scale(1.1);
        opacity: 0.9;
    }
}

@keyframes innovationFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes radiationPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes lightbulbGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
    }
}

@keyframes organicFloat1 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-20px) translateX(15px) rotate(5deg) scale(1.05);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) translateX(25px) rotate(10deg) scale(0.95);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(10px) translateX(10px) rotate(-5deg) scale(1.02);
        opacity: 0.65;
    }
}

@keyframes organicFloat2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.5;
    }
    30% { 
        transform: translateY(15px) translateX(-20px) rotate(-8deg) scale(1.08);
        opacity: 0.6;
    }
    60% { 
        transform: translateY(-5px) translateX(-30px) rotate(-15deg) scale(0.92);
        opacity: 0.4;
    }
    90% { 
        transform: translateY(20px) translateX(-10px) rotate(12deg) scale(1.03);
        opacity: 0.55;
    }
}

@keyframes organicBreath {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    33% { 
        transform: scale(1.15) rotate(2deg);
        opacity: 0.8;
    }
    66% { 
        transform: scale(0.9) rotate(-1deg);
        opacity: 0.4;
    }
}
.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    z-index: 4;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.discover-highlight {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 4;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-belief {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    position: relative;
    z-index: 4;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    position: relative;
    z-index: 4;
    flex-wrap: wrap;
}

/* Two Column Hero Layout */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 0 2rem;
}

.hero-text-column {
    flex: 1;
    text-align: left;
    max-width: 500px;
}

.hero-svg-column {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Innovation Icon Styles */
.hero-innovation-icon {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.innovation-svg {
    width: 350px;
    height: 420px;
    animation: innovationFloat 4s ease-in-out infinite;
}

.radiation-lines {
    animation: radiationPulse 3s ease-in-out infinite;
    transform-origin: 100px 85px;
}

.lightbulb {
    animation: lightbulbGlow 2.5s ease-in-out infinite;
}

.supporting-hands {
    transition: transform 0.3s ease;
}

/* Hero Images Collage */
.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 140%;
    height: 100vh;
    overflow: visible;
    pointer-events: auto;
    z-index: 4;
    transform: translateX(-15%) translateY(-45%);
}

.hero-image-item {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    z-index: 1;
    pointer-events: auto;
}

.hero-image-item:hover {
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.hero-image-item:hover .hero-img {
    transform: scale(1.08);
}

/* Collage positioning with overlapping layout - MORE SPREAD OUT & BALANCED */
.collage-img-1 {
    width: 380px;
    height: 250px;
    top: 8%;
    left: 15%;
    z-index: 5;
    animation: floatIn1 2s ease-out 0.5s forwards, floatMove1 8s ease-in-out 2.5s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

.collage-img-2 {
    width: 280px;
    height: 380px;
    top: 55%;
    right: 5%;
    z-index: 4;
    animation: floatIn2 2s ease-out 1s forwards, floatMove2 10s ease-in-out 3s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

.collage-img-3 {  
    width: 350px;
    height: 230px;
    top: 35%;
    right: 5%;
    z-index: 3;
    animation: floatIn3 2s ease-out 1.5s forwards, floatMove3 12s ease-in-out 3.5s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

.collage-img-4 {
    width: 300px;
    height: 380px;
    top: 62%;
    left: 18%;
    z-index: 2;
    animation: floatIn4 2s ease-out 2s forwards, floatMove4 9s ease-in-out 4s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

/* .collage-img-5 {
    width: 320px;
    height: 210px;
    top: 85%;
    right: 12%;
    z-index: 6;
    animation: floatIn5 2s ease-out 2.5s forwards, floatMove5 11s ease-in-out 4.5s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
} */

.collage-img-6 {
    width: 260px;
    height: 340px;
    top: 12%;
    left: 65%;
    z-index: 3;
    animation: floatIn6 2s ease-out 3s forwards, floatMove6 9s ease-in-out 5s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

.collage-img-7 {
    width: 300px;
    height: 200px;
    top: 55%;
    right: 35%;
    z-index: 4;
    animation: floatIn7 2s ease-out 3.5s forwards, floatMove7 10s ease-in-out 5.5s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

.collage-img-8 {
    width: 220px;
    height: 300px;
    top: 28%;
    right: 48%;
    z-index: 2;
    animation: floatIn8 2s ease-out 4s forwards, floatMove8 12s ease-in-out 6s infinite;
    cursor: pointer;
    transition: z-index 0.3s ease;
}

/* Float-in animations */
@keyframes floatIn1 {
    to {
        opacity: 1;
        transform: scale(1) rotate(-3deg);
    }
}

@keyframes floatIn2 {
    to {
        opacity: 1;
        transform: scale(1) rotate(5deg);
    }
}

@keyframes floatIn3 {
    to {
        opacity: 1;
        transform: scale(1) rotate(-2deg);
    }
}

@keyframes floatIn4 {
    to {
        opacity: 1;
        transform: scale(1) rotate(4deg);
    }
}

@keyframes floatIn5 {
    to {
        opacity: 1;
        transform: scale(1) rotate(-1deg);
    }
}

@keyframes floatIn6 {
    to {
        opacity: 1;
        transform: scale(1) rotate(-4deg);
    }
}

@keyframes floatIn7 {
    to {
        opacity: 1;
        transform: scale(1) rotate(3deg);
    }
}

@keyframes floatIn8 {
    to {
        opacity: 1;
        transform: scale(1) rotate(-2deg);
    }
}

/* Floating movement animations */
@keyframes floatMove1 {
    0%, 100% { transform: scale(1) rotate(-3deg) translateY(0px) translateX(0px); }
    25% { transform: scale(1.02) rotate(-1deg) translateY(-8px) translateX(3px); }
    50% { transform: scale(0.98) rotate(-4deg) translateY(-5px) translateX(-2px); }
    75% { transform: scale(1.01) rotate(-2deg) translateY(-10px) translateX(4px); }
}

@keyframes floatMove2 {
    0%, 100% { transform: scale(1) rotate(5deg) translateY(0px) translateX(0px); }
    30% { transform: scale(0.98) rotate(7deg) translateY(-12px) translateX(-3px); }
    60% { transform: scale(1.03) rotate(3deg) translateY(-6px) translateX(5px); }
    90% { transform: scale(0.99) rotate(6deg) translateY(-8px) translateX(-1px); }
}

@keyframes floatMove3 {
    0%, 100% { transform: scale(1) rotate(-2deg) translateY(0px) translateX(0px); }
    20% { transform: scale(1.01) rotate(0deg) translateY(-6px) translateX(2px); }
    40% { transform: scale(0.97) rotate(-4deg) translateY(-10px) translateX(-4px); }
    80% { transform: scale(1.02) rotate(-1deg) translateY(-4px) translateX(3px); }
}

@keyframes floatMove4 {
    0%, 100% { transform: scale(1) rotate(4deg) translateY(0px) translateX(0px); }
    35% { transform: scale(0.99) rotate(6deg) translateY(-9px) translateX(-2px); }
    65% { transform: scale(1.01) rotate(2deg) translateY(-7px) translateX(4px); }
    85% { transform: scale(0.98) rotate(5deg) translateY(-11px) translateX(-1px); }
}

@keyframes floatMove5 {
    0%, 100% { transform: scale(1) rotate(-1deg) translateY(0px) translateX(0px); }
    25% { transform: scale(1.03) rotate(1deg) translateY(-5px) translateX(-3px); }
    50% { transform: scale(0.96) rotate(-3deg) translateY(-12px) translateX(2px); }
    75% { transform: scale(1.01) rotate(0deg) translateY(-8px) translateX(-4px); }
}

@keyframes floatMove6 {
    0%, 100% { transform: scale(1) rotate(-4deg) translateY(0px) translateX(0px); }
    30% { transform: scale(0.97) rotate(-6deg) translateY(-10px) translateX(3px); }
    60% { transform: scale(1.02) rotate(-2deg) translateY(-7px) translateX(-2px); }
    90% { transform: scale(0.99) rotate(-5deg) translateY(-9px) translateX(4px); }
}

@keyframes floatMove7 {
    0%, 100% { transform: scale(1) rotate(3deg) translateY(0px) translateX(0px); }
    25% { transform: scale(1.01) rotate(5deg) translateY(-6px) translateX(-3px); }
    50% { transform: scale(0.98) rotate(1deg) translateY(-11px) translateX(2px); }
    75% { transform: scale(1.03) rotate(4deg) translateY(-8px) translateX(-1px); }
}

@keyframes floatMove8 {
    0%, 100% { transform: scale(1) rotate(-2deg) translateY(0px) translateX(0px); }
    35% { transform: scale(0.96) rotate(-4deg) translateY(-13px) translateX(5px); }
    65% { transform: scale(1.04) rotate(0deg) translateY(-5px) translateX(-4px); }
    85% { transform: scale(1.00) rotate(-3deg) translateY(-10px) translateX(3px); }
}

.about {
    padding: 5rem 7.5vw;
    background: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4.5rem;
    box-sizing: border-box;
}
.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp var(--transition-slow) ease-out;
}
.about-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 420/430;
    border-radius: 36px;
    object-fit: cover;
    background: #F6F6F6;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border-radius: 24px !important;
    cursor: pointer;
    transition: transform var(--transition-medium);
}
.about-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.about-text h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    margin-bottom: 0.7em;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.about-text h3 {
    font-size: 28px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 42px;
    margin-top: 2em;
    margin-bottom: 0.5em;
}
.about-text p {
    font-size: 23px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--greyscale-body);
    line-height: 34.5px;
    margin-bottom: 1.5em;
}
.about-text p:last-child {
    margin-bottom: 0;
}

/* New Mission Section */
.mission {
    padding: 5rem 7.5vw;
    background: #FFF;
    text-align: start;
    box-sizing: border-box;
}
.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp var(--transition-slow) ease-out;
}
.mission-content h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    margin-bottom: 1.5em;
    position: relative;
    text-align: left;
}

.mission-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.mission-content p {
    font-size: 26px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: italic;
    color: var(--greyscale-body);
    line-height: 39px;
    margin: 0;
    text-align: left;
}
.framework {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4.5rem;
    margin: 0 auto;
    padding: 5rem 7.5vw;
}
.framework-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeInLeft var(--transition-slow) ease-out;
}
.framework-content h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    position: relative;
}

.framework-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.framework-content p {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--greyscale-body);
    line-height: 30.4px;
}
.framework-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.framework-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 17px;
}
.framework-num {
    color: var(--meteorite-200);
    font-size: 57px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 800;
    line-height: 60px;
    min-width: 70px;
}
.framework-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.framework-label .main {
    color: var(--greyscale-body);
    font-size: 33px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 49.5px;
}
.framework-label .accent {
    color: var(--secondary);
    font-size: 33px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 800;
    line-height: 49.5px;
}
.framework-label .desc {
    color: var(--greyscale-body);
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 30.4px;
}
.framework-img {
    width: 100%;
    height: auto;
    aspect-ratio: 492/539;
    border-radius: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 24px !important;
    animation: fadeInRight var(--transition-slow) ease-out;
}
.framework-desc {
    color: var(--muted);
    margin-bottom: 2em;
}
.framework-flex {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 auto;
}
.framework-pillars {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.pillar {
  background: #FFF;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    font-size: 1.1rem;
}
.pillar-1 { border-left: 8px solid var(--framework-1); }
.pillar-2 { border-left: 8px solid var(--framework-2); }
.pillar-3 { border-left: 8px solid var(--framework-3); }
.pillar span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 0.5em;
    min-width: 2.5em;
}
.venn-diagram {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.venn-diagram img {
    width: min(220px, 100%);
    max-width: 100%;
}
.what-we-do {
    background: #FFF;
    box-sizing: border-box;
}
.what-we-do h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.what-we-do h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.programs {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
}
.program-card {
    border-radius: 0;
    padding: 5rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.program-card-content {
    margin: 0 auto;
    padding: 0 7.5vw;
    position: relative;
    z-index: 2;
}

.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.program-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes programFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}
.program-card.emlab {
    background: linear-gradient(135deg, #4AB68E 0%, #0D7B53 100%);
}
.program-card.neuronest {
    background: linear-gradient(135deg, #5380D5 0%, #2D539C 100%);
}
.program-card.bloom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.program-card.emlab .program-num {
    color:#012316;
}

.program-num {
    font-size: 80px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
    display: block;
    color: #fff;
}
.program-title {
    font-size: 32px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}
.program-desc {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.9;
    color: #fff;
}
.program-content-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.program-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.program-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.program-section h3 {
    font-size: 22px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}
.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.program-list li {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #fff;
}
.program-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.program-outcomes {
    margin-bottom: 2rem;
}

.program-outcomes h3 {
    font-size: 20px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.program-outcomes p {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
    color: #fff;
}

.explore-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 22px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    width: fit-content;
    text-align: center;
}
.explore-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.focus-areas {
    padding: 7.5rem 7.5vw 9rem;
    background: #FFF;
    box-sizing: border-box;
}
.focus-areas h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #000;
    line-height: 60px;
    text-align: start;
    margin-bottom: 3rem;
    position: relative;
}

.focus-areas h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 36px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.focus-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.focus-card {
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.focus-card:nth-child(1) {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2dfdb 100%);
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.focus-card:nth-child(2) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.focus-card:nth-child(3) {
    background: linear-gradient(135deg, #f3e5f5 0%, #ce93d8 100%);
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.focus-card:nth-child(4) {
    background: linear-gradient(135deg, #e8f5e8 0%, #a5d6a7 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.focus-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.focus-card:nth-child(1):hover {
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.2);
}

.focus-card:nth-child(2):hover {
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.2);
}

.focus-card:nth-child(3):hover {
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.2);
}

.focus-card:nth-child(4):hover {
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.2);
}

.focus-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
}

.focus-card:nth-child(1) .focus-card-title {
    color: #006064;
}

.focus-card:nth-child(2) .focus-card-title {
    color: #e65100;
}

.focus-card:nth-child(3) .focus-card-title {
    color: #6a1b9a;
}

.focus-card:nth-child(4) .focus-card-title {
    color: #2e7d32;
}

.focus-card-text {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}
.our-story {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4AB68E 0%, #0D7B53 100%);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.our-story::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.our-story::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.story-content {
    margin: 0 auto;
    padding: 0 7.5vw;
    position: relative;
    z-index: 2;
}
.story-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5rem;
    width: 100%;
    animation: fadeInUp var(--transition-slow) ease-out;
}
.story-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.story-text h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #fff;
    line-height: 60px;
    margin: 0 0 1.2em 0;
    position: relative;
}


.story-text p {
    font-size: 23px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #fff;
    line-height: 34.5px;
    margin: 0 0 1.5em 0;
}
.story-text p:last-child {
    margin-bottom: 0;
}
.story-img {
    width: 100%;
    max-width: 492px;
    height: auto;
    aspect-ratio: 492/539;
    border-radius: 24px;
    object-fit: cover;
    background: #F6F6F6;
    flex-shrink: 0;
}
/* Team Section - Clean Restart */
.team {
    background: #f8f8ff;
    padding: 7.5rem 7.5vw 3rem;
    text-align: center;
}

.team-header {
    margin-bottom: 3rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.team-header h2 {
    color: var(--greyscale-title);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.team-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.team-subtitle {
    font-size: 22px;
    color: var(--greyscale-body);
    font-weight: 400;
}

/* Desktop & Tablet: One column of cards, image left + text right */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    min-height: 320px;
}

.team-img-container {
    flex: 0 0 300px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.team-info h3 {
    color: var(--greyscale-title);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.team-info .title {
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.team-bio {
    flex: 1;
    font-size: 22px;
    line-height: 1.7;
    color: var(--greyscale-body);
}

.team-bio p {
    margin-bottom: 1.2rem;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

.bio-excerpt {
    display: block !important;
}

.bio-full {
    display: none !important;
}

.view-more-btn {
    display: none !important;
}

/* Story section mobile styles */
@media (max-width: 950px) {
    .our-story .story-text {
        text-align: left;
    }
}

/* Events Section */
.events {
    padding: 7.5rem 7.5vw;
    background: #FFF;
    box-sizing: border-box;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
}

.events h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.events h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Modern Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 6rem;
}

/* Event Cards */
.event-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 211, 176, 0.3);
}

/* Event Card Media - force full width and fixed height */
.event-card-media {
    position: relative;
    width: 100%;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px 16px 0 0;
    display: block;
}

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

.video-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: block;
    position: relative;
}

.podcast-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    max-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.podcast-icon {
    color: white;
    opacity: 0.95;
    transition: all var(--transition-medium);
    animation: podcastBounce 2.2s cubic-bezier(.68,-0.55,.27,1.55) infinite, podcastPulseShadow 2.2s ease-in-out infinite;
    z-index: 2;
    position: relative;
    font-size: 3rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(133,84,200,0.25));
}

@keyframes podcastBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-6px) scale(1.08); }
  40% { transform: translateY(0) scale(1); }
  60% { transform: translateY(-3px) scale(1.04); }
  80% { transform: translateY(0) scale(1); }
}

@keyframes podcastPulseShadow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(133,84,200,0.25)); }
  50% { filter: drop-shadow(0 0 18px rgba(133,84,200,0.45)); }
}

/* Responsive adjustments for mobile */
@media (max-width: 700px) {
  .event-card-media,
  .video-thumbnail,
  .podcast-placeholder {
    height: 120px;
    min-height: 120px;
    max-height: 120px;
  }
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-card:hover .video-play-button {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}



/* Podcast Placeholder */
.podcast-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.podcast-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: podcastFloat 8s ease-in-out infinite;
    pointer-events: none;
}

.podcast-icon {
    color: white;
    opacity: 0.9;
    transition: all var(--transition-medium);
    animation: podcastPulse 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.podcast-card:hover .podcast-icon {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes podcastFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -10px) rotate(120deg); }
    66% { transform: translate(-5px, 5px) rotate(240deg); }
}

@keyframes podcastPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Event Type Badge */
.event-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
}

.article-badge,
.video-badge,
.podcast-badge {
    background: var(--primary);
    color: white;
}

.event-card:hover .event-type-badge {
    transform: scale(1.05);
}

/* Event Card Content */
.event-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Event Meta */
.event-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.event-date {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

.event-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(0, 211, 176, 0.1);
    border-radius: 16px;
}

/* Event Title */
.event-title {
    font-size: 20px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Description */
.event-description {
    font-size: 16px;
    color: var(--greyscale-body);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Event Tags */
.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    justify-content: center;
    text-align: center;
}

.event-tag {
    font-size: 12px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    transition: all var(--transition-medium);
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
}

.event-tag:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--greyscale-body);
}

/* Event Card Actions */
.event-card-actions {
    margin-top: 1rem;
    padding-top: 0;
    width: 100%;
}

.event-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    transition: all var(--transition-medium);
    box-sizing: border-box;
}

.event-btn svg {
    width: 16px;
    height: 16px;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--muted);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.coming-soon-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.coming-soon-badge svg {
    width: 16px;
    height: 16px;
    animation: bounce 1.5s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-1px); }
}



/* Events Gallery - Amazon Style */
.events-gallery-section {
    margin: 4rem 0;
}

.events-gallery-section h3 {
    font-size: 28px;
    color: var(--greyscale-title);
    margin-bottom: 2rem;
    text-align: center;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Main Image Display */
.main-gallery-display {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.main-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform var(--transition-medium);
}

.main-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.main-gallery-content {
    color: white;
    width: 100%;
}

.main-gallery-content .event-date {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    color: white;
}

.main-gallery-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    color: white;
}

.main-gallery-content p {
    font-size: 22px;
    line-height: 1.4;
    margin: 0;
    color: white;
    opacity: 0.9;
}

/* Thumbnail Row */
.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 211, 176, 0.3);
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-data {
    display: none;
}

/* Gallery Navigation Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-prev {
    left: 20px;
}

.gallery-arrow-next {
    right: 20px;
}

.volunteer {
    padding: 5rem 7.5vw;
    background: #FFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5.75rem;
    box-sizing: border-box;
}
.volunteer-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5.75rem;
    width: 100%;
    animation: fadeInUp var(--transition-slow) ease-out;
}
.volunteer-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 27px;
}
.volunteer-text h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 60px;
    margin: 0;
    position: relative;
}

.volunteer-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.volunteer-text p {
    font-size: 23px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--greyscale-body);
    line-height: 34.5px;
    margin: 0;
}
.volunteer-opportunities {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.opportunity-title {
    font-size: 21px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: var(--greyscale-title);
    line-height: 32px;
}
.volunteer-opportunities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.volunteer-opportunities li {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--greyscale-body);
    line-height: 28.5px;
    padding-left: 20px;
    position: relative;
}
.volunteer-opportunities li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.volunteer-benefit {
    font-size: 22px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: var(--greyscale-body);
    line-height: 28.5px;
    font-style: italic;
}
.volunteer-img {
    width: 100%;
    max-width: 554px;
    height: auto;
    aspect-ratio: 554/635;
    border-radius: 36px;
    object-fit: cover;
    background: #F6F6F6;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform var(--transition-medium);
}
.volunteer-btn {
    align-self: flex-start;
    width: auto;
}
.footer {
    padding: 4rem 7.5vw 1.5rem;
    background: #FFF;
    box-sizing: border-box;
    border-top: 1px solid #ececec;
}
.footer-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    box-sizing: border-box;
    justify-content: space-between;
    margin: 0 auto;
}
.footer-logo {
    font-size: 39.33px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-title);
    line-height: 16.22px;
    margin-bottom: 1em;
}
.footer-logo img {
    max-height: 3.5rem;
    height: auto;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer-contact {
    font-size: 22px;
    color: var(--greyscale-body);
    font-family: Helvetica, Arial, sans-serif;
    line-height: 1.7;
    margin-bottom: 1em;
}
.footer-contact strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.2em;
}
.footer-contact a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-medium);
}
.footer-contact a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.footer-contact-btn {
    margin-top: 1.5rem;
}
.footer-contact-btn .btn {
    font-size: 18px;
    padding: 0.8rem 1.5rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    min-width: 260px;
    max-width: 340px;
    width: 100%;
}
.contact-form input,
.contact-form textarea {
    padding: 0.7em 1em;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}
.contact-form textarea {
    min-height: 80px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(83, 128, 213, 0.1);
}
.contact-form button {
    margin-top: 0.5em;
}

.footer-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright p {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 24px;
    margin: 0.5rem 0;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 400;
}

.footer-copyright p:first-child {
    margin-top: 0;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}
.support {
    padding: 3.5rem 7.5vw;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.support::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 60% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: programFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.support-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.support-content h2 {
    font-size: 40px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: white;
    line-height: 60px;
    margin: 0 0 1rem 0;
}
.support-content p {
    font-size: 23px;
    color: white;
    line-height: 34.5px;
    margin: 0 0 1.5rem 0;
    flex: 1;
}
.support-content .btn {
    white-space: nowrap;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-weight: 600;
}

.support-content .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}
.footer-tagline {
    font-size: 21px;
    font-family: 'Manrope', Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--greyscale-body);
    line-height: 32px;
    margin-bottom: 1em;
    font-style: normal;
}
.footer-tagline::before {
    content: 'Discover ';
    color: var(--primary);
}
/* Large Tablet - Improve spacing and typography */
@media (max-width: 1200px) {
    .header, .framework, .focus-areas {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .hero {
        padding: 80px 3rem 60px 3rem;
    }
    .petal-group-1 {
        right: -60px;
        top: -100px;
        width: 420px;
        height: 420px;
    }
    .petal-group-2 {
        left: -80px;
        bottom: -80px;
        width: 360px;
        height: 360px;
    }
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero-content {
        gap: 2rem;
        padding: 0rem;
    }
    
    .innovation-svg {
        width: 280px;
        height: 336px;
    }
    .what-we-do {
        padding: 0;
    }
    .programs {
        gap: 0;
    }
    .program-card-content {
        padding: 0 4rem;
    }
    .team-img-container {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
    }
    .about {
        padding: 4rem 3rem;
    }
    .mission {
        padding: 4rem 3rem;
    }
    .volunteer {
        padding: 4rem 3rem;
    }
    .our-story {
        padding: 4rem 0;
    }
    .story-content {
        padding: 0 3rem;
    }
    .support {
        padding: 3rem;
    }
    .framework {
        padding: 4rem 3rem;
    }
}

/* Medium Tablet - Start transitioning to vertical layouts */  
@media (max-width: 950px) {
    .header, .framework, .focus-areas {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .hero {
        padding: 60px 2rem 40px 2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .program-content-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: start;
    }
    .our-story {
        padding: 5rem 2rem;
    }
    .story-content {
        padding: 0;
    }
    .story-flex {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    .story-text {
        text-align: center;
    }
    .story-img {
        width: 100%;
        max-width: none;
        height: auto;
        max-width: none;
        align-self: center;
    }

    .about {
        padding: 3rem 2rem;
    }
    .mission {
        padding: 3rem 2rem;
    }
    .about-container {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    .about-img {
        width: 100%;
        max-width: none;
        height: auto;
        order: 2;
    }
    .about-text {
        order: 1;
        text-align: center;
    }
    .volunteer {
        padding: 36px 36px;
    }
    .volunteer-flex {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    .volunteer-text {
        text-align: center;
    }
    .volunteer-img {
        width: 100%;
        max-width: none;
        height: auto;
    }
    .framework {
        flex-direction: column;
        gap: 3rem;
        padding: 24px;
    }
    .framework-img {
        width: 100%;
        height: auto;
    }
    .support {
        padding: 3rem 2rem;
    }
    .footer-flex {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-copyright {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .footer-copyright p {
        font-size: 15px;
        line-height: 22px;
    }
    .events {
        padding: 5rem 3rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 4rem;
    }
    
    .event-card {
        min-height: 380px;
    }
    
    .event-card-content {
        padding: 1.5rem;
        gap: 0.75rem;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-description {
        font-size: 15px;
    }
    
    .event-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    .focus-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .gallery-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .main-gallery-display {
        aspect-ratio: 4/3;
    }

    .main-gallery-content .event-date,
    .main-gallery-content h4,
    .main-gallery-content p {
        font-size: 18px;
    }

    .gallery-thumbnails {
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
    }

    .thumbnail-item {
        width: 60px;
        height: 45px;
        flex-shrink: 0;
    }

    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-arrow-prev {
        left: 15px;
    }

    .gallery-arrow-next {
        right: 15px;
    }
    
    /* Left-align section headings and underlines */
    .what-we-do h2,
    .events h2,
    .team-header h2 {
        text-align: left;
    }
    
    .what-we-do h2::after,
    .events h2::after,
    .team-header h2::after {
        left: 0;
        transform: none;
    }
    
    .team-header {
        text-align: left;
    }

}

/* Tablet breakpoint for better vertical alignment */
@media (max-width: 900px) {
    .about {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .about-container {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .our-story {
        padding: 3rem 0;
    }
    .story-content {
        padding: 0 64px;
    }
    .story-flex {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .volunteer-flex {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    .volunteer-text {
        text-align: start;
    }
    .story-text {
        text-align: center;
    }
    .about-text {
        text-align:start;
    }
    .nav-container {
        padding: 0 1rem;
        max-width: 100%;
    }
    .nav ul {
        gap: 1rem;
    }
    .nav a {
        font-size: 22px;
        padding: 6px 12px 0 12px;
    }
}

@media (max-width: 700px) {
    /* ========================================
       MOBILE TYPOGRAPHY HIERARCHY
       ======================================== */
    /* Consistent mobile text hierarchy for all elements */
    h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    h3 {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    h4 {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    p, body, ul, li, a, .team-bio, .story-text p, .support-content p, 
    .mission-content p, .about-text p, .volunteer-text p, .featured-event-content p,
    .event-card-content p, .main-gallery-content p, .program-desc,
    .team-bio .bio-excerpt, .team-bio .bio-full, .view-more-btn {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    
    /* Buttons consistent sizing */
    .btn, .view-more-btn, .explore-btn, .event-btn {
        font-size: 16px !important;
    }
    
    /* Small text elements */
    .team-info .title, .event-date, .opportunity-title, .volunteer-benefit,
    .footer-contact, .footer-tagline {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    /* Team subtitle and similar elements */
    .team-subtitle, .hero-subtitle {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    /* ======================================== */

    .header, .framework, .focus-areas {
        padding: 64px 36px;

    }
    .hero {
        padding: 60px 16px 40px 16px;
    }
    .petal-group-1 {
        right: -40px;
        top: -80px;
        width: 280px;
        height: 280px;
    }
    .petal-group-2 {
        display: none; /* Hide second petal group on mobile for performance */
    }
    
    .hero-belief {
        font-size: 16px !important;
        line-height: 22px !important;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        max-width: 200px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text-column {
        max-width: 100%;
        text-align: center;
    }
    
    .innovation-svg {
        width: 220px;
        height: 264px;
    }
    
    /* Mobile collage adjustments - IMAGES VISIBLE ON TABLET */
    
    .what-we-do {
        padding: 0;
    }
    .what-we-do h2 {
        padding: 16px 36px 0;
        text-align: left;
    }
    
    .what-we-do h2::after {
        left: 36px;
        transform: none;
    }
    .programs {
        gap: 0;
    }
    .program-card {
        padding: 3rem 0;
    }
    .program-card-content {
        padding: 0 36px;
    }
    .program-num {
        font-size: 50px;
    }
    .program-title {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    .program-content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 1rem;
    }
    .program-left-column {
        gap: 16px;
    }
    .program-right-column {
        gap: 1rem;
    }
    
    .our-story {
        padding: 2rem 0;
    }
    .story-content {
        padding: 0 36px;
    }
    .story-flex {
        gap: 32px;
    }
    
    .support {
        padding: 32px 16px;
    }
    .support-content h2 {
        margin: 0 0 1rem 0;
        color: white;
        text-align: left;
    }
    
    .events h2 {
        text-align: left;
    }
    
    .events h2::after {
        left: 0;
        transform: none;
    }
    
    .support {
        text-align: left;
    }
    .support-content p {
        margin: 0 0 1.5rem 0;
        color: white;
    }
    .framework {
        flex-direction: column;
        gap: 24px;
    }
    .team {
        padding: 4rem 1rem;
    }

    .framework-img {
        width: 100%;
        height: auto;
    }
    .about {
        flex-direction: column;
        gap: 32px;
        padding: 64px 36px;
    }
    .about-img {
        width: 100%;
        height: auto;
    }
    .mission {
        padding: 5rem 1rem;
    }

    .mission-content h2 {
        line-height: 40px;
    }
    .mission-content p {
        line-height: 28px;
    }
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .event-card-media {
        height: 160px;
    }
    
    .event-card-content {
        padding: 1.25rem;
    }
    
    .event-title {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .event-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        max-width: 100%;
        width: 100%;
    }
    
    .event-card-content {
        padding: 1.25rem;
    }
    .volunteer {
        padding: 32px 16px;
    }
    .volunteer-flex {
        gap: 32px;
    }
    .volunteer-text h2 {
        /* Font size standardized above */
    }
    .volunteer-text p {
        line-height: 26px;
    }
    .volunteer-img {
        width: 100%;
        max-width: none;
        height: auto;
    }
    .footer {
        padding: 64px 36px;
    }
    .footer-flex {
        flex-direction: column;
        gap: 2rem;
        text-align: start;
    }
    
    .footer-logo img {
        max-width: 400px;
        max-height: 4rem;
    }
    
    .footer-tagline {
        line-height: 36px;
        margin-bottom: 1.5em;
    }
    
    .footer-contact {
        line-height: 1.8;
        margin-bottom: 1.5em;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        box-sizing: border-box;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 18px;
        padding: 1rem;
    }
    
    .contact-form button {
        font-size: 18px;
        padding: 1rem 2rem;
    }
    
    .footer-copyright {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-copyright p {
        font-size: 14px;
        line-height: 20px;
    }
    
    .program-content {
        gap: 24px;
    }

    .nav a:hover,
    .nav a.active {
        color: var(--primary);
    }
    
    .support {
        padding: 64px 16px;
    }
    
    .support-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .support-content h2 {
        font-size: 24px;
        line-height: 36px;
        margin: 0 0 1rem 0;
        color: white;
    }
    
    .support-content p {
        font-size: 18px;
        line-height: 26px;
        margin: 0 0 1.5rem 0;
        color: white;
    }
    
    .team {
        padding: 3rem 1rem;
    }
    .team-header h2 {
        font-size: 32px;
    }
    .team-subtitle {
        font-size: 22px;
    }
    .team-grid {
        gap: 1.5rem;
    }
    .team-member {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    .team-img-container {
        width: 100%;
        min-width: unset;
        max-width: none;
        height: 300px;
        flex-shrink: 0;
    }
    .team-info {
        padding: 1.2rem;
        text-align: start;
    }
    .team-info h3 {
        font-size: 36px;
    }
    .team-info .title {
        font-size: 22px;
    }
    .team-info p {
        font-size: 24px;
    }
    .header {
        padding: 1rem 1rem;
        min-height: 70px;
    }
    .nav-container {
        padding: 0;
        gap: 1rem;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo {
        z-index: 1002;
        position: relative;
        flex-shrink: 0;
    }
    
    .logo img {
        max-width: 120px;
        height: auto;
    }
    
    .hamburger-menu {
        display: flex;
        z-index: 1002;
        position: relative;
        flex-shrink: 0;
    }
    .focus-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Scroll Animations */
@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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all var(--transition-slow);
}

.animate-on-scroll.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) forwards;
}

.animate-on-scroll.animate-fade-in-left {
    animation: fadeInLeft var(--transition-slow) forwards;
}

.animate-on-scroll.animate-fade-in-right {
    animation: fadeInRight var(--transition-slow) forwards;
}

.animate-on-scroll.animate-scale-in {
    animation: scaleIn var(--transition-slow) forwards;
}

/* Section-specific animations */

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 82px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp var(--transition-slow) ease-out;
}

.framework-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeInLeft var(--transition-slow) ease-out;
}

.framework-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    aspect-ratio: 492/539;
    border-radius: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 24px !important;
    animation: fadeInRight var(--transition-slow) ease-out;
}

.program-row {
    display: flex;
    flex-direction: row;
        align-items: stretch;
    gap: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
}

.story-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 82px;
    width: 100%;
    animation: fadeInUp var(--transition-slow) ease-out;
}

.event-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--transition-medium);
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.volunteer-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 92px;
    width: 100%;
    animation: fadeInUp var(--transition-slow) ease-out;
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeInUp var(--transition-slow) ease-out;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background: var(--greyscale-title);
    border-radius: 2px;
    transition: all var(--transition-medium);
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 800px) {
    /* Hide hero images on mobile devices */
    .hero-images {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: -200vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: top var(--transition-medium);
        z-index: 1000;
        padding-top: 80px;
    }
    
    .nav.active {
        top: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        align-items: center;
    }
    
    .nav li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }
    
    .nav a {
        display: block;
        padding: 32px 32px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 0;
        font-size: 24px;
        font-weight: 600;
    }
    
    .nav a::after {
        display: none;
    }
    
    .nav a:hover,
    .nav a.active {
        color: var(--primary);
    }
}

/* Smallest breakpoint for better margins and vertical alignment */
@media (max-width: 480px) {
    /* ========================================
       MOBILE TYPOGRAPHY HIERARCHY - 480px
       ======================================== */
    /* Maintain consistent hierarchy for smallest screens */
    h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }
    
    h2 {
        font-size: 24px !important;
        line-height: 32px !important;
    }
    
    h3 {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    h4 {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    p, body, ul, li, a, .team-bio, .story-text p, .support-content p, 
    .mission-content p, .about-text p, .volunteer-text p, .featured-event-content p,
    .event-card-content p, .main-gallery-content p, .program-desc,
    .team-bio .bio-excerpt, .team-bio .bio-full, .view-more-btn,
    .footer-contact, .footer-tagline, .program-outcomes p {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    
    /* Buttons consistent sizing */
    .btn, .view-more-btn, .explore-btn, .event-btn, 
    .contact-form button {
        font-size: 16px !important;
    }
    
    /* Form inputs */
    .contact-form input, .contact-form textarea {
        font-size: 16px !important;
    }
    
    /* Small text elements */
    .team-info .title, .event-date, .opportunity-title, .volunteer-benefit {
        font-size: 14px !important;
        line-height: 20px !important;
    }
    
    /* Hero subtitle */
    .hero-subtitle {
        font-size: 18px !important;
        line-height: 24px !important;
    }
    
    /* ======================================== */

    .hero {
        padding: 60px 1rem 40px 1rem;
    }
    .petal-group-1 {
        right: -30px;
        top: -60px;
        width: 200px;
        height: 200px;
    }
    .petal-group-2 {
        display: none; /* Hide second petal group on smallest screens */
    }
    .header, .framework, .focus-areas, .team, .events {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .about {
        padding: 2rem 1rem;
    }
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    .our-story {
        padding: 2rem 0;
    }
    .story-content {
        padding: 0 1rem;
    }
    .story-flex {
        flex-direction: column;
        gap: 2rem;
    }
    
    .story-text {
        text-align: left;
    }
    .what-we-do {
        padding: 0;
    }
    .mission {
        padding: 3rem 1rem;
    }
    
    .mission-content h2::after {
        bottom: -8px;
    }
    
    .what-we-do h2 {
        padding: 0 1rem;
        text-align: left;
    }
    
    .what-we-do h2::after {
        left: 1rem;
        transform: none;
    }
    
    .events h2 {
        text-align: left;
    }
    
    .events h2::after {
        left: 0;
        transform: none;
    }
    
    .support {
        text-align: left;
    }
    .programs {
        gap: 0;
    }
    .program-card {
        padding: 2.5rem 0;
    }
    .program-card-content {
        padding: 0 5vw;
    }
    .program-num {
        font-size: 50px;
    }
    .program-left-column {
        gap: 0.75rem;
    }
    .program-right-column {
        gap: 0.75rem;
    }
    .program-outcomes h3 {
        margin-bottom: 0.5rem;
    }
    .volunteer {
        padding: 2rem 1rem;
    }
    .support {
        padding: 2rem 1rem;
    }
    .footer {
        padding: 1.5rem 1rem;
    }
    
    .footer-logo img {
        max-width: 180px;
        max-height: 3.5rem;
    }
    
    .footer-tagline {
        margin-bottom: 1.5em;
    }
    
    .footer-contact {
        line-height: 1.8;
        margin-bottom: 1.5em;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
    }
    
    .contact-form button {
        padding: 1rem 2rem;
    }
    .focus-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    .events-cards {
        padding: 0 1rem;
    }
    
    .events {
        padding: 3rem 1rem;
    }
    
    .events h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .event-card {
        min-height: 340px;
    }
    
    .event-card-content {
        padding: 1.25rem;
        gap: 24px;
    }
    
    .event-title {
        font-size: 16px;
    }
    
    .event-description {
        font-size: 14px;
    }
    
    .event-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .gallery-container {
        padding: 0 0.5rem;
    }

    .main-gallery-display {
        aspect-ratio: 1/1;
        margin-bottom: 0.75rem;
    }

    .main-gallery-content .event-date,
    .main-gallery-content h4,
    .main-gallery-content p {
        font-size: 16px;
    }

    .main-gallery-overlay {
        padding: 1rem;
    }

    .gallery-thumbnails {
        gap: 0.25rem;
        padding: 0.25rem 0;
    }

    .thumbnail-item {
        width: 45px;
        height: 35px;
    }

    .gallery-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .gallery-arrow-prev {
        left: 10px;
    }

    .gallery-arrow-next {
        right: 10px;
    }

    .events-gallery-section {
        margin: 2rem 1rem;
    }

    .events-gallery-section h3 {
        font-size: 18px;
        padding: 0 1rem;
    }
    
}

/* Team bio content - always show full content on desktop */
.team-bio p {
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 18px;
}

.team-bio p:last-child {
    margin-bottom: 0;
}

/* General paragraph styling */
p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* View more button - hidden by default */
.view-more-btn {
    display: none;
    align-items: center;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: 1rem;
    transition: color var(--transition-medium);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.view-more-btn:hover {
    color: var(--primary-dark);
}

/* Mobile accordion behavior (below 700px) */
@media (max-width: 700px) {
    /* Show view more button on mobile */
    .view-more-btn {
        display: inline-flex !important;
    }
    
    /* Bio excerpt is always visible */
    .bio-excerpt {
        display: block !important;
    }
    
    /* Bio full is hidden by default on mobile */
    .bio-full {
        display: none !important;
        margin-top: 1rem;
    }
    
    /* When expanded, show both excerpt and full */
    .team-bio.expanded .bio-full {
        display: block !important;
    }
    
    /* Bio excerpt stays visible even when expanded */
    .team-bio.expanded .bio-excerpt {
        display: block !important;
    }
}

/* Events Grid Responsive */
@media (max-width: 950px) {
  .events-grid {
    justify-items: center;
    align-items: center;
    display: grid;
  }
  .event-card {
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .events h2 {
    text-align: center;
  }
  .events h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .event-card-media,
  .video-thumbnail,
  .podcast-placeholder {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}

@media (max-width: 700px) {
  .events-grid {
    justify-items: center;
    align-items: center;
    display: grid;
  }
  .event-card {
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .events h2 {
    text-align: center;
  }
  .events h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .event-card-media,
  .video-thumbnail,
  .podcast-placeholder {
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
  }
}

@media (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        margin-bottom: 2.5rem;
    }
}

.event-date.center-date {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 950px) {
  .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .events-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
}


