/* HERO SECTION - Homepage only */
:root {

  --hero-pattern-opacity: 0.03;
  --hero-gradient: linear-gradient(135deg, 
    var(--color-primary) 0%, 
    #2c5282 50%, 
    var(--color-primary) 100%);
}

/* ============ PREMIUM HERO SECTION ============ */


/* Hero Container */
.hero {
  position: relative;
  max-height: 100vh;
  background: url('/images/main___slider.jpg') no-repeat;
  background-size: cover;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Logo */
.hero-logo {
  position: absolute;
  top: var(--space-lg);
  left: 13rem;
  z-index: 10;
  width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

.hero-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  filter: brightness(0) invert(1);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  padding: 10rem var(--space-xs);
  margin-left: -5rem;
  animation: fade-up 1s ease-out 0.3s both;
  margin-top: 10rem;
}

.hero-welcome {
  font-size: 1.2rem;
  color: var(--color-accent-yellow);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.5s both;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.7s both;
}

.hero-title span {
  display: block;
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--space-xs);
}

.hero-catchphrase {
    font-size: 1.4rem;
    color: var(--color-accent-yellow);
    font-style: italic;
    font-weight: 500;
    margin: var(--space-sm) 0 var(--space-lg);
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.8s both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.years-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
}

.years-text {
  font-size: 0.9rem;
  color: white;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: var(--space-xl) 0;
  padding-right: var(--space-lg);
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.9s both;
}

/* Hero CTA */
.hero-cta {
  opacity: 0;
  animation: fade-up 0.8s ease-out 1.1s both;
}

.hero .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: none;
  box-shadow: 
    0 4px 15px rgba(255, 215, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(255, 215, 0, 0.4),
    0 15px 40px rgba(0, 0, 0, 0.3);
  background: var(--color-accent-light);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: fade-up 1s ease-out 1.5s both;
}

.scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-indicator a:hover {
  color: var(--color-accent-yellow);
}

.scroll-indicator span {
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
  letter-spacing: 1px;
}

.scroll-indicator .arrow {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes float-curve {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(20px, -20px) rotate(1deg);
  }
}

@keyframes float-dots {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 30px);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* Mobile: Image between sections */
.section-connector-image {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: -200px; /* Pulls up into hero */
  margin-bottom: -150px; /* Pulls down into about */
  z-index: 2;
}

.connector-image {
  width: 80%;
  height: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.connector-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  
  /* Animation */
  animation: float-image 3s ease-in-out infinite;
  transform-origin: center;
  filter: url(#soft-shadow);
}

@keyframes float-image {
  0%, 100% {
    transform: translateY(0) rotate(0.5deg) scale(1);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6))
           drop-shadow(0 0 0 4px rgba(255, 255, 255, 0.3))
           drop-shadow(0 15px 40px rgba(0, 0, 0, 0.5))
           drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
  }
  50% {
    transform: translateY(-15px) rotate(-0.8deg) scale(1.03);
    filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.7))
           drop-shadow(0 0 0 5px rgba(255, 255, 255, 0.4))
           drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6))
           drop-shadow(0 8px 20px rgba(0, 0, 0, 0.9));
  }
}

/* ============ RESPONSIVE DESIGN ============ */

