/* General Page Styles */
.container {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 40px 4px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #ddcbb5, #6cadc2);
  color: #fff;
  box-shadow: 0 26px 26px -16px #FFC107ED; 
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero button {
  padding: 12px 25px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.hero button:hover {
  background: #555;
}

/* Courses Section */
.CoursesSVG {
  display: block;
  margin: 0 auto;
}
.courses h2 {
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
  font-family: 'MagicRed', sans-serif;
  font-size: 2rem;
  font-weight: 700;

  /* Rainbow neon glow */
  text-shadow: 
    0 0 5px #ff0000,   /* red */
    0 0 10px #ff7f00,  /* orange */
    0 0 15px #ffff00,  /* yellow */
    0 0 20px #00ff00,  /* green */
    0 0 25px #0000ff,  /* blue */
    0 0 30px #4b0082,  /* indigo */
    0 0 35px #8f00ff;  /* violet */
}
@keyframes rainbowGlow {
  0% {
    text-shadow: 
      0 0 5px #ff0000,
      0 0 10px #ff7f00,
      0 0 15px #ffff00,
      0 0 20px #00ff00,
      0 0 25px #0000ff,
      0 0 30px #4b0082,
      0 0 35px #8f00ff;
  }
  50% {
    text-shadow: 
      0 0 5px #8f00ff,
      0 0 10px #4b0082,
      0 0 15px #0000ff,
      0 0 20px #00ff00,
      0 0 25px #ffff00,
      0 0 30px #ff7f00,
      0 0 35px #ff0000;
  }
  100% {
    text-shadow: 
      0 0 5px #ff0000,
      0 0 10px #ff7f00,
      0 0 15px #ffff00,
      0 0 20px #00ff00,
      0 0 25px #0000ff,
      0 0 30px #4b0082,
      0 0 35px #8f00ff;
  }
}

.courses h2 {
  animation: rainbowGlow 3s infinite alternate;
}


.course-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.courses {
  margin-top: 40px; 
}

.course {
  flex: 1;
  min-width: 280px;
  background: #ffffff;
  padding: 50px 20px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 4px 12px #25D3F6;
  margin-top: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Card hover effect */
.course:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px #FF0059;
}

/* Floating circular image badge */
.course img {
  width: 60px;
  height: 60px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  
  border-radius: 50%;
  background: #f8fbff;
  padding: 6px;
  box-shadow: 0 4px 12px #FEC314;
  transition: transform 0.3s ease;
}

.course img:hover {
  transform: translateX(-50%) translateY(-5px) scale(1.1);
  box-shadow: 0 4px 12px #14FEA2;
}

/* Course title */
.course h3 {
  margin-bottom: 10px;
  color: #333; 
  font-size: 1.2rem;
  font-weight: 600;
  font-family: 'Adventure', sans-serif;
}
.course p {
  font-family: 'Comfortaa', sans-serif;
}
/* Course link */
.course a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #00bfa6;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  font-family: 'Garet', sans-serif;
}

.course a:hover {
  color: #00897b;
}

/* Info-Section */
.info-section {
  display: flex;
  gap: 40px; 
  align-items: flex-start;
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
  background: #e8eecc;
  border-radius: 10px;
}

/* Left and right columns */
.info-section .about,
.info-section .contact-form {
  flex: 1;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* About block */
.WhatWeDo {
  width: 190px;
  height: auto;
}
.about {
  text-align: center;
}

.about h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  font-family: 'Cream Cake Bold', cursive;
}

.about p {
  line-height: 1.34;
  color: #555;
  font-family: 'Ethnocentric', sans-serif;
  font-size: 0.74rem;
}

.about a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  text-decoration: none;
  color: #fff;
  background: #74ebd5;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  font-family: 'Comfortaa', sans-serif;
}

.about a:hover {
  background: #5ac1b5;
  transform: translateY(-2px);
}

/* Contact Form block */
.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  font-family: 'Designer', sans-serif;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Designer', sans-serif;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #74ebd5;
  box-shadow: 0 0 6px rgba(116, 235, 213, 0.5);
  outline: none;
  font-family: 'Comfortaa', sans-serif;
}

