/* =================================================================
   SmartKids - Main Stylesheet
   Converted from Tailwind design system in source.
   Colours, fonts, radii, spacing preserved exactly.
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Inter', sans-serif;
  --background: hsl(39, 60%, 97%);
  --foreground: hsl(216, 47%, 19%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(216, 47%, 19%);
  --primary: hsl(40, 100%, 50%);
  --primary-foreground: hsl(216, 47%, 19%);
  --secondary: hsl(195, 47%, 94%);
  --secondary-foreground: hsl(216, 47%, 19%);
  --muted: hsl(39, 30%, 93%);
  --muted-foreground: hsl(216, 20%, 46%);
  --accent: hsl(342, 83%, 62%);
  --accent-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84.2%, 60.2%);
  --border: hsl(39, 20%, 88%);
  --input: hsl(39, 20%, 88%);
  --ring: hsl(40, 100%, 50%);
  --dark-navy: #1A2B48;
  --radius: 1.25rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { border: 0 solid var(--border); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font-family: inherit; color: inherit; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* === Utility tokens === */
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: white; }
.text-foreground { color: var(--foreground); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--secondary); }
.bg-card { background: var(--card); }
.bg-dark { background: var(--dark-navy); }
.bg-muted { background: var(--muted); }

/* === Page wrapper === */
.page-top { padding-top: 6rem; }
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 1.5rem; }
.section-sm { padding: 4rem 1.5rem; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
.navbar.scrolled,
.navbar.menu-open {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -10px rgba(0,0,0,0.1);
}
.navbar-inner {
  max-width: 80rem; margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-logo img { height: 3.5rem; width: auto; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(26,43,72,0.85);
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--foreground); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--primary);
  border-radius: 999px; transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.btn-call {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-heading); font-weight: 700;
  padding: 0.65rem 1.5rem; border-radius: 999px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.btn-call:hover { transform: scale(1.05); }

/* Hamburger toggle — visible only on mobile */
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 0;
  color: var(--foreground);
  cursor: pointer;
  position: relative; z-index: 52;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle svg { pointer-events: none; }

/* Mobile menu — slides down below navbar */
.mobile-menu {
  display: none;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 24px -6px rgba(0,0,0,0.12);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { padding: 1.25rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu .nav-link { font-size: 1.125rem; padding: 0.85rem 0.25rem; display: block; border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-menu .nav-link:last-of-type { border-bottom: 0; }
.mobile-menu .btn-call { justify-content: center; margin-top: 0.75rem; }

/* Desktop: show nav links, hide hamburger + mobile menu */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-heading); font-weight: 700;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
  cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  padding: 1rem 2rem; font-size: 1.125rem;
  box-shadow: 0 20px 25px -5px rgba(255,180,0,0.3);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-outline {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white; padding: 1rem 2rem; font-size: 1.125rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.btn-sm {
  background: var(--secondary); color: var(--secondary-foreground);
  padding: 0.5rem 1.25rem; font-size: 0.875rem;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-family: var(--font-heading); font-weight: 700;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 1rem; }

/* === HERO SECTION (Home) === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,43,72,0.8), rgba(26,43,72,0.5), transparent);
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}
.hero-blob-1 {
  top: 5rem; right: 5rem; width: 16rem; height: 16rem;
  background: rgba(255,180,0,0.2);
}
.hero-blob-2 {
  bottom: 8rem; right: 10rem; width: 12rem; height: 12rem;
  background: rgba(238,99,148,0.2); animation-delay: 1s;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 80rem; margin: 0 auto;
  padding: 8rem 1.5rem; width: 100%;
}
.hero-inner { max-width: 36rem; animation: fadeUp 0.8s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem; border-radius: 999px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9); font-family: var(--font-heading);
  font-size: 0.875rem; font-weight: 500;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: white; line-height: 1.1; margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--primary); }
.hero-desc {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6; margin-bottom: 2.5rem; max-width: 30rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero-wave svg { width: 100%; display: block; }

/* === SECTION HEADINGS === */
.eyebrow {
  color: var(--primary); font-family: var(--font-heading);
  font-weight: 700; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.eyebrow-accent { color: var(--accent); }
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-top: 0.75rem; margin-bottom: 1.5rem; line-height: 1.2;
}
.section-desc {
  color: var(--muted-foreground); font-size: 1.125rem;
  max-width: 36rem; margin: 0 auto;
}
.text-center { text-align: center; }

/* === ABOUT PREVIEW SECTION === */
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  object-fit: cover; aspect-ratio: 4/3;
  position: relative; z-index: 10;
}
.about-img-overlay {
  position: absolute; bottom: -2rem; right: -0.5rem;
  width: 12rem; z-index: 20;
}
@media (min-width: 768px) { .about-img-overlay { right: -2rem; width: 14rem; } }
.about-img-overlay img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
  border: 4px solid var(--background);
}
.about-img-blob {
  position: absolute; top: -1.5rem; left: -1.5rem;
  width: 8rem; height: 8rem;
  background: rgba(255,180,0,0.2); border-radius: 50%; filter: blur(30px);
}
.about-text p { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.7; }
.about-text p:first-of-type { font-size: 1.125rem; }
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2rem 0;
}
.stat {
  text-align: center; padding: 1rem;
  background: var(--secondary); border-radius: 1rem;
}
.stat-icon { width: 1.5rem; height: 1.5rem; color: var(--primary); margin: 0 auto 0.5rem; }
.stat-value { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; }
.stat-label { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* === SERVICES GRID === */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; background: var(--card);
  border-radius: 2rem; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.5s ease;
}
.service-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transform: translateY(-4px);
}
.service-card-img { position: relative; height: 13rem; overflow: hidden; }
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.service-card:hover .service-card-img img { transform: scale(1.1); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,43,72,0.6), transparent);
}
.service-card-icon {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(255,180,0,0.9);
  padding: 0.75rem; border-radius: 1rem;
  color: var(--primary-foreground);
}
.service-card-body { padding: 1.5rem; }
.service-card-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.service-card-desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }

