/* =========================
   BLUE HOUSE v3.0 THEME
   Premium, lively, bluish gradient
   ========================= */

/* ---------- Brand Variables ---------- */
:root{
  --primary:#3b82f6;          /* Blue */
  --primary-dark:#1d4ed8;
  --accent:#facc15;           /* Yellow */
  --background:#f0f5ff;       /* Light bluish */
  --text:#111827;             /* Dark gray */
  --muted:#6b7280;            /* Subtle gray */
  --orange:#f97316;           /* CTA highlight */
  --orange-dark:#ea580c;

  --font-heading:'Poppins',sans-serif;
  --font-body:'Open Sans',Arial,sans-serif;

  --card-radius:18px;
  --shadow-sm:0 2px 8px rgba(0,0,0,.08);
  --shadow-md:0 10px 24px rgba(15,23,42,.12);
  --shadow-lg:0 18px 40px rgba(37,99,235,.20);
}

/* ---------- Global Reset ---------- */
*{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(900px 450px at -10% 20%, rgba(250,204,21,.10), transparent 60%),
    linear-gradient(180deg,#eef4ff 0%, #ffffff 35%, #eef4ff 100%);
  display:flex;flex-direction:column;min-height:100vh;line-height:1.6;
}
h1,h2,h3,h4{font-family:var(--font-heading);color:var(--text)}
img{max-width:100%;display:block}

/* =========================
   HEADER (Transparent → Solid on Scroll)
   ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: transparent; /* start fully transparent */
  backdrop-filter: none;   /* no blur initially */
  border-bottom: none;
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    padding 0.35s ease,
    transform 0.45s ease,
    backdrop-filter 0.45s ease;
  will-change: transform;
}

/* When scrolled: activate tint, blur, and shadow */
header.scrolled {
  background: rgba(17, 24, 39, 0.85); /* deep bluish tint */
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  padding: 0.65rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hide when scrolling down */
header.hide {
  transform: translateY(-100%);
}

/* Logo */
header .logo img {
  height: 70px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: height 0.35s ease;
}

header.scrolled .logo img {
  height: 55px;
}

/* Make header links white only on Home page */
body.home header .nav-links a {
  color: #f1f5f9;
}
body.home header .nav-links a.active {
  color: var(--accent);
}


/* =========================
   MOBILE NAV TOGGLE FIX
   ========================= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

/* Only show on mobile screens */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
  }

  /* Hide regular nav links on mobile until toggled */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    width: 220px;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }

  /* When menu is toggled (you likely already have .show in JS) */
  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    color: #f9fafb;
    padding: 0.75rem;
  }
}

/* Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text); /* dark by default */
  font-weight: 600;
  position: relative;
  padding: 0.55rem 0.75rem;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
  font-weight: 700;
}

/* Mobile menu */
@media (max-width: 900px){
  .nav-toggle{display:block}
  .nav-links{
    display:none;flex-direction:column;position:absolute;right:1rem;top:100%;
    background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:.75rem;width:240px;box-shadow:var(--shadow-sm)
  }
  .nav-links.show{display:flex}
  .nav-links a{width:100%;padding:.9rem;border-radius:8px}
}

/* =========================
   HERO (Full-screen background)
   ========================= */
.hero-bg {
  position: relative;
  height: 100vh;
  background: url("../assets/images/hero-bg.jpg") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5%;
  overflow: hidden;
}

/* Stronger gradient overlay for better text contrast */
.hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,      /* deep left for clear text */
    rgba(0, 0, 0, 0.45) 45%,     /* softer middle */
    rgba(0, 0, 0, 0.2) 75%,      /* smooth fade-out */
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}

/* Text container */
.hero-bg .hero-container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: #fff;
  text-align: left;
}

