:root {
  --main-color: #fdc800;
  --main-dark: #fdc800;
  --main-light: #fff4b8;
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --paragraph-color: #565872;
  --body-font: "Rubik", sans-serif;
  --heading-font: "Rubik", sans-serif;
  --body-font-size: 16px;
  --line-height30: 1.7;
  --shadow-main: 0 20px 60px rgba(253, 200, 0, 0.15);
  --shadow-hover: 0 30px 80px rgba(253, 200, 0, 0.25);
  /* --gradient-main: linear-gradient(135deg, #f4b400 0%, #fdc800 100%); */
  --gradient-main: #FDC800;
  --gradient-light: linear-gradient(135deg, #fff4b8 0%, #fdc800 100%);
  --gradient-dark: linear-gradient(135deg, #f4b400 0%, #fdc800 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  font-size: var(--body-font-size);
  line-height: var(--line-height30);
  color: var(--paragraph-color);
  background: #f9fafb;
  overflow-x: hidden;
}

/* Animated Background Elements */
.bg-shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-light);
  border-radius: 50%;
  top: 10%;
  left: -5%;
  animation-duration: 25s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--gradient-main);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 60%;
  right: -5%;
  animation-duration: 20s;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--gradient-dark);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  bottom: 20%;
  left: 10%;
  animation-duration: 22s;
  animation-delay: 10s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translateY(20px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translateY(-20px) rotate(270deg) scale(1.05);
  }
}

/* Loading Animation */
.loading-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 1s ease 2s forwards;
}

.loader {
  width: 80px;
  height: 80px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    150deg,
    #fff4b8 0%,
    #fff4b8 60%,
    #ffe37f 75%,
    #fdc800 100%
  );
  padding: 2rem;
  overflow: hidden;
  margin-top: 180px;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: bounceIn 1s ease-out;
}

.hero-text .tagline {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: white;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
  display: inline-block;
 background: #FDC800;

  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-white);
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.7s both;
  transition: all 0.3s ease;
  font-weight: 500;
}

.feature-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-badge .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.icon-1 {
  background: var(--gradient-main);
}
.icon-2 {
  background: var(--gradient-dark);
}
.icon-3 {
  background: var(--gradient-light);
  color: var(--color-black);
}

.hero-illustration {
  position: relative;
  animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Student Learning Animation */
.student-animation {
  position: relative;
  width: 100%;
  max-height: 420px;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-animation::before {
  /* content: "Space for photos"; */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--paragraph-color);
  opacity: 0.5;
}

.student {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(253, 200, 0, 0.3);
  animation: studentLearning 8s infinite ease-in-out;
}

.student:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
  background: var(--gradient-main);
}

.student:nth-child(2) {
  top: 60%;
  left: 25%;
  animation-delay: 1s;
  background: var(--gradient-dark);
}

.student:nth-child(3) {
  top: 30%;
  right: 20%;
  animation-delay: 2s;
  background: var(--gradient-light);
  color: var(--color-black);
}

.student:nth-child(4) {
  bottom: 20%;
  right: 15%;
  animation-delay: 3s;
  background: var(--gradient-main);
}

@keyframes studentLearning {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-30px) rotate(5deg);
  }
  40% {
    transform: translateY(10px) rotate(-5deg);
  }
  60% {
    transform: translateY(-20px) rotate(3deg);
  }
  80% {
    transform: translateY(5px) rotate(-3deg);
  }
}

/* Floating Math Elements */
.math-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.math-item {
  position: absolute;
  font-family: var(--heading-font);
  font-weight: 600;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  animation: floatMath 15s infinite ease-in-out;
}

.math-plus {
  width: 80px;
  height: 80px;
  background: var(--gradient-main);
  top: 20%;
  left: 10%;
  font-size: 3rem;
  animation-delay: 0s;
}

.math-equals {
  width: 100px;
  height: 60px;
  background: var(--gradient-dark);
  top: 50%;
  right: 20%;
  font-size: 2.5rem;
  animation-delay: 2s;
}

.math-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-light);
  color: var(--color-black);
  bottom: 30%;
  left: 30%;
  font-size: 2rem;
  animation-delay: 4s;
}

.math-divide {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  top: 10%;
  right: 10%;
  font-size: 2rem;
  animation-delay: 6s;
}

@keyframes floatMath {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(10deg);
  }
  50% {
    transform: translate(-15px, 20px) rotate(-10deg);
  }
  75% {
    transform: translate(25px, 15px) rotate(5deg);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: var(--heading-font);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 10px 30px rgba(253, 200, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(253, 200, 0, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: white;
  color: var(--main-dark);
  border: 2px solid var(--main-dark);
}

.btn-secondary:hover {
  background: var(--main-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(244, 180, 0, 0.3);
}

/* Section Styling */
.section {
  padding: 5rem 2rem;
  position: relative;
}

.section-white {
  background: white;
}

.section-light {
  background: #f9fafb;
}

.section-gradient {
  background: var(--gradient-main);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 8px;
}

.section-header h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header .subtitle {
  font-size: 1.2rem;
  color: var(--main-dark);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-header .subtitle::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--gradient-main);
  border-radius: 3px;
}

.section-gradient .section-header h2,
.section-gradient .section-header .subtitle {
  color: white;
}

.section-gradient .section-header .subtitle::after {
  background: white;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--main-light) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 0.3;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 10px 20px rgba(253, 200, 0, 0.2);
}

.feature-card h3 {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  color: var(--color-black);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--paragraph-color);
  line-height: 1.6;
}

