/* =========================================================
   AlphabetS Preschool — style.css
   All custom classes are prefixed `ap-` to stay collision-free
   with Bootstrap and to allow later reuse in WP/Elementor.

   TABLE OF CONTENTS
   1. Tokens (custom properties)
   2. Reset / base
   3. Typography
   4. Layout helpers / utilities
   5. Components (buttons, cards, chips, dividers, confetti)
   6. Global sections (topbar, navbar, footer, FABs, banner)
   7. Page sections (home, about, programs, events, news, gallery, contact)
   8. Responsive tweaks
   9. Print
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root {
  --ap-navy: #1D4E6E;
  --ap-ink: #12354B;
  --ap-teal: #45BCD1;
  --ap-teal-dk: #2A98AC;
  --ap-orange: #F58220;
  --ap-orange-dk: #DA6E0F;
  --ap-yellow: #FCC419;
  --ap-green: #7CB93F;
  --ap-red: #E8503A;
  --ap-cream: #FFFAF2;
  --ap-white: #FFFFFF;
  --ap-muted: #6C8697;

  --ap-shadow-rest: 0 12px 30px rgba(29, 78, 110, 0.10);
  --ap-shadow-hover: 0 18px 38px rgba(29, 78, 110, 0.16);

  --ap-radius-card: 24px;
  --ap-radius-img: 20px;
  --ap-radius-chip: 12px;
  --ap-radius-pill: 999px;

  --ap-font-head: "Baloo 2", system-ui, sans-serif;
  --ap-font-body: "Nunito", system-ui, sans-serif;
}

img{
  width: 100% !important;
}

/* ---------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--ap-cream);
  color: var(--ap-navy);
  font-family: var(--ap-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.ap-skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--ap-navy);
  color: var(--ap-white);
  padding: 10px 18px;
  border-radius: var(--ap-radius-chip);
  z-index: 2000;
  transition: top 0.2s ease;
}
.ap-skip-link:focus {
  top: 12px;
  color: var(--ap-white);
}

/* focus ring everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.ap-card:focus-visible {
  outline: 2px solid var(--ap-teal-dk);
  outline-offset: 3px;
}

::selection { background: var(--ap-yellow); color: var(--ap-ink); }

/* ---------------------------------------------------------
   3. TYPOGRAPHY
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ap-font-head);
  color: var(--ap-ink);
  font-weight: 700;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.12; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.2; font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }

.ap-lead { font-size: 1.15rem; color: var(--ap-muted); max-width: 42em; }

.ap-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ap-font-head);
  font-weight: 700;
  color: var(--ap-orange);
  font-size: 1.05rem;
}

p { max-width: 68ch; }
.ap-text-muted { color: var(--ap-muted); }
.ap-text-white-muted { color: rgba(255, 250, 242, 0.75); }

/* ---------------------------------------------------------
   4. LAYOUT / UTILITIES
   --------------------------------------------------------- */
.ap-section { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.ap-section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.ap-bg-cream { background: var(--ap-cream); }
.ap-bg-white { background: var(--ap-white); }
.ap-bg-navy { background: var(--ap-navy); color: var(--ap-cream); }
.ap-bg-teal { background: var(--ap-teal); }
.ap-bg-orange { background: var(--ap-orange); }

.ap-rounded-img { border-radius: var(--ap-radius-img); overflow: hidden; }

.ap-ratio-cover { object-fit: cover; width: 100%; height: 100%; }

.ap-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* confetti decoration */
.ap-confetti { position: absolute; opacity: 0.5; pointer-events: none; z-index: 0; }
.ap-confetti--dot { width: 14px; height: 14px; border-radius: 50%; }
.ap-confetti--star { font-size: 1.4rem; line-height: 1; }
.ap-confetti-teal { color: var(--ap-teal); background: var(--ap-teal); }
.ap-confetti-orange { color: var(--ap-orange); background: var(--ap-orange); }
.ap-confetti-yellow { color: var(--ap-yellow); background: var(--ap-yellow); }
.ap-confetti-green { color: var(--ap-green); background: var(--ap-green); }
.ap-confetti-red { color: var(--ap-red); background: var(--ap-red); }

/* wave divider */
.ap-wave { position: relative; line-height: 0; }
.ap-wave svg { display: block; width: 100%; height: 60px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------
   5. COMPONENTS
   --------------------------------------------------------- */

/* Buttons */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ap-font-body);
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: var(--ap-radius-pill);
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}
.ap-btn:hover { transform: translateY(-2px); }

