
/* EACC inner pages â€” publish-ready layout, UI/UX, responsive */
body.eacc-inner-site {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.eacc-inner-site main {
  display: block;
  width: 100%;
  overflow-x: clip;
  isolation: isolate;
}

body.eacc-inner-site main .container {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 40px)));
  margin-inline: auto;
}

body.eacc-inner-site main > section,
body.eacc-inner-site main section:not(.page-hero):not(.contact-hero):not(.course-hero):not(.legal-hero):not(.testing-hero):not(.mind-hero):not(.hero) {
  scroll-margin-top: clamp(88px, 12vw, 104px);
}

/* â€”â€” Heroes (photo + gradient, Mindspace-style) â€”â€” */
body.eacc-inner-site {
  --eacc-hero-photo: url("/assets/images/tofel.avif");
}

body.eacc-inner-site .page-hero,
body.eacc-inner-site .contact-hero,
body.eacc-inner-site .course-hero,
body.eacc-inner-site .legal-hero,
body.eacc-inner-site .testing-hero,
body.eacc-inner-site main > section.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 48vh, 560px) !important;
  padding: clamp(128px, 14vw, 156px) 0 clamp(64px, 8vw, 88px) !important;
  background:
    linear-gradient(135deg, rgba(13, 20, 87, 0.94) 0%, rgba(26, 35, 126, 0.82) 50%, rgba(13, 20, 87, 0.9) 100%),
    var(--hero-image, var(--eacc-hero-photo)) center center / cover no-repeat,
    var(--navy-dark, #0d1457) !important;
  background-attachment: scroll !important;
  color: #fff;
}

body.eacc-inner-site .course-hero {
  --eacc-hero-photo: url("/assets/images/tofel/tofel1.avif");
}

body.eacc-inner-site .legal-hero,
body.eacc-inner-site .contact-hero {
  --eacc-hero-photo: url("../../assets/images/hero (4).avif");
}

body.eacc-inner-site .testing-hero {
  --eacc-hero-photo: url("/assets/images/home-hero2.webp");
}

body.eacc-inner-site .testing-hero::before {
  inset: 0 !important;
  height: auto !important;
  background-image: linear-gradient(180deg, rgba(13, 20, 87, 0.2), rgba(13, 20, 87, 0.45)) !important;
  background-size: auto !important;
  mask-image: none !important;
  opacity: 1 !important;
  z-index: 0;
}

body.eacc-inner-site main > section.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 87, 0.15), rgba(13, 20, 87, 0.42));
  pointer-events: none;
  z-index: 0;
}

body.eacc-inner-site .mind-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(300px, 48vh, 560px) !important;
  padding: clamp(128px, 14vw, 156px) 0 clamp(64px, 8vw, 88px) !important;
  color: #fff;
}

body.eacc-inner-site .page-hero::after,
body.eacc-inner-site .contact-hero::after,
body.eacc-inner-site .course-hero::after,
body.eacc-inner-site .legal-hero::after,
body.eacc-inner-site .testing-hero::after,
body.eacc-inner-site .mind-hero::after,
body.eacc-inner-site main > section.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold, #f5a623), var(--gold-light, #ffd54f));
  z-index: 2;
}

body.eacc-inner-site .hero-content,
body.eacc-inner-site .testing-hero .container,
body.eacc-inner-site .hero-grid,
body.eacc-inner-site main > section.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

body.eacc-inner-site main > section.hero h1,
body.eacc-inner-site main > section.hero h2,
body.eacc-inner-site main > section.hero p,
body.eacc-inner-site main > section.hero .hero-lead,
body.eacc-inner-site main > section.hero .eyebrow {
  color: #fff;
}

