*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --green: #07572a;
  --deep-green: #03451f;
  --bright-green: #42b653;
  --pale-green: #e0f5c9;
  --gold: #d6bd08;
  --pink: #ef82c5;
  --ink: #082f1b;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  min-height: 104px;
  padding: 12px clamp(22px, 5.5vw, 82px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 5;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--green);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 76px;
  height: 76px;
}

.brand-name {
  font-size: clamp(17px, 1.55vw, 25px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-name span {
  font-size: 0.88em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4.2vw, 66px);
}

.main-nav a {
  color: #092d1b;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
}

.main-nav a.active {
  font-weight: 700;
  border-bottom: 3px solid var(--gold);
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #e9f7e8;
  padding: 15px 13px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 4px;
  margin: 4px 0;
  border-radius: 5px;
  background: var(--green);
}

.hero {
  min-height: 500px;
  padding: 38px clamp(28px, 5.5vw, 90px) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 82px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 3% 30%, rgba(221, 242, 213, 0.42), transparent 34%),
    radial-gradient(ellipse at 96% 80%, rgba(225, 244, 217, 0.35), transparent 28%),
    #fff;
}

/* =========================================================
   DIAMOND COLLAGE — original Eduplus geometry
========================================================= */
.hero-collage {
  position: relative;
  width: min(100%, 710px);
  aspect-ratio: 710 / 530;
  min-width: 0;
  justify-self: center;
  container-type: inline-size;
  container-name: diamondbox;
}

.photo {
  position: absolute;
  width: 49.3%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
}

.photo-graduate { top: 0; left: 0; z-index: 2; }
.photo-graduate img { object-position: 50% 38%; }
.photo-classroom { top: 0; left: 50.7%; z-index: 1; }
.photo-classroom img { object-position: center; }
.photo-cultural { top: 34%; left: 25.3%; z-index: 3; }
.photo-cultural img { object-position: center 35%; }

.diamond-fill {
  position: absolute;
  z-index: 4;
  width: 0;
  height: 0;
  top: 0;
  left: 29.25%;
  border-left: clamp(30px, 21.1cqw, 150px) solid transparent;
  border-right: clamp(30px, 21.1cqw, 150px) solid transparent;
  border-bottom: clamp(30px, 22.5cqw, 160px) solid #c3c017;
  transform: rotate(180deg);
}