.ap-btn-primary {
  background: var(--ap-orange);
  color: var(--ap-white);
  box-shadow: var(--ap-shadow-rest);
}
.ap-btn-primary:hover { background: var(--ap-orange-dk); color: var(--ap-white); box-shadow: var(--ap-shadow-hover); }

.ap-btn-outline {
  background: transparent;
  color: var(--ap-teal-dk);
  border-color: var(--ap-teal);
}
.ap-btn-outline:hover { background: var(--ap-teal); color: var(--ap-white); }

.ap-btn-white {
  background: var(--ap-white);
  color: var(--ap-navy);
}
.ap-btn-white:hover { background: var(--ap-cream); color: var(--ap-navy); }

.ap-btn-sm { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

/* Cards */
.ap-card {
  background: var(--ap-white);
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-shadow-rest);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.ap-card:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-hover); }

.ap-card--accent-teal { border-top: 6px solid var(--ap-teal); }
.ap-card--accent-orange { border-top: 6px solid var(--ap-orange); }
.ap-card--accent-green { border-top: 6px solid var(--ap-green); }
.ap-card--accent-yellow { border-top: 6px solid var(--ap-yellow); }

.ap-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--ap-white);
}
.ap-icon-bg-teal { background: var(--ap-teal); }
.ap-icon-bg-orange { background: var(--ap-orange); }
.ap-icon-bg-green { background: var(--ap-green); }
.ap-icon-bg-yellow { background: var(--ap-yellow); color: var(--ap-ink); }
.ap-icon-bg-red { background: var(--ap-red); }

/* Chips / badges */
.ap-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.9rem;
  border-radius: var(--ap-radius-chip);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--ap-cream);
  color: var(--ap-navy);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.ap-chip:hover { background: var(--ap-teal); color: var(--ap-white); }
.ap-chip.is-active { background: var(--ap-orange); color: var(--ap-white); }

.ap-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--ap-radius-chip);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--ap-yellow);
  color: var(--ap-ink);
}
.ap-badge--muted {
  background: var(--ap-cream);
  color: var(--ap-navy);
  border: 1px solid rgba(29, 78, 110, 0.14);
  white-space: nowrap;
}

/* Notice board */
.ap-notice-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(29, 78, 110, 0.1);
}
.ap-notice-list li:last-child { border-bottom: none; padding-bottom: 0; }
.ap-notice-list li:first-child { padding-top: 0; }

/* Date chip (events) */
.ap-date-chip {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ap-white);
  border-radius: var(--ap-radius-chip);
  box-shadow: var(--ap-shadow-rest);
  padding: 0.4rem 0.8rem;
  text-align: center;
  line-height: 1.1;
  z-index: 2;
}
.ap-date-chip__day { display: block; font-family: var(--ap-font-head); font-size: 1.35rem; font-weight: 800; color: var(--ap-orange); }
.ap-date-chip__month { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: var(--ap-navy); }

/* Trust strip */
.ap-trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ap-navy); }
.ap-trust-item i { color: var(--ap-orange); font-size: 1.2rem; }

/* Timeline */
.ap-timeline { position: relative; }
.ap-timeline__item {
  background: var(--ap-white);
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-shadow-rest);
  padding: 1.5rem;
  height: 100%;
  position: relative;
}
.ap-timeline__num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ap-teal);
  color: var(--ap-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ap-font-head);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Testimonial */
.ap-testimonial {
  background: var(--ap-white);
  border-radius: var(--ap-radius-card);
  box-shadow: var(--ap-shadow-rest);
  padding: 2rem;
  height: 100%;
}
.ap-testimonial__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.ap-testimonial__stars { color: var(--ap-yellow); }

/* Fallback layout for the testimonial carousel: guarantees 1-up mobile / 3-up desktop
   even if the Swiper CDN fails to load. Once Swiper actually initializes it stamps
   `.swiper-initialized` on the root element and takes over with its own inline
   transform-based layout, so this rule steps aside automatically. */
.ap-testimonial-swiper:not(.swiper-initialized) {
  overflow: visible;
}
.ap-testimonial-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.ap-testimonial-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 100%;
  max-width: 100%;
}
@media (min-width: 992px) {
  .ap-testimonial-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}
.ap-testimonial-swiper:not(.swiper-initialized) .swiper-pagination {
  display: none;
}