body.eacc-inner-site main > section.hero p,
body.eacc-inner-site main > section.hero .hero-lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.eacc-inner-site main > section.hero .eyebrow {
  color: var(--gold-light, #ffd54f);
}

body.eacc-inner-site main .hero-content {
  max-width: min(760px, 100%);
}

body.eacc-inner-site main h1,
body.eacc-inner-site .page-hero h1,
body.eacc-inner-site .contact-hero h1,
body.eacc-inner-site .course-hero h1,
body.eacc-inner-site .legal-hero h1,
body.eacc-inner-site .testing-hero h1,
body.eacc-inner-site .mind-hero h1 {
  font-family: var(--heading-font, "Playfair Display", serif);
  font-size: clamp(2rem, 5.5vw, 3.5rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.eacc-inner-site main h2 {
  font-family: var(--heading-font, "Playfair Display", serif);
  font-size: clamp(1.55rem, 3.8vw, 2.35rem) !important;
  line-height: 1.15 !important;
  color: var(--navy-dark, #0d1457);
  overflow-wrap: anywhere;
}

body.eacc-inner-site main h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
  line-height: 1.25 !important;
  color: var(--navy, #1a237e);
}

body.eacc-inner-site main p,
body.eacc-inner-site main li {
  line-height: 1.75;
  color: var(--text, #1a1d2e);
  overflow-wrap: anywhere;
}

body.eacc-inner-site .hero-lead,
body.eacc-inner-site .page-hero p,
body.eacc-inner-site .contact-hero p,
body.eacc-inner-site .course-hero p,
body.eacc-inner-site .testing-hero p {
  font-size: clamp(1rem, 2.2vw, 1.125rem) !important;
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.eacc-inner-site .eyebrow,
body.eacc-inner-site .section-kicker,
body.eacc-inner-site .camp-kicker,
body.eacc-inner-site .mini-title {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #f5a623);
}

/* â€”â€” Section rhythm â€”â€” */
body.eacc-inner-site main > section:not(.page-hero):not(.contact-hero):not(.course-hero):not(.legal-hero):not(.testing-hero):not(.mind-hero):not(.hero),
body.eacc-inner-site .about-section,
body.eacc-inner-site .mission-section,
body.eacc-inner-site section.band,
body.eacc-inner-site .dark-band,
body.eacc-inner-site .cta-section {
  padding-block: clamp(56px, 7vw, 96px);
}

body.eacc-inner-site section.band {
  background: #fff;
}

body.eacc-inner-site main > section:nth-of-type(even):not(.page-hero):not(.contact-hero):not(.course-hero):not(.legal-hero):not(.testing-hero):not(.mind-hero):not(.hero):not(.band):not(.dark-band):not(.cta-section),
body.eacc-inner-site .about-section:nth-of-type(even),
body.eacc-inner-site .mission-section {
  background: var(--gray-light, #eef0f8);
}

body.eacc-inner-site .dark-band {
  background: linear-gradient(135deg, #0d1457, #1a237e);
  color: #fff;
}

body.eacc-inner-site .dark-band h2,
body.eacc-inner-site .dark-band h3,
body.eacc-inner-site .dark-band p {
  color: inherit;
}

/* â€”â€” Section headers â€”â€” */
body.eacc-inner-site .section-head,
body.eacc-inner-site .section-title,
body.eacc-inner-site .section-header {
  width: min(100%, 920px);
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: center;
}

body.eacc-inner-site .section-head::after,
body.eacc-inner-site .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold, #f5a623), var(--gold-light, #ffd54f));
}

body.eacc-inner-site .section-head p,
body.eacc-inner-site .section-title p {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--gray, #6f7897);
}

/* â€”â€” Responsive grids â€”â€” */
body.eacc-inner-site .hero-grid,
body.eacc-inner-site .about-grid,
body.eacc-inner-site .mission-grid,
body.eacc-inner-site .services-grid,
body.eacc-inner-site .why-grid,
body.eacc-inner-site .details-grid,
body.eacc-inner-site .option-grid,
body.eacc-inner-site .faq-grid,
body.eacc-inner-site .grid,
body.eacc-inner-site .cards-grid,
body.eacc-inner-site .content-grid,
body.eacc-inner-site .contact-grid,
body.eacc-inner-site .visit-grid,
body.eacc-inner-site .form-grid,
body.eacc-inner-site .team-grid,
body.eacc-inner-site .partners-grid,
body.eacc-inner-site .values-grid,
body.eacc-inner-site .intro-grid,
body.eacc-inner-site .split-grid,
body.eacc-inner-site .path-grid,
body.eacc-inner-site .course-grid,
body.eacc-inner-site .program-grid,
body.eacc-inner-site .levels-grid,
body.eacc-inner-site .features-grid,
body.eacc-inner-site .journey-grid,
body.eacc-inner-site .related-grid,
body.eacc-inner-site .steps-grid,
body.eacc-inner-site .process-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

body.eacc-inner-site .hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
}

body.eacc-inner-site .about-grid,
body.eacc-inner-site .mission-grid,
body.eacc-inner-site .split-grid,
body.eacc-inner-site .content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.eacc-inner-site .services-grid,
body.eacc-inner-site .why-grid,
body.eacc-inner-site .details-grid,
body.eacc-inner-site .option-grid,
body.eacc-inner-site .cards-grid,
body.eacc-inner-site .grid,
body.eacc-inner-site .team-grid,
body.eacc-inner-site .partners-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

body.eacc-inner-site .faq-grid {
  grid-template-columns: 1fr;
  max-width: 880px;
  margin-inline: auto;
}

/* â€”â€” Cards & panels â€”â€” */
body.eacc-inner-site .banner,
body.eacc-inner-site .card,
body.eacc-inner-site .service-card,
body.eacc-inner-site .step,
body.eacc-inner-site .step-card,
body.eacc-inner-site .info-card,
body.eacc-inner-site .option-card,
body.eacc-inner-site .why-card,
body.eacc-inner-site .intro-card,
body.eacc-inner-site .intro-panel,
body.eacc-inner-site .hero-card,
body.eacc-inner-site .contact-card,
body.eacc-inner-site .form-card,
body.eacc-inner-site .legal-card,
body.eacc-inner-site .team-card,
body.eacc-inner-site .faq-item,
body.eacc-inner-site .score-card,
body.eacc-inner-site .faq-card,
body.eacc-inner-site .image-card,
body.eacc-inner-site .placeholder-card,
body.eacc-inner-site .path-card,
body.eacc-inner-site .course-card {
  background: #fff;
  border: 1px solid rgba(13, 20, 87, 0.08);
  border-radius: clamp(18px, 2vw, 24px);
  box-shadow: 0 18px 48px rgba(13, 20, 87, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

body.eacc-inner-site .service-card,
body.eacc-inner-site .banner,
body.eacc-inner-site .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(22px, 3vw, 32px);
}

body.eacc-inner-site .service-card .card-action,
body.eacc-inner-site .banner .btn,
body.eacc-inner-site .service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

body.eacc-inner-site .banner:hover,
body.eacc-inner-site .card:hover,
body.eacc-inner-site .service-card:hover,
body.eacc-inner-site .why-card:hover,
body.eacc-inner-site .info-card:hover,
body.eacc-inner-site .option-card:hover,
body.eacc-inner-site .step-card:hover,
body.eacc-inner-site .intro-card:hover,
body.eacc-inner-site .team-card:hover,
body.eacc-inner-site .legal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(13, 20, 87, 0.14);
  border-color: rgba(245, 166, 35, 0.35);
}

body.eacc-inner-site .service-icon,
body.eacc-inner-site .info-icon,
body.eacc-inner-site .step-num {
  font-weight: 800;
  color: var(--gold, #f5a623);
}

body.eacc-inner-site .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

body.eacc-inner-site .tag-list li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gray-light, #eef0f8);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy, #1a237e);
}

/* â€”â€” Hero actions & pills â€”â€” */
body.eacc-inner-site .hero-actions,
body.eacc-inner-site .hero-buttons,
body.eacc-inner-site .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: clamp(20px, 3vw, 28px);
}

body.eacc-inner-site .exam-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

body.eacc-inner-site .exam-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
  font-weight: 700;
}

/* â€”â€” Buttons â€”â€” */
body.eacc-inner-site .btn,
body.eacc-inner-site .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 clamp(18px, 3vw, 26px);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

body.eacc-inner-site .btn-primary {
  background: linear-gradient(135deg, var(--gold, #f5a623), var(--gold-light, #ffd54f)) !important;
  color: var(--navy-dark, #0d1457) !important;
  box-shadow: 0 14px 32px rgba(245, 166, 35, 0.28);
  border: none;
}

body.eacc-inner-site .btn-primary:hover {
  transform: translateY(-3px);
}

body.eacc-inner-site .btn-secondary,
body.eacc-inner-site .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body.eacc-inner-site section:not(.page-hero):not(.testing-hero):not(.course-hero) .btn-secondary,
body.eacc-inner-site section:not(.page-hero):not(.testing-hero):not(.course-hero) .btn-outline {
  border-color: rgba(13, 20, 87, 0.18);
  background: #fff;
  color: var(--navy-dark, #0d1457);
}

/* â€”â€” Images â€”â€” */
body.eacc-inner-site main img {
  border-radius: clamp(16px, 2vw, 24px);
  height: auto;
}

body.eacc-inner-site .about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.eacc-inner-site .about-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

body.eacc-inner-site .about-list > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

body.eacc-inner-site .about-list i {
  color: var(--gold, #f5a623);
  margin-top: 4px;
}

/* â€”â€” Forms â€”â€” */
body.eacc-inner-site input,
body.eacc-inner-site select,
body.eacc-inner-site textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(13, 20, 87, 0.14);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.eacc-inner-site input:focus,
body.eacc-inner-site select:focus,
body.eacc-inner-site textarea:focus {
  outline: none;
  border-color: var(--gold, #f5a623);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18);
}

body.eacc-inner-site label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* â€”â€” CTA bands â€”â€” */
body.eacc-inner-site .cta-section {
  background: linear-gradient(135deg, #0d1457 0%, #283593 100%);
  color: #fff;
  text-align: center;
}

body.eacc-inner-site .cta-section .container {
  max-width: 760px;
}

/* â€”â€” Legal â€”â€” */
body.eacc-inner-site .legal-section .container {
  max-width: 900px;
}

body.eacc-inner-site .legal-card {
  padding: clamp(24px, 4vw, 36px);
}

/* â€”â€” Reveal animation hook â€”â€” */
body.eacc-inner-site .eacc-inner-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.eacc-inner-site .eacc-inner-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* â€”â€” RTL â€”â€” */
html[dir="rtl"] body.eacc-inner-site main .section-head,
html[dir="rtl"] body.eacc-inner-site .about-content,
html[dir="rtl"] body.eacc-inner-site .mission-content {
  text-align: right;
}

html[dir="rtl"] body.eacc-inner-site .hero-actions,
html[dir="rtl"] body.eacc-inner-site .exam-strip {
  justify-content: flex-start;
}

/* â€”â€” Breakpoints â€”â€” */
@media (max-width: 1024px) {
  body.eacc-inner-site .hero-grid,
  body.eacc-inner-site .about-grid,
  body.eacc-inner-site .mission-grid,
  body.eacc-inner-site .split-grid,
  body.eacc-inner-site .content-grid {
    grid-template-columns: 1fr;
  }

  body.eacc-inner-site .hero-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  body.eacc-inner-site .page-hero,
  body.eacc-inner-site .contact-hero,
  body.eacc-inner-site .course-hero,
  body.eacc-inner-site .legal-hero,
  body.eacc-inner-site .testing-hero,
  body.eacc-inner-site .mind-hero {
    text-align: center;
    min-height: auto !important;
    padding: clamp(108px, 22vw, 128px) 0 clamp(48px, 8vw, 64px) !important;
  }

  body.eacc-inner-site .hero-content,
  body.eacc-inner-site .hero-lead,
  body.eacc-inner-site .page-hero p {
    margin-inline: auto;
    text-align: center;
  }

  body.eacc-inner-site .hero-actions,
  body.eacc-inner-site .hero-buttons,
  body.eacc-inner-site .actions {
    justify-content: center;
  }

  body.eacc-inner-site .service-card .card-action,
  body.eacc-inner-site .banner .btn {
    align-self: stretch;
    width: 100%;
    justify-content: center;
  }

  body.eacc-inner-site .btn {
    width: 100%;
    max-width: 100%;
  }

  body.eacc-inner-site .hero-actions .btn {
    width: auto;
    flex: 1 1 100%;
    min-width: min(100%, 220px);
  }

  body.eacc-inner-site .exam-strip {
    justify-content: center;
  }

  body.eacc-inner-site .about-image {
    order: -1;
  }
}

@media (max-width: 520px) {
  body.eacc-inner-site main .container {
    width: min(100% - 20px, 1180px);
  }

  body.eacc-inner-site main > section:not(.page-hero):not(.hero) {
    padding-block: 52px;
  }

  body.eacc-inner-site .service-card,
  body.eacc-inner-site .card,
  body.eacc-inner-site .why-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.eacc-inner-site .eacc-inner-reveal,
  body.eacc-inner-site .banner,
  body.eacc-inner-site .card,
  body.eacc-inner-site .service-card {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

