/* ===== CSS RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

:root {
  /* Colors */
  --primary-dark: #28206c;
  --primary-light: #703ce1;
  --accent-gold: #ffd600;
  --accent-gold-hover: #eec900;
  --text-primary: #322353;
  --text-light: #666;
  --text-white: #ffffff;
  --text-faded: rgba(255, 255, 255, 0.9);
  
  /* Background Colors */
  --bg-base: #f2eff7;
  --bg-surface: #f2eff7;
  --bg-card: #ffffff;
  --bg-card-transparent: rgba(255, 255, 255, 0.95);
  --bg-overlay: rgba(40, 32, 108, 0.1);
  
  /* Dark Mode Colors */
  --dark-bg-base: #1a1540;
  --dark-bg-surface: #28206c;
  --dark-bg-card: rgba(255, 255, 255, 0.06);
  --dark-text: #f5f5f8;
  --dark-border: rgba(255, 255, 255, 0.15);
  --dark-shadow: rgba(0, 0, 0, 0.5);
  
  /* Light Mode Colors */
  --light-border: rgba(40, 32, 108, 0.14);
  --light-shadow: rgba(40, 32, 108, 0.12);
  
  /* Fonts */
  --font-primary: 'Short Stack', cursive;
  --font-secondary: 'Montserrat', sans-serif;
  --font-heading: 'Fraunces', serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 0 2rem;
  --border-radius: 15px;
  --border-radius-large: 20px;
  --transition: all 0.3s ease;
  
  /* Shadows */
  --shadow-light: 0 8px 24px var(--light-shadow);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 15px 40px rgba(112, 60, 225, 0.15);
}

body {
  font-family: var(--font-primary);
  background: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-base: var(--dark-bg-base);
  --bg-surface: var(--dark-bg-surface);
  --bg-card: var(--dark-bg-card);
  --text-primary: var(--dark-text);
  --text-heading: var(--accent-gold);
  --border-color: var(--dark-border);
  --shadow-color: var(--dark-shadow);
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 900;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subsection-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-primary);
  text-align: center;
  margin: 3rem 0 2rem;
  font-weight: 700;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ANIMATIONS ===== */
@keyframes dissolveIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes autoSlideInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Timescape Floating Animations */
@keyframes timescapeFloatUp {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes timescapeFloatDown {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}

@keyframes timescapeFloatSide {
  0%, 100% { transform: translateX(0px) rotate(0deg); }
  50% { transform: translateX(18px) rotate(4deg); }
}

@keyframes timescapeFloatCircle {
  0% { transform: rotate(0deg) translateX(15px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(15px) rotate(-360deg); }
}

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

@keyframes timescapeFloatWave {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25% { transform: translateY(-15px) translateX(10px) rotate(4deg); }
  75% { transform: translateY(15px) translateX(-10px) rotate(-4deg); }
}

/* ===== BUTTONS ===== */
.contact-btn,
.contact-btn2,
.submit-btn,
.whatsapp-btn {
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
}

.contact-btn:hover,
.contact-btn2:hover,
.submit-btn:hover,
.whatsapp-btn:hover {
  background: var(--accent-gold-hover);
  color: #1a1540;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 214, 0, 0.3);
}

.contact-btn2 {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin: 9rem 0 3rem;
  animation: dissolveIn 1s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.contact-btn2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contact-btn2:hover::before {
  left: 100%;
}

.submit-btn {
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  justify-content: center;
}

.whatsapp-btn i {
  font-size: 1.4em;
  font-weight: 900;
  line-height: 1;
}

.whatsapp-btn {
  padding: 0.9rem 1.4rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.dark-mode-toggle {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
  font-family: var(--font-secondary);
}

.dark-mode-toggle:hover {
  background: rgba(255, 214, 0, .15);
  transform: translateY(-2px);
}

.top-arrow-btn {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 980;
  background: var(--accent-gold);
  color: var(--primary-dark);
  font-size: 2.1rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(40, 32, 108, 0.21);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.top-arrow-btn:hover {
  background: var(--accent-gold-hover);
  color: #1a1540;
  transform: translateY(-2px) scale(1.08);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary-dark);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  position: relative;
  font-family: var(--font-secondary);
}

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

.logo-img {
  height: 60px;
  filter: brightness(1);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-gold);
  white-space: nowrap;
  padding: 0.8rem 0.6rem;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-links a:hover {
  color: #fffbe0;
}

.nav-ctas {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  padding-left: 2rem;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent-gold);
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-dark);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-secondary);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
  margin-bottom: 2rem;
}

.mobile-nav ul li {
  margin: 1rem 0;
}

.mobile-nav ul li a {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
  color: #fffbe0;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 165vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: var(--text-white);
  overflow: visible;
  padding-top: 120px;
  padding-bottom: 2rem;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 100vh, rgba(0, 0, 0, 0.8) 100vh, rgba(0, 0, 0, 1) 100%),
    url('img/hero-elements/IMG_0504.JPG.webp');
  background-size: 100% 100vh, 100% 100%, 120% 120vh;
  background-position: center top, center top, center top;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, scroll, scroll;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--primary-dark) 0%,
    rgba(40, 32, 108, 0.92) 20%,
    rgba(40, 32, 108, 0.75) 40%,
    rgba(40, 32, 108, 0.45) 65%,
    rgba(40, 32, 108, 0.15) 85%,
    rgba(40, 32, 108, 0.00) 100%
  );
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: -2rem;
}

.hero-tagline {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  margin-top: 25rem;
}

.hero-tagline img {
  max-width: 400px;
  height: auto;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.hero-tagline img:hover {
  transform: scale(1.05);
  filter: drop-shadow(2px 2px 12px rgba(0, 0, 0, 0.5));
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 900px;
  z-index: 3;
  border-radius: var(--border-radius);
  padding: 1rem 2rem;
  flex-shrink: 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  width: 180px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item i {
  font-size: 2rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-faded);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  text-align: center;
}

.lm-ethos {
  max-width: 800px;
  margin: 0 auto 2rem auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-large);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-top: 1rem;
}

.lm-ethos h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.lm-ethos p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-faded);
  text-align: justify;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.lm-ethos em {
  color: #ffd700;
  font-style: italic;
  font-weight: 600;
}

/* ===== TIMESCAPE SECTION ===== */
.timescape {
  position: relative;
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8f7ff 0%, #f0efff 50%, #e8e6ff 100%);
  overflow: hidden;
}

.timescape::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(112, 60, 225, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.timescape .section-title {
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.timescape .section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--text-primary);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.timescape .section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), #a084e8);
  border-radius: 2px;
}

.timescape-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "story video";
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.timescape-story {
  grid-area: story;
  background: var(--bg-card-transparent);
  padding: 2.5rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-heavy);
  border: 2px solid rgba(112, 60, 225, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.timescape-story:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(112, 60, 225, 0.2);
  border-color: rgba(112, 60, 225, 0.2);
}

.timescape-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-light), #a084e8, var(--primary-light));
}

.timescape-story-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) #f0f0f0;
}

.timescape-story-content::-webkit-scrollbar {
  width: 6px;
}

.timescape-story-content::-webkit-scrollbar-track {
  background: rgba(112, 60, 225, 0.1);
  border-radius: 3px;
}

.timescape-story-content::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}

.timescape-story p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.timescape-story p:last-child {
  margin-bottom: 0;
}

.timescape-story p:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding-left: 1.5rem;
}

.timescape-story p:first-child::before {
  content: '🌱';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

.timescape-story em {
  color: var(--primary-light);
  font-style: italic;
  font-weight: 600;
  background: rgba(112, 60, 225, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.timescape-card {
  grid-area: video;
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(112, 60, 225, 0.25);
  border: 3px solid var(--primary-light);
  background: linear-gradient(145deg, var(--text-white), #f8f9fa);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timescape-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 70px rgba(112, 60, 225, 0.35);
  border-color: #a084e8;
}

.timescape-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 17px;
  transition: all 0.3s ease;
  object-fit: cover;
}

.timescape-card:hover iframe {
  transform: scale(1.01);
}

.timescape-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--primary-light), #a084e8, var(--primary-light), #a084e8);
  border-radius: 23px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: gradientShift 4s linear infinite;
}

.timescape-card:hover::before {
  opacity: 0.7;
}

.timescape-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  padding: 1rem;
  background: rgba(112, 60, 225, 0.08);
  border-radius: 12px;
  border-left: 4px solid var(--primary-light);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(112, 60, 225, 0.1);
}

.feature:hover {
  background: rgba(112, 60, 225, 0.12);
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(112, 60, 225, 0.15);
}

.feature i {
  color: var(--primary-light);
  font-size: 1.3rem;
  min-width: 24px;
}

.feature span {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Timescape Floating Elements */
.timescape-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.timescape-floating-element {
  position: absolute;
  pointer-events: none;
  opacity: 0.8;
  transition: var(--transition);
}

.timescape-floating-element img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(112, 60, 225, 0.25));
}

.timescape-floating-element.tiny { width: 26px; height: 26px; }
.timescape-floating-element.small { width: 42px; height: 42px; }
.timescape-floating-element.medium { width: 60px; height: 60px; }
.timescape-floating-element.large { width: 80px; height: 80px; }

.timescape-floating-element:nth-child(6n+1) { animation: timescapeFloatUp 9s ease-in-out infinite; }
.timescape-floating-element:nth-child(6n+2) { animation: timescapeFloatDown 10s ease-in-out infinite; }
.timescape-floating-element:nth-child(6n+3) { animation: timescapeFloatSide 11s ease-in-out infinite; }
.timescape-floating-element:nth-child(6n+4) { animation: timescapeFloatCircle 16s linear infinite; }
.timescape-floating-element:nth-child(6n+5) { animation: timescapeFloatDiagonal 12s ease-in-out infinite; }
.timescape-floating-element:nth-child(6n) { animation: timescapeFloatWave 13s ease-in-out infinite; }

.timescape-floating-element:hover {
  opacity: 1;
  transform: scale(1.25);
}

.timescape-floating-element:nth-child(odd) { animation-delay: -1s; }
.timescape-floating-element:nth-child(even) { animation-delay: -2.5s; }
.timescape-floating-element:nth-child(3n) { animation-delay: -0.3s; }
.timescape-floating-element:nth-child(4n) { animation-delay: -1.8s; }

/* ===== TEAM SECTION ===== */
.team {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #fcfcfc 0%, #f8f7ff 50%, #f4f3ff 100%);
}

.founders-section {
  margin-bottom: 4rem;
}

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

.founder-card,
.team-member {
  background: var(--bg-card-transparent);
  border: 1px solid rgba(112, 60, 225, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  box-shadow: var(--shadow-medium);
  text-align: center;
}

.founder-card:hover,
.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-light);
}