/* Desktop */
@media (min-width: 769px) {
  .section-connector-image {
    position: absolute;
    top: 50%; /* Center vertically between sections */
    right: 12%;
    width: 30%; /* Slim on right side */
    height: 80vh; /* Tall - spans both sections */
    margin: 0; /* Remove previous margins */
    margin-top: 9rem;
    transform: translateY(-50%);
    z-index: 3;
  }
  
  .connector-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    margin: 0;
  }
  
  .hero {
    padding-bottom: 200px;
  }

  .hero-content {
    max-width: 50%; /* Keep text on left */
  }
  
  .about {
    padding-top: var(--space-xl); /* Normal padding */
    position: relative;
    z-index: 2;
  }

  .about .container {
    max-width: 50%; /* Keep about content on left */
    margin-left: 0;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-title span {
    font-size: 2rem;
  }

}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: 100vh;
  }
  
  .hero-logo {
    position: relative;
    top: -2rem;
    left: -1.5rem;
    width: 90px;
    margin: var(--space-lg) var(--space-xl);
  }
  
  .hero-content {
    padding: var(--space-xs) 0;
    text-align: left;
    margin-left: 0; 
    margin-top: -3rem;
  }

  .hero-welcome{
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title span {
    font-size: 1.75rem;
  }

  .hero-catchphrase {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.1;
    text-align: left;
  }

  .hero-badge {
    gap: 0.5rem;
    padding: 0.3rem 1rem;
  }
  
  .years-badge{
    font-size: 1rem;
  }

  .years-text {
    font-size: 0.8rem;
  }

  .hero-description {
    padding-right: 0;
    font-size: 0.9rem;
    margin-top: 2rem;
  }
  

  .scroll-indicator {
    display: none; /* Hide on mobile for cleaner look */
  }
}

/* Split Color Cards Section */
.why-choose {
  background-color: var(--color-secondary-light);
  padding: var(--space-lg) 0;
  padding-bottom: 6rem;
}

.split-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0 auto;
}

.why-title{
  margin-top: 6rem;
}

/* Full image cards */
.split-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  min-height: 400px;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Add dark overlay for text readability */
.split-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%, transparent 100%);
  z-index: 1;
}

/* Background images */
.christian-full {
  background-image: url("/images/christian.jpg");
}

.child-centred-full {
  background-image: url("/images/pot.jpeg");
}

.academic-full {
  background-image: url("/images/academic.jpeg");
}

.safe-full {
  background-image: url("/images/safe.jpeg");
}

/* Content positioned above overlay */
.split-card-content {
  position: relative;
  z-index: 2;
  color: white;
}

.split-card p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

/* Icon positioning */
.split-card-icon {
  position: absolute;
  top: 5rem;
  left: 1.5rem; 
  z-index: 2;
  color: white;
}

.split-card-icon h3 {
  color: white;
  font-size: 1.7rem;
  margin-right: 1.5rem;
  margin-top: 1rem;
}

.split-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.split-card-icon svg {
  stroke-width: 1.5;
}

/* Hover effect on colored section */
.split-card:hover {
  background-color: #2A9CE0; /* Darker shade on hover */
}

/* Tablet */
@media (min-width: 768px) {
  .split-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .split-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .split-card {
    width: auto;
  }

  .split-card p {
  font-size: 1rem;
}

.split-card-icon h3{
  font-size: 1.5rem;
}
}


/* About Snapshot Section */
.about-snapshot {
  background-color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.snapshot-content {
  margin: 0 auto;
}

.snapshot-text-wrapper h2{
  text-align: left;
}

.snapshot-text {
  margin-bottom: var(--space-xl);
}

.snapshot-text p {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-lg);
}

.snapshot-text em {
  color: var(--color-secondary);
  font-style: normal;
  font-weight: 600;
}