/* Photo Gallery Section */
.gallery-section {
  padding: 6rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 250px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item::before {
  content: "Space for photos";
  position: absolute;
  color: var(--paragraph-color);
  opacity: 0.5;
  font-size: 1.2rem;
}

/* Grade Programs Section - Enhanced */
.grade-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.grade-tab {
  padding: 1rem 2rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  font-family: var(--heading-font);
}

.grade-tab.active {
  background: var(--gradient-main);
  color: white;
  border-color: var(--main-color);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(253, 200, 0, 0.3);
}

.grade-tab:hover:not(.active) {
  border-color: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(253, 200, 0, 0.1);
}

.grade-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.grade-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grade-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grade-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.grade-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-main);
}

.grade-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grade-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.grade-photo img {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  /* background: #e5e7eb; */
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.grade-photo::before {
  /* content: "Space for grade-specific photos"; */
  position: absolute;
  color: var(--paragraph-color);
  opacity: 0.5;
  font-size: 1.2rem;
}

.grade-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 200, 0, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(253, 200, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(253, 200, 0, 0);
  }
}

.topics-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.topic-item:hover {
  background: var(--main-light);
  transform: translateX(10px);
}

.topic-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  padding: 0px 9px;
}

.grade-demo-btn {
  margin-top: 2rem;
  text-align: center;
}

.grade-demo-btn .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  animation: pulse 2s infinite;
}

/* Teaching Methods */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 10px;
}

.method-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.method-card:hover {
  border-color: var(--main-color);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-main);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(253, 200, 0, 0.2);
  animation: wiggle 4s ease-in-out infinite;
}

.method-card:nth-child(2) .method-icon {
  animation-delay: 0.5s;
}

.method-card:nth-child(3) .method-icon {
  animation-delay: 1s;
}

.method-card:nth-child(4) .method-icon {
  animation-delay: 1.5s;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-5deg) scale(1.05);
  }
  50% {
    transform: rotate(5deg) scale(1.05);
  }
  75% {
    transform: rotate(-3deg) scale(1.03);
  }
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
  border-color: var(--main-color);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(253, 200, 0, 0.2);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--gradient-main);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(253, 200, 0, 0.3);
}

.price {
  font-family: var(--heading-font);
  font-size: 3rem;
  color: var(--main-color);
  margin: 1rem 0;
  line-height: 1;
}

.price-unit {
  font-size: 1.2rem;
  color: var(--paragraph-color);
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 2rem;
}

.testimonial-slider {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: var(--main-light);
  font-family: serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  font-weight: bold;
  font-size: 1.5rem;
}

.author-info h4 {
  font-family: var(--heading-font);
  color: var(--color-black);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--paragraph-color);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--main-color);
  font-weight: 700;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.btn-white:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Floating Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: white;
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-illustration {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-features {
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }

  .grade-header {
    flex-direction: column;
    text-align: center;
  }

  .grade-icon {
    margin: 0 auto;
  }

  .section {
    padding: 4rem 1.5rem 4rem 1.5rem;
  }

  .grade-photo img {
    height: 125px;
  }

  .container-2{
    padding : 0px 4px;
  }

  .scientist-photo img{
    object-fit: cover;
    object-position: 75%;
  }

  .early-explorers img{
    object-fit: cover;
    object-position: 89%;
  }

  .early-explorers-math img{
     object-fit: cover;
    object-position: 65%;
  }
}

/* Photo Space */
.photo-space img {
  height: 300px;
  /* background: #e5e7eb; */
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.photo-space::before {
  /* content: "Space for photos"; */
  position: absolute;
  color: var(--paragraph-color);
  opacity: 0.5;
  font-size: 1.5rem;
}

/* New Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Button Animation */
.btn-float {
  animation: floatUpDown 3s ease-in-out infinite;
}

/* Hover Effects */
.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.03);
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-logo-img-prim img {
  max-height: 102px;
}

@media (max-width: 768px) {
  .footer-logo-img-prim img {
    max-height: 85px;
  }
}

.assessment-btn:after {
    background: #fff4b8 !important;
}

.pt-8{
    padding-top: 80px;
}

.pt-6{
    padding-top: 56px;
}


@media (max-width: 768px) {
    .pt-8{
    padding-top: 64px;
  }

  .pt-6{
    padding-top: 2px;
  }

  .sm-4 {
    padding-top: 40px;
  }
}