/*
Theme Name: Nobles' Montessori
Theme URI: https://noblesmontessori.example/
Author: Nobles' Montessori
Author URI: https://noblesmontessori.example/
Description: Authentic, Christ-Centered & Bilingual Montessori school theme (kindergarten / Skole-inspired) for Nobles' Montessori, Taifa, Accra. Brand colours: teal & plum. Includes Home, About, Programmes (Infant, Toddler, Two's, Children's House), Admissions, Timetable, Calendar and Contact templates.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nobles-montessori
*/

/* ===================================================
   NOBLES' MONTESSORI: Global Stylesheet
   Skole-inspired kindergarten layout, brand colours:
   Teal #00A0B8 + Plum #400030, coral CTAs, pastel accents.
   Fonts: Caveat Brush (marker), Baloo 2 (heads), Nunito.
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
  --teal:        #00a6bd;
  --teal-dark:   #0089a0;
  --teal-darker: #00697b;
  --teal-soft:   #e2f6fa;
  --plum:        #400030;
  --plum-2:      #7a1f6a;
  --magenta:     #a3248f;
  --magenta-soft:#fbe9f7;

  --coral:       #ff6f5e;
  --coral-dark:  #ef5340;
  --coral-soft:  #ffe9e5;
  --yellow:      #ffc23c;
  --yellow-soft: #fff3d4;
  --grass:       #4cc38a;
  --grass-soft:  #e1f7ec;
  --sky:         #56c6e8;
  --sky-soft:    #e3f6fd;
  --pink:        #f48fb1;
  --pink-soft:   #fdeef3;

  --cream:       #fffdf6;
  --cream-2:     #fdf6ea;
  --paper:       #fff9ef;
  --dark:        #3a1230;
  --text:        #574d54;
  --text-light:  #837985;
  --white:       #ffffff;
  --border:      #efe7ee;

  --shadow-sm:   0 6px 18px rgba(64,0,48,.07);
  --shadow-md:   0 18px 44px rgba(64,0,48,.10);
  --shadow-lg:   0 30px 70px rgba(64,0,48,.16);
  --shadow-coral:0 14px 30px rgba(255,111,94,.34);

  --radius:      20px;
  --radius-lg:   30px;
  --radius-xl:   44px;
  --transition:  .35s cubic-bezier(.34,1.4,.5,1);
  --font-marker: 'Caveat Brush', cursive;
  --font-head:   'Baloo 2', system-ui, sans-serif;
  --font-body:   'Nunito', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17.5px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5,p { overflow-wrap: break-word; }
input, textarea, select {
  font-family: inherit; font-size: 1rem;
  border: 2px solid var(--border); border-radius: 14px;
  padding: .95rem 1.1rem; width: 100%; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white); color: var(--dark);
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,189,.14); }
textarea { resize: vertical; min-height: 140px; }

/* ── Typography (bigger) ── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--dark); line-height: 1.1; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 5.2vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
h4 { font-size: 1.3rem; }
p { margin-bottom: 1rem; font-size: 1.08rem; }
p:last-child { margin-bottom: 0; }

/* marker / hand-drawn headings (BIG) */
.marker { font-family: var(--font-marker); color: var(--teal); font-weight: 400; line-height: .9; }
.marker.plum { color: var(--magenta); }
.marker.coral { color: var(--coral); }
.marker.yellow { color: var(--yellow); }
.marker.white { color: #fff; }
.marker-xl { font-size: clamp(4.5rem, 13vw, 10rem); display: block; }
.marker-lg { font-size: clamp(3rem, 7vw, 5.5rem); display: block; }
.marker-md { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6.5rem 0; position: relative; }
.section-sm { padding: 4rem 0; position: relative; }
.section-cream { background: var(--cream-2); }
.section-teal { background: var(--teal); }
.section-plum { background: var(--plum); }
.section-pink { background: var(--pink-soft); }
.section-sky { background: var(--sky-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }

/* ── Decorative shapes (rounded rectangles, varied) ── */
.deco { position: absolute; z-index: 0; pointer-events: none; }
.deco-dot { border-radius: 50%; }
.deco-ring { border-radius: 50%; background: transparent; }
.deco-rect { border-radius: 14px; }
.deco-rect.soft { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.float { animation: float 6s ease-in-out infinite; }
.float-2 { animation: float 8s ease-in-out infinite; }
.spin { animation: spin 20s linear infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-16px) rotate(var(--r,0deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 1rem 2rem; border-radius: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  transition: all var(--transition); white-space: nowrap; line-height: 1;
}
.btn-coral { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-coral:hover { background: var(--coral-dark); transform: translateY(-3px) scale(1.02); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 14px 30px rgba(0,166,189,.3); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-3px) scale(1.02); }
.btn-plum { background: var(--plum); color: #fff; }
.btn-plum:hover { background: var(--plum-2); transform: translateY(-3px) scale(1.02); }
.btn-yellow { background: var(--yellow); color: var(--plum); box-shadow: 0 14px 30px rgba(255,194,60,.4); }
.btn-yellow:hover { background: #ffb01f; transform: translateY(-3px) scale(1.02); }
.btn-white { background: #fff; color: var(--coral); box-shadow: var(--shadow-sm); }
.btn-white:hover { transform: translateY(-3px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btn-outline:hover { background: var(--coral); color: #fff; transform: translateY(-3px); }
.btn-outline-teal { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--teal-dark); transform: translateY(-3px); }
.btn-lg { padding: 1.15rem 2.5rem; font-size: 1.12rem; }

/* ── Eyebrow ── */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 24px; height: 3px; border-radius: 3px; background: var(--coral); }
.eyebrow.center { justify-content: center; }
.eyebrow.teal { color: var(--teal-dark); } .eyebrow.teal::before { background: var(--teal); }
.eyebrow.plum { color: var(--magenta); } .eyebrow.plum::before { background: var(--magenta); }
.eyebrow.light { color: var(--yellow); } .eyebrow.light::before { background: var(--yellow); }
.eyebrow.onhero { color: #fff; } .eyebrow.onhero::before { background: var(--yellow); }

/* ── Section header ── */
.section-header { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; position: relative; z-index: 2; }
.section-header p { color: var(--text-light); font-size: 1.15rem; margin-top: .75rem; }

/* ── Wave dividers ── */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; z-index: 2; }
.wave svg { display: block; width: 100%; height: 80px; }
.wave-top { top: 0; transform: translateY(-99%); }
.wave-bottom { bottom: 0; transform: translateY(99%); }

/* ── Navigation ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: all var(--transition); }
.navbar.scrolled { background: rgba(255,253,246,.97); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); padding: .5rem 0; }
.nav-inner { display: flex; align-items: center; gap: 1rem; }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; background: #fff; padding: .4rem .7rem; border-radius: 14px; box-shadow: var(--shadow-sm); }
.nav-logo img { height: 50px; width: auto; transition: height var(--transition); }
.navbar.scrolled .nav-logo img { height: 44px; }
.nav-pill { display: flex; align-items: center; gap: .1rem; margin: 0 auto; padding: .3rem; border-radius: 50px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.navbar.scrolled .nav-pill { background: transparent; border-color: transparent; backdrop-filter: none; padding: 0; }
.nav-link { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .98rem; padding: .5rem .95rem; border-radius: 50px; transition: all var(--transition); }
.nav-link:hover, .nav-link.active { background: var(--yellow); color: var(--plum); }
.navbar.scrolled .nav-link { color: var(--plum); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { background: var(--teal); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .95rem; white-space: nowrap; padding: .6rem 1.1rem; border-radius: 50px; border: 1.5px solid rgba(255,255,255,.4); transition: all var(--transition); }
.nav-phone:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.7); }
.nav-phone i { color: var(--yellow); }
.navbar.scrolled .nav-phone { color: var(--teal-dark); border-color: rgba(0,160,184,.35); }
.navbar.scrolled .nav-phone i { color: var(--teal); }
.navbar.scrolled .nav-phone:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.navbar.scrolled .nav-phone:hover i { color: #fff; }
.nav-book { background: var(--coral); color: #fff !important; padding: .65rem 1.4rem; border-radius: 50px; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-coral); transition: all var(--transition); white-space: nowrap; }
.nav-book:hover { background: var(--coral-dark); transform: translateY(-2px); }
/* Phone + Book a Visit shown only inside the mobile slide-out menu */
.nav-pill-cta { display: none; }
.nav-pill-book { background: var(--coral); color: #fff; text-align: center; padding: .9rem 1rem; border-radius: 50px; font-family: var(--font-head); font-weight: 700; box-shadow: var(--shadow-coral); }
.nav-pill-phone { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; color: var(--plum); border: 2px solid var(--border); padding: .85rem 1rem; border-radius: 50px; font-family: var(--font-head); font-weight: 700; }
.nav-pill-phone i { color: var(--teal); }

/* ── Nav dropdown (Programmes) ── */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .98rem; padding: .5rem .95rem; border-radius: 50px; transition: all var(--transition); }
.nav-dd-toggle .nav-caret { font-size: .65rem; transition: transform var(--transition); }
.nav-dd:hover > .nav-dd-toggle, .nav-dd:focus-within > .nav-dd-toggle { background: var(--yellow); color: var(--plum); }
.nav-dd:hover .nav-caret, .nav-dd:focus-within .nav-caret { transform: rotate(180deg); }
.navbar.scrolled .nav-dd-toggle { color: var(--plum); }
.navbar.scrolled .nav-dd:hover > .nav-dd-toggle, .navbar.scrolled .nav-dd:focus-within > .nav-dd-toggle { background: var(--teal); color: #fff; }
.nav-submenu { position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%) translateY(8px); min-width: 220px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-md); padding: .5rem; display: flex; flex-direction: column; gap: .15rem; opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition); z-index: 1001; }
.nav-dd:hover .nav-submenu, .nav-dd:focus-within .nav-submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-sub-link { display: block; padding: .6rem .9rem; border-radius: 12px; color: var(--plum); font-family: var(--font-head); font-weight: 600; font-size: .95rem; white-space: nowrap; transition: all var(--transition); }
.nav-sub-link:hover { background: var(--teal-soft); color: var(--teal-dark); padding-left: 1.15rem; }

/* ── Back to top button ── */
.back-to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(16px); transition: all var(--transition); z-index: 900; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-4px); }

/* ── Highlighted note (e.g. Healthy Snacks contributions) ── */
.snack-note { display: flex; gap: .9rem; align-items: flex-start; background: var(--grass-soft); border-left: 4px solid var(--grass); border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.3rem 0; }
.snack-note i { color: var(--grass); font-size: 1.3rem; margin-top: .15rem; flex-shrink: 0; }
.snack-note p { margin: 0; font-size: 1rem; color: var(--text); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .65rem; border-radius: 12px; background: var(--teal); box-shadow: var(--shadow-sm); position: relative; z-index: 1002; }
.navbar.scrolled .hamburger { background: var(--teal-soft); }
.hamburger span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.navbar.scrolled .hamburger span { background: var(--plum); }
.hamburger.open span { background: var(--plum); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero (background image + big white title) ── */
.hero { position: relative; padding: 12rem 0 9rem; overflow: hidden; background: var(--teal-darker); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(0,84,98,.93) 0%, rgba(0,105,123,.82) 42%, rgba(64,0,48,.62) 100%); }
.hero-inner { position: relative; z-index: 3; max-width: 820px; }
.hero .eyebrow { color: #fff; } .hero .eyebrow::before { background: var(--yellow); }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .lead { display: block; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; margin-top: .2rem; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.25rem; margin-bottom: 2.2rem; max-width: 600px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-or { font-family: var(--font-marker); color: rgba(255,255,255,.85); font-size: 1.7rem; }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.6rem; }
.hero-chip { display: flex; align-items: center; gap: .65rem; background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .98rem; padding: .65rem 1.1rem; border-radius: 50px; }
.hero-chip i { color: var(--yellow); }

/* ── Page hero (bg image + big title) ── */
.page-hero { position: relative; padding: 11rem 0 7rem; overflow: hidden; text-align: center; background: var(--teal-darker); }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,84,98,.86), rgba(64,0,48,.7)); }
.page-hero-content { position: relative; z-index: 3; max-width: 860px; margin: 0 auto; }
.page-hero .eyebrow { color: #fff; justify-content: center; } .page-hero .eyebrow::before { background: var(--yellow); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.92); font-size: 1.2rem; margin-top: 1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: .5rem; font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; font-weight: 600; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { opacity: .5; }

/* ── Trust strip ── */
.trust-strip { position: relative; z-index: 5; margin-top: -3.5rem; }
.trust-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; padding: 2rem 2.2rem; }
.trust-item { display: flex; align-items: center; gap: .9rem; }
.trust-item i { width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.trust-item:nth-child(1) i { background: var(--teal); }
.trust-item:nth-child(2) i { background: var(--coral); }
.trust-item:nth-child(3) i { background: var(--yellow); color: var(--plum); }
.trust-item:nth-child(4) i { background: var(--grass); }
.trust-item .tt { font-family: var(--font-head); font-weight: 700; color: var(--plum); line-height: 1.15; font-size: 1.05rem; }
.trust-item .ts { font-size: .88rem; color: var(--text-light); }

/* ── Media frames (rounded rectangles, varied) ── */
.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--radius-xl); object-fit: cover; box-shadow: var(--shadow-md); }
.media-frame.r1 img { border-radius: 64px 20px 64px 20px; }
.media-frame.r2 img { border-radius: 20px 64px 20px 64px; }
.media-frame.r3 img { border-radius: 64px 64px 20px 64px; }

.check-list { display: flex; flex-direction: column; gap: .85rem; margin: 1.5rem 0; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: 1.08rem; color: var(--text); font-weight: 600; }
.check-list li i { color: #fff; background: var(--grass); width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; margin-top: .2rem; flex-shrink: 0; }

/* ── Feature cards ── */
.feature-card { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem 2.1rem; box-shadow: var(--shadow-sm); transition: all var(--transition); height: 100%; position: relative; z-index: 2; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.feature-icon { width: 76px; height: 76px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.4rem; color: #fff; transition: all var(--transition); }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.fi-teal { background: var(--teal); } .fi-coral { background: var(--coral); } .fi-yellow { background: var(--yellow); color: var(--plum); }
.fi-grass { background: var(--grass); } .fi-magenta { background: var(--magenta); } .fi-sky { background: var(--sky); }
.feature-card h4 { font-size: 1.4rem; margin-bottom: .5rem; }
.feature-card p { font-size: 1.02rem; color: var(--text-light); }

/* ── Programme / Age cards ── */
.prog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); display: flex; flex-direction: column; position: relative; z-index: 2; }
.prog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); }
.prog-card-media { position: relative; height: 230px; overflow: hidden; }
.prog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prog-card:hover .prog-card-media img { transform: scale(1.08); }
.prog-card-age { position: absolute; top: 1rem; left: 1rem; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .85rem; padding: .4rem .95rem; border-radius: 50px; }
.prog-card:nth-child(4n+1) .prog-card-age { background: var(--teal); }
.prog-card:nth-child(4n+2) .prog-card-age { background: var(--coral); }
.prog-card:nth-child(4n+3) .prog-card-age { background: var(--magenta); }
.prog-card:nth-child(4n+4) .prog-card-age { background: var(--grass); }
.prog-card-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.prog-card-tag { font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.prog-card:nth-child(4n+1) .prog-card-tag { color: var(--teal-dark); }
.prog-card:nth-child(4n+2) .prog-card-tag { color: var(--coral); }
.prog-card:nth-child(4n+3) .prog-card-tag { color: var(--magenta); }
.prog-card:nth-child(4n+4) .prog-card-tag { color: var(--grass); }
.prog-card-body h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.prog-card-body p { font-size: 1rem; color: var(--text-light); margin-bottom: 1.2rem; }
.prog-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; color: var(--coral); font-family: var(--font-head); font-weight: 700; font-size: .98rem; transition: gap var(--transition); }
.prog-card:hover .prog-card-link { gap: .8rem; }

