/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #0f172a;
}



.about-hero {
  position: relative;
  width: 100%;
  min-height: 200px;
  background:linear-gradient(  #5ECA86 ,white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* LEFT DOT PATTERN */
.about-hero::before {
  content: "";
  position: absolute;
  top: 35%;
  left: 6%;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(#f373c5 1.5px, transparent 3.5px);
  background-size: 10px 10px;
  opacity: 0.4;
}

/* RIGHT CIRCLE */
.about-hero::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 2px solid #f373c5;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* CONTENT */
.about-hero__content {
  text-align: center;
  z-index: 2;
}

.about-hero__content h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: black;
  margin-bottom: 10px;
}

.about-hero__content p {
  font-size: 14px;
  color: #6b7c93;
}

.about-hero__content .separator {
  margin: 0 6px;
}



/* SECTION */
.benefits {
  padding: 96px 24px;
  opacity: 0;
  transform: translateY(40px);  
  animation: appearSlow 1.6s ease-out forwards;
}

@keyframes appearSlow {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.benefits__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 96px;
  align-items: center;
}

/* MEDIA */
.benefits__media {
  position: relative;
}

.media-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
}

/* TOP IMAGE */
.media--top {
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e7eb;
}

.media--top img,
.media--bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BOTTOM IMAGE */
.media--bottom {
  position: absolute;
  width: 62%;
  height: 330px;
  bottom: -48px;
  right: -135px;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e7eb;
}

/* SCRIBBLE (3 strokes) */
.decor-scribble {
  position: absolute;
  top: -28px;
  right: -20px;
  width: 90px;
  height: 48px;
}

.decor-scribble::before,
.decor-scribble::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 6px;
  border-radius: 6px;
  background: #f373c5;
}

.decor-scribble::before {
  top: 0;
  transform: rotate(-12deg);
}

.decor-scribble::after {
  top: 16px;
  transform: rotate(-12deg);
}

.decor-scribble span {
  display: none;
}

/* DOT GRID */
.decor-dots {
  position: absolute;
  left: -28px;
  top: 42%;
  width: 24px;
  height: 24px;
  background-image:
    radial-gradient(#f373c5 2px, transparent 2px);
  background-size: 8px 8px;
}

/* CONTENT */
.benefits__title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.benefits__title span {
  color: #5ECA86;
}

.benefits__text {
  color: rgb(107, 106, 106);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}



/* FEATURES */
.benefits__features {
  display: flex;
  gap: 32px;
  margin-top: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;

}

.feature__icon--orange {
  background:#f9da39
 ;
  color: #ea580c;
}

.feature__icon--blue {
  background: #5ECA86;
  color: #5ECA86;
}

/* CTA */
.benefits__cta {
  font-size: 15px;
  font-weight: 600;
  color: #5ECA86;
  text-decoration: none;
  
}

.benefit-cta-wapper{
margin-top: 2rem;
}




/* ===== Section ===== */
.records-section {
  padding: 70px 20px;
  text-align: center;
}

/* ===== Title ===== */
.records-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 55px;
  display: inline-block;
}

.records-underline {
  display: block;
  width: 60px;
  height: 4px;
  background: #f373c5;
  margin: 8px auto 0;
  border-radius: 4px;
}

/* ===== Grid ===== */
.records-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===== Card ===== */
.record-card {
  background: #f9da39
;
  border-radius: 14px;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.record-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation */
.record-card:nth-child(1) { transition-delay: 0.1s; }
.record-card:nth-child(2) { transition-delay: 0.2s; }
.record-card:nth-child(3) { transition-delay: 0.3s; }
.record-card:nth-child(4) { transition-delay: 0.4s; }

/* ===== Content ===== */
.record-icon {
  font-size: 30px;
  margin-bottom: 12px;
}

.record-value {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.record-label {
  font-size: 14px;
  color: #6b7280;
}

.expert-teacher-section {
  padding: 80px 5%;
  background: #ffffff;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
}

.expert-teacher-title {
  font-size: 28px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 60px;
}

.expert-teacher-underline {
  position: absolute;
  width: 70px;
  height: 4px;
  background:#f373c5;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

.expert-teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.expert-teacher-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.expert-teacher-card:hover {
  transform: translateY(-8px);
}

.expert-teacher-image {
  width: 100%;
  height: 240px;
  background: #e6e6e6;
  border-radius: 12px;
  margin-bottom: 18px;
}

.expert-teacher-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.expert-teacher-text p {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
}

.expert-teacher-icon {
  position: absolute;
  bottom: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  background:#f9da39;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
}




/* Scroll animation */
.expert-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.expert-animate.expert-show {
  opacity: 1;
  transform: translateY(0);
}




.about-footer{
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 3rem;

}

.about-footer-link{

  color: #111;
  text-decoration: none;
}



.event-img{
  max-width: 100%;
  height:100%; 
  


}




/* Responsive */
@media (max-width: 992px) {
  .expert-teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .expert-teacher-grid {
    grid-template-columns: 1fr;
  }

  .expert-teacher-image {
    height: 260px;
  }
}




/* ===== Tablet ===== */
@media (max-width: 992px) {
  .records-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Mobile ===== */
@media (max-width: 576px) {
  .records-title {
    font-size: 26px;
  }

  .records-grid {
    grid-template-columns: 1fr;
  }
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .benefits__container {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .media--bottom {
    right: 0;
  }

  .benefits__features {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .benefits__title {
    font-size: 32px;
  }

  .media--top {
    height: 320px;
  }

  .media--bottom {
    height: 200px;
    width: 70%;
  }

  .about-hero {
    min-height: 200px;
  }

  .about-hero::before {
    left: 3%;
    top: 28%;
    width: 45px;
    height: 45px;
    background-size: 8px 8px;
    opacity: 0.35;
  }

  .about-hero::after {
    right: 3%;
    top: 42%;
    width: 16px;
    height: 16px;
  }

}


@media (max-width: 600px) {
  .media-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .media--top,
  .media--bottom {
    position: relative;
    width: 100%;
    height: 240px;
    right: auto;
    bottom: auto;
  }

  .decor-scribble,
  .decor-dots {
    display: none;
  }
}


/* TABLET */
@media (max-width: 768px) {
  .about-hero {
    min-height: 220px;
  }

  .about-hero::before {
    left: 4%;
    top: 32%;
    width: 55px;
    height: 55px;
    background-size: 9px 9px;
  }

  .about-hero::after {
    right: 4%;
    width: 18px;
    height: 18px;
  }
}


