/* Global & Theme Setup for SpeakLabs Light Theme */
:root {
  --bg-light: #fafafa;
  --text-main: #111111;
  --text-muted: #555555;
  --card-height: 480px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Nav */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.2s;
}

.nav-left a:hover,
.nav-right a:hover {
  opacity: 0.6;
}

.menu-btn,
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-main);
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center h2 {
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.join-btn {
  border: 1px solid #111;
  border-radius: 30px;
  padding: 10px 22px;
}

.donate-btn {
  font-weight: 700;
}

/* Premium Back Button */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #111;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  padding: 7px 14px 7px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.back-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateX(-2px);
}

.back-btn svg {
  flex-shrink: 0;
}

.back-bar {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  padding: 130px 20px 160px 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30, 58, 138, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(15, 118, 110, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
    #fafafa;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.gradient-heading {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
  /* Educational theme: Navy Blue, Gold/Yellow, and Deep Teal */
  background: linear-gradient(90deg, #1e3a8a 0%, #d97706 33%, #0f766e 66%, #1e3a8a 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorFlow 8s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes colorFlow {
  to {
    background-position: 300% center;
  }
}

.hero-content p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Carries the "Speak English with Confidence" slogan that used to be the H1,
   so it sits heavier than the body copy below it. */
.hero-content p.hero-subhead {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
}

.tagline {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 25px;
  margin-bottom: 40px;
}

.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.primary-btn {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f766e 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 28px rgba(30, 58, 138, 0.3);
  position: relative;
  overflow: hidden;
}

.primary-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  border-radius: 100px;
  pointer-events: none;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(30, 58, 138, 0.4);
  filter: brightness(1.08);
}

.secondary-btn {
  background: transparent;
  color: #1e3a8a;
  border: 2px solid rgba(30, 58, 138, 0.3);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.06);
}

.secondary-btn:hover {
  background: rgba(30, 58, 138, 0.06);
  border-color: #1e3a8a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.12);
}