/* ── Photo collage ── */
.collage { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1rem; position: relative; z-index: 2; }
.collage .cphoto { overflow: hidden; box-shadow: var(--shadow-sm); }
.collage .cphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collage .cphoto:hover img { transform: scale(1.07); }
.collage .cphoto:nth-child(1) { grid-column: span 2; grid-row: span 2; border-radius: 64px 20px 64px 20px; }
.collage .cphoto:nth-child(2) { border-radius: 20px 64px 20px 20px; }
.collage .cphoto:nth-child(3) { border-radius: 20px 20px 20px 64px; }
.collage .cphoto:nth-child(4) { grid-column: span 2; border-radius: 64px 20px 20px 64px; }
.collage .cphoto:nth-child(5) { border-radius: 64px 20px 64px 20px; }
.collage .cphoto:nth-child(6) { border-radius: 20px 64px 20px 64px; }

/* ── Stats ── */
.stat-item { text-align: center; }
.stat-ico { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.stat-num { font-family: var(--font-marker); font-size: 4rem; line-height: 1; }
.stat-label { color: var(--text-light); font-size: 1rem; margin-top: .4rem; font-weight: 600; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; position: relative; z-index: 2; }

/* ── Pillars ── */
.pillar { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 1.8rem; display: flex; gap: 1rem; align-items: flex-start; }
.pillar i { width: 58px; height: 58px; flex-shrink: 0; border-radius: 18px; background: var(--yellow); color: var(--plum); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.pillar h4 { color: #fff; margin-bottom: .25rem; font-size: 1.3rem; }
.pillar p { color: rgba(255,255,255,.85); font-size: 1rem; }

/* ── Testimonials ── */
.quote-card { background: #fff; border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow-sm); height: 100%; position: relative; z-index: 2; border-top: 5px solid var(--teal); }
.quote-card:nth-child(2) { border-top-color: var(--coral); }
.quote-card:nth-child(3) { border-top-color: var(--yellow); }
.quote-card .stars { color: var(--yellow); margin-bottom: .8rem; }
.quote-card p { font-size: 1.12rem; color: var(--dark); margin-bottom: 1.4rem; font-weight: 600; }
.quote-author { display: flex; align-items: center; gap: .85rem; }
.quote-author .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }
.quote-author .qa-name { font-family: var(--font-head); font-weight: 700; color: var(--plum); font-size: 1.05rem; }
.quote-author .qa-role { font-size: .88rem; color: var(--text-light); }

/* ── Tour CTA ── */
.tour-cta { position: relative; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); border-radius: var(--radius-xl); padding: 4.5rem 4rem; color: #fff; overflow: hidden; text-align: center; }
.tour-cta h2 { color: #fff; }
.tour-cta p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 640px; margin: 1rem auto 2rem; position: relative; z-index: 2; }
.tour-cta-btns { display: flex; gap: 1.2rem; justify-content: center; align-items: center; flex-wrap: wrap; position: relative; z-index: 2; }
.tour-cta-btns .or { font-family: var(--font-marker); font-size: 1.8rem; color: rgba(255,255,255,.9); }
.tour-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.75); }
.tour-cta .btn-outline:hover { background: #fff; color: var(--teal-dark); }

/* ── CTA banner ── */
.cta-banner { position: relative; background: linear-gradient(135deg, var(--magenta), var(--plum)); border-radius: var(--radius-xl); padding: 4.5rem 4rem; text-align: center; color: #fff; overflow: hidden; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 1.18rem; margin: 0 auto 2rem; max-width: 580px; position: relative; z-index: 2; }
.cta-banner .hero-btns { justify-content: center; position: relative; z-index: 2; }

/* ── Steps ── */
.step-card { background: #fff; border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); transition: all var(--transition); height: 100%; position: relative; z-index: 2; }
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-num { width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-marker); font-size: 2rem; margin-bottom: 1.2rem; }
.step-card:nth-child(6n+1) .step-num { background: var(--teal); }
.step-card:nth-child(6n+2) .step-num { background: var(--coral); }
.step-card:nth-child(6n+3) .step-num { background: var(--magenta); }
.step-card:nth-child(6n+4) .step-num { background: var(--grass); }
.step-card:nth-child(6n+5) .step-num { background: var(--sky); }
.step-card:nth-child(6n+6) .step-num { background: var(--yellow); color: var(--plum); }
.step-card h4 { margin-bottom: .5rem; font-size: 1.3rem; }
.step-card p { font-size: 1rem; color: var(--text-light); }

/* ── Accordion ── */
.accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; position: relative; z-index: 2; }
.acc-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow var(--transition); border: 2px solid transparent; }
.acc-item.open { border-color: var(--teal); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.7rem; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--plum); }
.acc-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.acc-item.open .acc-icon { background: var(--teal); color: #fff; transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.acc-body-inner { padding: 0 1.7rem 1.5rem; color: var(--text); font-size: 1.05rem; }

/* ── Timetable (responsive day cards) ── */
.routine { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.routine-item { display: flex; gap: 1.3rem; align-items: flex-start; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.4rem 1.6rem; margin-bottom: 1rem; transition: transform var(--transition); }
.routine-item:hover { transform: translateX(6px); }
.routine-time { font-family: var(--font-marker); font-size: 1.8rem; color: var(--teal); min-width: 100px; }
.routine-item h4 { margin-bottom: .2rem; font-size: 1.2rem; }
.routine-item p { font-size: 1rem; color: var(--text-light); margin: 0; }

.tt-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; position: relative; z-index: 2; }
.tt-day { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.tt-day-h { padding: 1.1rem; text-align: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.tt-day:nth-child(5n+1) .tt-day-h { background: var(--teal); }
.tt-day:nth-child(5n+2) .tt-day-h { background: var(--coral); }
.tt-day:nth-child(5n+3) .tt-day-h { background: var(--magenta); }
.tt-day:nth-child(5n+4) .tt-day-h { background: var(--grass); }
.tt-day:nth-child(5n+5) .tt-day-h { background: var(--sky); }
.tt-day ul { padding: 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .9rem; }
.tt-day li { display: flex; flex-direction: column; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--border); }
.tt-day li:last-child { border-bottom: none; padding-bottom: 0; }
.tt-row-time { color: var(--coral); font-weight: 700; font-size: .82rem; }
.tt-row-act { font-size: .98rem; color: var(--dark); font-weight: 600; }

/* ── Info table ── */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { padding: 1.1rem 1.3rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 1.02rem; }
.info-table th { background: var(--teal-soft); color: var(--plum); font-family: var(--font-head); font-weight: 700; width: 38%; }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: none; }

/* ── Term cards ── */
.term-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); position: relative; z-index: 2; }
.term-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.term-head { padding: 1.8rem; color: #fff; }
.term-head.t1 { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.term-head.t2 { background: linear-gradient(135deg, var(--coral), #ff8a5b); }
.term-head.t3 { background: linear-gradient(135deg, var(--magenta), var(--plum-2)); }
.term-head h3 { color: #fff; margin-bottom: .3rem; }
.term-head .dates { font-size: .98rem; opacity: .95; font-weight: 700; }
.term-head .themes { font-size: .88rem; opacity: .9; margin-top: .5rem; }
.term-body { padding: 1.7rem 1.8rem; }
.term-body h5 { font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin-bottom: .8rem; }
.term-body ul { display: flex; flex-direction: column; gap: .6rem; }
.term-body ul li { display: flex; gap: .6rem; font-size: .98rem; align-items: flex-start; }
.term-body ul li i { color: var(--coral); margin-top: .4rem; font-size: .7rem; flex-shrink: 0; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1rem; position: relative; z-index: 2; }
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item:nth-child(3n+1) { border-radius: 64px 20px 64px 20px; }
.gallery-item:nth-child(3n+2) { border-radius: 20px 64px 20px 64px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-item::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; background: rgba(0,166,189,.55); opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover::after { opacity: 1; }

/* ── Lightbox ── */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(58,18,48,.94); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; backdrop-filter: blur(8px); }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 25px 60px rgba(0,0,0,.5); }
.lightbox-close { position: fixed; top: 1.5rem; right: 1.5rem; color: #fff; font-size: 1.8rem; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border-radius: 50%; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); color: #fff; font-size: 1.5rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border-radius: 50%; }
.lightbox-prev { left: 1.5rem; } .lightbox-next { right: 1.5rem; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; gap: 1.1rem; align-items: center; transition: transform var(--transition); min-height: 100%; }
.contact-card:hover { transform: translateY(-5px); }
.contact-card i { width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.contact-card > div { min-width: 0; }
.contact-card:nth-child(4n+1) i { background: var(--teal); }
.contact-card:nth-child(4n+2) i { background: var(--coral); }
.contact-card:nth-child(4n+3) i { background: var(--magenta); }
.contact-card:nth-child(4n+4) i { background: var(--grass); }
.contact-card h4 { font-size: 1.15rem; margin-bottom: .25rem; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--text-light); margin: 0; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--teal-dark); }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.whatsapp-btn { display: inline-flex; align-items: center; gap: .75rem; background: #25D366; color: #fff; padding: 1.05rem 2rem; border-radius: 50px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; transition: all var(--transition); }
.whatsapp-btn:hover { background: #128C7E; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,211,102,.32); }

/* ── Form ── */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 2.8rem; box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--plum); }
.form-label span { color: var(--coral); }
.form-success { display: none; background: var(--grass-soft); border: 2px solid var(--grass); color: #1f7a4d; padding: 1rem 1.5rem; border-radius: var(--radius); font-weight: 700; margin-top: 1rem; align-items: center; gap: .75rem; }
.form-success.show { display: flex; }

/* ── Newsletter ── */
.newsletter { background: var(--yellow-soft); border-radius: var(--radius-xl); padding: 3.5rem; text-align: center; position: relative; overflow: hidden; }
.newsletter form { display: flex; gap: .75rem; max-width: 500px; margin: 1.5rem auto 0; }
@media (max-width: 520px) { .newsletter form { flex-direction: column; } }

/* ── Footer ── */
.footer { background: var(--plum); color: rgba(255,255,255,.72); padding: 5rem 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { height: 66px; margin-bottom: 1.2rem; background: #fff; border-radius: 14px; padding: .5rem .7rem; }
.footer-brand p { font-size: .98rem; line-height: 1.8; max-width: 320px; }
.footer h5 { color: #fff; font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 1.3rem; }
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .98rem; transition: all var(--transition); }
.footer-links a:hover { color: var(--yellow); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: .85rem; }
.footer-contact-item { display: flex; gap: .75rem; font-size: .96rem; align-items: flex-start; }
.footer-contact-item i { color: var(--yellow); margin-top: .35rem; flex-shrink: 0; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social { width: 44px; height: 44px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all var(--transition); }
.footer-social:hover { background: var(--yellow); color: var(--plum); transform: translateY(-4px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 0; font-size: .9rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: .75rem; }

/* ── Mobile nav overlay ── */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(58,18,48,.5); z-index: 998; }
.nav-overlay.open { display: block; }

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.3,.5,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 9px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid, .trust-card { grid-template-columns: repeat(2,1fr); }
  .tt-days { grid-template-columns: repeat(2,1fr); }
  .collage { grid-auto-rows: 170px; }
}
@media (max-width: 992px) {
  .nav-inner { flex-wrap: wrap; }
  .hamburger { display: flex; }
  .nav-pill { position: fixed; top: 0; right: -100%; height: 100vh; width: min(330px,86vw); background: var(--cream); flex-direction: column; align-items: flex-start; padding: 5.5rem 1.5rem 2rem; gap: .3rem; z-index: 999; transition: right .35s ease; box-shadow: -12px 0 40px rgba(0,0,0,.15); margin: 0; overflow-y: auto; }
  .nav-pill.open { right: 0; }
  /* keep the drawer opaque even after the navbar gains .scrolled */
  .navbar.scrolled .nav-pill { background: var(--cream); border-color: transparent; backdrop-filter: none; padding: 5.5rem 1.5rem 2rem; }
  .nav-link { color: var(--plum) !important; width: 100%; font-size: 1.1rem; }
  .nav-link:hover, .nav-link.active { background: var(--teal) !important; color: #fff !important; }
  /* clean single-row bar: just logo + menu button. Phone & Book a Visit move into the menu. */
  .nav-logo { order: 1; }
  .hamburger { order: 2; margin-left: auto; }
  .nav-actions { display: none; }
  .nav-pill-cta { display: flex; flex-direction: column; gap: .7rem; width: 100%; margin-top: auto; padding-top: 1.6rem; }
  /* Programmes dropdown becomes an inline accordion inside the drawer */
  .nav-dd { width: 100%; }
  .nav-dd-toggle { width: 100%; justify-content: space-between; color: var(--plum); font-size: 1.1rem; }
  .nav-dd-toggle:hover, .nav-dd.open > .nav-dd-toggle { background: var(--teal); color: #fff; }
  .nav-dd.open .nav-caret { transform: rotate(180deg); }
  .nav-submenu { position: static; transform: none; min-width: 0; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0 0 0 1rem; max-height: 0; overflow: hidden; transition: max-height .32s ease; }
  .nav-dd.open .nav-submenu { max-height: 360px; }
  /* cancel the desktop hover/focus shift so the open accordion stays inside the drawer */
  .nav-dd:hover .nav-submenu, .nav-dd:focus-within .nav-submenu { transform: none; }
  .nav-sub-link { font-size: 1.02rem; }
}
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 8rem 0 5.5rem; }
  .hero p { font-size: 1.12rem; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-group.full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid, .trust-card { grid-template-columns: 1fr; }
  .cta-banner, .tour-cta, .newsletter { padding: 2.6rem 1.6rem; }
  .info-table th { width: 44%; }
  .tt-days { grid-template-columns: 1fr; }
  .collage { grid-template-columns: repeat(2,1fr); }
  .collage .cphoto:nth-child(1), .collage .cphoto:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .nav-logo img { height: 42px; }
}
@media (max-width: 480px) {
  .hero { padding: 7rem 0 4.5rem; }
  .marker-xl { font-size: clamp(3.4rem, 16vw, 4.6rem); }
  .hero h1 .lead { font-size: 1.85rem; }
  .hero-badges { display: none; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-or { display: none; }
  .btn { justify-content: center; }
  .tour-cta-btns { flex-direction: column; }
  .collage { grid-template-columns: 1fr; }
  .collage .cphoto, .collage .cphoto:nth-child(1), .collage .cphoto:nth-child(4) { grid-column: span 1; grid-row: span 1; }
  .routine-item { flex-direction: column; gap: .3rem; }
}
