/* ============================================
   HOMEPAGE STYLES - V4 (Mobile Optimized)
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --section-padding: 3rem 0;
  --section-padding-mobile: 1.5rem 0;
  --container-padding: 0 1rem;
  --card-gap: 1.5rem;
  --card-gap-mobile: 0.75rem;
  --title-size: 2.2rem;
  --title-size-mobile: 1.3rem;
  --subtitle-size: 1.1rem;
  --subtitle-size-mobile: 0.9rem;
  --text-size: 1rem;
  --text-size-mobile: 0.85rem;
}


/* ============================================
   ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

@keyframes glow {
  from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.3); }
  to { text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.7); }
}

/* @keyframes tagPulse {
  0% { transform: translateY(20px) scale(0.95); opacity: 0; }
  15% { transform: translateY(0) scale(1.05); opacity: 1; }
  25%, 85% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-20px) scale(0.95); opacity: 0; }
} */

/* Animation Delays */
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-delay-3 { animation: fadeIn 0.8s ease 0.3s forwards; opacity: 0; }
.animate-fade-in-delay-6 { animation: fadeIn 0.8s ease 0.6s forwards; opacity: 0; }
.animate-fade-in-delay-9 { animation: fadeIn 0.8s ease 0.9s forwards; opacity: 0; }

/* ============================================
   STANDARDIZED SECTION TITLES
   ============================================ */
.section-title-home {
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text-dark, #2c2c2c);
}

.section-subtitle-home {
  font-size: var(--subtitle-size);
  color: var(--text-light, #666);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.medium-title {
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION - 100vh with Background Image
   ============================================ */
.hero-section-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}


/* Hero Video Background */
/* Hero Video Background */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video Controls - Outside video container for proper clicking */
.video-controls {
  position: absolute;
  bottom: 120px;
  right: 30px;
  display: flex;
  gap: 0.5rem;
  z-index: 20;
  pointer-events: auto;
}

.video-control-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 51;
}

.video-control-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  /* border-color: rgba(255, 255, 255, 0.6); */
  border-color: red;
  transform: scale(1.1);
}

.video-control-btn:active {
  transform: scale(0.95);
}

