/* ========================================
   Little Saints Daycare — Custom Styles
   ======================================== */

:root {
  --orange: #f37335;
  --orange-dark: #e05f20;
  --orange-soft: #fff0e8;
  --navy: #0a1c2e;
  --navy-soft: #132a40;
  --cream: #fdfaf0;
  --cream-alt: #fdf7f2;
  --text: #3a3a3a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 28, 46, 0.08);
  --radius: 12px;
  --transition: 0.3s ease;
  --font: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  padding-left: 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.55rem 0;
}

.top-bar a {
  color: var(--white);
  opacity: 0.95;
}

.top-bar a:hover {
  opacity: 1;
  color: var(--white);
}

.top-bar i {
  margin-right: 0.35rem;
}

.top-bar-social a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.top-bar-social a:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- Navbar ---------- */
#mainNav {
  box-shadow: 0 2px 16px rgba(10, 28, 46, 0.06);
  padding: 0.65rem 0;
  z-index: 1030;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.1;
}

.navbar-nav .nav-link {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy) !important;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}

.navbar-toggler {
  border: none;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230a1c2e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
}

.dropdown-item:hover {
  background: var(--orange-soft);
  color: var(--orange);
}

.dropdown-item.active,
.dropdown-item:active {
  background: var(--orange);
  color: var(--white);
}

@media (min-width: 992px) {
  .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .navbar .nav-item.dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar .nav-item.dropdown:hover > .dropdown-toggle,
  .navbar .nav-item.dropdown:focus-within > .dropdown-toggle {
    color: var(--orange) !important;
  }
}

.btn-join {
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  padding: 0.55rem 1.35rem;
  border: none;
}

.btn-join:hover {
  background: var(--orange-dark);
  color: var(--white) !important;
}

/* ---------- Buttons ---------- */
.btn-primary-orange {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
}

.btn-primary-orange:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline-light-hero {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
}

.btn-outline-light-hero:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero-slide {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 28, 46, 0.72) 0%,
    rgba(10, 28, 46, 0.45) 45%,
    rgba(10, 28, 46, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 5rem 5rem;
  max-width: 640px;
  margin-left: 0;
  margin-right: auto;
}

.hero-eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.hero-title {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 60px;
  opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background-size: 40% 40%;
}

.hero-carousel .carousel-control-prev-icon:hover,
.hero-carousel .carousel-control-next-icon:hover {
  background-color: var(--orange);
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
}

.hero-carousel .carousel-indicators .active {
  background-color: var(--orange);
}

/* ---------- Features ---------- */
.features-section {
  padding: 5rem 0;
  background: var(--white);
}

.feature-card {
  text-align: center;
  border: 2px dashed var(--orange);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem 1.5rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 1.25rem;
}