.snapshot-cta .btn-secondary {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.snapshot-cta .btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.snapshot-cta svg {
  transition: transform 0.3s ease;
}

.snapshot-cta .btn-secondary:hover svg {
  transform: translateX(4px);
}

/* Add these new styles */
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.snapshot-text-wrapper {
  order: 1;
}

.snapshot-image {
  order: 2;
  overflow: hidden;
  animation: float-image 3s ease-in-out infinite;
}

.snapshot-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: url(#soft-shadow);
}

.snapshot-image:hover img {
  transform: scale(1.03);
}

/* Desktop - Image on right */
@media (min-width: 1024px) {
  .snapshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    }

    .snapshot-content {
      width: 1900px;
    }

  .snapshot-text {
    min-width: 800px;
  }

  .snapshot-text-wrapper {
    order: 1;
  }
  
  .snapshot-image {
    order: 2;
    width: 400px;
    margin-top: 5rem;
  }
  
  .snapshot-image img {
    height: 350px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .snapshot-text p {
    font-size: 1.125rem;
  }
  
  .about-snapshot {
    padding: var(--space-xl) 0;
    margin-bottom: -4rem;
  }

    .snapshot-grid {
    gap: var(--space-xl);
  }

  .snapshot-image img {
    height: 200px;
    margin-bottom: 10px;
  }

  .snapshot-cta{
  margin-bottom: -4rem;
}
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .snapshot-content {
    padding: 0 var(--space-lg);
  }

    .snapshot-grid {
    gap: var(--space-xl);
  }
  
  .snapshot-image img {
    height: 450px;
  }
}

@keyframes shootUp {
  0% {
    opacity: 0;
    transform: translate(-50px, 50px) scale(0.8);
  }
  70% {
    opacity: 1;
    transform: translate(10px, -10px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.shoot-up {
  animation: shootUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Levels Premium Section */
.levels-premium {
  background-color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
}

/* Horizontal Layout - Desktop */
.levels-horizontal {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.level-column {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.level-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(66, 153, 225, 0.15); /* --color-secondary with low opacity */
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-feature-settings: "tnum";
}

.level-title {
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.level-description {
  color: var(--color-gray-dark);
  line-height: 1.6;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  max-width: 320px;
}

.level-age-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--color-light);
  color: var(--color-secondary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

.level-age-badge svg {
  stroke: var(--color-secondary);
}

.level-image {
  width: 100%;
  max-width: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  height: 250px;
}

.level-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.level-column:hover .level-image {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.level-column:hover .level-image img {
  transform: scale(1.05);
}

/* Desktop */
@media (min-width: 1024px) {
  .levels-horizontal {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
  
  .level-number {
    font-size: 4.5rem;
  }
  
  .level-title {
    font-size: 2rem;
  }
  
  .level-description {
    font-size: 1.15rem;
    max-width: 300px;
  }
  
  .level-image {
    max-width: 320px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .levels-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .level-column:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .levels-premium {
    padding: var(--space-xl) 0;
  }
  
  .section-intro {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
  }

  .levels-horizontal{
    gap: 5rem;
  }
  
  .level-number {
    font-size: 3.5rem;
    align-self: flex-start;
  }
  
  .level-title {
    font-size: 1.5rem;
  }
  
  .level-description {
    font-size: 1.05rem;
    max-width: 280px;
  }
  
  .level-image {
    max-width: 300px;
    height: 220px;
  }
  
  .level-image img {
    height: 220px;
  }
}

/* Learning Approach Section */
.learning-approach {
  background-color: var(--color-light);
  padding: var(--space-2xl) 0;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.approach-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-xl);
}

.approach-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.highlight-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.highlight-icon {
  flex-shrink: 0;
  color: var(--color-secondary);
  background: rgba(66, 153, 225, 0.1);
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item h4 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.highlight-item p {
  color: var(--color-gray);
  line-height: 1.6;
}

/* Curriculum Blend Visual */
.curriculum-blend {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.blend-item {
  padding: var(--space-lg);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.blend-item:hover {
  transform: translateY(-4px);
}


.blend-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blend-item p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.approach-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--color-accent-light);
  background-color: var(--color-secondary-light);
}

.approach-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.approach-image:hover img {
  transform: scale(1.05);
}

.image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--color-primary) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
  text-align: center;
}

.image-overlay-text span {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.image-caption {
  margin-top: 1.5rem;
  text-align: center;
  padding: 0 1rem;
}

.image-caption p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 1rem;
}

/* Update the existing hover effect */
.image-container:hover img {
  transform: scale(1.05);
}

/* === FLAG PATTERN BACKGROUNDS === */
.blend-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  /* opacity: 0.15;  */
  z-index: 1;
  overflow: hidden;
}

/* Nigerian Pattern - Tiny Nigeria flags */
.blend-nigerian .blend-pattern {
  background-image: url('/images/ng.webp');
  background-size: contain;
}

/* British Pattern - Tiny UK flags */
.blend-british .blend-pattern {
  background-image: url('/images/uk.jpg');
  background-size: contain;
}

/* Montessori Pattern - Tiny Montessori icons */
.blend-montessori .blend-pattern {
  background-image: url('/images/mont.jpeg');
  background-size: cover;
}

/* === CARD STYLING === */
.blend-item {
  position: relative;
  padding: var(--space-xl);
  border-radius: 16px;
  text-align: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: url(#soft-shadow);
}

/* Text Bubble */
.blend-text {
  position: relative;
  z-index: 3;
  background: rgba(255, 251, 240, 0.85); /* Cream white 85% opacity */
  padding: 1rem 1.5rem;
  border-radius: 12px;
  max-width: 90%;
  margin-top: 0.5rem;
}

.blend-text h4 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blend-text p {
  color: var(--color-gray-dark);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Icon Styling */
.blend-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid var(--color-white);
  transition: transform 0.3s ease;
}

.blend-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Round crop for Montessori photo */
.blend-montessori .blend-icon img {
  border-radius: 50%;
  object-fit: cover;
}

/* Hover Effects */
.blend-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blend-item:hover .blend-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .blend-item {
    padding: var(--space-lg);
    min-height: 160px;
    margin-bottom: var(--space-md);
  }
  
  .blend-icon {
    width: 60px;
    height: 60px;
    top: 15px;
    right: 15px;
  }
  
  .blend-icon img {
    width: 35px;
    height: 35px;
  }
  
  .blend-text {
    padding: 0.75rem 1rem;
    max-width: 85%;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .approach-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--space-2xl);
  }
  
  .approach-highlights {
    grid-template-columns: 1fr;
  }
  
  .curriculum-blend {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
  
  .blend-item {
    padding: var(--space-xs);
  }

  .blend-icon{
    display: none;
  }
  
  .approach-image img {
    height: 350px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .curriculum-blend {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .approach-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .learning-approach {
    padding: var(--space-xl) 0;
  }
  
  .approach-intro {
    font-size: 1.125rem;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .highlight-icon {
    margin: 0 auto;
  }
  
  .blend-item {
    padding: var(--space-lg);
  }
  
  .approach-image img, .image-container {
    height: 250px;
  }
}

/* Special Programs Section */
.special-programs {
  background-color: var(--color-secondary-light);
  padding: var(--space-2xl) 0;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
}

/* Compact Collage Cards */
.programs-collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.collage-card {
  background-image: url("/images/bg-w.jpg");
  border-radius: 16px;
  padding: var(--space-xl);
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  height: 320px; /* Fixed height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.collage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-secondary);
}

.collage-card:hover .collage-img-main {
  transform: rotate(-1deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.collage-card:hover .collage-img-secondary {
  transform: rotate(2deg) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== WAVE CARD DESIGN ===== */
.wave-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wave-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* Top Section - Main Image Background */
.card-top-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%; /* Adjust based on your wavy line */
  background-size: cover;
  background-position: center;
}

/* Specific background images for each card */
.wave-card:nth-child(1) .card-top-section {
  background-image: url("/images/tech.jpeg");
}
.wave-card:nth-child(2) .card-top-section {
  background-image: url("/images/ballet.jpeg");
}
.wave-card:nth-child(3) .card-top-section {
  background-image: url("/images/taekwondo.jpeg");
}
.wave-card:nth-child(4) .card-top-section {
  background-image: url("/images/scout.jpg");
}
.wave-card:nth-child(5) .card-top-section {
  background-image: url("/images/activity.jpg");
}
.wave-card:nth-child(6) .card-top-section {
  background-image: url("/images/clubs.jpeg");
}

/* Wavy Divider SVG */
.wavy-divider {
  position: absolute;
  bottom: 30%; /* Starts at 40% from bottom */
  left: 0;
  width: 100%;
  height: 25%; /* Covers 40% to 65% area */
  z-index: 2;
  pointer-events: none;
}

/* Bottom Section with Gradient */
.card-bottom-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%; /* Matches wavy line end point */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  padding: 1.5rem;
  z-index: 3;
}

/* Left Content: Secondary Image & Tag */
.card-left-content {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 1.5rem;
}

.secondary-image-container {
  position: relative;
  margin-bottom: 1rem;
  z-index: 3;
}

.secondary-image {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid white;
  margin-top: -3rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px); /* Half on top, half on bottom */
}

/* Tag */
.program-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Right Content: Title & Description */
.card-right-content {
  flex: 1;
  color: white;
  padding-left: 1.5rem;
}

.program-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: end;
}

.program-description {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 0.8rem;
  text-align: end;
}

/* Different gradient colors for each card */
.wave-card:nth-child(1) .card-bottom-section {
  background: blue;
}
.wave-card:nth-child(2) .card-bottom-section {
  background: var(--color-accent-red);
}
.wave-card:nth-child(3) .card-bottom-section {
  background: var(--color-accent-gold);
}
.wave-card:nth-child(4) .card-bottom-section {
  background: blue;
}
.wave-card:nth-child(5) .card-bottom-section {
  background: var(--color-accent-red);
}
.wave-card:nth-child(6) .card-bottom-section {
  background: var(--color-accent-gold);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .special-programs {
    padding: var(--space-xl) 0;
  }
  
  .section-intro {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
  }
  
  .programs-collage-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .collage-card {
    height: 350px;
    padding: var(--space-lg);
  }

  .wave-card {
    height: 400px;
  }
  
  .card-bottom-section {
    padding: 0 1rem 0 1rem;
    height: 35%;
  }
  
  .card-left-content {
    flex: none;
    padding-right: 0;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  
  .secondary-image {
    width: 80px;
    height: 80px;
    transform: translateY(-15px);
  }

  .program-tag {
    padding: 0.3rem 0.5rem;
    border-radius: 50px;
    font-size: 0.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  .card-right-content {
    padding-left: 0;
    border-left: none;
    padding-top: 0;
    margin-top: -0.5rem;
  }
  
  .program-title {
    font-size: 1.25rem;
  }

  .program-description{
    font-size: 0.8rem;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .programs-collage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== HOME EXPERIMENT TEASER ===== */
.home-experiment-teaser {
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.teaser-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.teaser-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.teaser-icon {
  font-size: 2.5rem;
  animation: float 3s ease-in-out infinite;
}

.teaser-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Google Drive Embed Styles */
.drive-embed-container {
  position: relative;
  width: 100%;
  padding-top: 80%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.drive-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Container */
.video-teaser {
  margin: var(--space-xl) 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: black;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 90%;
  overflow: hidden;
}

.video-caption {
  color: white;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.video-duration {
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 500;
}

.video-tag {
  background: var(--color-accent-light);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* CTA Section */
.teaser-cta {
  margin-top: var(--space-xl);
}

.cta-text {
  font-size: 1.1rem;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-lg);
}

.teaser-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.teaser-cta .btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.2);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Mobile */
@media (max-width: 768px) {
  .home-experiment-teaser {
    padding: var(--space-md) var(--space-xs);
  }

  .drive-embed-container {
    padding-top: 100%;
  }
  
  .teaser-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .teaser-icon {
    font-size: 2rem;
  }
  
  .teaser-description {
    font-size: 1.1rem;
    padding: 0;
  }
  
  .video-caption {
    font-size: 0.9rem;
  }
  
  .video-teaser {
    margin: var(--space-lg) 0;
    border-radius: 12px;
  }
}


/* Trust & Achievements Section */
.trust-achievements {
  background-color: var(--color-light);
  padding: var(--space-2xl) 0;
}

.trust-intro {
  text-align: left;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-gray-dark);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin: 0 auto var(--space-2xl);
}

.achievement-stat {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  min-width: 300px;
}

.achievement-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-number svg {
  stroke: var(--color-secondary);
  stroke-width: 1.5;
}

.stat-label {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: var(--color-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Success Story */
.success-story {
  background: var(--color-white);
  border-radius: 20px;
  padding: var(--space-2xl);
  margin: var(--space-2xl) auto;
  max-width: 1000px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.story-content {
  position: relative;
}

.story-quote {
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.story-quote svg {
  stroke-width: 1.5;
}

.story-text {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-lg);
  font-style: italic;
  font-weight: 500;
}

/* Author Section with Photo */
.story-author-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: var(--space-xl);
}

.author-info {
  text-align: center;
}

.author-name {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
}

.author-desc {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.author-university {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.author-university svg {
  stroke: var(--color-gray);
  stroke-width: 1.5;
}

.author-photo {
  position: relative;
  justify-self: center;
}

.author-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.photo-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--color-accent-gold);
  color: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.story-highlight {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/alumni.jpeg");
  background-size: cover;
  color: white;
  padding: var(--space-xl);
  border-radius: 16px;
  text-align: center;
}

.story-highlight-back {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/ok.jpeg");
}

.story-highlight h3 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.story-highlight p {
  opacity: 0.9;
  font-size: 1.125rem;
}

/* ===== FLIP CONTAINER STYLES ===== */
.stories-flip-container {
  position: relative;
  max-width: 1000px;
  margin: var(--space-2xl) auto;
  perspective: 1000px;
}

.flip-card {
  position: relative;
  width: 100%;
  height: auto;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flip-card.flipped {
  transform: rotateY(180deg);
}

.story-card {
  position: relative;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.story-back {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotateY(180deg);
}

/* Flip Button */
.flip-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: var(--space-lg) auto 0;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.flip-button:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.flip-icon {
  transition: transform 0.3s ease;
}

.flip-button:hover .flip-icon {
  transform: rotate(90deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .stories-flip-container {
    margin: var(--space-xl) auto;
  }
  
  .flip-button {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Testimonials Carousel */
.testimonials-carousel {
  max-width: 1000px;
  margin: var(--space-2xl) auto 0;
  position: relative;
}

.testimonials-title {
  text-align: center;
  color: var(--color-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  z-index: 4;
}

.carousel-track {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
}

.testimonial-slide {
  display: none;
  background: var(--color-white);
  border-radius: 20px;
  padding: var(--space-2xl);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  height: 100%;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-quote {
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.testimonial-quote svg {
  stroke-width: 1.5;
}

.testimonial-text {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--color-gray-dark);
  margin-bottom: var(--space-xl);
  font-style: italic;
  font-weight: 500;
}

.testimonial-author {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: var(--space-lg);
  max-width: 300px;
  margin: 0 auto;
}

.author-name {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* Carousel Navigation */
.carousel-btn {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-primary);
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-secondary);
  transform: scale(1.2);
}

.dot:hover {
  background: var(--color-secondary);
  transform: scale(1.2);
}

/* Mobile */
@media (max-width: 767px) {
  .testimonials-carousel {
    margin: var(--space-xl) -1.5rem;
  }

  .testimonials-title {
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
  }
  
  /* KEEP ROW LAYOUT, DON'T CHANGE TO COLUMN */
  .carousel-container {
    flex-direction: row; /* ← Keep row, not column */
    gap: 0; /* Reduce gap for mobile */
    margin-top: 20px; /* Add this */
    margin-bottom: 20px; 
  }
  
  .carousel-track {
    min-height: 350px;
    flex-grow: 1; /* Let track take available space */
  }
  
  .testimonial-slide {
    padding: var(--space-md) var(--space-xs);
  }
  
  .testimonial-text {
    font-size: 1rem;
    margin-bottom: var(--space-md);
  }
  
  .testimonial-quote {
  margin-bottom: var(--space-xs);
}

.testimonial-quote svg {
  stroke-width: 1.5;
}

.testimonial-author {
  padding-top: var(--space-sm);
}
  /* Keep buttons on sides */
  .carousel-btn {
    position: static; /* Not absolute */
    margin: 0;
    flex-shrink: 0; /* Don't shrink buttons */
  }
  
  /* Adjust button size for mobile if needed */
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-dots {
    margin-top: 0;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .achievements-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
  
  .success-story {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }

  .story-author-section {
    grid-template-columns: 1fr auto;
    text-align: left;
    gap: var(--space-2xl);
  }
  
  .author-info {
    text-align: left;
    order: 1;
  }
  
  .author-photo {
    order: 2;
  }
  
  .story-text {
    font-size: 1.5rem;
  }
  
  .author-photo img {
    width: 200px;
    height: 200px;
  }
  .story-highlight {
    padding: var(--space-xl) var(--space-lg);
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .trust-achievements {
    padding: var(--space-xl) 0;
  }
  
  .trust-intro {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
  }
  
  .achievements-grid {
    gap: var(--space-sm);
  }
  
  .achievement-stat {
    padding: var(--space-xs);
    padding-top: 1rem;
    min-width: 0;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1.125rem;
  }
  
  .success-story {
    padding: var(--space-md) var(--space-sm);
    margin: var(--space-xl) auto;
  }
  
  .story-text {
    font-size: 1rem;
  }

  .story-author-section {
    gap: var(--space-sm);
    padding-top: var(--space-md);
  }
  
  .story-highlight {
    display: none;
  }

  .author-photo img {
    width: 150px;
    height: 150px;
  }
  
  .photo-badge {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
}

/* ===== FLOATING PARENT PHOTOS ===== */
.floating-parents {
  position: relative;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 5;
}

.floating-photo {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  animation: floatPhoto 6s ease-in-out infinite;
}

.floating-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo positions for desktop */
.photo-1 {
  top: -50px;
  left: 5%;
  animation-delay: 0s;
}

.photo-2 {
  bottom: -550px;
  left: 60%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.photo-3 {
  top: -50px;
  right: 5%;
  animation-delay: 4s;
}

/* Floating animation */
@keyframes floatPhoto {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Ensure carousel has space for floating photos */
.testimonials-carousel {
  position: relative;
  padding: 40px 0;
}

.carousel-container {
  position: relative;
  z-index: 4; /* Above photos */
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .floating-photo {
    width: 100px;
    height: 100px;
    opacity: 0.95;
  }
  
  .photo-1 {
    top: -35px;
    left: 10px;
  }
  
  .photo-2 {
    bottom: -25rem;
    left: 60%;
    transform: translateX(-50%);
  }
  
  .photo-3 {
    top: -35px;
    right: 10px;
  }
  
  /* Give carousel more space on mobile */
  .carousel-container {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}


/* FAQ Simple List */
.home-faq-simple {
  background-color: var(--color-white);
  padding: var(--space-2xl) 0;
}

.home-faq-list {
  max-width: 800px;
  margin: var(--space-xl) auto;
}

.home-faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--space-md) 0;
}

.home-faq-item:last-child {
  border-bottom: none;
}

.home-faq-question {
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  text-align: left;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: color 0.2s ease;
}

.home-faq-question:hover {
  color: var(--color-secondary);
}

.home-faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.home-faq-answer p {
  color: var(--color-gray-dark);
  line-height: 1.6;
  font-size: 1.125rem;
  padding-top: var(--space-sm);
  padding-right: var(--space-lg);
}

.home-faq-cta {
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--color-gray);
  font-size: 1.125rem;
}

.home-faq-cta a {
  color: var(--color-secondary);
  font-weight: 600;
}

.home-faq-cta a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 767px) {
  .home-faq-simple {
    padding: var(--space-xl) 0;
  }
  
  .home-faq-question {
    font-size: 1.125rem;
    padding: var(--space-xs);
  }
  
  .home-faq-answer p {
    font-size: 1.05rem;
  }
}

/* Final CTA Section */
.final-cta {
  background-image: url("/images/cta-bg.jpg");
  background-size: cover;
  padding: var(--space-2xl) 0;
  color: white;
}

.cta-content {
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-subtitle {
  font-size: 1.375rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.cta-icon {
  color: white;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
}

.cta-icon svg {
  stroke-width: 1.5;
}

.cta-card h3 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.cta-card .btn {
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-card .btn-primary {
  background: var(--color-accent-yellow);
  color: var(--color-primary);
  font-weight: 700;
  border: none;
}

.cta-card .btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.cta-card .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-card .btn-secondary:hover {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.cta-micro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: var(--space-sm);
}

/* Desktop */
@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .cta-title {
    font-size: 3.5rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .final-cta {
    padding: var(--space-xl) 0;
  }
  
  .cta-title {
    font-size: 2.5rem;
  }
  
  .cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
  }
  
  .cta-card {
    padding: var(--space-lg) var(--space-md);
  }
  
  .cta-card h3 {
    font-size: 1.5rem;
  }
  
  .cta-card p {
    font-size: 1.05rem;
  }
}