.video-control-btn i {
  font-size: 1rem;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .video-controls {
    bottom: 80px;
    right: 15px;
  }

  .video-control-btn {
    width: 40px;
    height: 40px;
  }

  .video-control-btn i {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .video-controls {
    bottom: 70px;
    right: 10px;
    gap: 0.4rem;
  }

  .video-control-btn {
    width: 36px;
    height: 36px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .video-controls {
    bottom: 80px;
    right: 15px;
  }

  .video-control-btn {
    width: 40px;
    height: 40px;
  }

  .video-control-btn i {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .video-controls {
    bottom: 70px;
    right: 10px;
    gap: 0.4rem;
  }

  .video-control-btn {
    width: 36px;
    height: 36px;
  }
}



.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center left;
  z-index: 2;  
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(38, 166, 159, 0) 0%,
    rgba(229, 230, 224, 0) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content-centered {
  position: relative;
  z-index: 4;
  max-width: 800px;
  text-align: center;
  padding: 20rem 2rem 2rem 2rem;
  margin: 0 auto;
}

.hero-headline {
  position: relative;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #01ebb8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* .hero-headline::before {
  content: attr(data-text);
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: -1;

  -webkit-text-stroke: 4px rgb(255, 255, 255); 
  color: rgb(255, 255, 255); /* Fills the inside of the shadow layer */
} */

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.hero-subheadline {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Hero Buttons - Equal Width */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  min-width: 280px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator-home {
  position: absolute;
  bottom: 100px;
  /* left: 50%; */
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 0.5rem; */
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator-home span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator-home i {
  font-size: 1.2rem;
}


/* ============================================
   CHALLENGES HUB SECTION
   ============================================ */
.challenges-hub {
  padding: var(--section-padding);
  /* background-color: #26a69f; */
  background-color: #e5e6e0;
  position: relative;
}

.challenges-hub .container {
  padding: var(--container-padding);
  
}

.challenges-hub .section-title-home,
.challenges-hub .section-subtitle-home {
  /* color: #fff; */
  color: var(--text-dark);
}

.challenges-hub-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}



/* Tag Lines Panel (previous )*/
/* .tag-lines-panel {
  margin: 0 auto 1.5rem;
  max-width: 700px;
  height: 80px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.tag-slider {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-line {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-medium);
  text-align: center;
  padding: 0 1rem;
  filter: blur(2px);
}

.tag-line.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: tagPulse 3s ease-in-out;
} */


/* ============================================
   TAG LINES - Slide In & Stack
   ============================================ */

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

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

.tag-lines-panel {
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.tag-lines-stack {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}

.tag-line {
  font-size: 1.2rem;
  font-style: italic;
  /* color: white; */
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin: 0;
  opacity: 0;
  line-height: 0.5;
}

/* Slide from left */
.tag-line.slide-from-left {
  animation: slideInFromLeft 1s ease-out forwards;
}

/* Slide from right */
.tag-line.slide-from-right {
  animation: slideInFromRight 1s ease-out forwards;
}

/* Staggered delays */
.tag-line:nth-child(1) {
  animation-delay: 1s;
}

.tag-line:nth-child(2) {
  animation-delay: 3s;
}

.tag-line:nth-child(3) {
  animation-delay: 5s;
}

.tag-line:nth-child(4) {
  animation-delay: 7s;
}

/* Visible state after animation */
.tag-line.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive - Tag Lines
   ============================================ */

@media (max-width: 768px) {
  .tag-lines-panel {
    padding: 1rem;
    margin: 0 1rem 1.5rem;
  }

  .tag-lines-stack {
    gap: 0.75rem;
  }

  .tag-line {
    font-size: 1rem;
    padding: 0.6rem 0.75rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 480px) {
  .tag-line {
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem;
  }

  .tag-lines-stack {
    gap: 0.5rem;
  }
}


/* Flip Cards Grid */
.challenges-grid-flip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  gap: 2rem;
  margin: 2rem auto;
  max-width: 990px;
  perspective: 900px;
}

.challenge-flip-card {
  background-color: transparent;
  height: 200px;
  width: 100%;
  position: relative;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.challenge-flip-card:nth-child(1) { animation-delay: 0.1s; }
.challenge-flip-card:nth-child(2) { animation-delay: 0.2s; }
.challenge-flip-card:nth-child(3) { animation-delay: 0.3s; }
.challenge-flip-card:nth-child(4) { animation-delay: 0.4s; }
.challenge-flip-card:nth-child(5) { animation-delay: 0.5s; }
.challenge-flip-card:nth-child(6) { animation-delay: 0.6s; }

.challenge-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

@media (hover: hover) {
  .challenge-flip-card:hover .challenge-flip-inner {
    transform: rotateY(180deg);
  }
}

.challenge-flip-card.flipped .challenge-flip-inner {
  transform: rotateY(180deg);
}

.challenge-flip-front,
.challenge-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.challenge-flip-front {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #333;
}

.challenge-flip-back {
  background: white;
  color: var(--text-dark);
  transform: rotateY(180deg);
  border: 2px solid rgba(38, 166, 159, 0.2);
}

/* Bigger Flip Icon Images */
.flip-icon {
  width: 110px;
  height: 110px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: white;
  padding: 3px;
}

.flip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.challenge-flip-front h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.challenge-flip-back h3 {
  font-size: 1.1rem;
  color: #26a69f;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.challenge-flip-back p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

/* ============================================
   ABOUT CAROUSEL SECTION
   ============================================ */
.about-carousel-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.about-carousel-section .section-title-home {
  color: #fff;
  margin-bottom: 1.5rem;
}

.sparkly-subtitle {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

.slide-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
}

.slide-image,
.slide-video {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.slide-text {
  color: #fff;
}

.slide-text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.slide-text p {
  font-size: var(--text-size);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.slide-text .btn {
  margin-top: 1rem;
}

.media-name {
  color: #ffd700;
  font-weight: 600;
}

/* ============================================
   EMPATHY SECTION (Break the Cycle)
   ============================================ */
.empathy-section-reimagined {
  /* padding: var(--section-padding); */
  padding: 3rem 0;
  background: linear-gradient(89.2deg, rgb(213, 244, 252) -1.3%, rgb(213, 249, 233) 100%);
}

.empathy-section-reimagined .container {
  display: flex;
  gap: 2rem;
  padding: 0;
  align-items: stretch;
}

.empathy-main-content {
  flex: 0 0 55%;
}

.empathy-intro {
  padding: 0 5rem;
  margin-bottom: 2rem;
}
.empathy-section-reimagined .section-title-home {
    font-size: 1.8rem;
    font-weight: 600;
}

.empathy-image-column {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empathy-image-column img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.empathy-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* margin-top: 1rem; */
}

.empathy-card {
  padding: 0 1.5rem;
  border-radius: 12px;
  max-width: 700px;
}

.empathy-text {
  font-size: var(--text-size);
  line-height: 1.7;
  color: var(--text-dark, #333);
}

.empathy-text span {
  color: var(--primary-color, #26a69f);
  font-weight: 500;
}

.empathy-cta {
  margin-top: 2rem;
}

/* ============================================
   EMOTIONAL EXPRESSION SECTION
   ============================================ */
.emotional-expression {
  padding: var(--section-padding);
  background-color: #f8f9fa;
}

.expression-content {
  max-width: 1024px;
  margin: 0 auto;
}

.lead-text {
  font-size: var(--text-size);
  /* text-align: center; */
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.expression-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  margin: 1.5rem 0;
}

.expression-card {
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.expression-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.expression-card h4 {
  color: var(--primary-color, #26a69f);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.expression-card p {
  font-size: var(--text-size);
  line-height: 1.5;
  color: #666;
}

/* Brain Fact Box - Responsive */
.brain-fact-box {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.brain-img {
  width: 100px;
  height: 100px;
  margin: 0 0 0 1rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brain-text h4 {
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color, #26a69f);
  font-size: 1.1rem;
}

.brain-text p {
  padding: 0 1rem;
  font-size: var(--text-size);
  line-height: 1.5;
  color: #666;
  margin: 0;
}

.centered-message {
  text-align: center;
  margin: 1rem 0;
}

.highlight-text {
  font-size: var(--text-size);
  color: var(--text-dark);
  line-height: 1.6;
}

.highlight-text span {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.tooltip-trigger {
  color: var(--primary-color);
  cursor: help;
  border-bottom: 2px dotted var(--primary-color);
}

/* ============================================
   CTA HUB SECTION
   ============================================ */
.cta-hub-home {
  padding: var(--section-padding);
  background-image: radial-gradient(
    circle farthest-corner at 10% 20%,
    rgba(0, 93, 133, 1) 0%,
    rgba(0, 181, 149, 1) 90%
  );
}

.cta-hub-home .section-subtitle-home {
  margin-bottom: 2rem;
}

.cta-hub-home-subtitle{
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  max-width: 1100px;
  margin: 0 auto;
}

.cta-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.cta-card-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.cta-card-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #ffd700, #26a69f);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.cta-card-home:hover {
  transform: translateY(-8px) scale(1.02);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-card-home:hover::before {
  opacity: 1;
}

.cta-card-home h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.cta-card-home:hover h3 {
  color: #26a69f;
}

.cta-description-home {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.cta-description-home p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  transition: color 0.3s;
}

.cta-card-home:hover .cta-description-home p {
  color: #666;
}

.cta-link-home {
  margin-top: auto;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: #fff;
  display: inline-flex;
  transition: all 0.3s;
}

.cta-card-home:hover .cta-link-home {
  background: #26a69f;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(38, 166, 159, 0.4);
}

.cta-card-home.animate-in {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* ============================================
   QUIZ MODAL
   ============================================ */
.qz-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
}

.qz-modal.hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.qz-modal-content {
  background: white;
  border-radius: 16px;
  position: relative;
  max-width: 850px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.qz-modal.hidden .qz-modal-content {
  transform: scale(0.9);
}

.quiz-intro {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  z-index: 10;
}

.close-btn:hover {
  color: #26a69f;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: var(--section-padding);
  background: #f8f9fa;
}

/* ============================================
   FLOATING PANEL
   ============================================ */
/* .floating-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.floating-panel.collapsed {
  transform: translateY(-50%) translateX(calc(100% - 40px));
}

.panel-content {
  background: rgba(26, 26, 46, 0.95);
  padding: 1.3rem;
  border-radius: 12px 0 0 12px;
  min-width: 160px;
  backdrop-filter: blur(10px);
}

.panel-content h4,
.panel-content h5 {
  color: #ffd700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.panel-btn {
  display: block;
  background: #26a69f;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-btn:hover {
  background: #1e8c86;
  transform: translateX(-3px);
}

.panel-link {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.panel-link:hover {
  color: #ffd700;
  transform: translateX(-3px);
}

.panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.75rem 0;
}

.panel-toggle {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 60px;
  background: rgba(26, 26, 46, 0.95);
  border: none;
  border-radius: 8px 0 0 8px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* ============================================
   RESPONSIVE - TABLET (1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 2rem 0;
    --title-size: 1.8rem;
    --subtitle-size: 1rem;
  }

  .hero-section-home {
    min-height: 100vh;
  }

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

  .hero-subheadline {
    font-size: 1.2rem;
  }

  .hero-btn {
    min-width: 240px;
  }

  .challenges-grid-flip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .challenge-flip-card {
    height: 220px;
  }

  .flip-icon {
    width: 90px;
    height: 90px;
  }

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

  .slide-image,
  .slide-video {
    max-width: 300px;
    margin: 0 auto;
  }

  .empathy-section-reimagined .container {
    flex-direction: column;
  }

  .empathy-main-content,
  .empathy-image-column {
    flex: 1 1 100%;
  }

  .empathy-intro {
    padding: 0;
    margin-bottom: 1rem;
  }

  .empathy-section-reimagined .section-title-home {
    font-size: 1.25rem;
    padding: 0 1.5rem;
  }

  .empathy-image-column {
    order: -1;
    margin-top: 1rem;
  }

  .empathy-image-column img {
    max-width: 360px;
  }

  .empathy-cta {
    margin-top: 1rem;
  }

  .expression-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .floating-panel {
    display: none;
  } */
}

/* ============================================
   RESPONSIVE - MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 1.5rem 0;
    --card-gap: 0.75rem;
    --title-size: 1.4rem;
    --subtitle-size: 0.9rem;
    --text-size: 0.85rem;
  }

  .container {
    padding: 0 1rem;
  }

  /* Hero Mobile — anchor the text/buttons to the bottom of the viewport
     inside a dark scrim so they stay readable over the photo behind. */
  .hero-section-home {
    min-height: 100vh;
    align-items: flex-end;
    /* padding-top: 60px; */
  }

  .hero-content-centered {
    width: 100%;
    max-width: 100%;
    /* extra top padding lets the gradient fade in above the headline */
    padding: 4.5rem 1.25rem 5rem;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.72) 45%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hero-headline {
    font-size: 1.8rem;
  }

  .hero-subheadline {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  /* Narrower, content-hugging buttons instead of full width */
  .hero-btn {
    min-width: 0;
    width: auto;
    max-width: 100%;
    padding: 0.7rem 1.6rem;
    font-size: 0.9rem;
  }

  /* The panel now occupies the bottom of the screen, so the scroll cue
     would be buried behind it — hide it on mobile. */
  .scroll-indicator-home {
    display: none;
  }

  /* Challenges Mobile */
  .challenges-hub {
    padding: 1.5rem 0;
  }

  /* .tag-lines-panel {
    height: 70px;
    margin-bottom: 1rem;
    padding: 0.75rem;
  }

  .tag-line {
    font-size: 0.95rem;
  } */

  .medium-title {
    font-size: 0.8rem;
  }

  .challenges-grid-flip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0 1rem;
  }

  .challenge-flip-card {
    height: 180px;
  }

  /* .flip-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0.5rem;
  } */

  .challenge-flip-front h3 {
    font-size: 0.95rem;
  }

  .challenge-flip-back {
    padding: 0.75rem;
  }

  .challenge-flip-back h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .challenge-flip-back p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* About Carousel Mobile */
  .about-carousel-section {
    padding: 1.5rem 0;
  }

  .slide-content {
    padding: 1rem;
    gap: 1rem;
  }

  .slide-image,
  .slide-video {
    max-width: 250px;
    max-height: 200px;
  }

  .slide-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .slide-text p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  /* Empathy Section Mobile */
  .empathy-section-reimagined {
    padding: 1.5rem 0;
  }

  .empathy-image-column img {
    max-width: 280px;
  }

  /* .empathy-card {
    padding: 0.75rem 1rem;
  } */

  .empathy-text {
    font-size: 0.85rem;
  }

  /* Expression Section Mobile */
  .emotional-expression {
    padding: 1.5rem 0;
  }

  .lead-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .brain-text p{
    padding: 0;
  }

  .expression-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
  }

  .expression-card {
    padding: 1rem;
  }

  .expression-card h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .expression-card p {
    font-size: 0.85rem;
  }


  .empathy-cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Brain Fact Box Mobile */
  .brain-fact-box {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }

  /* .brain-img {
    width: 70px;
    height: 70px;
  } */

  .brain-text h4 {
    font-size: 1rem;
  }

  .brain-text p {
    font-size: 0.85rem;
  }

  .highlight-text {
    padding: 0 0.7rem;
    font-size: 0.85rem;
  }

  .highlight-text span {
    font-size: 0.95rem;
  }

  /* CTA Hub Mobile */
  .cta-hub-home {
    padding: 1.5rem 0;
  }

  .cta-grid-home {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cta-card-home {
    min-height: 160px;
    padding: 1rem;
  }

  .cta-card-home h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .cta-description-home p {
    font-size: 0.85rem;
  }

  .cta-link-home {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  /* Quiz Modal Mobile */
  .qz-modal-content {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }

  .quiz-intro {
    font-size: 0.95rem;
  }

  .tab-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  /* Testimonials Mobile */
  .testimonials-section {
    padding: 1.5rem 0;
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --title-size: 1.25rem;
    --subtitle-size: 0.85rem;
    --text-size: 0.8rem;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .hero-subheadline {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-btn {
    min-width: 0;
    width: auto;
    max-width: 100%;
    font-size: 0.85rem;
    padding: 0.65rem 1.4rem;
  }

  .challenges-grid-flip {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .challenge-flip-card {
    height: 160px;
  }
/* 
  .flip-icon {
    width: 55px;
    height: 55px;
  } */

  .challenge-flip-front h3 {
    font-size: 1rem;
  }

  .challenge-flip-back h3 {
    font-size: 1rem;
  }

  .challenge-flip-back p {
    font-size: 0.85rem;
  }

  .slide-text h3 {
    font-size: 1rem;
  }

  .slide-text p {
    font-size: 0.8rem;
  }


  .emotional-expression .container {
    padding: 0 1.5rem;
  }

  .lead-text {
    text-align: left;
  }


  .expression-card h4 {
    font-size: 0.95rem;
  }

  .expression-card p {
    font-size: 0.8rem;
  }

  .cta-hub-home .container {
    padding: 0.5rem 1.5rem;
  }

  .cta-hub-home-subtitle{
    font-size: 1.5rem;
  }

  .cta-card-home {
    min-height: 140px;
    padding: 0.75rem;
  }

  .cta-card-home h3 {
    font-size: 0.95rem;
  }

  .cta-description-home p {
    font-size: 0.8rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-black { color: #333; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.hidden { display: none !important; }

/* Clickable elements cursor */
.cta-card-link,
.cta-card-home,
.expression-card,
.challenge-flip-card,
.panel-link,
.panel-btn,
.btn {
  cursor: pointer;
}

/* Focus states for accessibility */
.btn:focus,
.cta-card-link:focus,
.panel-link:focus {
  outline: 2px solid #26a69f;
  outline-offset: 2px;
}

/* Reduced motion */
/* ============================================
   STORY REVEAL — "Does this sound like you?"
   ============================================ */
.story-reveal {
  max-width: 720px;
  margin: 1.75rem auto 0;
  padding: 2rem 2.25rem 1.75rem;
  text-align: left;
  background: var(--bg-white, #ffffff);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;

  margin-bottom: 2rem;
}

.story-scroll {
  position: relative;
  overflow: hidden;
  max-height: 12.5rem; /* collapsed: shows ~6–7 lines */
  transition: max-height 0.55s ease;
  padding-right: 0.25rem;
}

.story-reveal.expanded .story-scroll {
  max-height: 17rem; /* expanded: ~7 lines, scroll for the rest */
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Slim, on-brand scrollbar for the expanded panel */
.story-scroll::-webkit-scrollbar { width: 6px; }
.story-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color, #e15301);
  border-radius: 6px;
  opacity: 0.6;
}
.story-scroll::-webkit-scrollbar-track { background: transparent; }

.story-scroll p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-medium, #5a5a5a);
  margin: 0 0 1.15rem;
}

.story-scroll .story-lead {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark, #2c2c2c);
  margin-bottom: 1.25rem;
}

.story-scroll .story-close {
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-text, linear-gradient(135deg, #ff5a00, #6d09c6));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}

/* Fade overlay teases more content while collapsed */
.story-fade {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5.5rem;
  margin-top: -5.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg-white, #ffffff) 92%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.story-reveal.expanded .story-fade { opacity: 0; }

/* Scroll hint — only while expanded */
.story-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-light, #8a8a8a);
  font-style: italic;
}

.story-scroll-hint i { animation: bounce 1.8s infinite; }

.story-reveal.expanded .story-scroll-hint { display: flex; }

/* Hide the hint once the reader reaches the bottom of the story */
.story-reveal.expanded.at-bottom .story-scroll-hint { display: none; }

/* Show more / Show less toggle */
.story-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color, #e15301);
}

.story-toggle:hover .story-toggle-text { text-decoration: underline; }

.story-toggle-icon { transition: transform 0.3s ease; }

.story-reveal.expanded .story-toggle-icon { transform: rotate(180deg); }

/* Primary CTA — only while expanded */
.story-cta-wrap {
  display: none;
  margin-top: 1.5rem;
}

.story-reveal.expanded .story-cta-wrap { display: block; }

.story-cta {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .story-reveal { padding: 1.5rem 1.25rem; }
  .story-scroll p { font-size: 0.95rem; }
  .story-scroll .story-lead { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}