.feature-card h3 {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Courses ---------- */
.courses-section {
  padding: 5rem 0;
  background: var(--cream);
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

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

.course-image {
  position: relative;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.course-card:hover .course-image img {
  transform: scale(1.05);
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-body h3 {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.course-body > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.course-meta i {
  color: var(--orange);
  margin-right: 0.25rem;
}

.btn-course {
  display: block;
  width: 100%;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  text-align: center;
  border: none;
}

.btn-course:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* ---------- About ---------- */
.about-section {
  padding: 5rem 0;
  background: var(--white);
}

.about-collage {
  position: relative;
  min-height: 480px;
}

.about-img {
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
  position: absolute;
}

.about-img-1 {
  width: 48%;
  height: 280px;
  top: 0;
  left: 0;
  z-index: 2;
}

.about-img-2 {
  width: 42%;
  height: 240px;
  top: 40px;
  right: 0;
  z-index: 1;
}

.about-img-3 {
  width: 62%;
  height: 220px;
  bottom: 0;
  left: 18%;
  z-index: 3;
}

.about-intro {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.about-checklist li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.check-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.about-checklist h4 {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.about-checklist p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Facilities ---------- */
.facilities-section {
  padding: 5rem 0;
  background: var(--cream-alt);
}

.facility-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.facility-list-left .facility-item {
  text-align: right;
  flex-direction: row-reverse;
}

.facility-list-right .facility-item {
  text-align: left;
}

.facility-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-red { background: #e74c3c; }
.facility-pink { background: #e84393; }
.facility-green { background: #27ae60; }
.facility-blue { background: #3498db; }
.facility-yellow { background: #f1c40f; color: var(--navy) !important; }
.facility-purple { background: #9b59b6; }

.facility-item h4 {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.facility-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.facilities-illustration {
  max-width: 360px;
  margin: 0 auto;
}

/* ---------- Gallery ---------- */
.gallery-section {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(243, 115, 53, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 0;
}

.footer-heading {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: var(--orange);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.95rem;
  position: relative;
  padding-left: 0.85rem;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--orange);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a:hover {
  color: var(--orange);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 28, 46, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(900px, 92vw);
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1050;
  box-shadow: 0 6px 18px rgba(243, 115, 53, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0 0.5rem;
  }

  .nav-actions {
    padding-bottom: 1rem;
  }

  .navbar .dropdown-menu {
    position: static !important;
    transform: none !important;
    float: none;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    box-shadow: none;
    border: none;
    background: var(--orange-soft);
    border-radius: 8px;
  }

  .hero-slide {
    min-height: 70vh;
  }

  .facility-list-left .facility-item {
    text-align: left;
    flex-direction: row;
  }

  .about-collage {
    min-height: 420px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    text-align: center;
  }

  .top-bar-contact,
  .top-bar-social {
    justify-content: center;
    width: 100%;
  }

  .hero-content {
    padding: 4rem 1.25rem;
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    display: none;
  }

  .features-section,
  .courses-section,
  .about-section,
  .facilities-section,
  .gallery-section {
    padding: 3.5rem 0;
  }

  .about-collage {
    min-height: 360px;
  }

  .about-img-1 {
    height: 200px;
  }

  .about-img-2 {
    height: 170px;
  }

  .about-img-3 {
    height: 160px;
  }

  .gallery-item {
    height: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Scroll animations ---------- */
.will-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 40px;
  }

  .hero-slide {
    min-height: 62vh;
  }

  .about-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: auto;
  }

  .about-img {
    position: static;
    width: 100%;
    height: 160px;
  }

  .about-img-3 {
    grid-column: 1 / -1;
  }
}

/* ========================================
   Inner Pages
   ======================================== */

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative;
  padding: 5rem 0 4.25rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 28, 46, 0.85) 0%,
    rgba(10, 28, 46, 0.65) 100%
  );
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner-title {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-banner-text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 1.25rem;
  font-size: 1.02rem;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-nav li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-nav li + li::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: 0.7rem;
  color: var(--orange);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-nav a:hover {
  color: var(--orange);
}

.breadcrumb-nav .current {
  color: var(--white);
}

/* ---------- Generic page sections ---------- */
.page-section {
  padding: 5rem 0;
}

.page-section-alt {
  background: var(--cream);
}

.section-eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--navy);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* ---------- Value cards ---------- */
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.value-card h3 {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  text-align: center;
  transition: transform var(--transition);
}

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

.team-photo {
  height: 260px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.06);
}

.team-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.team-body h3 {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.team-role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.team-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--orange-soft);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.75rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.25rem;
  top: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--orange);
}

.timeline-time {
  font-weight: 800;
  color: var(--orange);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.timeline-item h4 {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 0;
}

/* ---------- Gallery filters ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 2px solid var(--orange-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.gallery-grid-item.is-hidden {
  display: none;
}

.gallery-caption {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin: 0.65rem 0 0;
  text-align: center;
}

/* ---------- Program detail ---------- */
.program-lead-img {
  border-radius: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.program-body h3 {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.85rem;
}

.program-body h3:first-child {
  margin-top: 0;
}

.program-body p {
  color: var(--text-muted);
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 0;
}

.program-highlights li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.program-highlights i {
  color: var(--orange);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.program-sidebar {
  position: sticky;
  top: 100px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h4 {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--orange-soft);
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(10, 28, 46, 0.1);
  font-size: 0.93rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list span:first-child {
  color: var(--text-muted);
  font-weight: 600;
}

.info-list span:last-child {
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.info-card-orange {
  background: var(--orange);
  color: var(--white);
  text-align: center;
}

.info-card-orange h4 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.info-card-orange p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.93rem;
}

.btn-white-navy {
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  border: none;
}

.btn-white-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.program-nav-list li {
  margin-bottom: 0.5rem;
}

.program-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--cream);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.program-nav-list a:hover,
.program-nav-list a.active {
  background: var(--orange);
  color: var(--white);
}

.program-nav-list i {
  font-size: 0.85rem;
}

/* ---------- Accordion ---------- */
.faq-accordion .accordion-item {
  border: none;
  border-radius: var(--radius) !important;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  padding: 1.1rem 1.35rem;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--orange-soft);
  color: var(--orange);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f37335'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-top: 0.25rem;
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform var(--transition);
}

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

.contact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.1rem;
}

.contact-card h3 {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  display: block;
}

.contact-card a:hover {
  color: var(--orange);
}

.form-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border: 2px solid #eceff3;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  background: var(--white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange);
  box-shadow: none;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.form-status {
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  background: #e8f8ee;
  color: #1e7a45;
  margin-top: 1.25rem;
}

.form-status[hidden] {
  display: none !important;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  padding: 3.5rem 0;
  color: var(--white);
}

.cta-band h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* ---------- Inner page responsive ---------- */
@media (max-width: 991.98px) {
  .program-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .page-banner {
    padding: 3.5rem 0 3rem;
  }

  .page-section {
    padding: 3.5rem 0;
  }

  .program-lead-img {
    height: 260px;
  }

  .form-panel {
    padding: 1.5rem 1.25rem;
  }

  .map-embed iframe {
    height: 320px;
  }

  .team-photo {
    height: 230px;
  }
}