/* Accordion (FAQ) tweaks scoped */
.ap-accordion .accordion-button {
  font-family: var(--ap-font-head);
  font-weight: 700;
  color: var(--ap-ink);
  background: var(--ap-white);
  border-radius: var(--ap-radius-chip) !important;
}
.ap-accordion .accordion-button:not(.collapsed) {
  background: var(--ap-teal);
  color: var(--ap-white);
}
.ap-accordion .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: var(--ap-radius-chip);
  overflow: hidden;
  box-shadow: var(--ap-shadow-rest);
}

/* ---------------------------------------------------------
   6. GLOBAL SECTIONS
   --------------------------------------------------------- */

/* Topbar */
.ap-topbar {
  background: var(--ap-navy);
  color: var(--ap-cream);
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.ap-topbar a { color: var(--ap-cream); }
.ap-topbar a:hover { color: var(--ap-yellow); }
.ap-topbar__social a { display: inline-flex; margin-left: 12px; font-size: 0.95rem; }

/* Navbar */
.ap-navbar {
  background: var(--ap-cream);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 0.85rem 0;
}
.ap-navbar.ap-nav--scrolled {
  background: var(--ap-white);
  box-shadow: 0 6px 20px rgba(29, 78, 110, 0.12);
  padding: 0.5rem 0;
}
.ap-navbar__logo-img { height: 90px; width: auto; transition: height 0.25s ease; }
.ap-nav--scrolled .ap-navbar__logo-img { height: 50px; }
.ap-navbar__brand-name {
  font-family: var(--ap-font-head);
  font-weight: 800;
  color: var(--ap-ink);
  font-size: 1.2rem;
  line-height: 1.1;
}
.ap-navbar__brand-tag { display: block; font-family: var(--ap-font-body); font-weight: 600; font-size: 0.72rem; color: var(--ap-muted); }

.ap-nav-link {
  font-weight: 700;
  color: var(--ap-navy) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}
.ap-nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.2rem;
  height: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background-color 0.2s ease;
}
.ap-nav-link:hover::after { background: var(--ap-teal); }
.ap-nav-link--active::after { background: var(--ap-orange); }

.ap-navbar__cta { margin-left: 0.5rem; }

/* Mobile header scene (kids walking to school) */
.ap-navbar__scene {
  flex: 1 1 0;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}
.ap-navbar__scene svg { display: block; width: 100%; max-width: 220px; height: auto; max-height: 90px; transition: max-height 0.25s ease; }
.ap-nav--scrolled .ap-navbar__scene svg { max-height: 50px; }
@media (max-width: 575.98px) {
  .ap-navbar .navbar-brand { margin-right: 0.25rem; }
  .ap-navbar__logo-img { height: 72px; }
}
.ap-scene__abc { font-family: var(--ap-font-head); font-weight: 800; font-size: 13px; }
.ap-scene__kid, .ap-scene__pup, .ap-scene__abc, .ap-scene__cloud, .ap-scene__tail, .ap-scene__flag, .ap-scene__sun {
  transform-box: fill-box;
  transform-origin: center;
}
.ap-scene__kid--1 { animation: ap-scene-bob 0.9s ease-in-out infinite; }
.ap-scene__kid--2 { animation: ap-scene-bob 0.9s ease-in-out 0.45s infinite; }
.ap-scene__pup { animation: ap-scene-bob 0.6s ease-in-out infinite; }
.ap-scene__tail { transform-origin: right bottom; animation: ap-scene-wag 0.35s ease-in-out infinite alternate; }
.ap-scene__flag { transform-origin: left center; animation: ap-scene-flag 1.2s ease-in-out infinite alternate; }
.ap-scene__cloud { animation: ap-scene-drift 6s ease-in-out infinite alternate; }
.ap-scene__sun { animation: ap-scene-spin 18s linear infinite; }
.ap-scene__abc { animation: ap-scene-float 2.4s ease-in-out infinite; }
.ap-scene__abc--2 { animation-delay: 0.8s; }
.ap-scene__abc--3 { animation-delay: 1.6s; }
@keyframes ap-scene-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes ap-scene-wag { from { transform: rotate(-15deg); } to { transform: rotate(15deg); } }
@keyframes ap-scene-flag { from { transform: scaleX(1); } to { transform: scaleX(0.7); } }
@keyframes ap-scene-drift { from { transform: translateX(-6px); } to { transform: translateX(6px); } }
@keyframes ap-scene-spin { to { transform: rotate(360deg); } }
@keyframes ap-scene-float { 0%, 100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(-5px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ap-navbar__scene * { animation: none !important; }
}

/* Offcanvas drawer */
.ap-offcanvas { background: var(--ap-cream); }
.ap-offcanvas .ap-nav-link { display: block; padding: 0.9rem 0.25rem !important; font-size: 1.05rem; }
.ap-offcanvas__bottom { border-top: 1px solid rgba(29,78,110,0.12); padding-top: 1rem; margin-top: 1rem; }

/* Page banner */
.ap-banner {
  background: linear-gradient(160deg, var(--ap-cream) 0%, rgba(69,188,209,0.35) 100%);
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  position: relative;
}
.ap-banner h1 { margin-bottom: 0.5rem; }
.ap-breadcrumb {
  justify-content: center;
  background: transparent;
  margin: 0;
  font-weight: 700;
}
.ap-breadcrumb a { color: var(--ap-teal-dk); }
.ap-breadcrumb .active { color: var(--ap-navy); }

/* Footer */
.ap-footer { background: var(--ap-navy); color: var(--ap-cream); padding: 4rem 0 0; }
.ap-footer h5 { color: var(--ap-white); font-family: var(--ap-font-head); margin-bottom: 1.1rem; }
.ap-footer a { color: rgba(255,250,242,0.8); }
.ap-footer a:hover { color: var(--ap-yellow); }
.ap-footer ul { list-style: none; padding: 0; margin: 0; }
.ap-footer li { margin-bottom: 0.6rem; }
.ap-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,250,242,0.12);
  margin-right: 8px;
}
.ap-footer__social a:hover { background: var(--ap-orange); color: var(--ap-white); }
.ap-footer__bottom {
  border-top: 1px solid rgba(255,250,242,0.15);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  text-align: center;
}
.ap-footer__bottom a { text-decoration: underline; }