/* Headline */
.hero-bg h1 {
  font-size: clamp(2.2rem, 1.5rem + 2.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.hero-bg h1 span {
  color: var(--accent);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Subtitle */
.hero-bg p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #f3f6ff;
  margin-bottom: 1.75rem;
  max-width: 640px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* Glow CTA Button */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.35),
              inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-glow i {
  font-size: 1.05rem;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(234, 88, 12, 0.45);
}

.btn-glow:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Optional subtle float on pointer devices */
@media (pointer: fine) {
  .hero-bg .hero-container:hover .btn-glow {
    transform: translateY(-4px);
  }
}

/* 📱 Responsive improvement: slightly darker overlay on smaller screens */
@media (max-width: 768px) {
  .hero-bg .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 60%,
      rgba(0, 0, 0, 0.25) 100%
    );
  }

  .hero-bg p {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}

/* ==================
   SECTION DIVIDERS
   ================== */
.wave-divider svg{display:block;width:100%;height:auto;margin-top:-2rem}

/* ===========================
   HIGHLIGHTS (Feature grid)
   =========================== */
.highlights-v2{
  background:#fff;padding:3.5rem 1.5rem 4rem;
  box-shadow:inset 0 1px 0 rgba(59,130,246,.06);
}
.highlights-v2 h2{
  text-align:center;font-size:clamp(1.6rem,1.2rem + 1.3vw,2.2rem);
  color:#0f172a;margin-bottom:.6rem;font-weight:800;
}
.section-intro{max-width:880px;margin:.2rem auto 1.6rem;text-align:center;color:#475569}

.highlight-grid{
  max-width:1100px;margin:0 auto;display:grid;gap:1.25rem;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.highlight-card{
  background:#fff;border-radius:var(--card-radius);padding:1.6rem 1.4rem;text-align:center;
  box-shadow:var(--shadow-sm);border:1px solid #eef2ff;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.highlight-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md);border-color:#dbeafe}
.icon-circle{
  width:64px;height:64px;margin:0 auto .9rem;border-radius:50%;
  display:grid;place-items:center;
  background:radial-gradient(circle at 30% 20%, #fff, #dbeafe);
  box-shadow:inset 0 0 0 6px #eef2ff, 0 6px 16px rgba(37,99,235,.18);
}
.icon-circle i{color:var(--primary);font-size:1.35rem}
.highlight-card h3{margin:.4rem 0 .35rem;font-weight:800}
.highlight-card p{color:var(--muted)}

/* =========================
   CTA Section (Soft band)
   ========================= */
.cta-section{
  position:relative;isolation:isolate;overflow:hidden;
  padding:3.2rem 1.5rem;background:
    linear-gradient(180deg, rgba(37,99,235,.06), rgba(37,99,235,.03));
}
.cta-section::before{
  content:"";position:absolute;inset:-20% -10%;
  background:
    radial-gradient(600px 260px at 15% 10%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(600px 220px at 90% 100%, rgba(250,204,21,.16), transparent 60%);
  z-index:0
}
.cta-content{
  position:relative;z-index:1;max-width:980px;margin:0 auto;text-align:center;
  background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:2.2rem 1.6rem;
  box-shadow:var(--shadow-sm)
}
.cta-content h2{font-size:clamp(1.4rem,1.1rem + 1vw,2rem);margin-bottom:.5rem}
.cta-content p{color:#475569;margin-bottom:1rem}

/* =========================
   PAGE-SHARED COMPONENTS
   ========================= */

/* =========================
   PAGE LAYOUT ALIGNMENT FIX
   ========================= */
.page-section {
  max-width: 1100px;          /* consistent central width */
  margin: 4rem auto;          /* center the block horizontally */
  padding: 0 2rem;            /* even left/right spacing */
  background: #fff;           /* white background for content sections */
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;         /* ensures titles are centered */
}

.page-section h1,
.page-section h2 {
  text-align: center;
}

.page-section p {
  text-align: center;
  color: var(--text);
  line-height: 1.7;
}

/* If you use large images or schedules inside */
.page-section img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* =========================
   ABOUT PAGE REFINEMENTS
   ========================= */
.about-section {
  max-width: 1000px;
  margin: 3rem auto 4rem;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  line-height: 1.75;
  color: var(--text);
  text-align: left;
}

.about-section h1 {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.about-section h2 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin: 2.2rem 0 0.75rem;
  font-weight: 700;
  text-align: center;
}

.about-section p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #334155;
  text-align: justify;
}

/* Bullet lists (Values section) */
.about-section ul {
  margin: 1rem 0 1rem 1.5rem;
  padding-left: 1rem;
}
.about-section li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

/* ---------- About Page Refinement ---------- */
.about-section {
  line-height: 1.75;
  text-align: left;
  color: var(--text);
}

.about-section h1 {
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.about-section h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  text-align: center;
  font-weight: 700;
  position: relative;
}

.about-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.6rem auto 1.2rem;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  opacity: 0.6;
}

.about-section p {
  max-width: 880px;
  margin: 0.75rem auto 1rem;
}

.about-section ul {
  max-width: 900px;
  margin: 1.5rem auto;
  padding-left: 1.4rem;
}

.about-section ul li {
  margin-bottom: 0.85rem;
  line-height: 1.7;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .about-section {
    padding: 1.8rem 1.2rem;
  }
  .about-section h1 {
    font-size: 1.6rem;
  }
  .about-section h2 {
    font-size: 1.25rem;
  }
}

/* =========================
   PROGRAMS PAGE STYLE MATCH (Hero Look)
   ========================= */

.program-item {
  background: #ffffff;
  border: 1px solid #e8eeff;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
  text-align: center;
  transition: all 0.3s ease;
}

.program-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
  border-color: #dbeafe;
}

/* Blue circular icon glow */
.program-item i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #3b82f6;
  background: radial-gradient(circle at 30% 30%, #ebf2ff, #dbeafe);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-item:hover i {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.45);
}

.program-item h3 {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.program-item p {
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Responsive layout fix */
.program-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
  justify-items: center;
  align-items: stretch;
}


/* Contact (two-column) */
.contact-section{
  max-width:1200px;margin:3rem auto;padding:2.2rem;background:#fff;border-radius:16px;
  box-shadow:var(--shadow-sm);display:flex;gap:2rem;align-items:flex-start
}
.contact-form{flex:1.1;display:flex;flex-direction:column}
.contact-form h1{color:var(--primary);margin-bottom:.6rem}
.contact-intro{color:var(--muted);margin-bottom:1.1rem;line-height:1.6}
.contact-form label{font-weight:700;color:var(--text);margin-bottom:.25rem}
.contact-form input,.contact-form textarea{
  width:100%;padding:.85rem 1rem;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:.9rem;
  font:inherit;transition:border-color .2s ease, box-shadow .2s ease
}
.contact-form input:focus,.contact-form textarea:focus{
  outline:none;border-color:#c7d2fe;box-shadow:0 0 0 4px rgba(59,130,246,.12)
}
.contact-form button{
  background:var(--primary);color:#fff;font-weight:800;padding:.95rem 1.5rem;border:0;border-radius:999px;
  cursor:pointer;transition:transform .2s ease, box-shadow .25s ease;align-self:flex-start
}
.contact-form button:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(37,99,235,.25)}

.contact-info{
  flex:.9;background:#f8fafc;padding:1.6rem;border-radius:14px;box-shadow:var(--shadow-sm)
}
.contact-info h2{color:var(--primary);margin-bottom:.6rem}
.contact-info p{margin:.45rem 0;color:var(--text);display:flex;align-items:center;gap:.5rem}
.contact-info i{color:var(--primary);width:20px;text-align:center}
.map-container{margin-top:1rem;border-radius:10px;overflow:hidden}
.map-container iframe{width:100%;height:300px;border:0;border-radius:10px}

/* Responsive contact */
@media (max-width: 1000px){
  .contact-section{flex-direction:column}
  .contact-form button{width:100%}
}

/* Gallery + Lightbox */
.gallery-section{margin-bottom:3rem}
.gallery-section h2{
  text-align:center;color:var(--primary);font-size:1.7rem;margin-bottom:1.3rem;
  display:flex;justify-content:center;align-items:center;gap:.6rem
}
.gallery-section h2 i{color:var(--accent);font-size:1.3rem}

.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.3rem;justify-items:center;align-items:stretch
}
.gallery-item{
  position:relative;overflow:hidden;border-radius:14px;background:#fff;cursor:pointer;
  box-shadow:var(--shadow-sm);transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border:1px solid #eef2ff
}
.gallery-item img,.gallery-item video{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.gallery-item:hover img{transform:scale(1.05)}
.gallery-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:#dbeafe}
.gallery-grid.videos .gallery-item{cursor:default}
.gallery-grid.videos video{border-radius:14px;transition:transform .25s ease, box-shadow .25s ease}
.gallery-grid.videos video:hover{transform:scale(1.02);box-shadow:0 10px 24px rgba(37,99,235,.22)}

.lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,.85);display:flex;justify-content:center;align-items:center;z-index:9999
}
.lightbox img{max-width:90%;max-height:90%;border-radius:12px;box-shadow:0 0 20px rgba(0,0,0,.3)}
.gallery-grid.videos video {
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid.videos video:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(59,130,246,0.25);
}

/* ===== Improve Video Appearance on Load + Mobile Overlay ===== */

/* Fallback background so videos don’t show black boxes */
.video-wrapper video {
  background: linear-gradient(135deg, #dbeafe, #fef9c3); /* soft blue-yellow blend */
  border-radius: 12px;
}

/* Keep play overlay visible on mobile (no hover) */
@media (hover: none) {
  .play-overlay {
    opacity: 0.8;
  }
}


/* Staff */

main 
.main-header{
  text-align:center;padding:3rem 1rem;background:var(--primary);color:#fff
}
.main-header h1{font-size:2.1rem;margin-bottom:.4rem}
.main-header p{color:#e0eaff}

.team-values{
  background:#fff6d9;color:var(--text);text-align:center;max-width:900px;margin:2rem auto;padding:2rem 1.5rem;
  border-radius:16px;box-shadow:var(--shadow-sm)
}
.team-values h2{color:var(--primary);font-size:1.6rem;margin-bottom:.5rem}

.staff-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  justify-items:center;gap:1.6rem;padding:2.4rem 5%;background:#fffbea
}
.staff-card{
  background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);overflow:hidden;text-align:center;
  transition:transform .25s ease, box-shadow .25s ease
}
.staff-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-md)}
.staff-photo{display:flex;justify-content:center;align-items:center;padding:1rem}
.staff-photo img{
  width:180px;height:180px;border-radius:50%;object-fit:cover;border:4px solid #fef9c3;
  box-shadow:0 4px 10px rgba(0,0,0,.08);transition:transform .35s ease,border-color .25s ease, box-shadow .25s ease
}
.staff-card:hover .staff-photo img{transform:scale(1.05);border-color:var(--accent);box-shadow:0 6px 16px rgba(59,130,246,.25)}
.staff-card h3{font-weight:800;color:var(--primary);margin:.6rem 0}
.position{color:var(--accent);font-weight:700;margin:.2rem 0}
.bio{color:var(--text);font-size:.98rem;padding:0 1rem 1.3rem}

