/* ============================================================
   APPROACH PAGE — FountHead
   Brand: Navy #0A2035 + Gold #FFBF00 + White
   Section bg palette (locked): navy / white / off-white only
   ============================================================ */

/* ----- Eyebrow + Section Title (page-scoped) ----- */
.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.ap-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.ap-eyebrow--light { color: var(--gold); }

.ap-section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
}
.ap-section-title--light { color: var(--white); }

/* ============================================================
   FOLD 1 — HERO / BANNER
   ============================================================ */
.ap-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--navy);
}
.ap-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}
.ap-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,32,53,0.94) 0%, rgba(10,32,53,0.82) 55%, rgba(10,32,53,0.92) 100%);
}
/* Subtle dotted pattern accent on hero */
.ap-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.ap-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.ap-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
}
.ap-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255,191,0,0.1);
  border: 1px solid rgba(255,191,0,0.4);
  border-radius: 14px;
  color: var(--white);
  font-family: var(--font-heading);
  transition: all 0.3s ease;
}
.ap-hero__cta i { font-size: var(--fs-h5); color: var(--gold); }
.ap-hero__cta span { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); display: block; }
.ap-hero__cta strong { font-size: var(--fs-cta); font-weight: var(--fw-semibold); display: block; }
.ap-hero__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.ap-hero__cta:hover i,
.ap-hero__cta:hover span,
.ap-hero__cta:hover strong { color: var(--navy); }

/* ============================================================
   FOLD 2 — PHILOSOPHY (Built on Curiosity)
   ============================================================ */
.ap-philosophy {
  position: relative;
  background: var(--white);
  padding: 120px 0;
  overflow: hidden;
}
/* Soft navy accent shape, top-right */
.ap-philosophy__shape {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(10,32,53,0.06) 0%, rgba(20,45,76,0.10) 100%);
  z-index: 0;
}
.ap-philosophy__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.ap-philosophy__head { padding-top: 8px; }
.ap-philosophy__body { padding-top: 60px; }
.ap-philosophy__copy {
  font-size: var(--fs-cta);
  color: var(--text-body);
  line-height: var(--lh-loose);
  margin: 0 0 40px;
}
.ap-philosophy__pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ap-philosophy__pillars li {
  background: var(--off-white);
  border: 1px solid rgba(10,32,53,0.08);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ap-philosophy__pillars li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10,32,53,0.10);
  border-color: rgba(10,32,53,0.18);
}
.ap-philosophy__pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.ap-philosophy__pillars strong {
  font-family: var(--font-heading);
  font-size: var(--fs-cta);
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

/* ----- Process flow inside Philosophy section ----- */
.ap-philosophy__process {
  position: relative;
  z-index: 1;
  margin-top: 90px;
  padding-top: 70px;
  border-top: 1px solid rgba(10, 32, 53, 0.08);
}
.ap-philosophy__process-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.ap-philosophy__process-head .ap-eyebrow {
  justify-content: center;
}
.ap-philosophy__process-head h3 {
  margin: 0;
}
@media (max-width: 768px) {
  .ap-philosophy__process { margin-top: 60px; padding-top: 50px; }
  .ap-philosophy__process-head { margin-bottom: 40px; }
}

/* ============================================================
   FOLD 3 — SOLUTIONS (Result driven Learning solutions)
   ============================================================ */
.ap-solutions {
  position: relative;
  background: var(--navy);
  padding: 120px 0 140px;
  overflow: hidden;
}
.ap-solutions__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.ap-solutions__header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.ap-solutions__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}
.ap-solution-card {
  position: relative;
  background: linear-gradient(160deg, #0e2a48 0%, #15355a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.ap-solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
  border-color: rgba(255,191,0,0.45);
}
.ap-solution-card__media {
  position: relative;
  height: 260px;
  overflow: hidden;
  isolation: isolate;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
/* Soft blurred same-image backdrop fills the gaps when image is portrait/small,
   so all 4 boxes look balanced regardless of source aspect ratio. */
.ap-solution-card__media::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.05);
  z-index: 0;
}
/* Inner frame that holds the actual image — same fixed display size on every card */
.ap-solution-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.ap-solution-card:hover .ap-solution-card__media img {
  transform: scale(1.04);
}
.ap-solution-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,32,53,0) 65%, rgba(10,32,53,0.40) 100%);
  pointer-events: none;
  z-index: 2;
}
.ap-solution-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 8px;
}
.ap-solution-card__body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.ap-solution-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--white);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.3px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.ap-solution-card__expand {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  text-transform: none;
}
.ap-solution-card__copy {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.82);
  line-height: var(--lh-loose);
  margin: 0;
}

/* ============================================================
   FOLD 4 — CONNECT WITH US
   ============================================================ */
.ap-contact {
  background: var(--off-white);
  padding: 100px 0 120px;
}
.ap-contact__card {
  background: var(--navy);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(10,32,53,0.18);
}
.ap-contact__left {
  padding: 64px 56px;
  color: var(--white);
}
.ap-contact__left .ap-eyebrow { color: var(--gold); margin-bottom: 18px; }
.ap-contact__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 36px 0 28px;
}
.ap-contact__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.ap-contact__item:hover {
  background: rgba(255,191,0,0.12);
  border-color: rgba(255,191,0,0.4);
  transform: translateY(-2px);
}
.ap-contact__icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: var(--fs-base);
  flex-shrink: 0;
}
.ap-contact__item h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin: 0 0 2px;
  color: var(--white);
}
.ap-contact__item span {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}
.ap-contact__social {
  display: flex;
  gap: 12px;
}
.ap-contact__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all 0.3s ease;
}
.ap-contact__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}
.ap-contact__map {
  position: relative;
  min-height: 100%;
}
.ap-contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .ap-hero { min-height: auto; padding: 140px 0 80px; }
  .ap-hero__layout { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .ap-philosophy { padding: 90px 0; }
  .ap-philosophy__layout { grid-template-columns: 1fr; gap: 40px; }
  .ap-solutions { padding: 90px 0 100px; }
  .ap-solutions__grid { grid-template-columns: 1fr; gap: 22px; }
  .ap-contact__card { grid-template-columns: 1fr; }
  .ap-contact__left { padding: 48px 36px; }
  .ap-contact__items { grid-template-columns: 1fr; }
  .ap-contact__map { min-height: 320px; }
}

@media (max-width: 600px) {
  .ap-hero__title { font-size: clamp(28px, 7vw, 38px); }
  .ap-section-title { font-size: clamp(26px, 6vw, 34px); }
  .ap-philosophy { padding: 70px 0; }
  .ap-philosophy__pillars { grid-template-columns: 1fr; }
  .ap-solutions { padding: 70px 0 80px; }
  .ap-solution-card__media { height: 240px; padding: 14px; }
  .ap-solution-card__media img { height: 200px; max-width: 320px; }
  .ap-solution-card__body { padding: 22px 22px 26px; }
  .ap-contact { padding: 60px 0 80px; }
  .ap-contact__left { padding: 40px 24px; }
}