.founder-image,
.member-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.founder-image img,
.member-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.member-image img {
  width: 100px;
  height: 100px;
}

.founder-info h3,
.member-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.founder-info h4,
.member-info h4 {
  font-size: 1.1rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.member-info h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.founder-info .qualification {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-style: italic;
}

.founder-info .description,
.member-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.member-info p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.founder-vision {
  background: rgba(112, 60, 225, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-light);
}

.founder-vision h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.8rem;
}

.founder-vision p {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
}

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

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.expertise-tag {
  background: linear-gradient(135deg, var(--primary-light), #a084e8);
  color: var(--text-white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== FORCE BEHIND SECTION ===== */
.force-behind {
  padding: 5rem 0 2rem 0;
  background: linear-gradient(135deg, #fafafa 0%, #f5f4ff 50%, #f0efff 100%);
}

.force-member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.force-member:not(.cho-long-card) {
  grid-template-columns: 0fr 2fr;
}

.force-member:last-child {
  margin-bottom: 0;
}

.left-layout .force-image {
  grid-column: 1;
  grid-row: 1;
}

.left-layout .force-content {
  grid-column: 2;
  grid-row: 1;
}

.right-layout .force-content {
  grid-column: 1;
  grid-row: 1;
}

.right-layout .force-image {
  grid-column: 2;
  grid-row: 1;
}

.right-layout.force-member:not(.cho-long-card) {
  grid-template-columns: 2fr 1fr;
}

.force-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.force-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 15px 40px rgba(112, 60, 225, 0.2);
  transition: var(--transition);
}

.force-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(112, 60, 225, 0.3);
}

.force-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.force-content h4 {
  font-size: 1.2rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-primary);
}

.force-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  text-align: justify;
}

.cho-long-card {
  margin-top: 3rem;
  padding: 2rem;
  background: #f0efff;
  border: 1px solid rgba(40, 32, 108, 0.12);
  box-shadow: 0 12px 28px rgba(40, 32, 108, 0.18);
  border-radius: var(--border-radius-large);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cho-long-card .cho-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cho-long-card .cho-image img {
  width: 200px;
  height: 200px;
  border-radius: var(--border-radius);
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: 0 10px 30px rgba(112, 60, 225, 0.3);
  transition: var(--transition);
}

.cho-long-card .cho-image img:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 40px rgba(112, 60, 225, 0.4);
}

.cho-long-card .cho-content {
  text-align: left;
}

.cho-long-card .cho-content h3 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cho-long-card .cho-content h4 {
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 0;
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-primary);
}

.cho-long-card .cho-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  text-align: justify;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ===== PATRONS SECTION ===== */
.patrons-section {
  padding: var(--section-padding);
  background: var(--text-white);
}

.patrons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.patron-card {
  background: linear-gradient(135deg, var(--text-white) 0%, #f8f6ff 100%);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-medium);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.patron-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), #9b59b6);
}

.patron-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(112, 60, 225, 0.2);
  border-color: var(--primary-light);
}

.patron-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.patron-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.patron-heading {
  text-align: left;
}

.patron-heading h3,
.patron-heading h4 {
  margin: 0;
  line-height: 1.2;
}

.patron-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.patron-content h4 {
  font-size: 1.1rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-style: italic;
  font-family: var(--font-primary);
}

.patron-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
  box-shadow: 0 8px 20px rgba(112, 60, 225, 0.2);
  object-fit: cover;
  flex: 0 0 auto;
}

.patron-text {
  text-align: center;
}

.patron-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
  text-align: justify;
  margin-bottom: 1rem;
}

.patron-content p:last-child {
  margin-bottom: 0;
}

/* ===== PROGRAMS SECTION ===== */
.programs {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #fafafa 0%, #f5f4ff 50%, #f0efff 100%);
}

.programs-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.program-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(40, 32, 108, 0.15) 0%, rgba(40, 32, 108, 0.12) 100%);
  border-radius: 25px;
  border: 2px solid rgba(40, 32, 108, 0.20);
  box-shadow: 0 10px 28px rgba(40, 32, 108, 0.15);
  transition: var(--transition);
}

.program-container:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(40, 32, 108, 0.25);
}

.container-header {
  text-align: center;
  margin-bottom: 2rem;
}

.container-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(112, 60, 225, 0.1);
}

.cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cards-wrapper-three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.program-card-new {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(40, 32, 108, 0.18);
  border: 3px solid var(--primary-dark);
  cursor: pointer;
  transition: all 0.4s ease;
}

.program-card-new:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 40px rgba(40, 32, 108, 0.25);
  border-color: var(--accent-gold);
}

.program-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.program-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.program-card-new:hover .program-image-container img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.program-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 32, 108, 0.15);
  transition: all 0.4s ease;
}

.program-card-new:hover .program-overlay {
  background: rgba(40, 32, 108, 0.4);
}

.program-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
  padding: 1rem;
  line-height: 1.2;
}

.program-card-new:hover .program-overlay h4 {
  color: var(--accent-gold-hover);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--text-white);
  border-radius: var(--border-radius-large);
  padding: 3rem;
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s ease-out;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: var(--primary-light);
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-content h3 {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-style: italic;
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonies {
  padding: var(--section-padding);
  background: var(--bg-surface);
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonials-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

#testimonial-cards {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(0);
  height: 100%;
}

.testimony-card {
  flex: 0 0 320px;
  background: var(--bg-card);
  border: 1px solid var(--light-border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 380px;
  min-width: 320px;
  max-width: 320px;
}

.testimony-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-dark);
  box-shadow: 0 16px 35px rgba(40, 32, 108, 0.2);
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
  text-align: center;
}

.testimony-content {
  height: 220px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-dark) rgba(40, 32, 108, 0.1);
}

.testimony-content::-webkit-scrollbar {
  width: 8px;
}

.testimony-content::-webkit-scrollbar-track {
  background: rgba(40, 32, 108, 0.1);
  border-radius: 4px;
  margin: 2px 0;
}

.testimony-content::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
  border: 1px solid rgba(40, 32, 108, 0.1);
}

.testimony-content::-webkit-scrollbar-thumb:hover {
  background: #3a3191;
}

.testimony-content p {
  display: block;
  -webkit-line-clamp: none;
  -webkit-box-orient: initial;
  overflow: visible;
  white-space: pre-line;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  text-align: justify;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  padding-right: 4px;
}

.testimony-author {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
  height: 70px;
}

.author-info {
  text-align: center;
}

.author-info h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 0 0 0.3rem 0;
  font-weight: 700;
}

.author-info span {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Navigation Buttons */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-dark);
  color: var(--text-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(40, 32, 108, 0.3);
  transition: var(--transition);
}

.testimonial-nav-btn:hover:not(:disabled) {
  background: #3a3191;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 25px rgba(40, 32, 108, 0.4);
}

.testimonial-nav-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0.5;
}

.testimonial-prev {
  left: -25px;
}

.testimonial-next {
  right: -25px;
}

/* Google Reviews CTA */
.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-secondary);
}

.google-reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #4285f4;
  color: var(--text-white);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
  transition: var(--transition);
  border: 2px solid transparent;
}

.google-reviews-btn:hover {
  background: #3367d6;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

.google-reviews-btn i {
  font-size: 1.3rem;
}

/* ===== ALUMNI SECTION ===== */
.alumni {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #f8f7ff 0%, #f0efff 50%, #e8e6ff 100%);
  overflow: hidden;
}

.alumni-slider-container {
  max-width: 100vw;
  margin: 3rem auto;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  mask: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 5%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 5%,
    rgba(0, 0, 0, 1) 15%,
    rgba(0, 0, 0, 1) 85%,
    rgba(0, 0, 0, 0.1) 95%,
    transparent 100%
  );
}

.alumni-slider-container::before,
.alumni-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 10;
  pointer-events: none;
}

.alumni-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base), transparent);
}

.alumni-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base), transparent);
}

.alumni-slider-track {
  display: flex;
  gap: 2rem;
  animation: autoSlideInfinite 16s linear infinite;
  will-change: transform;
  animation-timing-function: linear;
  animation-fill-mode: none;
  animation-play-state: running;
  width: max-content;
}

.alumni-slider-container:hover .alumni-slider-track {
  animation-play-state: paused;
}

.alumni-card {
  flex: 0 0 320px;
  background: var(--bg-card-transparent);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-heavy);
  border: 2px solid rgba(112, 60, 225, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem 0;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.alumni-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-light), #a084e8, var(--primary-light));
}

.alumni-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(112, 60, 225, 0.25);
  border-color: rgba(112, 60, 225, 0.2);
}

.alumni-image {
  margin-bottom: 1.5rem;
}

.alumni-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: 0 5px 15px rgba(112, 60, 225, 0.2);
  transition: var(--transition);
}

.alumni-card:hover .alumni-image img {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(112, 60, 225, 0.3);
}

.alumni-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.3;
}

.current-school {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(112, 60, 225, 0.08);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  border: 1px solid rgba(112, 60, 225, 0.2);
  transition: var(--transition);
  min-height: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.alumni-card:hover .current-school {
  background: rgba(112, 60, 225, 0.12);
  border-color: var(--primary-light);
}

.current-school i {
  color: var(--primary-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.current-school span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
  max-width: 200px;
  text-align: center;
}

.alumni-slider-track * {
  backface-visibility: hidden;
  perspective: 1000px;
}

.alumni-slider-track {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

/* ===== GALLERY PREVIEW SECTION ===== */
.gallery-preview {
  padding: var(--section-padding);
  background: var(--bg-base);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transition: all 0.4s ease;
  cursor: pointer;
  background: var(--text-white);
  border: 2px solid var(--primary-light);
  height: 300px;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(112, 60, 225, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(112, 60, 225, 0.9) 0%, transparent 100%);
  color: var(--text-white);
  padding: 2rem;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  padding: var(--section-padding);
  background: var(--bg-base);
  text-align: center;
}

.social-section .section-title h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 900;
}

.social-section .section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.social-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-family: var(--font-secondary);
}

.social-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  color: var(--text-white);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  min-width: 180px;
  justify-content: center;
  cursor: pointer;
}

.social-cta i {
  font-size: 2.4rem;
}

.instagram-cta {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  box-shadow: 0 8px 20px rgba(245, 133, 41, 0.5);
}

.instagram-cta:hover {
  background: linear-gradient(45deg, #dd2a7b, #8134af, #515bd4, #f58529);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(221, 42, 123, 0.7);
}

.facebook-cta {
  background: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5);
}

.facebook-cta:hover {
  background: #145dbb;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 93, 187, 0.7);
}