/* Testimonials */
.testimonials-container{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.3rem;margin-top:1.3rem
}
.testimonial-card{
  background:#fff;border-radius:16px;box-shadow:var(--shadow-sm);padding:1.6rem 1.2rem;text-align:center;
  transition:transform .25s ease, box-shadow .25s ease
}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.quote-icon{color:var(--primary);font-size:2rem;margin-bottom:.6rem}
.testimonial-card p{color:var(--muted);line-height:1.6;margin-bottom:.8rem}
.testimonial-card strong{color:var(--primary-dark);font-weight:700;display:block}

/* FAQ */
.faq-container{margin-top:1.3rem;display:flex;flex-direction:column;gap:1rem}
.faq-item{background:#fff;border-radius:12px;box-shadow:var(--shadow-sm);overflow:hidden;transition:all .25s ease}
.faq-question{
  width:100%;background:#f8fafc;color:var(--text);font-weight:800;padding:1rem 1.2rem;text-align:left;border:0;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center
}
.faq-question:hover{background:#eef2ff}
.faq-answer{max-height:0;overflow:hidden;background:#fff;transition:max-height .25s ease;padding:0 1.2rem}
.faq-answer p{margin:1rem 0;color:var(--muted)}
.faq-item.active .faq-answer{max-height:300px;padding-bottom:1rem}
.faq-item.active .faq-question{background:#e0f2fe}

/* Tables */
table{width:100%;border-collapse:collapse;margin-top:1rem}
th,td{border:1px solid #e5e7eb;padding:.75rem;text-align:left}
th{background:#f3f4f6;font-weight:800}

/* Schedule page polish */
.schedule-page{background:linear-gradient(to bottom,#f0f5ff,#ffffff);padding:2rem 0 !important;margin:0 !important}
.schedule-page h1{color:var(--primary);font-size:2.1rem;margin-bottom:.8rem}
.schedule-page .intro{color:var(--muted);max-width:800px;margin:0 auto 1.6rem}
.calendar-image,.weekend-image{
  display:flex;justify-content:center;align-items:center;background:#f8fafc;padding:1rem;border-radius:14px;
  box-shadow:var(--shadow-sm);margin:1rem auto;max-width:900px
}
.calendar-image img,.weekend-image img{width:100%;height:auto;border-radius:12px}

/* =================
   FOOTER (Dark navy)
   ================= */
footer{
  background:#0f172a;color:#e5e7eb;padding:2.6rem 2rem;margin-top:auto
}
.footer-content{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:2rem;margin-bottom:1rem;max-width:1100px;margin-left:auto;margin-right:auto
}
.footer-brand p{font-size:.95rem;color:#cbd5e1}
.footer-links h4,.footer-contact h4{margin-bottom:.5rem;color:#fff}
.footer-links ul{list-style:none}
.footer-links li{margin:.25rem 0}
.footer-links a{color:#cbd5e1;text-decoration:none;transition:color .2s ease}
.footer-links a:hover{color:var(--accent)}
.footer-contact p{color:#cbd5e1;font-size:.95rem;margin:.4rem 0;display:flex;align-items:center;gap:.5rem}
.footer-contact i{color:var(--accent);width:20px;text-align:center}
.footer-bottom{text-align:center;border-top:1px solid #1f2937;padding-top:1rem;font-size:.88rem;color:#94a3b8}
.footer-social a{display:inline-block;margin-right:.75rem;color:#fff;font-size:1.2rem;transition:color .25s ease, transform .25s ease}
.footer-social a:hover{color:var(--accent);transform:translateY(-2px)}

/* =========================
   Motion Safety Preferences
   ========================= */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 1000px){
  .hero-bg{align-items:flex-end;padding:0 6% 18vh}
  .hero-bg h1{font-size:clamp(2rem, 1.4rem + 2.2vw, 3rem)}
}
@media (max-width: 600px){
  .hero-bg{padding:0 6% 16vh}
  .hero-bg p{font-size:1rem}
}
/* =========================
   PAGE TOP SPACING + CENTER FIX
   ========================= */
main {
  padding-top: 110px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  display: block; /* back to default block layout */
}

/* Slightly smaller top spacing for mobile */
@media (max-width: 768px) {
  main {
    padding-top: 90px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* Logo container */
header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Logo image */
header .logo img {
  height: 65px;
  transition: height 0.3s ease;
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* reduce space between image and text (default is ~1rem) */
}

/* Stacked text beside logo */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 0.95; /* tighten the vertical space between lines */
  font-family: var(--font-heading);
  font-weight: 800;
}

/* Blue House (top line) */
.logo-line1 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: -5px; /* pull lines closer together */
}

/* Day Program (bottom line) */
.logo-line2 {
  color: #ffffff;
  font-size: 1.4rem;
}

/* Responsive tweak: scale down slightly on mobile */
@media (max-width: 768px) {
  .logo {
    gap: 0.4rem;
  }

  .logo-line1 {
    font-size: 1.2rem;
    margin-bottom: -2px;
  }

  .logo-line2 {
    font-size: 1rem;
  }
}