/* The Refactored Stacking Engine */
.stack-wrapper {
  max-width: 1300px;
  width: 92%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.stack-card {
  position: sticky;
  top: 20vh;
  width: 100%;
  height: 420px;
  margin-bottom: 5vh;
  border-radius: 45px;
  overflow: hidden;
  padding: 40px 40px 40px 60px;
  display: flex;
  flex-direction: row;
  gap: 60px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Micro-animation transitions */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}



/* Texture Overlay removed for scroll performance */

.stack-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* Vibrant Gradient Backgrounds matching the image style */
.stack-card.card-1 {
  background: radial-gradient(circle at 10% 100%, rgba(225, 150, 60, 0.9) 0%, transparent 60%), linear-gradient(135deg, #d3cce3 0%, #e5ddd7 100%);
}

.stack-card.card-2 {
  background: radial-gradient(circle at 30% 110%, #fde047 0%, transparent 50%), linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.stack-card.card-3 {
  background: radial-gradient(circle at 30% 110%, #67e8f9 0%, transparent 50%), linear-gradient(135deg, #10b981 0%, #84cc16 100%);
}

.stack-card.card-4 {
  background: radial-gradient(circle at 30% 110%, #fef08a 0%, transparent 50%), linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
}

/* Card Left - Content */
.card-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

.card-left h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #000;
}

.card-left p {
  color: #444;
  font-size: 1.1rem;
  max-width: 95%;
  font-weight: 400;
  margin-bottom: 35px;
  line-height: 1.6;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 45px;
}

.tag {
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #222;
}

.card-btn {
  display: inline-block;
  padding: 14px 34px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 40px;
  background-color: #000000;
  color: #c0f4f9;
  /* Subtle cyan/white tint */
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Card Right - Image */
.card-right {
  flex: 0.9;
  border-radius: 35px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

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

/* Buffer element to hold the last card in position during scroll */
.scroll-spacer {
  height: 25vh;
}



/* Mobile Scaling Protection */
@media (max-width: 900px) {
  .stack-card {
    flex-direction: column-reverse;
    /* Image on top */
    height: calc(100vh - 130px);
    max-height: 490px;
    min-height: 420px;
    top: 110px;
    padding: 18px;
    gap: 14px;
    border-radius: 30px;
  }

  .stack-card::before {
    display: none; /* Removes heavy noise filter for smooth scrolling on mobile */
  }

  .card-left {
    padding: 0;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-left h2 {
    font-size: 1.9rem;
    margin-bottom: 6px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .card-left p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    max-width: 100%;
    color: #333;
    line-height: 1.4;
    overflow-y: auto;
    flex: 1;
    padding-right: 5px;
  }

  .card-left p::-webkit-scrollbar {
    width: 4px;
  }
  
  .card-left p::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .card-left p::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }

  /* The pricing card is the only one with a second paragraph (the "Not sure
     yet?" line under the button). Without this it also gets flex:1 and splits
     the height with the pricing text, clipping it. Let it size to its content
     so the pricing paragraph keeps the full scroll area. */
  .card-4 .card-left p:last-of-type {
    flex: 0 0 auto;
    overflow: visible;
  }

  /* The pricing card carries an extra paragraph + button + link, so the shared
     fixed card height clips its bottom on mobile. Let this last card grow to
     fit its content instead, and give the image a little less height. */
  .stack-card.card-4 {
    height: auto;
    max-height: none;
    min-height: 420px;
  }

  .card-4 .card-right {
    height: 170px;
  }

  .card-tags {
    display: none;
  }

  .card-btn {
    width: 100%;
    text-align: center;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    box-shadow: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
  }

  .card-right {
    height: 200px;
    margin-top: 0;
    flex: none;
    border-radius: 20px;
    width: 100%;
  }

  .scroll-spacer {
    height: 0;
  }

  .stack-card {
    margin-bottom: 12px;
  }

  .top-nav {
    padding: 15px 20px;
  }

  .nav-left a,
  .nav-right a {
    display: none;
  }

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

/* DTL Footer Styles */
.dtl-footer {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  margin: 60px auto 40px;
  max-width: 1500px;
  width: 96%;
  padding: 0;
  box-sizing: border-box;
}

.dtl-footer-inner {
  background-color: #2d3250;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  border-radius: 20px;
  padding: 20px 50px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 1. TOP CALL-TO-ACTION (CTA) SECTION */
.cta-section {
  padding: 10px 0 0 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.dtl-bottom-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.dtl-bottom-left p {
  font-size: 1rem;
  color: #a0a5b5;
  line-height: 1.5;
  margin-bottom: 25px;
  font-weight: 500;
}

.speaklab-join-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0b0e1a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 16px 48px;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;
  border: none;
  transition: transform 0.2s, color 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.speaklab-join-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg,
      #ff455b,
      #ffac41,
      #ffe600,
      #45ffbc,
      #45bcff,
      #9b45ff,
      #ff455b);
  animation: rotate-gradient 4s linear infinite;
  z-index: -2;
  will-change: transform;
}

.speaklab-join-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0b0e1a;
  border-radius: 48px;
  z-index: -1;
  transition: background 0.2s;
}

.speaklab-join-btn:hover {
  transform: translateY(-2px);
  color: #ffe600;
}

.speaklab-join-btn:hover::after {
  background: #12172a;
}

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

.dtl-bottom-right {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dtl-graphic {
  position: relative;
  width: 100%;
  height: 200px;
}

.emoji-circle {
  position: absolute;
  background-color: #ffffff;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  z-index: 2;
  box-sizing: border-box;
}

.emoji-circle.circle-sm {
  width: 40px;
  height: 40px;
  font-size: 20px;
}

.emoji-circle.circle-md {
  width: 50px;
  height: 50px;
  font-size: 26px;
}

.emoji-circle.circle-lg {
  width: 60px;
  height: 60px;
  font-size: 32px;
}

.emoji-circle.rot-left {
  transform: rotate(-12deg);
}

.emoji-circle.rot-right {
  transform: rotate(12deg);
}

.emoji-circle.rot-left:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.emoji-circle.rot-right:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.dtl-badge {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  letter-spacing: 0.05em;
  white-space: nowrap;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.dtl-star {
  position: absolute;
  top: 45%;
  left: 45%;
  font-size: 60px;
  color: #fde047;
  filter: drop-shadow(0 0 20px rgba(253, 224, 71, 0.5));
}

/* 2. MIDDLE LINKS GRID (4 Columns) */
.links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.links-grid h3 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-grid ul li {
  margin-bottom: 12px;
}

.links-grid ul li a {
  color: #a0a5b5;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.links-grid ul li a:hover {
  color: #ffffff;
}

.stay-connected .dtl-newsletter {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stay-connected .dtl-newsletter h3 {
  margin-bottom: 0;
}

.stay-connected .dtl-newsletter p.subtext {
  font-size: 0.8rem;
  color: #a0a5b5;
  margin-bottom: 5px;
  text-transform: none;
  font-weight: 500;
  line-height: 1.4;
}

.dtl-input-group {
  display: flex;
  position: relative;
  border-radius: 30px;
}

.dtl-input-group input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  padding: 12px 150px 12px 25px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
  width: 100%;
}

.dtl-input-group input::placeholder {
  color: #a0a5b5;
}

.dtl-input-group button {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  background: linear-gradient(90deg, #fde047 0%, #93c5fd 50%, #fbcfe8 100%);
  border: none;
  border-radius: 26px;
  padding: 0 20px;
  color: #111;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.dtl-input-group button:hover {
  transform: scale(1.05);
}

.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 10px 0 20px 0;
}

/* 3. BOTTOM LEGAL & SOCIAL BAR */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0 0;
  font-size: 0.75rem;
  color: #a0a5b5;
}

.bottom-bar .legal-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bottom-bar .legal-left p {
  margin: 0;
}

.bottom-bar .legal-left .copyright {
  color: rgba(255, 255, 255, 0.4);
}

.bottom-bar .legal-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.bottom-bar .follow-us-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.bottom-bar .follow-us-section span {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #ffffff;
}

.dtl-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.social-icon.fb {
  background-color: #1877f2;
}

.social-icon.yt {
  background-color: #ff0000;
}

.social-icon.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #a0a5b5;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.dtl-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
}

.social-icon.fb {
  background-color: #1877f2;
}

.social-icon.yt {
  background-color: #ff0000;
}

.social-icon.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.tw {
  background-color: #1da1f2;
}

.social-icon.tt {
  background-color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom-bar .legal-links {
  display: flex;
  gap: 20px;
}

.bottom-bar .legal-links a {
  color: #a0a5b5;
  text-decoration: none;
  transition: color 0.2s;
}

.bottom-bar .legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.dtl-chat-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #fde047;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .cta-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: -40px -60px 40px -60px;
    padding: 40px 60px;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .bottom-bar .legal-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .bottom-bar .follow-us-section {
    width: 100%;
    justify-content: space-between;
  }

  .bottom-bar .legal-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }

  .dtl-footer-inner {
    padding: 30px 20px;
  }

  .cta-section {
    margin: -30px -20px 30px -20px;
    padding: 40px 20px;
  }

  .dtl-bottom-left h2 {
    font-size: 2.2rem;
  }

  .dtl-bottom-right {
    display: none;
  }
}

/* Dropdown Menu Styles */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 15px;
  background-color: var(--bg-light);
  min-width: 220px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 15px;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content.show {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dropdown-content a {
  display: flex !important;
  /* Override .nav-left a display: none on mobile */
  justify-content: center;
  width: 100%;
}

/* AI Premium Tutor Section */
.ai-tutor-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 120px;
  width: 100%;
  position: relative;
  /* Light pastel glowing background like the target image */
  background:
    radial-gradient(circle at 15% 20%, rgba(147, 197, 253, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(249, 168, 212, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  background-color: #fbfaff;
  z-index: 1;
}

.ai-premium-card {
  position: relative;
  width: 90%;
  max-width: 750px;
  /* Specific asymmetrical shape from screenshot */
  border-radius: 51% 72% 38% 68% / 54% 39% 75% 58%;
  padding: 100px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: none;
  /* Exact pastel colors from screenshot */
  background:
    radial-gradient(circle at 10% 40%, #93c5fd 0%, transparent 70%),
    radial-gradient(circle at 90% 30%, #f9a8d4 0%, transparent 60%),
    radial-gradient(circle at 40% 90%, #a855f7 0%, transparent 80%),
    linear-gradient(135deg, #c4b5fd 0%, #a78bfa 100%);
  animation: blob-morph 12s ease-in-out infinite alternate;
  border: none;
  margin: 0 auto;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@keyframes blob-morph {
  0% {
    border-radius: 51% 72% 38% 68% / 54% 39% 75% 58%;
    transform: scale(1);
  }

  50% {
    border-radius: 41% 62% 48% 58% / 64% 49% 65% 48%;
    transform: scale(1.02);
  }

  100% {
    border-radius: 61% 52% 48% 78% / 44% 59% 55% 68%;
    transform: scale(1);
  }
}

.ai-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.ai-card-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-badge {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.ai-card-content h2 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ai-card-content p {
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto 35px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ai-cta-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #111;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 20px 45px;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.ai-cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(255, 255, 255, 0.4);
  background: #f8f8f8;
}

@media (max-width: 768px) {
  .ai-card-content h2 {
    font-size: 2.2rem;
  }

  .ai-card-content p {
    font-size: 1.05rem;
  }

  .ai-premium-card {
    padding: 50px 20px;
    border-radius: 30px;
  }

  .ai-features {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .ai-feature-tag {
    justify-content: center;
  }
}

/* Support Banner Section */
.support-banner-section {
  display: flex;
  justify-content: center;
  padding: 0 20px 100px;
  /* Removed top padding to allow overlap */
  width: 100%;
  position: relative;
  z-index: 10;
}

.support-banner-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 40px;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  /* Professional Deep Teal / Emerald Green for educational trust and calm support */
  background: linear-gradient(135deg, #0f766e 0%, #064e3b 100%);
  box-shadow: 0 20px 50px rgba(15, 118, 110, 0.3);
  margin-top: -80px;
  /* Overlaps the section line by half */
}

.support-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.support-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-content h2 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.support-content p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 30px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}

.support-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.support-actions .btn-primary {
  background: #000;
  color: #fff;
  padding: 15px 40px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}

.support-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.support-actions .btn-outline {
  background: transparent;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.8);
  padding: 14px 40px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
}

.support-actions .btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .support-content h2 {
    font-size: 2rem;
  }

  .support-actions {
    flex-direction: column;
    width: 100%;
  }

  .support-actions a {
    width: 100%;
    text-align: center;
  }

  .support-banner-card {
    padding: 50px 25px;
    border-radius: 30px;
  }
}

/* FAQ Section */
.faq-section {
  display: flex;
  justify-content: center;
  padding: 0 20px 36px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.faq-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  border-radius: 40px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.2);
}

.faq-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.faq-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
}

.faq-content h2 {
  font-size: 2.24rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.faq-subtext {
  font-size: 0.935rem;
  text-align: center;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.faq-answer > * {
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 18px 18px;
}

@media (max-width: 768px) {
  .faq-card {
    padding: 40px 20px;
  }

  .faq-content h2 {
    font-size: 2.2rem;
  }

  .faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }
}

.faq-hidden {
  display: none !important;
}

.faq-see-all {
  display: inline-block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 25px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.faq-see-all:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .gradient-heading {
    font-size: 3rem;
  }

  .hero-search-wrapper {
    width: 92%;
    margin: 0 auto 30px;
  }

  .search-bar {
    padding: 5px 12px;
  }

  .search-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .search-bar input {
    font-size: 0.85rem;
  }

  .search-divider {
    margin: 0 8px;
  }

  .search-select {
    font-size: 0.8rem;
  }

  .hero-topics {
    width: 95%;
    margin: 0 auto;
  }

  .topic-tag {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* Inner Page Hero Override */
.hero-section.inner-page {
  padding: 50px 20px 40px !important;
  background: #fcfcfc !important;
  background-image: radial-gradient(#e5e5e5 1.5px, transparent 1.5px) !important;
  background-size: 20px 20px !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  min-height: auto !important;
}
.hero-section.inner-page::before {
  display: none !important;
}
.hero-section.inner-page .gradient-heading {
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  margin-bottom: 10px !important;
}
.hero-section.inner-page .hero-content p {
  color: #555 !important;
  font-size: 1.1rem !important;
}

/* Venue Page Styling */
.venue-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}

.venue-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.venue-card h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #111;
}

.venue-card p {
  font-size: 1.1rem;
  color: #555;
}

.venue-btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.venue-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Enroll Page Styling */
.enroll-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px 80px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .enroll-container {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: radial-gradient(circle at 10% 100%, rgba(225, 150, 60, 0.9) 0%, transparent 60%), linear-gradient(135deg, #d3cce3 0%, #e5ddd7 100%);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.pricing-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #444;
}

.strikethrough {
  text-decoration: line-through;
  color: #888;
}

.enroll-form {
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #111;
  background-color: #fff;
}

.enroll-form button {
  padding: 14px 34px;
  border-radius: 40px;
  background-color: #000;
  color: #c0f4f9;
  border: none;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
  margin-top: 10px;
}

.enroll-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.form-note {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 15px;
}


/* Google Rate Us Button in Footer */
.google-rate-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  color: #1e3a8a !important;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.google-rate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  background: #ffffff;
  color: #0f766e !important;
}

/* ── Hero copy (mobile) ───────────────────────────────────────────────────
   On phones the two hero paragraphs filled the whole screen. Here they sit in
   a short, swipeable/scrollable box that shows a glance, with a bouncing
   down-arrow hint. A tap/swipe scrolls to reveal the rest. Desktop is
   untouched (the box has no height limit and the arrow is hidden). */
.hero-copy { position: relative; }
.hero-copy-more { display: none; }

@media (max-width: 768px) {
  .hero-copy-scroll {
    max-height: 150px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 76%, transparent 100%);
  }

  .hero-copy-scroll::-webkit-scrollbar { display: none; }

  /* Smaller, less "bara bara" copy on mobile */
  .hero-content p.hero-subhead { font-size: 1.1rem; margin-bottom: 14px; }
  .hero-content p { font-size: 0.95rem; }

  .hero-copy-more {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    color: #1e3a8a;
    background: rgba(250, 250, 250, 0.92);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    animation: heroCopyBob 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  @keyframes heroCopyBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(3px); }
  }

  /* Once scrolled to the end (or if the text already fits), drop the hint and
     the fade so nothing looks cut off. Toggled by the small script in index.html. */
  .hero-copy.is-scrolled-end .hero-copy-more { opacity: 0; visibility: hidden; }
  .hero-copy.is-scrolled-end .hero-copy-scroll {
    -webkit-mask-image: none;
            mask-image: none;
  }
}