/* Floating action buttons */
.ap-fab {
  position: fixed;
  right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ap-white);
  font-size: 1.5rem;
  box-shadow: var(--ap-shadow-hover);
  z-index: 1040;
  transition: transform 0.2s ease;
}
.ap-fab:hover { transform: scale(1.08); color: var(--ap-white); }
.ap-fab--whatsapp { background: #25D366; bottom: 24px; }
.ap-fab--whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ap-pulse 2.2s ease-out infinite;
}
.ap-fab--call { background: var(--ap-orange); bottom: 92px; }

.ap-back-to-top {
  position: fixed;
  left: 20px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ap-navy);
  color: var(--ap-white);
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--ap-shadow-hover);
  z-index: 1040;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ap-back-to-top.is-visible { display: flex; }
.ap-back-to-top:hover { transform: translateY(-3px); }

@keyframes ap-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 767.98px) {
  .ap-fab--call { display: flex; }
}
@media (min-width: 768px) {
  .ap-fab--call { display: none; }
}

/* ---------------------------------------------------------
   7. PAGE SECTIONS
   --------------------------------------------------------- */

/* Hero */
.ap-hero { padding: 3rem 0 4rem; min-height: 60vh; display: flex; align-items: center; }
.ap-hero__media {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
}
.ap-hero__mascot {
  position: absolute;
  bottom: -18px; left: -18px;
  width: 110px;
  animation: ap-float 3.6s ease-in-out infinite;
}
@keyframes ap-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.ap-hero [data-ap-reveal] { opacity: 0; transform: translateY(16px); }
.ap-hero.ap-hero--ready [data-ap-reveal] {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll reveal (generic) */
[data-ap-scroll-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.4s ease, transform 0.4s ease; }
[data-ap-scroll-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Age group cards already covered by .ap-card */

/* Day timeline connector (desktop) */
@media (min-width: 992px) {
  .ap-timeline--row { display: flex; gap: 1.5rem; }
  .ap-timeline--row .ap-timeline__item { flex: 1; }
}

/* Admissions CTA band */
.ap-cta-band {
  background: var(--ap-teal);
  color: var(--ap-white);
  border-radius: var(--ap-radius-card);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.ap-cta-band h2 { color: var(--ap-white); }

/* Location strip map */
.ap-map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--ap-radius-img); }

/* Gallery masonry */
.ap-masonry {
  column-count: 4;
  column-gap: 1rem;
}
.ap-masonry__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: var(--ap-radius-img);
  overflow: hidden;
  display: block;
}
.ap-masonry__overlay {
  position: absolute; inset: 0;
  background: rgba(18,53,75,0.55);
  color: var(--ap-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-align: center;
  padding: 1rem;
}
.ap-masonry__item:hover .ap-masonry__overlay,
.ap-masonry__item:focus-within .ap-masonry__overlay { opacity: 1; }

@media (max-width: 1199.98px) { .ap-masonry { column-count: 3; } }
@media (max-width: 767.98px) { .ap-masonry { column-count: 2; } }
@media (max-width: 480px) { .ap-masonry { column-count: 1; } }

/* Video gallery */
.ap-video-card { position: relative; border-radius: var(--ap-radius-img); overflow: hidden; display: block; cursor: pointer; }
.ap-video-card__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ap-orange);
  color: var(--ap-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--ap-shadow-hover);
  transition: transform 0.2s ease;
}
.ap-video-card:hover .ap-video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.ap-video-card__duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(18,53,75,0.8);
  color: var(--ap-white);
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--ap-radius-chip);
}