.contact-form button {
  padding: 12px;
  background: linear-gradient(135deg, #74ebd5, #9face6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
  font-family: 'Designer', sans-serif;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #5ac1b5, #7b8ce6);
  transform: translateY(-2px);
}

/* Testimonials */
.TestimonialsB {
  width: 100%;
  height: auto;
  background-image: url("/resources/StudentAndParents.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.TestimonialsD {
  width: 100%;
  height: auto;
  background: #130000BF;
  background-blend-mode: multiply;
}
.testimonials h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #fff;
  font-family: 'Adventure', sans-serif;
}

.testimonials blockquote {
  background: #f1f1f1;
  padding: 20px;
  margin: 15px auto;
  border-left: 5px solid #74ebd5;
  max-width: 700px;
  border-radius: 40px 20px;
}

.testimonials footer {
  margin-top: 10px;
  font-style: italic;
  color: #555;
}
/* First wave */
.TestimonialsSVG1 {
  fill: url(#rainbowGradient);
  opacity: 0.9;
  animation: rainbowSlide 8s linear infinite, glowPulse 2s ease-in-out infinite;
}

/* Slide the gradient across */
@keyframes rainbowSlide {
  0%   { fill: url(#rainbowGradient); }
  100% { fill: url(#rainbowGradient); }
}

/* Glow effect */
@keyframes glowPulse {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

/* Second wave */
.TestimonialsSVG2 {
  fill: #FFAA3BD9;
  opacity: 0.6;
}

/* Third wave */
.TestimonialsSVG3 {
  fill: #FFFFFF;
}
.TestimonialsSVG2_1 {
  fill: #FFEB3BF2;
  opacity: 0.8;
}

/* Second wave */
.TestimonialsSVG2_2 {
  fill: #E91E63F2;
  opacity: 0.6;
}

/* Third wave */
.TestimonialsSVG2_3 {
  fill: #FFFFFF;
}
/* Vertical mirror */
.SVGB {
  transform: scaleY(-1);
  margin-top: 20px;
  position: relative;
  top: 30px;
}
/* Stats Section */
.StatsD {

}
.stats {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9f9, #ffffff);
  border-radius: 12px;
}

.stats h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
  letter-spacing: 1px;
  font-family: 'Vampire Wars', sans-serif;
}

.stats ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stats li {
  font-size: 1.2rem;
  font-weight: 600;
  color: #555;
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats li strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0077ff; /* modern accent color */
  margin-bottom: 8px;
}

.stats li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}
/* Responsive */
@media (max-width: 1248px) {
  .WhatWeDo {
    width: 36.6% !important;
    height: auto !important;
  }
  .SVGB {
    transform: scaleY(-1);
    margin-top: 20px;
    position: relative;
    top: 14px;
  }
}
@media (max-width: 768px) {
.SVGB {
    transform: scaleY(-1);
    margin-top: 20px;
    position: relative;
    top: 14px;
  }
  .TestimonialsSVG2_3 {
    position: relative;
    bottom: -1px;
  }
  .info-section {
    flex-direction: column;
    gap: 30px;
    padding: 15px;
  }
  .contact-form {
    margin: 0 auto;
    width: 80%;
  }
  .course-grid {
    flex-direction: column;
  }

  .stats ul {
    flex-direction: column;
    gap: 15px;
  }

}

@media (max-width: 364px) {
.course {
    min-width: 200px;
  }
}

/* Ultra-small mobile optimization (240px width and up) */
@media (max-width: 320px) {
  .container {
    max-width: 90%;
    padding: 20px 4px;
  }

  /* Hero Section */
  .hero {
    padding: 30px 10px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .hero button {
    width: 100%;
    padding: 10px;
    font-size: 0.9rem;
  }

  /* Courses Section */
  .courses h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }
  .course-grid {
    flex-direction: column;
    gap: 15px;
  }
  .course {
    min-width: auto;
    padding: 40px 15px 15px;
  }
  .course h3 {
    font-size: 1rem;
  }
  .course a {
    font-size: 0.85rem;
  }

  /* Info Section */
  .info-section {
    flex-direction: column;
    gap: 20px;
    padding: 10px;
  }
  .about h2,
  .contact-form h2 {
    font-size: 1.4rem;
  }
  .about p {
    font-size: 0.9rem;
  }

  /* Testimonials */
  .testimonials h2 {
    font-size: 1.4rem;
  }
  .testimonials blockquote {
    padding: 15px;
    font-size: 0.85rem;
  }

  /* Stats Section */
  .stats {
    padding: 30px 10px;
  }
  .stats h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  .stats ul {
    flex-direction: column;
    gap: 10px;
  }
  .stats li {
    font-size: 1rem;
    padding: 15px;
  }
  .stats li strong {
    font-size: 1.6rem;
  }
}


