.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: .1s;
}

[data-reveal-delay="2"] {
  transition-delay: .2s;
}

[data-reveal-delay="3"] {
  transition-delay: .3s;
}

@media (prefers-reduced-motion:reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════
   SECTION LABEL
═══════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  color: var(--primary);
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
  margin-bottom: 14px;
}

/* ═══════════════════════════════════════
   1. STATS
═══════════════════════════════════════ */
.stats-section {
  padding: 70px 0 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 400;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 24px;
}

.stat-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   2. ABOUT US
═══════════════════════════════════════ */
.about-section {
  padding: clamp(32px, 6vw, 48px) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 36px);
  align-items: flex-start;
}

.about-heading {
  color: var(--text);
  line-height: 1.2;
}

.about-body {
  margin-top: clamp(20px, 3vw, 36px);
  color: var(--text);
  line-height: 1.7;
}

/* Image collage */
.about-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1.13 / 1;
  max-height: 524px;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(31, 53, 107, 0.15);
}

/* Sizes below are percentages of the collage box itself,
   so they scale smoothly at every viewport width instead of
   relying on breakpoint-specific pixel overrides. */
.collage-img:nth-child(1) {
  width: 50%;
  height: 42%;
  right: 0;
  top: 0;
  z-index: 2;
}

.collage-img:nth-child(2) {
  width: 83%;
  height: 70%;
  left: 0;
  top: 15%;
  z-index: 1;
}

.collage-img:nth-child(3) {
  width: 41%;
  height: 35%;
  right: 0;
  bottom: 0;
  z-index: 3;
}

/* ═══════════════════════════════════════
   3. MISSION / VISION / VALUE
═══════════════════════════════════════ */
.mvv-section {
  padding: 48px 0;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0px 2px 4px 0px #1B1C1D0A;
  transition: transform .3s ease, box-shadow .3s ease;
}

.mvv-card:hover {
  transform: translateY(-6px);
}

.mvv-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.mvv-icon svg {
  width: 41px;
  height: 41px;
  color: var(--primary);
}

.mvv-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.mvv-body {
  line-height: 1.75;
  color: var(--text);
}

/* ═══════════════════════════════════════
   4. FAQ
═══════════════════════════════════════ */
.faq-section {
  padding: 48px 0;
}

.faq-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 0;
  cursor: pointer;
  text-align: left;
}

.faq-q-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--text);
}

.faq-q-text {
  flex: 1;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.faq-toggle {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  color: var(--text);
  transition: transform .3s ease, color .2s ease;
}

.faq-item.open .faq-toggle {
  background: var(--primary);
  border-color: var(--primary);
}

.faq-item.open .faq-toggle svg {
  transform: rotate(45deg);
  color: #fff;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s ease, padding .3s ease;
  padding: 0 0 0 36px;
}

.faq-answer-inner {
  line-height: 1.75;
  color: var(--text);
  padding-bottom: 22px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ---------- CF7 live-validation suppression ---------- */

.wpcf7-form:not(.submit-attempted) .wpcf7-not-valid-tip,
.wpcf7-form:not(.submit-attempted) .wpcf7-response-output {
    display: none !important;
}

.wpcf7-form:not(.submit-attempted) .wpcf7-form-control.wpcf7-not-valid {
    border-color: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 !important;
}


/* ═══════════════════════════════════════
   5. CERTIFICATE
═══════════════════════════════════════ */
.cert-section {
  padding: 48px 0;
}

.cert-header {
  margin-bottom: 40px;
}

.cert-heading {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0px 2px 4px 0px #1B1C1D0A;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: left;
  font: inherit;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(31, 53, 107, 0.12);
}

.cert-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #f4f6fa;
}

.cert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-zoom-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(31, 53, 107, 0.55);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transition: opacity .25s ease;
}

.cert-zoom-hint svg {
  width: 26px;
  height: 26px;
}

.cert-card:hover .cert-zoom-hint,
.cert-card:focus-visible .cert-zoom-hint {
  opacity: 1;
}

/* Modal / lightbox */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.cert-modal.open {
  display: flex;
}

.cert-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.cert-modal-inner {
  position: relative;
  max-width: 90vw;
  max-height: calc(100vh - 80px);
  z-index: 1;
  overflow: auto;
  border-radius: var(--radius-md);
}

.cert-modal-inner img {
  max-width: 100%;
  max-height: calc(100vh - 80px);
  display: block;
  border-radius: var(--radius-md);
}

.cert-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cert-modal-close:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* ═══════════════════════════════════════
   6. MAP
═══════════════════════════════════════ */
.map-section {
  margin-top: 0;
  padding: 48px 0 0;
}

.map-wrap {
  width: 100%;
  height: 554px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media(max-width:1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
  }

  .about-head {
    margin-bottom: clamp(28px, 6vw, 40px);
  }

  .about-body {
    margin-top: 0;
  }

  .about-collage {
    order: -1;
    max-width: 560px;
    margin: 0 auto;
  }

  .mvv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cert-grid {
      grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:700px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }
  
  .cert-grid {
      grid-template-columns:  1fr;
    }


  .about-collage {
    max-width: 420px;
  }

  .faq-q-text {
    font-size: 18px;
  }

  .map-wrap {
    height: 280px;
  }
}