/* ============================================
   Inner Pages — extends homepage design system
   (separate file; homepage styles.css unchanged)
   ============================================ */
.page-hero {
  position: relative;
  padding: 1.5rem 0 1.35rem;
  background:
    radial-gradient(ellipse 80% 70% at 90% 10%, rgba(0, 174, 239, 0.12), transparent 55%),
    linear-gradient(135deg, #001a36 0%, #002a54 55%, #0a3a6b 100%);
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 174, 239, 0.5), transparent);
}

.page-hero .hero-pill {
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 28ch;
  margin-bottom: 0.35rem;
}

.page-hero h1 span {
  color: var(--cyan-bright);
}

.page-hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  max-width: 42rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.page-hero .btn {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  font-size: 0.875rem;
}

.page-hero .d-flex.gap-3.mt-3 {
  margin-top: 0.75rem !important;
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.55);
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s var(--ease);
}

.page-breadcrumb a:hover {
  color: var(--cyan-bright);
}

.inner-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.inner-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 26, 54, 0.1);
}

.inner-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.15), rgba(0, 42, 84, 0.08));
  color: var(--cyan);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.inner-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.inner-info-card p,
.inner-info-card a {
  color: var(--ink);
}

.inner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inner-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: var(--ink);
}

.inner-list i {
  color: var(--cyan);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.leader-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 26, 54, 0.08);
}

.leader-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: #fff;
  font-size: 2.5rem;
}

.leader-card h3 {
  margin-bottom: 0.35rem;
}

.leader-role {
  display: inline-block;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.95rem;
}

.inner-cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(0, 174, 239, 0.18), transparent 50%),
    linear-gradient(120deg, #001a36, #002a54);
  color: #fff;
}

.inner-cta-band h2 {
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 0.35rem;
}

.inner-cta-band p {
  color: rgba(255, 255, 255, 0.75);
}

.module-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  height: 100%;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 26, 54, 0.08);
}

.module-num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--cyan-soft);
}

.module-card strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin-bottom: 0.2rem;
}

.module-card p {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}

.course-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.course-detail-meta i {
  color: var(--cyan);
  margin-right: 0.35rem;
}

.contact-address {
  font-style: normal;
  line-height: 1.7;
  color: var(--ink);
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 360px;
}

/* WhatsApp nav + floating button */
.site-nav .nav-whatsapp-link {
  font-size: 1.25rem;
  color: #25d366 !important;
}

.site-nav .nav-whatsapp-link:hover {
  color: #1ebe57 !important;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  font-size: 1.75rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

/* Form validation feedback */
#enquiryForm.was-validated .form-control:invalid,
#enquiryForm.was-validated .form-select:invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

#enquiryForm.was-validated .form-control:valid,
#enquiryForm.was-validated .form-select:valid {
  border-color: #198754;
}

@media (max-width: 767.98px) {
  .page-hero {
    padding: 1.25rem 0 1.1rem;
  }

  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }

  .page-hero-lead {
    font-size: 0.88rem;
  }

  .inner-cta-band {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .map-embed iframe {
    min-height: 240px;
    height: 240px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 0.85rem;
    bottom: 5.25rem;
    font-size: 1.55rem;
  }

  .module-card {
    padding: 1rem;
  }

  .course-detail-meta {
    gap: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .leader-card {
    padding: 1.75rem 1.15rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero .d-flex.gap-3,
  .inner-cta-band .d-flex {
    width: 100%;
    flex-direction: column;
  }

  .page-hero .btn,
  .inner-cta-band .btn {
    width: 100%;
  }

  .inner-info-card {
    padding: 1.35rem 1.15rem;
  }

  .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
    max-width: 100%;
  }
}

@media (max-width: 399.98px) {
  .g-recaptcha {
    transform: scale(0.82);
    transform-origin: 0 0;
  }
}