/* === QUOTE SECTION === */
.quote-section {
  position: relative; padding: 6rem 1.5rem; overflow: hidden;
  background: var(--secondary);
}
.quote-blob-1, .quote-blob-2 {
  position: absolute; border-radius: 50%; filter: blur(60px);
}
.quote-blob-1 {
  top: 0; right: 0; width: 24rem; height: 24rem;
  background: rgba(255,180,0,0.1);
  transform: translate(50%, -50%);
}
.quote-blob-2 {
  bottom: 0; left: 0; width: 16rem; height: 16rem;
  background: rgba(238,99,148,0.1);
  transform: translate(-50%, 50%);
}
.quote-inner { max-width: 56rem; margin: 0 auto; position: relative; z-index: 10; text-align: center; }
.quote-icon { width: 3rem; height: 3rem; color: rgba(255,180,0,0.3); margin: 0 auto 2rem; }
.quote-text {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.6; margin-bottom: 2rem;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.quote-rule { width: 3rem; height: 2px; background: var(--primary); border-radius: 999px; }
.quote-author-name { font-family: var(--font-heading); font-weight: 700; }
.quote-author-role { color: var(--muted-foreground); font-size: 0.875rem; }

/* === GALLERY PREVIEW (HOME) === */
.gallery-preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; grid-auto-rows: 12.5rem;
}
@media (min-width: 768px) {
  .gallery-preview-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 13.75rem; }
}
.gp-tile { position: relative; overflow: hidden; border-radius: 1.5rem; cursor: pointer; }
.gp-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.gp-tile:hover img { transform: scale(1.1); }
.gp-tile::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,43,72,0); transition: background 0.5s;
}
.gp-tile:hover::after { background: rgba(26,43,72,0.3); }
.gp-span-2-2 { grid-column: span 2; grid-row: span 2; }
.gp-span-2 { grid-column: span 2; }

/* === CTA SECTION === */
.cta-section { position: relative; padding: 8rem 1.5rem; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(26,43,72,0.85); }
.cta-inner { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; text-align: center; }
.cta-title { font-size: clamp(1.875rem, 4vw, 3rem); color: white; margin-bottom: 1.5rem; }
.cta-desc { color: rgba(255,255,255,0.7); font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.cta-contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  color: rgba(255,255,255,0.8); margin-top: 3rem;
}
.cta-contacts a, .cta-contacts span {
  display: flex; align-items: center; gap: 0.5rem;
}
.cta-contacts a:hover { color: var(--primary); }

/* === ABOUT PAGE === */
.banner-hero {
  position: relative; padding: 6rem 1.5rem; overflow: hidden;
}
.banner-hero .banner-bg { position: absolute; inset: 0; }
.banner-hero .banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-hero .banner-bg::after { content: ''; position: absolute; inset: 0; background: rgba(26,43,72,0.8); }
.banner-hero-content { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; text-align: center; }
.banner-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: white; margin: 0.75rem 0 1.5rem; }
.banner-hero p { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 36rem; margin: 0 auto; }