/* Event / news card */
.ap-post-card { background: var(--ap-white); border-radius: var(--ap-radius-card); box-shadow: var(--ap-shadow-rest); overflow: hidden; height: 100%; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }
.ap-post-card:hover { transform: translateY(-6px); box-shadow: var(--ap-shadow-hover); }
.ap-post-card__media { position: relative; }
.ap-post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ap-post-card__meta { font-size: 0.85rem; color: var(--ap-muted); margin-bottom: 0.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.ap-post-card__meta i { color: var(--ap-teal-dk); margin-right: 4px; }

/* Sidebar */
.ap-sidebar-card { background: var(--ap-white); border-radius: var(--ap-radius-card); box-shadow: var(--ap-shadow-rest); padding: 1.5rem; margin-bottom: 1.5rem; }
.ap-sidebar-card h3 { font-size: 1.1rem; }
.ap-sidebar-search { position: relative; }
.ap-sidebar-search input { border-radius: var(--ap-radius-pill); padding-right: 44px; }
.ap-sidebar-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--ap-teal-dk); }

/* Article body typography */
.ap-article blockquote {
  border-left: 4px solid var(--ap-orange);
  background: var(--ap-cream);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--ap-radius-chip) var(--ap-radius-chip) 0;
  font-style: italic;
  color: var(--ap-ink);
}
.ap-article .ap-callout {
  background: rgba(69,188,209,0.14);
  border: 1px solid var(--ap-teal);
  border-radius: var(--ap-radius-chip);
  padding: 1.1rem 1.4rem;
}
.ap-article figure { margin: 1.5rem 0; }
.ap-article figcaption { font-size: 0.88rem; color: var(--ap-muted); margin-top: 0.5rem; }
.ap-article img { border-radius: var(--ap-radius-img); }

/* Contact info cards */
.ap-contact-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--ap-white);
  margin: 0 auto 1rem;
}

/* Forms */
.ap-form .form-label { font-weight: 700; color: var(--ap-navy); }
.ap-form .form-control,
.ap-form .form-select {
  border-radius: var(--ap-radius-chip);
  border: 2px solid rgba(29,78,110,0.15);
  padding: 0.7rem 1rem;
  min-height: 44px;
}
.ap-form .form-control:focus,
.ap-form .form-select:focus {
  border-color: var(--ap-teal);
  box-shadow: 0 0 0 3px rgba(69,188,209,0.25);
}
.ap-form .invalid-feedback { color: var(--ap-red); font-weight: 600; }
.ap-form-success {
  background: rgba(124,185,63,0.12);
  border: 2px solid var(--ap-green);
  border-radius: var(--ap-radius-card);
  padding: 2rem;
  text-align: center;
}

/* 404 */
.ap-404 { text-align: center; padding: 5rem 0; }
.ap-404 img { max-width: 240px; margin-bottom: 1.5rem; }

/* ---------------------------------------------------------
   8. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 991.98px) {
  .ap-hero { text-align: center; padding: 2rem 0 3rem; min-height: auto; }
  .ap-hero__media { margin-top: 2rem; }
}

@media (max-width: 767.98px) {
  .ap-cta-band { padding: 2rem 1.25rem; text-align: center; }
  .ap-banner { padding: 3.5rem 0 3rem; }
}

/* ---------------------------------------------------------
   9. PRINT
   --------------------------------------------------------- */
@media print {
  .ap-topbar, .ap-navbar, .ap-footer, .ap-fab, .ap-back-to-top { display: none !important; }
}