.youtube-cta {
  background: #ff0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

.youtube-cta:hover {
  background: #cc0000;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(204, 0, 0, 0.7);
}

.twitter-cta {
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.twitter-cta:hover {
  background: #111;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.threads-cta {
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}

.threads-cta:hover {
  background: #1a1a1a;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #fafafa 0%, #f5f4ff 50%, #f0efff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-left h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.contact-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-details {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.3rem 0.2rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}

.contact-detail-item:hover {
  background: rgba(112, 60, 225, 0.06);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.2rem;
}

.contact-detail-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.contact-detail-content p,
.contact-detail-content a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-secondary);
}

.contact-detail-content a:hover {
  color: var(--primary-dark);
}

.contact-right {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-medium);
}

.contact-form-container h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: var(--font-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.75rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: var(--text-white);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(50, 35, 83, 0.5);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px rgba(40, 32, 108, 0.2);
}

.form-group select {
  cursor: pointer;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  padding: 3rem 0 1rem;
  color: var(--text-white);
  font-family: var(--font-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-faded);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-faded);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-section ul li a:hover {
  color: var(--accent-gold);
}

.footer .footer-contact-link {
  color: inherit;
  text-decoration: none;
}

.footer .footer-contact-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: #ffe768;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 214, 0, 0.4);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(255, 214, 0, 0.2);
}

.newsletter-form button {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
}

.newsletter-form button:hover {
  background: #ffe768;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 214, 0, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 214, 0, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.opportunity-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.opportunity-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: var(--accent-gold);
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid transparent;
  width: 100%;
  max-width: 280px;
  justify-content: center;
}

.opportunity-link:hover {
  background: #ffe768;
  color: #1a1540;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 214, 0, 0.4);
  border-color: rgba(255, 214, 0, 0.6);
}

.opportunity-link i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.opportunity-link span {
  font-weight: 600;
  white-space: nowrap;
}