.values-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: var(--card); border-radius: 2rem; padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}
.value-card:hover { box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15); }
.value-icon-wrap {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.value-icon-primary { background: rgba(255,180,0,0.1); color: var(--primary); }
.value-icon-accent { background: rgba(238,99,148,0.1); color: var(--accent); }
.value-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }

.vision-mission {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  max-width: 56rem; margin: 0 auto;
}
@media (min-width: 768px) { .vision-mission { grid-template-columns: 1fr 1fr; } }
.vm-card {
  background: var(--card); border-radius: 2rem; padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center;
}

.donation-box {
  background: var(--card); border-radius: 1rem; padding: 1.5rem;
}
.donation-box h4 { margin-bottom: 0.75rem; }
.donation-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.donation-list span {
  font-size: 0.875rem; color: var(--muted-foreground);
  display: flex; align-items: center; gap: 0.5rem;
}
.donation-dot { width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 50%; }

/* === SERVICES PAGE (alternating rows) === */
.service-row {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  align-items: center; margin-bottom: 6rem;
}
@media (min-width: 768px) { .service-row { grid-template-columns: 1fr 1fr; } }
.service-row:last-child { margin-bottom: 0; }
.service-row-reverse .service-row-img { order: 2; }
.service-row-reverse .service-row-text { order: 1; }
@media (max-width: 767px) {
  .service-row-reverse .service-row-img { order: 1; }
  .service-row-reverse .service-row-text { order: 2; }
}
.service-row-img { position: relative; }
.service-row-img img {
  width: 100%; border-radius: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  object-fit: cover; aspect-ratio: 4/3;
}
.service-row-img .icon-badge {
  position: absolute; top: 1.5rem; left: 1.5rem;
  background: var(--primary); padding: 1rem; border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.15);
  color: var(--primary-foreground);
}
.service-features { display: flex; flex-direction: column; gap: 0.75rem; }
.service-feature { display: flex; align-items: center; gap: 0.75rem; }
.service-feature svg { color: var(--primary); flex-shrink: 0; }

