/* ===================== Mastermind Special School & Sports Academy ===================== */

:root {
  --pink: #EC1A5E;
  --pink-dark: #C6104A;
  --green: #2EA84A;
  --green-dark: #1F8A3A;
  --blue: #1C6FD6;
  --navy: #0B1C46;
  --navy-2: #122a63;
  --purple: #7A3FA3;
  --orange: #F5871F;
  --teal: #0B9AA3;
  --yellow: #FFC72C;
  --ink: #1c2440;
  --muted: #5b6480;
  --bg-soft: #f6f8fc;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 28, 70, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 28, 70, 0.18);
  --container: 1180px;
  --ff-head: 'Baloo 2', 'Poppins', sans-serif;
  --ff-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 90px 0; }

h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 700; color: var(--navy); line-height: 1.2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  background: linear-gradient(90deg, rgba(236,26,94,0.1), rgba(122,63,163,0.1));
  color: var(--pink);
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.light h2, .section-head.light p { color: #fff; }
.section-head.light p { color: rgba(255,255,255,0.8); }

.gradient-text {
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff;
  box-shadow: 0 10px 25px rgba(236,26,94,0.35);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(236,26,94,0.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 25px rgba(11,28,70,0.3);
}
.btn-navy:hover { background: var(--navy-2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; min-width: 0; flex: 1 1 auto; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.topbar-left a:hover { color: var(--yellow); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.topbar-social a:hover { background: var(--pink); transform: translateY(-2px); }
.topbar-social svg { width: 14px; height: 14px; fill: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 2px 18px rgba(11,28,70,0.06);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(11,28,70,0.14); }
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.brand img { height: 54px; width: auto; flex: 0 0 auto; }
.brand-text { font-family: var(--ff-head); line-height: 1.1; min-width: 0; overflow: hidden; }
.brand-text .name { font-size: 1.25rem; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text .name span { color: var(--green); }
.brand-text .tag { font-size: 0.68rem; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-radius: 3px;
  transition: width 0.25s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-cta .btn { padding: 12px 24px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: var(--navy);
}
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide-media { position: absolute; inset: 0; z-index: 0; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-media.brand-bg { background: linear-gradient(120deg, var(--navy) 0%, #16215c 45%, var(--purple) 100%); }
.slide-media.brand-bg2 { background: linear-gradient(120deg, #0b1c46 0%, var(--teal) 120%); }
.slide-media.brand-bg3 { background: linear-gradient(120deg, var(--navy) 0%, #1a2a5e 50%, var(--pink-dark) 130%); }
.slide-media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 18% 25%, rgba(255,255,255,0.07), transparent 40%),
              radial-gradient(circle at 80% 75%, rgba(255,255,255,0.08), transparent 45%);
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,28,70,0.55) 0%, rgba(11,28,70,0.4) 45%, rgba(11,28,70,0.15) 100%);
  z-index: 1;
}

/* ---------- Hero decorative collage ---------- */
.hero-deco {
  position: absolute; z-index: 2;
  right: 6%; top: 50%; transform: translateY(-50%);
  width: 440px; height: 420px;
  display: none;
}
.hero-photos .ph {
  position: absolute; border-radius: 20px; overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  border: 6px solid rgba(255,255,255,0.18);
}
.hero-photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-photos .ph-1 { width: 230px; height: 290px; top: 10px; left: 60px; transform: rotate(-5deg); z-index: 2; }
.hero-photos .ph-2 { width: 200px; height: 240px; bottom: 10px; right: 10px; transform: rotate(6deg); z-index: 3; border-color: rgba(255,255,255,0.28); }
.hero-blob {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  filter: blur(2px);
}
.hero-blob-1 { width: 130px; height: 130px; top: -20px; right: 40px; }
.hero-blob-2 { width: 90px; height: 90px; bottom: 30px; left: 0; background: rgba(255,199,44,0.18); }

.hero-float-badge {
  position: absolute; z-index: 4;
  background: #fff; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.85rem;
  color: var(--navy);
  white-space: nowrap;
}
.hero-float-badge .emj { font-size: 1.3rem; }
.hero-photos .hero-float-badge { bottom: 40px; left: -10px; }

.hero-icons {
  position: relative; width: 100%; height: 100%;
}
.hero-icons .bubble {
  position: absolute;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.hero-icons .b1 { width: 120px; height: 120px; font-size: 2.8rem; top: 10px; left: 90px; }
.hero-icons .b2 { top: 0; right: 20px; }
.hero-icons .b3 { bottom: 70px; left: 0; }
.hero-icons .b4 { bottom: 0; right: 70px; width: 100px; height: 100px; font-size: 2.4rem; }
.hero-icons .hero-float-badge { top: 50%; left: 10px; transform: translateY(-50%); }

@media (min-width: 1000px) {
  .hero-deco { display: block; }
}
.slide-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 640px;
  min-width: 0;
  padding: 0 24px;
  margin: 0 auto 0 0;
  color: #fff;
}
.slide .container { display: flex; position: relative; height: 100%; align-items: center; }
.slide-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}
.slide-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.slide-content h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 18px;
}
.slide-content h1 em { font-style: normal; color: var(--yellow); }
.slide-content p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  max-width: 520px;
}
.slide-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  transition: background 0.25s;
}
.hero-nav:hover { background: rgba(255,255,255,0.32); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots {
  position: absolute; bottom: 26px; left: 0; right: 0;
  z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.hero-dots button.active { background: var(--yellow); transform: scale(1.25); }

/* ---------- Highlights strip ---------- */
.highlights {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  padding: 26px 0;
  position: relative;
  z-index: 6;
}
.highlights .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.highlight-item {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}
.highlight-item .ic {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.highlight-item b { display: block; font-family: var(--ff-head); font-size: 1rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-media { position: relative; }
.about-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge-float {
  position: absolute;
  bottom: -22px; right: -22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  max-width: 220px;
}
.about-media .badge-float .num { font-family: var(--ff-head); font-size: 1.5rem; color: var(--pink); font-weight: 800; }
.about-media .badge-float .lbl { font-size: 0.78rem; color: var(--muted); font-weight: 600; line-height: 1.2; }
.about-media .deco-ring {
  position: absolute; top: -20px; left: -20px;
  width: 90px; height: 90px;
  border: 6px solid var(--yellow);
  border-radius: 50%;
  z-index: -1;
}

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 18px; }
.about-copy > p { color: var(--muted); margin-bottom: 22px; font-size: 1.05rem; }
.about-pillars { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pillar-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: var(--ff-head);
}
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.about-stats .stat {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
}
.about-stats .stat .num { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.about-stats .stat .lbl { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* ---------- Services ---------- */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid transparent;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .ic {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.7rem;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { font-size: 0.86rem; color: var(--muted); }

/* palette rotation helper classes */
.c-pink   { background: rgba(236,26,94,0.12); color: var(--pink); }
.c-green  { background: rgba(46,168,74,0.12); color: var(--green); }
.c-blue   { background: rgba(28,111,214,0.12); color: var(--blue); }
.c-purple { background: rgba(122,63,163,0.12); color: var(--purple); }
.c-orange { background: rgba(245,135,31,0.12); color: var(--orange); }
.c-teal   { background: rgba(11,154,163,0.12); color: var(--teal); }
.bt-pink { border-top-color: var(--pink); }
.bt-green { border-top-color: var(--green); }
.bt-blue { border-top-color: var(--blue); }
.bt-purple { border-top-color: var(--purple); }
.bt-orange { border-top-color: var(--orange); }
.bt-teal { border-top-color: var(--teal); }

/* ---------- Support conditions ---------- */
.support {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 70px 0;
}
.support-wrap {
  background: var(--navy);
  border-radius: 26px;
  padding: 54px 46px;
  position: relative;
  overflow: hidden;
}
.support-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(236,26,94,0.18), transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(11,154,163,0.22), transparent 40%);
}
.support-head { position: relative; z-index: 1; text-align: center; margin-bottom: 36px; }
.support-badges {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.support-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 20px;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  font-size: 0.92rem;
  transition: background 0.25s, transform 0.25s;
}
.support-badge:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.support-badge .heart { color: var(--pink); }

/* ---------- Facilities ---------- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.facility-card {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.facility-card:hover { transform: translateY(-6px); }
.facility-card .ic {
  width: 74px; height: 74px;
  border-radius: 22px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: #fff;
}
.facility-card h3 { font-size: 1.05rem; }

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.gallery-filters button {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid #e6e9f5;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: 0.25s;
}
.gallery-filters button:hover { border-color: var(--pink); color: var(--pink); }
.gallery-filters button.active {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  border-color: transparent;
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 18px;
}
.gallery-grid .gitem:nth-child(4n+1) { grid-row: span 2; }
.gitem {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gitem:hover img { transform: scale(1.08); }
.gitem .placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; gap: 8px; padding: 12px;
}
.gitem .placeholder .emoji { font-size: 2.2rem; }
.gitem .placeholder .lbl { font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem; }
.gitem .placeholder .sub { font-size: 0.72rem; opacity: 0.85; }
.gitem-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,28,70,0.75), transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.3s;
}
.gitem:hover .gitem-overlay { opacity: 1; }
.gitem-overlay span { color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 0.92rem; }
.gitem-zoom {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--navy);
  opacity: 0; transition: opacity 0.3s;
}
.gitem:hover .gitem-zoom { opacity: 1; }

/* gradient placeholder tones */
.tone-1 { background: linear-gradient(135deg, var(--pink), var(--purple)); }
.tone-2 { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.tone-3 { background: linear-gradient(135deg, var(--orange), var(--pink)); }
.tone-4 { background: linear-gradient(135deg, var(--green), var(--teal)); }
.tone-5 { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.tone-6 { background: linear-gradient(135deg, var(--teal), var(--green)); }
.tone-7 { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.tone-8 { background: linear-gradient(135deg, var(--navy), var(--purple)); }

/* ---------- Video gallery ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.video-thumb .play-btn {
  position: relative; z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--pink);
  transition: transform 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.video-card:hover .play-btn { transform: scale(1.12); }
.video-thumb .veil { position: absolute; inset: 0; background: rgba(11,28,70,0.35); z-index: 1; }
.video-info { padding: 18px 20px; }
.video-info h3 { font-size: 1rem; margin-bottom: 4px; }
.video-info p { font-size: 0.82rem; color: var(--muted); }
.video-info .soon-tag {
  display: inline-block; margin-top: 8px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245,135,31,0.12);
  padding: 4px 10px; border-radius: 50px;
}

/* ---------- Lightbox / Video Modal ---------- */
.lightbox, .video-modal {
  position: fixed; inset: 0;
  background: rgba(6, 12, 30, 0.92);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s;
  padding: 30px;
}
.lightbox.open, .video-modal.open { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; max-width: 880px; width: 100%; text-align: center; }
.lightbox-inner img { max-height: 78vh; margin: 0 auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-caption { color: #fff; margin-top: 16px; font-family: var(--ff-head); }
.modal-close {
  position: absolute; top: -18px; right: -18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; border: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: -60px; } .lb-next { right: -60px; }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; aspect-ratio: 16/9; }
.video-modal-inner iframe { width: 100%; height: 100%; border-radius: 12px; border: none; }
.video-modal-inner .coming-soon {
  width: 100%; height: 100%; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--purple));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; gap: 10px;
}
.video-modal-inner .coming-soon .emoji { font-size: 3rem; }

/* ---------- Enquiry / Contact ---------- */
.contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 38px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(245,135,31,0.25), transparent 45%);
}
.contact-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; position: relative; }
.contact-info > p { color: rgba(255,255,255,0.78); margin-bottom: 30px; position: relative; }
.contact-item {
  display: flex; gap: 16px; margin-bottom: 22px; position: relative;
}
.contact-item .ic {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.contact-item .txt b { display: block; font-family: var(--ff-head); font-size: 0.98rem; margin-bottom: 2px; }
.contact-item .txt span, .contact-item .txt a { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.contact-item .txt a:hover { color: var(--yellow); }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; position: relative; }
.contact-socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: 0.25s;
}
.contact-socials a:hover { background: var(--pink); transform: translateY(-3px); }
.contact-socials svg { width: 17px; height: 17px; fill: #fff; }

.enquiry-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow);
}
.enquiry-form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.enquiry-form > p { color: var(--muted); margin-bottom: 26px; font-size: 0.94rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); font-family: var(--ff-head); }
.field input, .field select, .field textarea {
  border: 1.5px solid #e3e7f4;
  border-radius: 10px;
  padding: 13px 14px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfcff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236,26,94,0.1);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }
.field.error input, .field.error select, .field.error textarea { border-color: #e14b4b; }
.field .err-msg { font-size: 0.76rem; color: #e14b4b; display: none; }
.field.error .err-msg { display: block; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success {
  display: none;
  align-items: center; gap: 14px;
  background: rgba(46,168,74,0.1);
  border: 1px solid rgba(46,168,74,0.35);
  color: var(--green-dark);
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-success.show { display: flex; }
.form-success .tick {
  width: 30px; height: 30px; min-width: 30px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}

/* ---------- Map ---------- */
.map-wrap { margin-top: 60px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { height: 50px; }
.footer-brand .name { font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--ff-head); font-size: 1.02rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-col p { font-size: 0.9rem; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: 0.25s;
}
.footer-social a:hover { background: var(--pink); }
.footer-social svg { width: 15px; height: 15px; fill: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.84rem; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .tagline { font-family: var(--ff-head); color: var(--yellow); font-weight: 600; }

/* ---------- Floating buttons ---------- */
.float-btns { position: fixed; right: 22px; bottom: 26px; z-index: 400; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.25s;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--bg-soft); }
.back-top {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: 0.3s;
  align-self: flex-end;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights .container { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { gap: 8px; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 18px;
    box-shadow: 0 14px 30px rgba(11,28,70,0.15);
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}

@media (max-width: 720px) {
  .section-pad { padding: 60px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights .container { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .gitem:nth-child(4n+1) { grid-row: span 1; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-left span:nth-child(2) { display: none; }
  .slide-content p { font-size: 1rem; }
  .support-wrap { padding: 40px 22px; }
  .hero-nav { display: none; }
  .header-cta .btn-navy { display: none; }
  .header-cta .btn-primary { display: none; }
  .brand img { height: 42px; }
  .brand-text .name { font-size: 1rem; }
  .brand-text .tag { font-size: 0.6rem; }
  .brand-text { max-width: 190px; }
  .slide-actions { flex-direction: column; align-items: stretch; }
  .slide-actions .btn { width: 100%; }
}

@media (max-width: 600px) {
  .topbar { display: none; }
}

@media (max-width: 480px) {
  .services-grid, .facilities-grid, .highlights .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text .tag { display: none; }
  .hero { min-height: 620px; }
  .slide-content h1 { font-size: 1.8rem; }
  .brand-text { max-width: 130px; }
}