.floating-diamond {
  position: absolute;
  z-index: 5;
  width: 5.5%;
  aspect-ratio: 1;
  border-radius: 4px;
  transform: rotate(45deg);
}
.floating-diamond.green { top: 10%; left: 0; background: #087b3b; }
.floating-diamond.gold { left: 1%; bottom: 14%; background: #d6c900; }
.floating-diamond.second { right: 2%; bottom: 25%; background: #087b3b; }

@supports not (width: 1cqw) {
  .diamond-fill {
    border-left-width: var(--triangle-size);
    border-right-width: var(--triangle-size);
    border-bottom-width: var(--triangle-size);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 10px 0 22px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--green);
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: -2px;
  font-weight: 800;
}

.hero-copy h1 span {
  color: var(--gold);
}

.title-rule {
  width: 112px;
  height: 2px;
  background: var(--gold);
  margin: 30px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  min-height: 66px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.2);
}

.button-primary {
  color: #e3d51b;
  background: var(--deep-green);
}

.button-secondary {
  color: #111;
  background: #fff;
  border: 1px solid #d6d6d6;
}

.button-icon {
  font-size: 22px;
  line-height: 1;
}

.cap-watermark {
  position: absolute;
  right: 4%;
  top: 8%;
  color: rgba(7, 87, 42, 0.07);
  font-size: 130px;
  transform: rotate(-15deg);
  pointer-events: none;
}

.wave-divider {
  height: 95px;
  margin-top: -2px;
  position: relative;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonials {
  padding: 18px clamp(22px, 5vw, 76px) 42px;
  background: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
  align-items: center;
  gap: 28px;
  text-align: center;
  margin: 0 auto 38px;
  max-width: 1100px;
}

.heading-line {
  height: 2px;
  background: var(--green);
}

.section-heading h2 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.1;
}

.section-heading p {
  max-width: 680px;
  margin: 0;
  color: #07572a;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.35;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-card {
  min-height: 300px;
  padding: 34px 28px 26px;
  position: relative;
  border-radius: 22px;
  box-shadow: 0 13px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 80px;
  height: 80px;
  background: rgba(0, 100, 42, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.green-card {
  color: #fff;
  background: #51b95b;
}

.pink-card {
  color: #082f1b;
  background: #f184c7;
}

.testimonial-card:first-child {
  transform: rotate(-6deg);
}

.testimonial-card:nth-child(2) {
  transform: rotate(0deg);
}

.testimonial-card:nth-child(3) {
  transform: rotate(5deg);
}

.quote-mark {
  position: absolute;
  left: 24px;
  top: 12px;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--deep-green);
}

.testimonial-body {
  padding-top: 44px;
}

.testimonial-body p {
  min-height: 105px;
  margin: 0 0 20px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  font-style: italic;
}

.parent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 2px solid rgba(4, 83, 36, 0.7);
  padding-top: 16px;
}

.parent strong,
.parent small {
  display: block;
}

.parent strong {
  font-size: 16px;
}

.parent small {
  margin-top: 4px;
  font-size: 14px;
}

.avatar {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green);
  background: #f5f5df;
  font-size: 13px;
  font-weight: 800;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 16px;
  margin: 30px auto 0;
}

.dot {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccebb5;
  cursor: pointer;
}

.dot.is-active {
  background: #087239;
}

.Chat-with-us{
  padding: 0.75rem;
  border-radius: 50px 0 0 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: fit-content;
  height: fit-content;
  position: fixed;
  bottom: 20%;
  right: 0;
  background: rgb(15, 220, 15);
  z-index: 20;
}
.Chat-with-us img{
  height: 15px;
  width: 15px;
}
.Chat-with-us a{
  text-decoration: none;
  font-size: 0.75rem;
  color: white;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 108px;
    padding: 12px 24px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .brand-name {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    right: 18px;
    width: min(260px, calc(100vw - 36px));
    padding: 12px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 4px;
  }

  .hero {
    min-height: 360px;
    padding: 24px 22px 12px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 10px;
    align-items: center;
  }

  .hero-collage {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 710 / 530;
    transform: none;
  }

  .hero-copy {
    padding: 8px 0;
  }

  .hero-copy h1 {
    font-size: clamp(30px, 5.3vw, 47px);
    letter-spacing: -1px;
    line-height: 1.08;
  }

  .title-rule {
    margin: 18px 0 18px;
    width: 80px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .button {
    min-height: 52px;
    padding: 0 12px;
    font-size: clamp(12px, 2vw, 16px);
    border-radius: 28px;
    white-space: nowrap;
  }

  .button-icon {
    font-size: 18px;
  }

  .wave-divider {
    height: 66px;
  }

  .testimonials {
    padding: 12px 24px 34px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: clamp(28px, 5vw, 38px);
  }

  .section-heading p {
    max-width: 520px;
    font-size: clamp(14px, 2.2vw, 18px);
  }

  .testimonial-grid {
    display: block;
    max-width: 620px;
  }

  .carousel-dots {
    display: flex;
  }

  .testimonial-card {
    display: none;
    min-height: 230px;
    padding: 24px 22px;
    border-radius: 26px;
    transform: none !important;
    background: #dff5c8;
    color: #073c20;
  }

  .testimonial-card.is-current {
    display: block;
  }

  .testimonial-body {
    padding: 34px 0 0;
  }

  .testimonial-body p {
    min-height: 0;
    width: fit-content;
    margin-bottom: 18px;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.5;
  }

  .parent {
    position: relative;
    justify-content: flex-start;
    border: 0;
    padding: 0 0 0 2px;
    min-height: 52px;
  }

  .parent > div { padding-left: 2px; }

  /* .avatar {
    position: absolute;
    right: 2px;
    top: -112px;
    width: 88px;
    height: 88px;
    border: 4px solid #fff;
    outline: 3px solid #e4c62a;
    font-size: 20px;
  } */

  .quote-mark {
    top: 5px;
    left: 18px;
    font-size: 62px;
  }

  .carousel-dots {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .site-header {
    min-height: 92px;
    padding: 9px 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 65px;
    height: 65px;
  }

  .brand-name {
    font-size: 17px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .hero {
    min-height: 350px;
    padding: 18px 12px 8px;
    gap: 4px;
    grid-template-columns: 1.02fr 0.98fr;
  }

  .hero-collage {
    width: 108%;
    max-width: none;
    margin-left: -4%;
    aspect-ratio: 710 / 530;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 7.2vw, 36px);
  }

  .title-rule {
    margin: 15px 0 15px;
    width: 68px;
  }

  .button {
    min-height: 45px;
    padding: 0 8px;
    gap: 6px;
    font-size: 11px;
  }

  .button-icon {
    font-size: 15px;
  }

  .wave-divider {
    height: 54px;
  }

  .testimonials {
    padding: 10px 16px 28px;
  }

  .section-heading {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .heading-line {
    max-width: 100%;
  }

  .section-heading h2 {
    font-size: 29px;
  }

  .section-heading p {
    max-width: 300px;
    font-size: 15px;
  }

  .testimonial-card {
    min-height: 225px;
    padding: 22px 18px;
  }

  .testimonial-body p {
    width: fit-content;
    font-size: 14px;
  }

  .parent strong {
    font-size: 14px;
  }

  .parent small {
    font-size: 12px;
  }

  .avatar {
    width: 82px;
    height: 82px;
    top: -112px;
    font-size: 19px;
  }
}