/* === GALLERY PAGE === */
.gallery-filter-bar {
  position: sticky; top: 5rem; z-index: 30;
  background: rgba(252,249,242,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.filter-row {
  max-width: 80rem; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.filter-btn {
  padding: 0.625rem 1.5rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem;
  background: var(--card); color: var(--muted-foreground);
  border: 1px solid var(--border); transition: all 0.2s;
}
.filter-btn:hover { background: var(--secondary); }
.filter-btn.active {
  background: var(--primary); color: var(--primary-foreground);
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.gallery-masonry {
  columns: 1; column-gap: 1rem;
}
@media (min-width: 640px) { .gallery-masonry { columns: 2; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 3; } }
.masonry-item {
  break-inside: avoid; cursor: pointer;
  margin-bottom: 1rem;
  position: relative; overflow: hidden; border-radius: 1.5rem;
}
.masonry-item img { width: 100%; height: auto; transition: transform 0.7s; }
.masonry-item:hover img { transform: scale(1.1); }
.masonry-item-caption {
  position: absolute; inset: 0; background: rgba(26,43,72,0);
  display: flex; align-items: flex-end; padding: 1rem;
  transition: background 0.5s;
}
.masonry-item:hover .masonry-item-caption { background: rgba(26,43,72,0.3); }
.masonry-item-caption span {
  color: white; font-family: var(--font-heading); font-weight: 600;
  opacity: 0; transform: translateY(1rem);
  transition: all 0.3s;
}
.masonry-item:hover .masonry-item-caption span { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 1rem; object-fit: contain; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.lightbox-caption { color: rgba(255,255,255,0.7); font-family: var(--font-heading); font-size: 0.875rem; margin-top: 1rem; text-align: center; }
.lightbox-btn {
  position: absolute; color: rgba(255,255,255,0.6);
  padding: 0.75rem; background: rgba(255,255,255,0.1);
  border-radius: 50%; transition: all 0.2s; z-index: 10;
}
.lightbox-btn:hover { color: white; background: rgba(255,255,255,0.2); }
.lightbox-close { top: 1.25rem; right: 1.25rem; padding: 0.5rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 768px) { .lightbox-prev { left: 2rem; } .lightbox-next { right: 2rem; } }

/* Panorama grid */
.panorama-section { padding: 4rem 1.5rem; background: var(--dark-navy); }
.pano-header { text-align: center; margin-bottom: 2.5rem; }
.pano-header h2 { color: white; font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0.5rem 0 0; }
.pano-header p { color: rgba(255,255,255,0.6); margin-top: 0.75rem; }
.pano-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 640px) { .pano-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pano-grid { grid-template-columns: repeat(3, 1fr); } }
.pano-card {
  position: relative; cursor: pointer; border-radius: 1.5rem;
  overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.pano-card:hover { transform: scale(1.02); }
.pano-card img { width: 100%; height: 13rem; object-fit: cover; transition: transform 0.7s; }
.pano-card:hover img { transform: scale(1.05); }
.pano-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.pano-play {
  width: 4rem; height: 4rem; background: rgba(255,180,0,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.pano-card:hover .pano-play { transform: scale(1.1); }
.pano-info { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center; }
.pano-info p { color: white; font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; }
.pano-info small { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.pano-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700;
  padding: 0.25rem 0.75rem; border-radius: 999px;
}

/* Panorama viewer */
.pano-viewer-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: black; display: none;
  flex-direction: column;
}
.pano-viewer-overlay.open { display: flex; }
.pano-viewer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px); z-index: 10;
}
.pano-viewer-canvas { flex: 1; cursor: grab; }
.pano-viewer-canvas:active { cursor: grabbing; }

/* === VIDEO SECTION (gallery) === */
.video-section { padding: 4rem 1.5rem; background: var(--secondary); }
.video-header { text-align: center; margin-bottom: 2.5rem; }
.video-header h2 { font-size: clamp(1.875rem, 4vw, 2.5rem); margin: 0.5rem 0 0; }
.video-header p { color: var(--muted-foreground); margin-top: 0.75rem; }
.video-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card {
  background: white; border-radius: 1.5rem; overflow: hidden;
  cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover { transform: translateY(-4px); box-shadow: 0 20px 35px -10px rgba(0,0,0,0.15); }
.video-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: #1A2B48;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(255, 0, 0, 0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
}
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.1); background: rgba(255, 0, 0, 1); }
.video-play svg { margin-left: 4px; }
.video-info { padding: 1rem 1.25rem 1.25rem; }
.video-info h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.video-info p { color: var(--muted-foreground); font-size: 0.85rem; line-height: 1.5; }

/* Video modal */
.video-modal {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center; justify-content: center; padding: 1.25rem;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  width: 100%; max-width: 64rem;
  aspect-ratio: 16/9;
  background: black; border-radius: 1rem; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.video-modal-frame, .video-modal-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.video-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,0.15); color: white;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.video-modal-close:hover { background: rgba(255,255,255,0.3); }
@media (min-width: 768px) { .video-modal-close { top: 2rem; right: 2rem; } }

/* === CONTACT PAGE === */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem;
  max-width: 80rem; margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 3rem; height: 3rem; background: rgba(255,180,0,0.1);
  border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--primary);
}
.contact-info-label { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-info-value { font-family: var(--font-heading); font-weight: 600; }
.contact-info-value:hover { color: var(--primary); }
.contact-map { margin-top: 2rem; height: 16rem; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-card {
  background: var(--card); border-radius: 2.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}
@media (min-width: 768px) { .contact-form-card { padding: 3rem; } }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-form-card .lead { color: var(--muted-foreground); margin-bottom: 2rem; }

.form-grid-2 {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }
.form-field { margin-bottom: 1.5rem; }
.form-label {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.875rem; margin-bottom: 0.5rem; display: block;
}
.form-control {
  width: 100%; height: 3rem;
  padding: 0 1rem; border: 1px solid var(--input);
  border-radius: 0.75rem; background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none; border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(255,180,0,0.15);
}
textarea.form-control { height: auto; min-height: 8.75rem; padding: 0.75rem 1rem; resize: vertical; line-height: 1.5; }
.form-submit {
  width: 100%; height: 3.5rem;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem;
  border-radius: 999px;
  box-shadow: 0 10px 15px -3px rgba(255,180,0,0.3);
  transition: transform 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.form-submit:hover:not(:disabled) { transform: scale(1.02); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-message { padding: 1rem 1.25rem; border-radius: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.form-message.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-message.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.thank-you {
  text-align: center; padding: 3rem 0;
  animation: scaleIn 0.3s ease-out;
}
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.thank-you-icon {
  width: 5rem; height: 5rem; background: rgba(255,180,0,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: var(--primary);
}
.thank-you h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.thank-you p { color: var(--muted-foreground); }

/* === FOOTER === */
.site-footer {
  background: var(--dark-navy); color: rgba(255,255,255,0.8);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  max-width: 80rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; } }
.footer-logo { height: 4rem; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.6; }
.footer-regno { color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 1rem; }
.footer-h4 { color: white; font-family: var(--font-heading); font-weight: 700; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-links span { color: rgba(255,255,255,0.7); font-size: 0.875rem; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact a, .footer-contact span {
  display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}
.footer-contact a:hover { color: var(--primary); }
.footer-contact svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; font-size: 1rem;
}
.footer-social:hover { background: rgba(255,180,0,0.8); }

.footer-bottom {
  max-width: 80rem; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1rem;
}
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.footer-bottom-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--primary); }
.footer-admin-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  color: rgba(255,255,255,0.2); transition: color 0.3s;
}
.footer-admin-link:hover { color: rgba(255,255,255,0.6); }

/* === STICKY ENROLL BAR === */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: rgba(26,43,72,0.95); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  transform: translateY(100%); opacity: 0;
  transition: all 0.3s ease;
}
.sticky-bar.visible { transform: translateY(0); opacity: 1; }
.sticky-bar-inner {
  max-width: 80rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.sticky-text { display: none; color: rgba(255,255,255,0.8); font-family: var(--font-heading); font-weight: 500; }
@media (min-width: 768px) { .sticky-text { display: block; } }
.sticky-text span { color: var(--primary); }
.sticky-actions { display: flex; align-items: center; gap: 0.75rem; flex: 1; justify-content: center; }
@media (min-width: 768px) { .sticky-actions { flex: none; justify-content: flex-end; } }
.sticky-phone {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading); font-size: 0.875rem; padding: 0.5rem 1rem;
}
.sticky-phone:hover { color: var(--primary); }
.sticky-cta {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font-heading); font-weight: 700;
  padding: 0.625rem 1.5rem; border-radius: 999px;
  font-size: 0.875rem;
  transition: transform 0.2s;
}
.sticky-cta:hover { transform: scale(1.05); }

/* === COOKIE CONSENT BANNER === */
.cookie-consent {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 30rem; z-index: 60;
  background: white; border-radius: 1.25rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: none;
  animation: fadeUp 0.3s ease-out;
}
.cookie-consent.show { display: block; }
@media (min-width: 640px) { .cookie-consent { left: 1.5rem; right: auto; bottom: 1.5rem; } }
.cookie-consent h4 { font-size: 1.05rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.cookie-consent p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.55; margin-bottom: 1rem; }
.cookie-consent p a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-btn {
  padding: 0.55rem 1.25rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem;
  transition: opacity 0.2s, background 0.2s;
}
.cookie-accept { background: var(--primary); color: var(--primary-foreground); flex: 1; }
.cookie-accept:hover { opacity: 0.9; }
.cookie-decline { background: var(--secondary); color: var(--secondary-foreground); }

/* === POLICY PAGES === */
.policy-content { max-width: 56rem; margin: 0 auto; padding: 2rem 0; }
.policy-content h1 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.policy-meta { color: var(--muted-foreground); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy-body { color: var(--foreground); line-height: 1.7; font-size: 1rem; }
.policy-body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; color: var(--foreground); }
.policy-body h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; color: var(--foreground); }
.policy-body p { margin-bottom: 1rem; }
.policy-body ul, .policy-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-body li { margin-bottom: 0.4rem; }
.policy-body a { color: var(--primary); text-decoration: underline; }
.policy-body strong { font-weight: 600; }

/* === 404 PAGE === */
.error-page {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.error-page-inner h1 { font-size: 8rem; line-height: 1; color: var(--primary); }
.error-page-inner h2 { font-size: 2rem; margin: 1rem 0; }
.error-page-inner p { color: var(--muted-foreground); margin-bottom: 2rem; }

/* === ANIMATION ON SCROLL ===
   Content is only hidden when JavaScript is active (html.js class, added
   in the page header). If JS fails to load for any reason, these rules do
   NOT apply and the content stays fully visible instead of showing blank. */
.js .reveal   { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal-l { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal-r { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view, .reveal-l.in-view, .reveal-r.in-view { opacity: 1; transform: none; }

/* === MISC === */
.spinner {
  display: inline-block; width: 1.25rem; height: 1.25rem;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* Responsive tweaks */
@media (max-width: 767px) {
  .section { padding: 4rem 1.25rem; }
  .banner-hero { padding: 5rem 1.25rem; }
  .quote-section { padding: 4rem 1.25rem; }
}