/* ===== UNIFIED SECTION BACKGROUNDS ===== */
section:not(.hero):not(.footer):not(.header) {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* Dark Mode Overrides */
body.dark-mode section:not(.hero):not(.footer):not(.header) {
  background: var(--dark-bg-surface);
  color: var(--dark-text);
}

body.dark-mode .founder-card,
body.dark-mode .team-member,
body.dark-mode .program-container,
body.dark-mode .testimony-card,
body.dark-mode .alumni-card,
body.dark-mode .patron-card,
body.dark-mode .contact-right,
body.dark-mode .timescape-story,
body.dark-mode .cho-long-card,
body.dark-mode .program-card-new {
  background: var(--dark-bg-card);
  border: 1px solid var(--dark-border);
  box-shadow: var(--shadow-light);
  color: var(--dark-text);
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5 {
  color: var(--accent-gold);
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode span,
body.dark-mode label,
body.dark-mode a {
  color: var(--dark-text);
}

/* ===== ACCESSIBILITY & FOCUS STYLES ===== */
.contact-btn:focus,
.contact-btn2:focus,
.submit-btn:focus,
.hamburger:focus,
.nav-links a:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .nav-links {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .timescape-content,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .testimony-card {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    height: 360px;
  }

  .testimony-content {
    height: 200px;
    max-height: 200px;
  }
}

@media (max-width: 1024px) {
  .timescape-content {
    max-width: 900px;
    gap: 2.5rem;
  }

  .timescape-story,
  .timescape-card {
    height: 400px;
  }

  .timescape-story {
    padding: 2rem;
  }

  .testimonials-container {
    height: 380px;
  }

  .testimony-card {
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
    height: 360px;
    padding: 1.3rem;
  }

  .testimony-content {
    height: 190px;
    max-height: 190px;
  }

  .timescape-floating-element.large { width: 65px; height: 65px; }
  .timescape-floating-element.medium { width: 50px; height: 50px; }
  .timescape-floating-element.small { width: 35px; height: 35px; }
  .timescape-floating-element.tiny { width: 22px; height: 22px; }

  #testimonial-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
  .cards-wrapper-three {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links,
  .nav .contact-btn {
    display: none;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    background-attachment: scroll;
    min-height: 500px;
    padding: 140px 1rem 60px;
  }

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

  .hero-tagline img {
    max-width: 300px;
  }

  .hero-stats {
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .stat-item {
    width: 150px;
    height: 120px;
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .lm-ethos {
    margin-top: 2rem;
    padding: 1.5rem;
  }

  .lm-ethos h3 {
    font-size: 1.8rem;
  }

  .lm-ethos p {
    font-size: 1rem;
    text-align: left;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .timescape {
    padding: 4rem 1rem;
  }

  .timescape .section-title h2 {
    font-size: 2.2rem;
  }

  .timescape-content {
    grid-template-columns: 1fr;
    grid-template-areas: "story" "video";
    max-width: 100%;
    gap: 2.5rem;
    margin-top: 3rem;
  }

  .timescape-story,
  .timescape-card {
    height: 380px;
  }

  .timescape-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timescape-floating-element.large { width: 55px; height: 55px; }
  .timescape-floating-element.medium { width: 40px; height: 40px; }
  .timescape-floating-element.small { width: 28px; height: 28px; }
  .timescape-floating-element.tiny { width: 18px; height: 18px; }
  .timescape-floating-element { opacity: 0.6; }

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

  .force-image {
    grid-column: 1;
    grid-row: 1;
  }

  .force-content {
    grid-column: 1;
    grid-row: 2;
  }

  .force-image img {
    width: 250px;
    height: 250px;
  }

  .force-content h3 {
    font-size: 1.7rem;
  }

  .force-content h4 {
    font-size: 1.1rem;
  }

  .force-content p {
    text-align: left;
  }

  .force-behind {
    padding: 4rem 0 1.5rem 0;
  }

  .cho-long-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .cho-long-card .cho-content {
    text-align: center;
  }

  .cho-long-card .cho-content h3 {
    font-size: 2rem;
  }

  .cho-long-card .cho-content h4 {
    font-size: 1.2rem;
  }

  .cho-long-card .cho-image img {
    width: 180px;
    height: 180px;
  }

  .patrons-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .patron-card {
    padding: 2rem;
  }

  .patron-content h3 {
    font-size: 1.6rem;
  }

  .patron-content h4 {
    font-size: 1rem;
  }

  .patron-content p {
    text-align: left;
  }

  .program-container {
    padding: 2rem;
    max-width: 95%;
  }

  .cards-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .container-header h3 {
    font-size: 1.5rem;
  }

  .program-card-new {
    height: 280px;
  }

  .program-overlay h4 {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .modal-content {
    padding: 2rem;
    margin: 1rem;
  }

  .modal-content h2 {
    font-size: 1.8rem;
  }

  .testimonies {
    padding: 4rem 0;
  }

  .testimonials-wrapper {
    padding: 0 1.5rem;
  }

  .testimonials-container {
    height: 360px;
  }

  .testimony-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    height: 340px;
    padding: 1.2rem;
  }

  .testimony-content {
    height: 180px;
    max-height: 180px;
    padding-right: 6px;
  }

  .testimonial-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .testimonial-prev {
    left: -18px;
  }

  .testimonial-next {
    right: -18px;
  }

  #testimonial-cards { grid-template-columns: 1fr; gap: 1rem; }

  .alumni-slider-container {
    padding: 1.5rem 0;
  }

  .alumni-card {
    flex: 0 0 280px;
    padding: 1.5rem;
    min-height: 350px;
  }

  .alumni-image img {
    width: 100px;
    height: 100px;
  }

  .alumni-info h3 {
    font-size: 1.2rem;
  }

  .current-school span {
    font-size: 0.85rem;
    max-width: 180px;
  }

  .alumni-slider-track {
    gap: 1.5rem;
  }

  .social-ctas {
    flex-direction: column;
    gap: 1.8rem;
  }

  .social-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: 1.6rem;
    padding: 1.3rem 2rem;
  }

  .social-cta i {
    font-size: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
    max-width: 300px;
  }

  .opportunity-links {
    align-items: center;
    gap: 1.2rem;
  }

  .opportunity-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1.2rem;
    font-size: 1rem;
  }

  .patron-header {
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .patron-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .patron-heading {
    text-align: center;
  }

  .patron-image {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-tagline img {
    max-width: 250px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stat-item {
    width: 160px;
    height: 100px;
  }

  .lm-ethos h3 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .subsection-title {
    font-size: 1.5rem;
  }

  .timescape {
    padding: 3rem 0.5rem;
  }

  .timescape .section-title h2 {
    font-size: 1.8rem;
  }

  .timescape-story,
  .timescape-card {
    height: 350px;
  }

  .timescape-story {
    padding: 1.5rem;
  }

  .timescape-story p {
    font-size: 0.95rem;
    text-align: left;
  }

  .timescape-story p:first-child {
    font-size: 1rem;
    padding-left: 1.2rem;
  }

  .feature {
    padding: 0.8rem;
  }

  .feature span {
    font-size: 0.9rem;
  }

  .timescape-floating-elements {
    opacity: 0.5;
  }

  .force-image img {
    width: 200px;
    height: 200px;
  }

  .force-content h3 {
    font-size: 1.5rem;
  }

  .cho-long-card .cho-image img {
    width: 160px;
    height: 160px;
  }

  .cho-long-card .cho-content h3 {
    font-size: 1.8rem;
  }

  .patron-card {
    padding: 1.5rem;
  }

  .patron-content h3 {
    font-size: 1.4rem;
  }

  .programs-container {
    gap: 2.5rem;
  }

  .program-container {
    padding: 1.5rem;
  }

  .container-header h3 {
    font-size: 1.3rem;
  }

  .program-card-new {
    height: 240px;
  }

  .program-overlay h4 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 0.5rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .founder-card,
  .team-member,
  .testimony-card {
    padding: 1.5rem;
  }

  .testimonials-wrapper {
    padding: 0 1rem;
  }

  .testimonials-container {
    height: 340px;
  }

  .testimony-card {
    height: 320px;
    padding: 1rem;
  }

  .testimony-content {
    height: 160px;
    max-height: 160px;
  }

  .testimony-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .testimonial-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .testimonial-prev {
    left: -15px;
  }

  .testimonial-next {
    right: -15px;
  }

  .contact-right {
    padding: 1.5rem;
  }

  .contact-btn2 {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .gallery-item {
    height: 250px;
  }

  .alumni-slider-container {
    padding: 1rem 0;
  }

  .alumni-card {
    flex: 0 0 260px;
    padding: 1.2rem;
    min-height: 320px;
  }

  .alumni-image img {
    width: 90px;
    height: 90px;
  }

  .alumni-info h3 {
    font-size: 1.1rem;
  }

  .current-school {
    padding: 0.6rem 1rem;
    flex-direction: column;
    gap: 0.3rem;
  }

  .current-school span {
    font-size: 0.8rem;
    max-width: 160px;
  }

  .opportunity-link {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
  }

  .opportunity-link i {
    font-size: 1.3rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .mobile-nav,
  .hamburger,
  .contact-btn,
  .contact-btn2 {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

.force-behind .section-title p {
  white-space: nowrap;      /* Prevent line breaks */
  overflow: hidden;         /* Hide overflow content */
  text-overflow: ellipsis;  /* Show ... if the text is too long */
  max-width: 100%;          /* Allow it to use full container width */
  display: block;           /* Ensure block level */
  margin: 0 auto;           /* Center if needed */
}

/* Force paragraph in these sections to be one line */
.programs .section-title p,
.testimonies .section-title p,
.contact .section-title p,
.alumni .section-title p {
  white-space: nowrap;      /* Prevent line breaks */
  overflow: hidden;         /* Hide overflow */
  text-overflow: ellipsis;  /* Show "..." if text overflows */
  max-width: 100%;          /* Take full container width */
  margin: 0 auto;
  display: block;
}

/* ===== DARK MODE IMPLEMENTATION ===== */

/* Dark Mode Variables - Only for applicable sections */
body.dark-mode {
  /* Dark mode colors for sections (excluding navbar, hero, footer) */
  --bg-main: #2d1b69; /* Deep purple base */
  --bg-section: #2d1b69; /* Purple for all sections */
  --bg-panel: rgba(255, 255, 255, 0.08); /* Semi-transparent cards */
  --color-text: #ffffff; /* White text */
  --color-heading: #ffd700; /* Gold/yellow headings */
  --color-border: rgba(255, 255, 255, 0.15); /* Light borders */
  --color-shadow: rgba(0, 0, 0, 0.6); /* Darker shadows */
}

/* Apply dark mode only to specific sections (excluding navbar, hero, footer) */
body.dark-mode section:not(.hero) {
  background: var(--bg-section) !important;
  color: var(--color-text);
}

/* Specific section overrides for dark mode */
body.dark-mode .timescape,
body.dark-mode .team,
body.dark-mode .force-behind,
body.dark-mode .patrons-section,
body.dark-mode .programs,
body.dark-mode .testimonies,
body.dark-mode .alumni,
body.dark-mode .gallery-preview,
body.dark-mode .social-section,
body.dark-mode .contact {
  background: var(--bg-section) !important;
  color: var(--color-text);
}

/* Cards and panels in dark mode */
body.dark-mode .founder-card,
body.dark-mode .team-member,
body.dark-mode .program-card-new,
body.dark-mode .testimony-card,
body.dark-mode .alumni-card,
body.dark-mode .patron-card,
body.dark-mode .contact-right,
body.dark-mode .timescape-story,
body.dark-mode .cho-long-card,
body.dark-mode .program-container {
  background: var(--bg-panel) !important;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px var(--color-shadow);
  color: var(--color-text);
}

/* Headings in dark mode - yellow/gold */
body.dark-mode section:not(.hero):not(.footer) h1,
body.dark-mode section:not(.hero):not(.footer) h2,
body.dark-mode section:not(.hero):not(.footer) h3,
body.dark-mode section:not(.hero):not(.footer) h4,
body.dark-mode section:not(.hero):not(.footer) h5,
body.dark-mode section:not(.hero):not(.footer) h6 {
  color: var(--color-heading) !important;
}

/* Text elements in dark mode - white */
body.dark-mode section:not(.hero):not(.footer) p,
body.dark-mode section:not(.hero):not(.footer) li,
body.dark-mode section:not(.hero):not(.footer) span:not(.author-info span),
body.dark-mode section:not(.hero):not(.footer) label,
body.dark-mode section:not(.hero):not(.footer) .section-title p {
  color: var(--color-text) !important;
}

/* Special elements that should remain with their accent colors */
body.dark-mode .author-info span,
body.dark-mode .feature i,
body.dark-mode .current-school i,
body.dark-mode .alumni-info h3,
body.dark-mode .expertise-tag {
  color: var(--accent-yellow) !important;
}

/* Form elements in dark mode */
body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

body.dark-mode .form-group label {
  color: var(--color-heading);
}

body.dark-mode .contact-right {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Timescape specific elements */
body.dark-mode .timescape-story em {
  background: rgba(255, 215, 0, 0.2);
  color: var(--color-heading);
}

body.dark-mode .feature {
  background: rgba(255, 215, 0, 0.15);
  border-left-color: var(--accent-yellow);
}

body.dark-mode .feature:hover {
  background: rgba(255, 215, 0, 0.25);
}

/* Patron cards specific styling */
body.dark-mode .patron-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 215, 0, 0.05) 100%) !important;
}

body.dark-mode .patron-card::before {
  background: linear-gradient(90deg, var(--accent-yellow), #ffd700);
}

/* Program cards */
body.dark-mode .program-container {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.08) 100%) !important;
  border-color: rgba(255, 215, 0, 0.3);
}

/* Alumni cards */
body.dark-mode .alumni-card::before {
  background: linear-gradient(90deg, var(--accent-yellow), #ffd700, var(--accent-yellow));
}

body.dark-mode .current-school {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

body.dark-mode .alumni-card:hover .current-school {
  background: rgba(255, 215, 0, 0.25);
  border-color: var(--accent-yellow);
}

/* Testimonial specific */
body.dark-mode .stars {
  color: #FFD700 !important;
}

body.dark-mode .testimony-author {
  border-top-color: var(--color-border);
}

/* Gallery items */
body.dark-mode .gallery-item {
  border-color: var(--accent-yellow);
}

/* Founder and team vision sections */
body.dark-mode .founder-vision {
  background: rgba(255, 215, 0, 0.1);
  border-left-color: var(--accent-yellow);
}

body.dark-mode .founder-vision h5 {
  color: var(--color-heading);
}

body.dark-mode .founder-vision p {
  color: var(--color-text);
}

/* Special content areas that need specific handling */
body.dark-mode .lm-ethos em {
  color: var(--color-heading);
}

/* Contact detail items */
body.dark-mode .contact-detail-item:hover {
  background: rgba(255, 215, 0, 0.1);
}

body.dark-mode .contact-detail-content a:hover {
  color: var(--accent-yellow);
}

/* Modal content (keep light for readability) */
body.dark-mode .modal-content {
  background: var(--white) !important;
  color: var(--text-dark) !important;
}

body.dark-mode .modal-content h2,
body.dark-mode .modal-content h3,
body.dark-mode .modal-content p {
  color: var(--text-dark) !important;
}

/* Preserve original colors for navbar, hero, and footer */
body.dark-mode .header,
body.dark-mode .nav,
body.dark-mode .hero,
body.dark-mode .hero *,
body.dark-mode .footer,
body.dark-mode .footer * {
  /* These sections maintain their original styling in both modes */
  background: inherit;
  color: inherit;
}

/* Ensure hero background image and overlays remain unchanged */
body.dark-mode .hero {
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 100vh, rgba(0, 0, 0, 0.8) 100vh, rgba(0, 0, 0, 1) 100%),
    url('img/hero-elements/IMG_0504.JPG.webp') !important;
}

body.dark-mode .hero::before {
  background: linear-gradient(
    to top,
    var(--primary-dark) 0%,
    rgba(40, 32, 108, 0.92) 20%,
    rgba(40, 32, 108, 0.75) 40%,
    rgba(40, 32, 108, 0.45) 65%,
    rgba(40, 32, 108, 0.15) 85%,
    rgba(40, 32, 108, 0.00) 100%
  ) !important;
}

/* Scrollbar styling for dark mode */
body.dark-mode .timescape-story-content::-webkit-scrollbar-thumb,
body.dark-mode .testimony-content::-webkit-scrollbar-thumb {
  background: var(--accent-yellow);
}

body.dark-mode .timescape-story-content::-webkit-scrollbar-track,
body.dark-mode .testimony-content::-webkit-scrollbar-track {
  background: rgba(255, 215, 0, 0.1);
}

body.dark-mode .timescape-story-content,
body.dark-mode .testimony-content {
  scrollbar-color: var(--accent-yellow) rgba(255, 215, 0, 0.1);
}

/* Special case for cho-long-card to maintain its unique styling */
body.dark-mode .cho-long-card {
  background: rgba(255, 215, 0, 0.08) !important;
}

/* Ensure text in special areas remains readable */
body.dark-mode .timescape-story p,
body.dark-mode .force-content p,
body.dark-mode .patron-content p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Dark mode toggle button remains consistent */
body.dark-mode .dark-mode-toggle {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

body.dark-mode .dark-mode-toggle:hover {
  background: rgba(255, 215, 0, 0.15);
}

/* ===== FORCE HERO SECTION TO BE IDENTICAL IN BOTH MODES ===== */

/* Force hero background to always be the same */
.hero,
body.dark-mode .hero {
  /* Force exact same background image and overlays */
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(to bottom, transparent 0%, transparent 100vh, rgba(0, 0, 0, 0.8) 100vh, rgba(0, 0, 0, 1) 100%),
    url('img/hero-elements/IMG_0504.JPG.webp') !important;
  
  background-size: 100% 100vh, 100% 100%, 120% 120vh !important;
  background-position: center top, center top, center top !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-attachment: scroll, scroll, scroll !important;
  background-color: transparent !important;
}

/* Force hero overlay gradient to be exactly the same */
.hero::before,
body.dark-mode .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #28206c 0%,
    rgba(40, 32, 108, 0.92) 20%,
    rgba(40, 32, 108, 0.75) 40%,
    rgba(40, 32, 108, 0.45) 65%,
    rgba(40, 32, 108, 0.15) 85%,
    rgba(40, 32, 108, 0.00) 100%
  ) !important;
}

/* Force all hero text colors to be identical */
.hero h1,
body.dark-mode .hero h1 {
  color: #ffd600 !important;
  font-family: "Fraunces", serif !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.hero-content,
body.dark-mode .hero-content,
.hero-content *,
body.dark-mode .hero-content * {
  color: #ffffff !important;
  background: transparent !important;
}

/* Force stat cards to look exactly the same */
.stat-item,
body.dark-mode .stat-item {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
}

.stat-item:hover,
body.dark-mode .stat-item:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-5px) !important;
}

.stat-item i,
body.dark-mode .stat-item i {
  color: #ffd700 !important;
}

.stat-number,
body.dark-mode .stat-number {
  color: #ffffff !important;
}

.stat-label,
body.dark-mode .stat-label {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Force hero stats container styling */
.hero-stats,
body.dark-mode .hero-stats {
  background: transparent !important;
}

/* Force tagline text styling */
.hero-tagline,
body.dark-mode .hero-tagline,
.hero-tagline *,
body.dark-mode .hero-tagline * {
  color: #ffd600 !important;
  background: transparent !important;
}

/* Force LM Ethos section to be identical */
.lm-ethos,
body.dark-mode .lm-ethos {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(15px) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.lm-ethos h3,
body.dark-mode .lm-ethos h3 {
  color: #ffd700 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.lm-ethos p,
body.dark-mode .lm-ethos p {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.lm-ethos em,
body.dark-mode .lm-ethos em {
  color: #ffd700 !important;
}

/* Force hero positioning and layout to be identical */
.hero,
body.dark-mode .hero {
  position: relative !important;
  min-height: 165vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  overflow: visible !important;
  padding-top: 120px !important;
  padding-bottom: 2rem !important;
}

/* Ensure hero elements maintain proper z-index */
.hero > *,
body.dark-mode .hero > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Reset any dark mode CSS variables for hero section */
body.dark-mode .hero,
body.dark-mode .hero-content,
body.dark-mode .hero-stats,
body.dark-mode .stat-item,
body.dark-mode .lm-ethos {
  --bg-base: transparent;
  --bg-surface: transparent;
  --bg-card: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-white: #ffffff;
  --text-faded: rgba(255, 255, 255, 0.9);
  --accent-gold: #ffd600;
}

/* Prevent any dark mode inheritance in hero */
body.dark-mode .hero,
body.dark-mode .hero *:not(.nav):not(.nav *) {
  background-color: transparent !important;
}

/* ===== NAVIGATION CTA - FORCE WHATSAPP BUTTON TO BE IDENTICAL ===== */

/* Force WhatsApp button to always look the same in nav */
.nav-ctas .whatsapp-btn,
body.dark-mode .nav-ctas .whatsapp-btn,
.nav .whatsapp-btn,
body.dark-mode .nav .whatsapp-btn {
  background: #ffd600 !important;
  color: #28206c !important;
}

.nav-ctas .whatsapp-btn:hover,
body.dark-mode .nav-ctas .whatsapp-btn:hover,
.nav .whatsapp-btn:hover,
body.dark-mode .nav .whatsapp-btn:hover {
  background: #eec900 !important;
  color: #1a1540 !important;
}

/* Force WhatsApp icon and text color */
.nav-ctas .whatsapp-btn i,
body.dark-mode .nav-ctas .whatsapp-btn i,
.nav .whatsapp-btn i,
body.dark-mode .nav .whatsapp-btn i {
  color: #28206c !important;
}

.nav-ctas .whatsapp-btn span,
body.dark-mode .nav-ctas .whatsapp-btn span,
.nav .whatsapp-btn span,
body.dark-mode .nav .whatsapp-btn span {
  color: #28206c !important;
}

/* ===== FOOTER BUTTONS - MAKE YELLOW IN DARK MODE ===== */

/* Force footer opportunity links to be yellow in dark mode */
body.dark-mode .opportunity-link {
  background: #ffd600 !important;
  color: #28206c !important;
  border-color: transparent !important;
}

body.dark-mode .opportunity-link:hover {
  background: #eec900 !important;
  color: #1a1540 !important;
  border-color: rgba(255, 214, 0, 0.6) !important;
}

body.dark-mode .opportunity-link i,
body.dark-mode .opportunity-link span {
  color: #28206c !important;
}

/* Force footer social links to be yellow in dark mode */
body.dark-mode .social-links a {
  background: #ffd600 !important;
  color: #28206c !important;
}

body.dark-mode .social-links a:hover {
  background: #eec900 !important;
  color: #1a1540 !important;
}

/* Force footer newsletter button to be yellow in dark mode */
body.dark-mode .newsletter-form button {
  background: #ffd600 !important;
  color: #28206c !important;
}

body.dark-mode .newsletter-form button:hover {
  background: #eec900 !important;
  color: #1a1540 !important;
}

/* Force any other footer buttons to be yellow */
body.dark-mode .footer .contact-btn,
body.dark-mode .footer button,
body.dark-mode .footer input[type="submit"] {
  background: #ffd600 !important;
  color: #28206c !important;
}

body.dark-mode .footer .contact-btn:hover,
body.dark-mode .footer button:hover,
body.dark-mode .footer input[type="submit"]:hover {
  background: #eec900 !important;
  color: #1a1540 !important;
}

/* ===== TOP ARROW BUTTON - DARK ARROW ICON IN DARK MODE ===== */

/* Keep everything the same, just change arrow color in dark mode */
body.dark-mode .top-arrow-btn {
  color: #28206c !important; /* Dark arrow icon */
}

body.dark-mode .top-arrow-btn:hover {
  color: #1a1540 !important; /* Slightly darker on hover */
}

@media (max-width: 1440px) {
    .hamburger {
        display: flex;
    }

    .nav-links,
    .nav .contact-btn {
        display: none;
    }
    
    /* Keep the nav-ctas (dark mode toggle and WhatsApp) visible on tablet */
    .nav-ctas {
        display: inline-flex;
    }
    
    /* Ensure the dark mode toggle and WhatsApp button remain visible */
    .dark-mode-toggle,
    .whatsapp-btn {
        display: inline-flex;
    }
}

@media (max-width: 1440px) {
    /* Hamburger menu activation */
    .hamburger {
        display: flex;
    }

    .nav-links,
    .nav .contact-btn {
        display: none;
    }
    
    .nav-ctas {
        display: inline-flex;
    }
    
    /* Existing responsive adjustments */
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .timescape-content,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .testimony-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
        height: 360px;
    }

    .testimony-content {
        height: 200px;
        max-height: 200px;
    }
}
/* ===== MOBILE HERO SECTION - FIXED STATS ===== */
.mobile-hero {
    display: none;
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #2d1b69 0%, #1a1540 100%) !important;
    color: var(--text-white);
    padding-top: 100px;
    overflow: hidden;
}

.mobile-hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.mobile-hero-logo {
    margin-bottom: 2rem;
}

.mobile-hero-logo img {
    max-width: 200px;
    height: auto;
}

.mobile-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    line-height: 1.2;
}

.mobile-hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-faded);
    font-style: italic;
}

.mobile-hero-photo {
    margin: 2rem 0;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mobile-hero-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fixed Mobile Hero Stats */
.mobile-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem auto 0;
    max-width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.mobile-stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 100px;
    max-width: 140px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.mobile-stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-stat-item i {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.mobile-stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.3rem;
}

.mobile-stat-label {
    font-size: 0.75rem;
    color: var(--text-faded);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    text-align: center;
}

/* Desktop/Mobile Toggle */
@media (min-width: 1025px) {
    .hero {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .mobile-hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
}

@media (max-width: 1024px) {
    .hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .mobile-hero {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .mobile-hero-stats {
        max-width: 90%;
        gap: 0.8rem;
    }
}

/* Tablet specific adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .mobile-stat-item {
        min-width: 120px;
        max-width: 160px;
        height: 130px;
        padding: 1.2rem;
    }
    
    .mobile-stat-number {
        font-size: 2rem;
    }
    
    .mobile-stat-label {
        font-size: 0.8rem;
    }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .mobile-hero-stats {
        gap: 0.5rem;
        margin: 1.5rem auto 0;
        max-width: 95%;
    }
    
    .mobile-stat-item {
        min-width: 90px;
        max-width: 120px;
        height: 110px;
        padding: 0.8rem;
    }
    
    .mobile-stat-item i {
        font-size: 1.3rem;
    }
    
    .mobile-stat-number {
        font-size: 1.6rem;
    }
    
    .mobile-stat-label {
        font-size: 0.7rem;
    }
}

/* Very small mobile screens */
@media (max-width: 480px) {
    .mobile-hero h1 {
        font-size: 1.8rem;
    }
    
    .mobile-hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
    
    .mobile-stat-item {
        min-width: 200px;
        max-width: 250px;
        height: 100px;
        padding: 1rem;
        flex: none;
    }
    
    .mobile-stat-number {
        font-size: 1.8rem;
    }
    
    .mobile-stat-label {
        font-size: 0.75rem;
    }
}

/* Dark Mode Support */
body.dark-mode .mobile-stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .mobile-hero h1,
body.dark-mode .mobile-stat-number {
    color: var(--accent-gold);
}

body.dark-mode .mobile-hero-tagline,
body.dark-mode .mobile-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== FORCE BEHIND SECTION - MOBILE FIXES ===== */

/* Mobile layout for force-behind section */
@media (max-width: 768px) {
    .force-member {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
        padding: 2rem 0;
    }
    
    .force-image {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }
    
    .force-content {
        grid-column: 1;
        grid-row: 2;
        text-align: center;
    }
    
    .force-content h3,
    .force-content h4 {
        text-align: center;
    }
    
    .force-content p {
        text-align: center;
        max-width: 100%;
    }
    
    .force-image img {
        width: 250px;
        height: 250px;
    }
    
    /* Override existing left/right layout classes on mobile */
    .left-layout .force-image,
    .right-layout .force-image {
        grid-column: 1;
        grid-row: 1;
    }
    
    .left-layout .force-content,
    .right-layout .force-content {
        grid-column: 1;
        grid-row: 2;
    }
    
    /* Cho long card mobile adjustments */
    .cho-long-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .cho-long-card .cho-content {
        text-align: center;
    }
    
    .cho-long-card .cho-content h3 {
        font-size: 2rem;
    }
    
    .cho-long-card .cho-content h4 {
        font-size: 1.2rem;
    }
    
    .cho-long-card .cho-content p {
        text-align: center;
    }
    
    .cho-long-card .cho-image img {
        width: 180px;
        height: 180px;
    }
}

/* Even smaller mobile screens */
@media (max-width: 480px) {
    .force-image img {
        width: 200px;
        height: 200px;
    }
    
    .force-content h3 {
        font-size: 1.5rem;
    }
    
    .cho-long-card .cho-image img {
        width: 160px;
        height: 160px;
    }
    
    .cho-long-card .cho-content h3 {
        font-size: 1.8rem;
    }
}

/* ===== MOBILE SOCIAL AND FOOTER CENTERING ===== */

/* Center social CTAs on mobile */
@media (max-width: 768px) {
    .social-ctas {
        flex-direction: column;
        align-items: center;
        gap: 1.8rem;
    }
    
    .social-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        font-size: 1.6rem;
        padding: 1.3rem 2rem;
        margin: 0 auto;
    }
    
    .social-cta i {
        font-size: 2rem;
    }
    
    /* Center footer content on mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    /* Center footer sections */
    .footer-section {
        text-align: center;
        margin: 0 auto;
        max-width: 300px;
    }
    
    .footer-section h3 {
        text-align: center;
    }
    
    .footer-section p {
        text-align: center;
        margin: 0 auto 1rem auto;
    }
    
    .footer-section ul {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-section ul li {
        text-align: center;
    }
    
    /* Center newsletter form */
    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .newsletter-form input {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .newsletter-form button {
        width: 100%;
        max-width: 280px;
    }
    
    /* Center opportunity links */
    .opportunity-links {
        align-items: center;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .opportunity-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1.2rem;
        font-size: 1rem;
        margin: 0 auto;
    }
    
    /* Center social links */
    .social-links {
        justify-content: center;
        margin: 1.5rem auto 0;
    }
    
    /* Center footer bottom text */
    .footer-bottom {
        text-align: center;
        padding: 2rem 1rem 1rem;
    }
}

/* Additional centering for smaller mobile screens */
@media (max-width: 480px) {
    .social-section {
        padding: 4rem 1rem;
    }
    
    .social-section .section-title {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .social-section .section-title h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .social-section .section-title p {
        text-align: center;
        font-size: 1rem;
        margin: 0 auto 3rem;
        max-width: 100%;
    }
    
    .social-cta {
        max-width: 280px;
        font-size: 1.4rem;
        padding: 1.2rem 1.5rem;
    }
    
    .social-cta i {
        font-size: 1.8rem;
    }
    
    /* Footer adjustments for very small screens */
    .footer {
        padding: 3rem 1rem 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .opportunity-link {
        max-width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        max-width: 100%;
    }
}

/* Ensure centering for all footer elements */
@media (max-width: 768px) {
    .footer-section:nth-child(1),
    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        text-align: center;
        justify-self: center;
        align-self: center;
    }
    
    .footer-section ul li a {
        display: inline-block;
        text-align: center;
    }
}

/* ===== MOBILE CONTACT SECTION CENTERING ===== */

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 100%;
        margin: 2rem auto 0;
        text-align: center;
    }
    
    /* Center contact left section */
    .contact-left {
        text-align: center;
        margin: 0 auto;
        max-width: 600px;
    }
    
    .contact-left h3 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-left p {
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    /* Center contact details */
    .contact-details {
        margin-top: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-detail-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
        max-width: 300px;
        width: 100%;
        border-radius: 12px;
    }
    
    .contact-detail-item:hover {
        background: rgba(112, 60, 225, 0.08);
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        font-size: 1.4rem;
    }
    
    .contact-detail-content {
        text-align: center;
        width: 100%;
    }
    
    .contact-detail-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .contact-detail-content p,
    .contact-detail-content a {
        text-align: center;
        font-size: 1rem;
        margin: 0;
    }
    
    /* Center contact form */
    .contact-right {
        background: #f8f9fa;
        border-radius: var(--border-radius);
        padding: 2rem;
        margin: 0 auto;
        max-width: 600px;
        width: 100%;
        text-align: center;
    }
    
    .contact-form-container h3 {
        text-align: center;
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        text-align: left; /* Keep form fields left-aligned for better UX */
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .form-group label {
        text-align: left;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        text-align: left;
    }
    
    .submit-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-top: 1.5rem;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Additional styling for smaller mobile screens */
@media (max-width: 480px) {
    .contact {
        padding: 3rem 0.5rem;
    }
    
    .contact-left h3 {
        font-size: 1.6rem;
    }
    
    .contact-left p {
        font-size: 0.95rem;
    }
    
    .contact-right {
        padding: 1.5rem;
    }
    
    .contact-form-container h3 {
        font-size: 1.4rem;
    }
    
    .contact-detail-item {
        max-width: 280px;
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-detail-content h4 {
        font-size: 1.1rem;
    }
    
    .contact-detail-content p,
    .contact-detail-content a {
        font-size: 0.9rem;
    }
}

/* Dark mode adjustments for mobile contact */
@media (max-width: 768px) {
    body.dark-mode .contact-detail-item:hover {
        background: rgba(255, 215, 0, 0.1);
    }
    
    body.dark-mode .contact-right {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}


/* ===== SECTION TITLE PARAGRAPH FIXES FOR MOBILE ===== */

/* Remove the forced single-line styling on mobile for better readability */
@media (max-width: 768px) {
    .force-behind .section-title p,
    .programs .section-title p,
    .testimonies .section-title p,
    .contact .section-title p,
    .alumni .section-title p,
    .social-section .section-title p,
    .patrons-section .section-title p {
        white-space: normal !important;      /* Allow line breaks on mobile */
        overflow: visible !important;        /* Show all content */
        text-overflow: initial !important;   /* Remove ellipsis */
        max-width: 100% !important;          /* Full width available */
        display: block !important;           /* Keep block display */
        margin: 0 auto !important;           /* Keep centering */
        text-align: center !important;       /* Center align text */
        line-height: 1.6 !important;         /* Better line spacing */
        padding: 0 1rem !important;          /* Add some padding */
    }
    
    /* Specific adjustments for very small screens */
    @media (max-width: 480px) {
        .force-behind .section-title p,
        .programs .section-title p,
        .testimonies .section-title p,
        .contact .section-title p,
        .alumni .section-title p,
        .social-section .section-title p {
            font-size: 1rem !important;      /* Slightly smaller font */
            padding: 0 0.5rem !important;    /* Less padding on small screens */
            line-height: 1.5 !important;     /* Tighter line spacing */
        }
    }
}

/* Keep desktop behavior for larger screens */
@media (min-width: 769px) {
    .force-behind .section-title p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    .programs .section-title p,
    .testimonies .section-title p,
    .contact .section-title p,
    .alumni .section-title p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
}

/* Additional mobile-specific section title improvements */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }
    
    .subsection-title {
        font-size: 1.5rem !important;
        margin: 2rem 0 1.5rem !important;
        padding: 0 1rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem !important;
    }
    
    .subsection-title {
        font-size: 1.4rem !important;
    }
}

/* ===== COMPLETE DESKTOP/MOBILE HERO TOGGLE FIX ===== */

/* Desktop - Show desktop hero, hide mobile hero */
@media (min-width: 1025px) {
    .hero {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .mobile-hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
    }
}

/* Mobile/Tablet - Hide desktop hero, show mobile hero */
@media (max-width: 1024px) {
    .hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }
    
    .mobile-hero {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .mobile-hero-stats {
        max-width: 90%;
        gap: 0.8rem;
    }
}

/* Force hide desktop hero in dark mode on mobile/tablet */
@media (max-width: 1024px) {
    body.dark-mode .hero,
    body.light-mode .hero,
    body:not(.dark-mode) .hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -1 !important;
        pointer-events: none !important;
        transform: translateX(-100vw) !important;
    }
    
    /* Ensure mobile hero is always visible on mobile */
    body.dark-mode .mobile-hero,
    body.light-mode .mobile-hero,
    body:not(.dark-mode) .mobile-hero {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
}

/* Additional safety measures to prevent desktop hero bleeding through */
@media (max-width: 1024px) {
    /* Remove any background images from desktop hero */
    .hero {
        background-image: none !important;
        background: transparent !important;
    }
    
    /* Hide all desktop hero child elements */
    .hero * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure mobile hero takes full precedence */
    .mobile-hero {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
    }
}

/* Force override any conflicting styles */
@media (max-width: 1024px) {
    section.hero {
        display: none !important;
    }
    
    section.mobile-hero {
        display: flex !important;
    }
    
    /* Override any specific dark mode hero styles */
    body.dark-mode section.hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    body.dark-mode section.mobile-hero {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
}

/* Tablet specific fixes */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -10000px !important;
        top: -10000px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        z-index: -999 !important;
        pointer-events: none !important;
    }
    
    .mobile-hero {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .mobile-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
        margin: 2rem auto;
        gap: 1rem;
    }
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .hero {
        content-visibility: hidden !important;
        contain: layout style paint !important;
    }
    
    .mobile-hero {
        content-visibility: visible !important;
        contain: none !important;
    }
}

/* ===== ENHANCED MOBILE HERO BACKGROUND ===== */

.mobile-hero {
    display: none;
    position: relative;
    min-height: 100vh;
    /* Enhanced gradient with multiple purple tones and subtle animation */
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(112, 60, 225, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 214, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(160, 132, 232, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #2d1b69 0%, #1a1540 25%, #28206c 50%, #1e1a52 75%, #1a1540 100%);
    background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100%;
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
    animation: gradientFloat 15s ease-in-out infinite;
    color: var(--text-white);
    padding-top: 100px;
    overflow: hidden;
}

/* Floating background animation */
@keyframes gradientFloat {
    0%, 100% { 
        background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
        background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100%;
    }
    25% { 
        background-position: 10% 20%, 90% 10%, 60% 90%, 5% 10%;
        background-size: 130% 130%, 110% 110%, 120% 120%, 100% 100%;
    }
    50% { 
        background-position: 20% 10%, 80% 20%, 40% 80%, 10% 5%;
        background-size: 125% 125%, 105% 105%, 115% 115%, 100% 100%;
    }
    75% { 
        background-position: 15% 30%, 85% 15%, 55% 85%, 8% 15%;
        background-size: 135% 135%, 115% 115%, 125% 125%, 100% 100%;
    }
}

/* Add floating particles/elements */
.mobile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 214, 0, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
    opacity: 0.7;
}

/* Sparkle animation for floating particles */
@keyframes sparkle {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-3px); }
    75% { transform: translateY(-15px) translateX(8px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Add a subtle overlay pattern */
.mobile-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 214, 0, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(112, 60, 225, 0.05) 50%, transparent 60%);
    background-size: 60px 60px, 80px 80px;
    animation: patternMove 25s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

/* Pattern movement animation */
@keyframes patternMove {
    0% { background-position: 0px 0px, 0px 0px; }
    100% { background-position: 60px 60px, -80px 80px; }
}

/* Enhanced mobile hero content positioning */
.mobile-hero-content {
    position: relative;
    z-index: 10;
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

/* Add glowing effect to the logo and title */
.mobile-hero-logo img {
    filter: drop-shadow(0 0 20px rgba(255, 214, 0, 0.3));
    transition: all 0.3s ease;
}

.mobile-hero-logo img:hover {
    filter: drop-shadow(0 0 30px rgba(255, 214, 0, 0.5));
    transform: scale(1.05);
}

.mobile-hero h1 {
    text-shadow: 
        0 0 10px rgba(255, 214, 0, 0.5),
        0 0 20px rgba(255, 214, 0, 0.3),
        0 0 30px rgba(255, 214, 0, 0.1);
}

/* Enhanced stat cards with better visual appeal */
.mobile-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-stat-item i {
    filter: drop-shadow(0 0 10px rgba(255, 214, 0, 0.6));
}

/* Dark mode adjustments for enhanced background */
body.dark-mode .mobile-hero {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(112, 60, 225, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 214, 0, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(160, 132, 232, 0.5) 0%, transparent 50%),
        linear-gradient(135deg, #1a1540 0%, #0d0b2a 25%, #1e1a52 50%, #12102d 75%, #0d0b2a 100%);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-hero {
        background-size: 150% 150%, 120% 120%, 130% 130%, 100% 100%;
    }
    
    .mobile-hero::before {
        background-size: 150px 75px;
    }
    
    .mobile-hero::after {
        background-size: 40px 40px, 60px 60px;
    }
}

.location-text {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Ensure it stays yellow in dark mode too */
body.dark-mode .location-text {
    color: var(--accent-gold) !important;
}

/* Footer registration section */
.footer-registration {
    text-align: center;
    padding: 1.5rem 0 1rem;
    margin-top: 1rem;
}

.footer-registration p {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: var(--font-secondary);
}

/* Dark mode support for registration text */
body.dark-mode .footer-registration p {
    color: var(--accent-gold) !important;
}

/* Adjust footer bottom padding to account for new section */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem; /* Reduced from 2rem since we have registration section above */
    border-top: 1px solid rgba(255, 214, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .footer-registration {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-registration p {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-registration p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

/* Fix for social section paragraph visibility - SINGLE LINE VERSION */
.social-section .section-title p {
    white-space: nowrap !important; /* Keep text in one line */
    overflow: visible !important; /* Show all content */
    text-overflow: initial !important; /* Remove ellipsis */
    max-width: none !important; /* Remove width restriction */
    line-height: 1.6 !important; /* Better line spacing */
    font-size: 1.1rem !important; /* Maintain readable size */
}

/* Mobile responsive fix - allow wrapping on smaller screens */
@media (max-width: 768px) {
    .social-section .section-title p {
        white-space: normal !important; /* Allow wrapping on mobile */
        max-width: 100% !important;
        padding: 0 1rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .social-section .section-title p {
        font-size: 0.95rem !important;
        padding: 0 0.5rem !important;
    }
}

/* Footer contact links - yellow hover instead of underline */
.footer .contact-detail-content a {
    color: var(--text-faded);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .contact-detail-content a:hover {
    color: var(--accent-gold) !important; /* Yellow on hover */
    text-decoration: none !important; /* Remove underline */
}

/* Dark mode support */
body.dark-mode .footer .contact-detail-content a {
    color: var(--text-faded);
    text-decoration: none;
}

body.dark-mode .footer .contact-detail-content a:hover {
    color: var(--accent-gold) !important; /* Yellow on hover in dark mode */
    text-decoration: none !important; /* Remove underline */
}

/* Override any existing footer link styles */
.footer .footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-contact-link:hover {
    color: var(--accent-gold) !important; /* Yellow on hover */
    text-decoration: none !important; /* No underline */
}

/* Ensure all footer links follow this behavior */
.footer-section a:not(.social-links a):not(.opportunity-link) {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-section a:not(.social-links a):not(.opportunity-link):hover {
    color: var(--accent-gold) !important;
    text-decoration: none !important;
}


/* ===== INCREASE OVERALL TEXT SIZES ===== */

/* Base font size increase */
body {
    font-size: 1.1rem; /* Increased from default */
}

/* Section titles */
.section-title h2 {
    font-size: 2.8rem; /* Increased from 2.5rem */
}

.section-title p {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.subsection-title {
    font-size: 2.2rem; /* Increased from 2rem */
}

/* Hero section */
.hero h1 {
    font-size: 3.8rem; /* Increased from 3.5rem */
}

.hero-tagline {
    font-size: 1.3rem; /* Added/increased */
}

.lm-ethos h3 {
    font-size: 2.4rem; /* Increased from 2.2rem */
}

.lm-ethos p {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

/* Timescape section */
.timescape .section-title h2 {
    font-size: 3rem; /* Increased from 2.8rem */
}

.timescape-story p {
    font-size: 1.1rem; /* Increased from 1rem */
}

.timescape-story p:first-child {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

/* Team section */
.founder-info h3,
.member-info h3 {
    font-size: 1.5rem; /* Increased from 1.4rem */
}

.founder-info h4,
.member-info h4 {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.founder-info .description,
.member-info p {
    font-size: 1.05rem; /* Increased from 0.95rem */
}

/* Force behind section */
.force-content h3 {
    font-size: 2.2rem; /* Increased from 2rem */
}

.force-content h4 {
    font-size: 1.3rem; /* Increased from 1.2rem */
}

.force-content p {
    font-size: 1.1rem; /* Increased from 1rem */
}

.cho-long-card .cho-content h3 {
    font-size: 2.7rem; /* Increased from 2.5rem */
}

.cho-long-card .cho-content h4 {
    font-size: 1.5rem; /* Increased from 1.4rem */
}

.cho-long-card .cho-content p {
    font-size: 1.1rem; /* Increased from 1rem */
}

/* Patron section */
.patron-content h3 {
    font-size: 2rem; /* Increased from 1.8rem */
}

.patron-content h4 {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.patron-content p {
    font-size: 1.05rem; /* Increased from 0.95rem */
}

/* Programs section */
.container-header h3 {
    font-size: 2rem; /* Increased from 1.8rem */
}

.program-overlay h4 {
    font-size: 2rem; /* Increased from 1.8rem */
}

.modal-content h2 {
    font-size: 2.4rem; /* Increased from 2.2rem */
}

.modal-content h3 {
    font-size: 1.4rem; /* Increased from 1.3rem */
}

.modal-content p {
    font-size: 1.1rem; /* Increased from 1rem */
}

/* Testimonials */
.testimony-content p {
    font-size: 1.1rem; /* Increased from 1rem */
}

.author-info h4 {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.author-info span {
    font-size: 1rem; /* Increased from 0.9rem */
}

/* Alumni section */
.alumni-info h3 {
    font-size: 1.4rem; /* Increased from 1.3rem */
}

.current-school span {
    font-size: 1rem; /* Increased from 0.9rem */
}

/* Contact section */
.contact-left h3 {
    font-size: 2.2rem; /* Increased from 2rem */
}

.contact-left p {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.contact-form-container h3 {
    font-size: 2rem; /* Increased from 1.8rem */
}

.form-group label {
    font-size: 1rem; /* Increased from 0.9rem */
}

.form-group input,
.form-group textarea,
.form-group select {
    font-size: 1.1rem; /* Increased from 1rem */
}

.contact-detail-content h4 {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.contact-detail-content p,
.contact-detail-content a {
    font-size: 1rem; /* Increased */
}

/* Footer */
.footer-section h3 {
    font-size: 1.3rem; /* Increased from 1.2rem */
}

.footer-section p {
    font-size: 1rem; /* Increased from 0.9rem */
}

.footer-section ul li a {
    font-size: 1rem; /* Increased from 0.9rem */
}

.footer-registration p {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

.footer-bottom {
    font-size: 1rem; /* Increased from 0.9rem */
}

/* Buttons */
.contact-btn,
.contact-btn2,
.submit-btn,
.whatsapp-btn {
    font-size: 1rem; /* Increased from 0.9rem */
}

.contact-btn2 {
    font-size: 1.2rem; /* Increased from 1.1rem */
}

/* Social section */
.social-section .section-title h2 {
    font-size: 2.7rem; /* Increased from 2.5rem */
}

.social-section .section-title p {
    font-size: 1.3rem; /* Increased from 1.2rem */
}

.social-cta {
    font-size: 1.9rem; /* Increased from 1.8rem */
}

/* Mobile responsiveness - maintain proportions */
@media (max-width: 768px) {
    body {
        font-size: 1.05rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem; /* Increased from 2rem */
    }
    
    .section-title p {
        font-size: 1.1rem; /* Increased from 1rem */
    }
    
    .hero h1 {
        font-size: 2.7rem; /* Increased from 2.5rem */
    }
    
    .lm-ethos h3 {
        font-size: 2rem; /* Increased from 1.8rem */
    }
    
    .lm-ethos p {
        font-size: 1.1rem; /* Increased from 1rem */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem; /* Increased from 1.8rem */
    }
    
    .hero h1 {
        font-size: 2.2rem; /* Increased from 2rem */
    }
    
    .lm-ethos h3 {
        font-size: 1.8rem; /* Increased from 1.6rem */
    }
}

/* Keep email link on one line */
.footer .contact-detail-content a[href*="mailto"] {
    white-space: nowrap; /* Prevents line breaks */
    display: inline-block; /* Keeps it as a single block */
}

/* Alternative - target the specific email link */
.footer-contact-link[href*="mailto"] {
    white-space: nowrap;
    display: inline-block;
}


/* Mobile responsiveness - allow wrapping on very small screens if needed */
@media (max-width: 480px) {
    .footer .contact-detail-content a[href*="mailto"],
    .footer-contact-link[href*="mailto"] {
        white-space: normal; /* Allow wrapping on very small screens */
        word-break: break-all; /* Break long email if absolutely necessary */
    }
}

.top-arrow-btn {
    position: fixed;
    bottom: 24px;
    right: 22px;
    z-index: 980;
    background: var(--accent-gold);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 6px 22px rgba(40, 32, 108, 0.21);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    /* Remove the old text-based arrow */
    font-size: 0; /* Hide any text content */
    color: transparent; /* Make text invisible */
    /* Add the custom arrow image */
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px; /* Adjust size as needed */
}

.top-arrow-btn:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px) scale(1.08);
    /* Keep the same background image on hover */
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

/* Remove any pseudo-elements that might contain arrows */
.top-arrow-btn::before,
.top-arrow-btn::after {
    display: none;
    content: none;
}

/* Dark mode support - keep same arrow image */
body.dark-mode .top-arrow-btn {
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

body.dark-mode .top-arrow-btn:hover {
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

.top-arrow-btn {
    position: fixed;
    bottom: 24px;
    right: 22px;
    z-index: 980;
    background: var(--accent-gold);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 6px 22px rgba(40, 32, 108, 0.21);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    /* Remove the old text-based arrow */
    font-size: 0;
    color: transparent;
    /* Add the custom arrow image with increased size */
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px; /* Increased from 24px to 32px */
}

.top-arrow-btn:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px) scale(1.08);
    /* Keep the same larger arrow image on hover */
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px; /* Increased from 24px to 32px */
}

/* Dark mode support - keep same larger arrow image */
body.dark-mode .top-arrow-btn {
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px; /* Increased from 24px to 32px */
}

body.dark-mode .top-arrow-btn:hover {
    background-image: url('img/up_arrow.png.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px; /* Increased from 24px to 32px */
}

.top-arrow-btn {
    /* Your existing styles... */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.2s, transform 0.15s;
}

.top-arrow-btn.visible {
    opacity: 1;
    visibility: visible;
}

.testimonials-container {
  position: relative;
  width: 100%;
  height: 420px; /* Increased from 400px to 420px */
  overflow: hidden;
}

#testimonial-cards {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateX(0);
  height: 100%;
  padding-top: 10px; /* Push cards down to allow space for hover effect */
}

@media (max-width: 1024px) {
  .testimonials-container {
    height: 400px; /* Increased from 380px */
  }
  
  #testimonial-cards {
    padding-top: 8px;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    height: 400px; /* Increased from 360px */
  }
  
  #testimonial-cards {
    padding-top: 12px;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    height: 380px; /* Increased from 340px */
  }
  
  #testimonial-cards {
    padding-top: 10px;
  }
}

/* ----------------------------------------------
   DARK MODE ENHANCED BACKGROUNDS FOR ALL SECTIONS
   ---------------------------------------------- */
body.dark-mode section:not(.hero):not(.footer):not(.header) {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(112, 60, 225, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 214, 0, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(160, 132, 232, 0.45) 0%, transparent 50%),
        linear-gradient(135deg, #1a1540 0%, #0d0b2a 25%, #1e1a52 50%, #12102d 75%, #0d0b2a 100%);
    background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100%;
    background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0%;
    animation: gradientFloat 20s ease-in-out infinite;
    overflow: hidden;
}

/* Floating particle layer for all dark sections */
body.dark-mode section:not(.hero):not(.footer):not(.header)::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.7), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 120px;
    animation: sparkle 25s linear infinite;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

/* Overlay pattern for texture */
body.dark-mode section:not(.hero):not(.footer):not(.header)::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255, 214, 0, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(112, 60, 225, 0.05) 50%, transparent 60%);
    background-size: 60px 60px, 80px 80px;
    animation: patternMove 35s linear infinite;
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
}

body.dark-mode section>* {
    position: relative;
    z-index: 1; /* keep text above background layers */
}

.current-school span {
  white-space: normal;        /* allow wrapping */
  word-break: normal;         /* prevent arbitrary word breaks */
  overflow-wrap: break-word;  /* allow normal wrapping within words */
  hyphens: none;              /* disable automatic hyphenation */
  -webkit-hyphens: none;      /* for Safari */
  -moz-hyphens: none;         /* for Firefox */
  -ms-hyphens: none;          /* for IE */
}

body.dark-mode .testimonial-nav-btn {
  background: #ffd600; /* yellow/gold background in dark mode */
  color: #28206c; /* dark purple text/icon color */
  border: none;
  transition: background 0.3s ease, color 0.3s ease;
}

body.dark-mode .testimonial-nav-btn:hover:not(:disabled) {
  background: #eec900; /* slightly darker gold on hover */
  color: #1a1540; /* darker text/icon on hover */
}

/* Optional: Disabled button style */
body.dark-mode .testimonial-nav-btn:disabled {
  background: #444444;
  color: #999999;
  box-shadow: none;
  cursor: not-allowed;
}


/* Global floating elements container */
.timescape-floating-elements {
  position: fixed; /* fixed to viewport */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* allow clicks through */
  z-index: 0; /* behind all content */
  opacity: 0.1; /* subtle opacity, adjust as needed */
  overflow: visible;
}

/* Ensure floating elements images are sized & animated similarly */
.timescape-floating-element {
  position: absolute;
  /* retain inline styles for positions */
  transition: opacity 0.3s ease;
}

.main-content {
  position: relative;  /* ensure stacking context */
  z-index: 1;          /* above floating elements */
}

.timescape-floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  
  /* Height restricted dynamically by footer height or to viewport minus footer height */
  height: calc(100vh - 120px); /* adjust 120px to your footer height */
  
  pointer-events: none;
  z-index: 0;            /* below main content */
  opacity: 0.1;
  overflow: visible;
}

.footer {
  position: relative;
  z-index: 2;            /* highest layer to cover floating elements */
}

.timescape-floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25; /* increased from 0.15 */
  overflow: visible;
}

@keyframes revolveCircle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.mobile-hero::before {
  /* existing sparkle styles... */

  /* Add these for circular revolution */
  transform-origin: center center;
  animation: revolveCircle 30s linear infinite;
}
.mobile-hero::before {
    /* existing styles here... */
    animation:
      sparkle 20s linear infinite,
      revolve 40s linear infinite;
    transform-origin: 50% 50%;
    pointer-events: none;
    opacity: 0.7;
}

/* New revolve keyframes for full 360° rotation */
@keyframes revolve {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.mobile-hero::after {
    /* existing styles here... */
    animation:
      patternMove 25s linear infinite,
      revolve 60s linear reverse infinite;
    transform-origin: 50% 50%;
    pointer-events: none;
    opacity: 0.3;
}

.mobile-hero::before {
    content: '';
    position: absolute;
    /* Make it larger to cover all rotations */
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Sparkle repeated radial patterns */
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 214, 0, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    
    /* Add rotate animation for perpetual rotation */
    animation: sparkle 20s linear infinite, revolve 30s linear infinite;
    transform-origin: 50% 50%; /* rotate around center */
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
}

/* Floating sparkle animation (small movements) */
@keyframes sparkle {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-3px); }
    75% { transform: translateY(-15px) translateX(8px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Revolving full 360 degree rotation */
@keyframes revolve {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.mobile-hero::before {
    content: '';
    position: absolute;
    top: -75%;      /* increased offset */
    left: -75%;     /* increased offset */
    width: 250%;    /* increased size */
    height: 250%;   /* increased size */
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 214, 0, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.4), transparent);
    background-repeat: repeat;
    background-size: 150px 75px; /* smaller sizes for tighter sparkle */

    animation: sparkle 20s linear infinite, revolve 30s linear infinite;
    transform-origin: 50% 50%;
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
}

@keyframes sparkle {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-10px) translateX(5px); }
    50% { transform: translateY(-5px) translateX(-3px); }
    75% { transform: translateY(-15px) translateX(8px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes revolve {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#testimonial-cards {
  display: flex;
  gap: 24px; /* gap between cards */
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  padding-left: 0;  /* no extra padding to avoid partial cards */
}

/* Card width for desktop: 3 cards visible */
@media (min-width: 1025px) {
  .testimony-card {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    height: 360px;
  }
}

/* Card width for mobile: 1 card visible */
@media (max-width: 1024px) {
  .testimony-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    height: 360px;
  }
}

.testimony-content p {
  white-space: normal;       /* Allow normal wrapping */
  overflow-wrap: normal;     /* Prevent breaking words */
  word-break: normal;        /* Prevent breaking words */
  hyphens: none;             /* Optional: allow hyphenation at valid points */
  line-height: 1.6;
  font-size: 1rem;
  color: var(--text-primary);
  font-style: italic;
  margin: 0;
  padding-right: 4px;
  text-align: justify;
}

/* ===== WHATSAPP CTA FIX - KEEP SAME IN DARK/LIGHT ===== */
.mobile-nav-ctas .whatsapp-btn,
body.dark-mode .mobile-nav-ctas .whatsapp-btn {
  background: #ffd600 !important;   /* Bright yellow */
  color: #28206c !important;        /* Dark purple text */
  font-weight: 700;
  border-radius: 50px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-nav-ctas .whatsapp-btn i,
body.dark-mode .mobile-nav-ctas .whatsapp-btn i,
.mobile-nav-ctas .whatsapp-btn span,
body.dark-mode .mobile-nav-ctas .whatsapp-btn span {
  color: #28206c !important;  /* Ensure icon/text stays dark */
}

.mobile-nav-ctas .whatsapp-btn:hover,
body.dark-mode .mobile-nav-ctas .whatsapp-btn:hover {
  background: #eec900 !important;  /* Slightly darker yellow */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 214, 0, 0.3);
}


/* ===== FORCE MOBILE HERO TO LOOK IDENTICAL IN LIGHT & DARK ===== */
.mobile-hero,
body.dark-mode .mobile-hero {
  /* Same enhanced gradient background in both modes */
  background:
    radial-gradient(ellipse at 20% 50%, rgba(112, 60, 225, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 214, 0, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(160, 132, 232, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #2d1b69 0%, #1a1540 25%, #28206c 50%, #1e1a52 75%, #1a1540 100%) !important;

  background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100% !important;
  background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0% !important;
  animation: gradientFloat 15s ease-in-out infinite !important;
  color: var(--text-white) !important;
}

/* Sparkle & rotation identical */
.mobile-hero::before,
body.dark-mode .mobile-hero::before {
  top: -75%;
  left: -75%;
  width: 250%;
  height: 250%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 214, 0, 0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.4), transparent);
  background-repeat: repeat;
  background-size: 150px 75px;
  animation: sparkle 20s linear infinite, revolve 30s linear infinite !important;
  transform-origin: 50% 50%;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}

/* Overlay pattern identical */
.mobile-hero::after,
body.dark-mode .mobile-hero::after {
  background:
    linear-gradient(45deg, transparent 40%, rgba(255, 214, 0, 0.05) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(112, 60, 225, 0.05) 50%, transparent 60%);
  background-size: 60px 60px, 80px 80px;
  animation: patternMove 25s linear infinite, revolve 60s linear reverse infinite !important;
  opacity: 0.3;
}

body.dark-mode .mobile-hero {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(112, 60, 225, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 214, 0, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(160, 132, 232, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #2d1b69 0%, #1a1540 25%, #28206c 50%, #1e1a52 75%, #1a1540 100%) !important;
  background-size: 120% 120%, 100% 100%, 110% 110%, 100% 100% !important;
  background-position: 0% 0%, 100% 0%, 50% 100%, 0% 0% !important;
  animation: gradientFloat 15s ease-in-out infinite !important;
  color: var(--text-white) !important;
}

body.dark-mode .mobile-hero::before {
  content: "";
  position: absolute;
  top: -75% !important;
  left: -75% !important;
  width: 250% !important;
  height: 250% !important;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 214, 0, 0.8), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(112, 60, 225, 0.8), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 214, 0, 0.6), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.4), transparent) !important;
  background-repeat: repeat !important;
  background-size: 150px 75px !important;
  animation: sparkle 20s linear infinite, revolve 30s linear infinite !important;
  transform-origin: 50% 50% !important;
  pointer-events: none !important;
  opacity: 0.7 !important;
  z-index: 0 !important;
}

body.dark-mode .mobile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 40%, rgba(255, 214, 0, 0.05) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(112, 60, 225, 0.05) 50%, transparent 60%) !important;
  background-size: 60px 60px, 80px 80px !important;
  animation: patternMove 25s linear infinite, revolve 60s linear reverse infinite !important;
  opacity: 0.3 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Slower alumni slider speed for mobile site */
.alumni-slider-track {
    animation-duration: 30s !important;
}

@media (max-width: 1024px) {
  .alumni-slider-container::before,
  .alumni-slider-container::after {
    content: none !important;
    display: none !important;
  }
}
