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

:root {
  --primary: #ed592b;
  --primary-d: #d24820;
  --primary-l: #ff7f59;
  --yellow: #ffb703;
  --orange: #fb8500;
  --blue: #219ebc;
  --l-blue: #8ecae6;
  --green: #80ed99;
  --d-green: #57cc99;
  --white: #ffffff;
  --cream: #fffdf7;
  --gray: #f4f1de;
  --dark: #2a231d;
  --text: #5c4a3d;

  --r-sm: 12px;
  --r-md: 24px;
  --r-lg: 36px;
  --r-xl: 60px;
  --r-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;

  --sh-sm: 0 4px 12px rgba(237, 89, 43, 0.08);
  --sh-md: 0 12px 32px rgba(42, 35, 29, 0.08);
  --sh-box: 6px 6px 0px rgba(42, 35, 29, 0.1);
  --sh-box-hover: 10px 10px 0px rgba(42, 35, 29, 0.15);

  --tr: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.7
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--r-md)
}

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

ul {
  list-style: none
}

h1,
h2,
h3 {
  font-family: 'Fredoka', sans-serif;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.5px
}

h4 {
  font-family: 'Fredoka', sans-serif;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: 0.3px
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700
}

h2 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  font-weight: 600
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600
}

h4 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600
}

p {
  font-size: 1.1rem;
  line-height: 1.8
}

/* ── Utilities ─────────────────────────────────────────── */
.section {
  padding: 100px 0
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.text-center {
  text-align: center
}



/* Background Patterns */
.bg-grid {
  background-image: linear-gradient(rgba(237, 89, 43, 0.05) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(237, 89, 43, 0.05) 1.5px, transparent 1.5px);
  background-size: 40px 40px
}

/* ── Section Header ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative
}

.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: var(--r-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  box-shadow: var(--sh-box);
  transform: rotate(-2deg)
}

.section-title {
  color: var(--primary);
  margin-bottom: 16px
}

.section-title b {
  color: var(--blue)
}

.section-sub {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto;
  font-weight: 500
}

/* ── Animations ────────────────────────────────────────── */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-15px) rotate(2deg)
  }
}

@keyframes float-rev {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(15px) rotate(-2deg)
  }
}

@keyframes blobWave {

  0%,
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%
  }

  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%
  }
}

@keyframes walk {
  0% {
    transform: rotate(3deg)
  }

  50% {
    transform: rotate(-3deg)
  }

  100% {
    transform: rotate(3deg)
  }
}

@keyframes driftCloud {
  0% {
    transform: translateX(-10vw)
  }

  100% {
    transform: translateX(110vw)
  }
}

@keyframes spinStar {
  0% {
    transform: rotate(0deg) scale(1)
  }

  50% {
    transform: rotate(180deg) scale(1.2)
  }

  100% {
    transform: rotate(360deg) scale(1)
  }
}

@keyframes bounceSoft {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-20px)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s cubic-bezier(0.16, 1, 0.3, 1)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* Floating Decorative Elements */
.float-shape {
  position: absolute;
  z-index: 2;
  pointer-events: none
}

.fs-1 {
  animation: float 6s infinite ease-in-out;
  width: 40px;
  height: 40px
}

.fs-2 {
  animation: float-rev 8s infinite ease-in-out;
  width: 60px;
  height: 60px
}

.fs-3 {
  animation: bounceSoft 4s infinite ease-in-out;
  width: 50px;
  height: 50px
}

.fs-star {
  animation: spinStar 12s infinite linear;
  width: 35px;
  height: 35px
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 34px;
  border-radius: var(--r-xl);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--tr);
  box-shadow: var(--sh-box);
  position: relative;
  overflow: hidden
}

.btn:hover {
  transform: translate(-2px, -4px);
  box-shadow: var(--sh-box-hover)
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0)
}

.btn-primary {
  background: var(--primary);
  color: #fff
}

.btn-primary:hover {
  background: var(--primary-d)
}

.btn-blue {
  background: var(--blue);
  color: #fff
}

.btn-blue:hover {
  background: #1d8ea9
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark)
}

.btn-yellow:hover {
  background: #eaaa00
}

/* ── Announcement ───────────────────────────────────────── */
.ann-bar {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Quicksand', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  position: relative;
  z-index: 1001
}

.ann-bar strong {
  color: var(--yellow);
  font-weight: 700
}

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 3px solid var(--gray);
  transition: all .3s
}

.navbar.scrolled {
  background: rgba(255, 253, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05)
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0
}

.nav-logo img {
  height: 65px;
  width: auto;
  object-fit: contain
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px
}

.nav-item {
  position: relative
}

.nav-link {
  padding: 10px 18px;
  border-radius: var(--r-xl);
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--dark);
  transition: var(--tr)
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray)
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px;
  font-size: 1rem;
  box-shadow: 4px 4px 0px rgba(42, 35, 29, 0.1)
}

.nav-cta:hover {
  box-shadow: 6px 6px 0px rgba(42, 35, 29, 0.15)
}

/* Dropdown Menu */
.has-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  white-space: nowrap;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: 10px 0;
  margin-top: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1050;
  border: 2px solid var(--gray);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: var(--white);
  transform: rotate(45deg);
  border-left: 2px solid var(--gray);
  border-top: 2px solid var(--gray);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  color: var(--dark);
  transition: var(--tr);
}

.dropdown-link:hover {
  background: var(--gray);
  color: var(--primary);
  padding-left: 26px;
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  z-index: 1100
}

.hamburger span {
  display: block;
  width: 30px;
  height: 4px;
  background: var(--primary);
  border-radius: 10px;
  transition: var(--tr)
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px)
}

/* ── Hero Slider ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background-color: var(--cream);
  margin-bottom: 0
}

/* Animated Clouds Background */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 60px;
  background: #fff;
  border-radius: 50px;
  opacity: 0.6;
  z-index: 1;
  animation: driftCloud linear infinite;
  pointer-events: none;
  box-shadow: var(--sh-sm)
}

.hero::before {
  top: 15%;
  animation-duration: 45s;
}

.hero::after {
  top: 50%;
  width: 200px;
  height: 80px;
  animation-duration: 65s;
  animation-delay: -20s;
  opacity: 0.4;
  background: var(--gray)
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: top .9s ease-in-out, opacity .8s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 5%;
  z-index: 1
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2
}

/* Background image overlay per slide */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
  filter: blur(4px);
  transform: scale(1.1);
  transition: transform 6s linear
}

.hero-slide.active .slide-bg {
  transform: scale(1)
}

/* Decorative blob in each slide */
.hs-deco {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: var(--r-blob);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: blobWave 15s infinite linear
}

.hs-1 .hs-deco {
  background: var(--yellow);
  animation-duration: 12s
}

.hs-2 .hs-deco {
  background: var(--blue);
  animation-duration: 18s;
  animation-direction: reverse
}

.hs-3 .hs-deco {
  background: var(--primary);
  animation-duration: 14s
}

.hs-content {
  position: relative;
  z-index: 3
}

.hs-content h1 {
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  margin-bottom: 24px;
  color: var(--dark);
  transform: translateY(40px);
  opacity: 0;
  transition: all .8s ease .1s;
  line-height: 1.15
}

.hs-content h1 span {
  color: var(--primary);
  display: inline-block;
  position: relative
}

.hs-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--yellow);
  z-index: -1;
  opacity: 0.6;
  border-radius: 10px;
  transform: rotate(-2deg)
}

.hs-content p {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 40px;
  color: var(--text);
  max-width: 540px;
  transform: translateY(40px);
  opacity: 0;
  transition: all .8s ease .2s
}

.hs-btns {
  display: flex;
  gap: 18px;
  transform: translateY(40px);
  opacity: 0;
  transition: all .8s ease .3s
}

.hero-slide.active .hs-content h1,
.hero-slide.active .hs-content p,
.hero-slide.active .hs-btns {
  transform: translateY(0);
  opacity: 1
}

/* Right visual block */
.hs-visual {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(50px);
  opacity: 0;
  transition: all .9s ease .2s
}

.hero-slide.active .hs-visual {
  transform: translateX(0);
  opacity: 1
}

.hsv-wrap {
  position: relative;
  width: 90%;
  height: 90%
}

.hsv-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-blob);
  border: 12px solid #fff;
  box-shadow: var(--sh-md);
  animation: float 8s infinite ease-in-out
}

.hsv-badge {
  position: absolute;
  background: var(--yellow);
  padding: 16px 28px;
  border-radius: var(--r-xl);
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--sh-box);
  display: flex;
  align-items: center;
  gap: 12px;
  top: 20%;
  left: -40px;
  transform: rotate(-8deg);
  z-index: 3;
  animation: walk 1.5s infinite
}

.hsv-badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none
}

.hsv-badge-2 {
  top: auto;
  bottom: 10%;
  left: auto;
  right: -30px;
  background: #fff;
  color: var(--blue);
  animation: walk 1.8s infinite reverse
}

.hsv-badge-2 svg {
  stroke: var(--blue)
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10
}

.sn-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(42, 35, 29, 0.2);
  cursor: pointer;
  transition: var(--tr);
  border: none;
  outline: none
}

.sn-dot:hover {
  background: rgba(42, 35, 29, 0.4)
}

.sn-dot.active {
  background: var(--primary);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(237, 89, 43, 0.3)
}

/* ── Stats ──────────────────────────────────────────────── */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
  z-index: 11;
  margin-top: 0;
  border-radius: 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto
}

.stat-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px 20px;
  border-radius: var(--r-lg);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--sh-box)
}

.stat-num {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1)
}

.stat-lbl {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 1px;
  text-transform: uppercase
}

/* ── Ticker ─────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--blue);
  overflow: hidden;
  padding: 16px 0;
  border-bottom: 4px solid #1a839c;
  border-top: 4px solid #1a839c
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.ticker-item {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: .5px
}

.ticker-dot {
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border-radius: 50%;
  border: 2px solid #fff
}

/* ── About ──────────────────────────────────────────────── */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden
}

.about.bg-grid {
  background-color: #fff
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center
}

.about-img-wrap {
  position: relative
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) var(--r-sm);
  border: 12px solid var(--gray);
  box-shadow: var(--sh-box)
}

.about-img-deco {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: var(--primary);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px
}

.ab-feat {
  background: var(--cream);
  padding: 20px;
  border-radius: var(--r-md);
  border: 2px solid var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--tr)
}

.ab-feat:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--l-blue)
}

.ab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.ab-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--dark);
  stroke-width: 2.5
}

.ab-text h4 {
  font-size: 1.15rem;
  margin-bottom: 4px
}

.ab-text p {
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text)
}

/* ── Why Choose Us ──────────────────────────────────────── */
.why {
  background: var(--gray);
  border-radius: var(--r-xl);
  margin: 40px;
  padding: 80px 40px
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center
}

.why-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--r-lg);
  border: 4px solid var(--white);
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: var(--tr);
  position: relative;
  z-index: 1;
  flex: 1 1 280px;
  max-width: 360px
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: calc(var(--r-lg) - 4px);
  z-index: -1;
  transition: var(--tr)
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--sh-box)
}

.why-icon {
  width: 80px;
  height: 80px;
  background: var(--cream);
  border-radius: var(--r-blob);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 3px solid var(--gray)
}

.why-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  stroke-width: 2.5
}

.why-card:hover .why-icon {
  background: var(--yellow);
  border-color: var(--yellow);
  animation: walk 1s infinite
}

.why-card:hover .why-icon svg {
  stroke: var(--dark)
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem
}

/* ── Programs ───────────────────────────────────────────── */
.programs {
  background: var(--cream)
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px
}

.prog-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 4px solid var(--gray);
  overflow: hidden;
  transition: var(--tr);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column
}

.prog-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--blue);
  box-shadow: var(--sh-box)
}

.prog-img {
  height: 300px;
  position: relative;
  overflow: hidden
}

.prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .5s
}

.prog-card:hover .prog-img img {
  transform: scale(1.08)
}

.prog-age {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--r-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15)
}

.prog-body {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column
}

.prog-body h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px
}

.prog-title-link {
  color: var(--primary);
  font-family: 'Fredoka', sans-serif;
  transition: var(--tr)
}

.prog-title-link:hover {
  color: var(--blue);
  text-decoration: underline
}

.prog-body p {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1
}

.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: auto;
  transition: var(--tr)
}

.prog-link svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  transition: var(--tr)
}

.prog-link:hover {
  gap: 14px;
  color: var(--primary)
}

.prog-link:hover svg {
  stroke: var(--primary)
}

/* ── Facilities/Photos ──────────────────────────────────── */
.gallery {
  background: var(--white)
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 220px 220px;
  gap: 20px
}

.gal-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  border: 6px solid var(--cream);
  box-shadow: var(--sh-sm)
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--tr)
}

.gal-item:hover img {
  transform: scale(1.05)
}

.gal-1 {
  grid-column: 1/5;
  grid-row: 1/3
}

.gal-2 {
  grid-column: 5/9;
  grid-row: 1/2
}

.gal-3 {
  grid-column: 9/13;
  grid-row: 1/3
}

.gal-4 {
  grid-column: 5/9;
  grid-row: 2/3
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(237, 89, 43, 0.8), transparent 70%);
  opacity: 0;
  transition: var(--tr);
  display: flex;
  align-items: flex-end;
  padding: 20px
}

.gal-item:hover .gal-overlay {
  opacity: 1
}

.gal-text {
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  transform: translateY(10px);
  transition: var(--tr)
}

.gal-item:hover .gal-text {
  transform: translateY(0)
}

/* ── Events ─────────────────────────────────────────────── */
.events {
  background: var(--l-blue);
  padding: 100px 0;
  position: relative;
  overflow: hidden
}

.events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--cream);
  border-radius: 0 0 50% 50%/0 0 100% 100%
}

.evt-card {
  background: #fff;
  border-radius: var(--r-lg);
  display: flex;
  overflow: hidden;
  box-shadow: var(--sh-box);
  border: 4px solid var(--white)
}

.evt-img {
  width: 45%;
  position: relative
}

.evt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0
}

.evt-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm)
}

.evt-day {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px
}

.evt-mon {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase
}

.evt-content {
  padding: 50px;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.evt-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'Fredoka', sans-serif;
  padding: 6px 16px;
  border-radius: var(--r-xl);
  font-size: .9rem;
  margin-bottom: 16px;
  align-self: flex-start
}

.evt-content h3 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--dark)
}

.evt-content p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text)
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section {
  background: var(--gray)
}

.testi-slider {
  position: relative;
  min-height: 320px;
  margin-bottom: 30px
}

.testi-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
  display: flex;
  justify-content: center
}

.testi-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative
}

.testi-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 50px 60px;
  max-width: 820px;
  width: 100%;
  box-shadow: var(--sh-md);
  border: 3px solid var(--white);
  position: relative;
  text-align: center
}

.testi-quote {
  position: absolute;
  top: -20px;
  left: 40px;
  font-family: 'Fredoka', sans-serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--yellow);
  opacity: 0.5;
  pointer-events: none
}

.testi-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1
}

.testi-stars {
  color: var(--yellow);
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: 24px
}

.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px
}

.testi-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--sh-box)
}

.testi-info {
  text-align: left
}

.testi-info strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.2rem;
  color: var(--dark)
}

.testi-info span {
  font-size: .95rem;
  color: var(--text);
  opacity: 0.8
}

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px
}

.testi-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(42, 35, 29, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--tr)
}

.testi-dot.active {
  background: var(--primary);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(237, 89, 43, 0.3)
}

.testi-controls {
  display: flex;
  justify-content: center;
  gap: 16px
}

.testi-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  box-shadow: var(--sh-sm)
}

.testi-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--sh-box)
}

.testi-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--dark);
  transition: var(--tr)
}

.testi-btn:hover svg {
  stroke: #fff
}

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  margin: 60px auto;
  max-width: 1000px;
  background: var(--primary);
  border-radius: var(--r-xl);
  padding: 70px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-box);
  border: 6px solid #ff7f59
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2
}

.cta-banner p {
  color: #fff;
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2
}

.cta-deco-1 {
  position: absolute;
  top: -40px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1
}

.cta-deco-2 {
  position: absolute;
  bottom: -60px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--dark);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: #fff;
  padding: 80px 0 30px;
  border-top: 10px solid var(--primary)
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px
}

.f-logo img {
  height: 70px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px
}

.f-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px
}

.f-socials {
  display: flex;
  gap: 12px
}

.fs-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  color: #fff
}

.fs-icon:hover {
  background: var(--yellow);
  color: var(--dark);
  transform: translateY(-5px)
}

.fs-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor
}

.footer h4 {
  color: var(--yellow);
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
  display: inline-block
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px
}

.f-links li {
  margin-bottom: 12px
}

.f-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  transition: var(--tr)
}

.f-links a:hover {
  color: var(--primary);
  padding-left: 8px
}

.f-contact li {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem
}

.f-contact i {
  color: var(--primary);
  margin-top: 4px
}

.f-contact svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none
}

.f-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--tr)
}

.f-contact a:hover {
  color: var(--yellow)
}

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: .95rem
}

.f-bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
  transition: var(--tr)
}

.f-bottom a:hover {
  color: var(--white)
}

/* ── Responsive ─────────────────────────────────────────── */
@media(max-width:1024px) {
  .hero-slide {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0 3%
  }

  .hs-content h1 {
    font-size: 3.5rem
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .stats-grid,
  .why-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .evt-card {
    flex-direction: column
  }

  .evt-img,
  .evt-content {
    width: 100%
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* Hero paragraph: short on mobile, full on desktop */
.hs-p-mobile { display: none; }
.hs-p-desktop { display: block; }

@media(max-width:768px) {
  .container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 85vh;
    height: auto;
    padding-bottom: 50px
  }

  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
    align-items: start;
    gap: 0;
  }

  /* Swap hero paragraphs on mobile */
  .hs-p-mobile { display: block !important; }
  .hs-p-desktop { display: none !important; }


  .hs-content h1 {
    font-size: 2rem !important;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .hs-content p {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin: 0 auto 18px;
  }

  .hs-btns {
    justify-content: center;
  }

  .hs-visual {
    height: 280px;
    margin-top: 10px;
  }

  .hsv-badge {
    top: 5%;
    left: 10px;
    transform: rotate(-4deg);
    font-size: 1rem;
    padding: 12px 20px
  }

  .hsv-badge-2 {
    display: none
  }

  .nav-menu {
    display: none
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 3px solid var(--gray);
    border-bottom: 3px solid var(--gray);
    padding: 16px 20px 24px;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08)
  }

  .nav-menu.open .nav-link {
    width: 100%;
    border-radius: var(--r-sm);
    padding: 12px 16px
  }

  .nav-menu.open .btn.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    justify-content: center
  }

  .nav-menu.open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 4px solid var(--l-blue);
    margin-left: 16px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding: 4px 0;
    background: transparent
  }

  .hamburger {
    display: flex
  }

  .navbar {
    position: relative
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .why {
    margin: 20px;
    padding: 40px 20px
  }

  .why-grid,
  .programs-grid {
    grid-template-columns: 1fr
  }

  .gal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto
  }

  .gal-item {
    grid-column: 1/-1 !important;
    grid-row: auto !important;
    height: 250px
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .f-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center
  }
}

/* ── Accordion ─────────────────────────────────────────── */
.custom-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.custom-accordion details {
  background: var(--white);
  border-radius: var(--r-md);
  border: 2px solid var(--gray);
  box-shadow: var(--sh-sm);
  transition: var(--tr);
  overflow: hidden;
}

.custom-accordion details:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--l-blue);
}

.custom-accordion details[open] {
  border-color: var(--blue);
  box-shadow: var(--sh-box);
  transform: translateY(-4px);
}

.custom-accordion summary {
  padding: 24px 30px;
  cursor: pointer;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 600;
  transition: var(--tr);
  position: relative;
}

.custom-accordion summary::-webkit-details-marker {
  display: none;
}

.custom-accordion summary:hover {
  color: var(--primary);
}

.acc-icon-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.acc-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.acc-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: var(--tr);
}

.custom-accordion details[open] .acc-toggle {
  background: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}

.acc-content {
  padding: 0 30px 30px 100px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  animation: sweep .4s ease-in-out;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-top: -10px
  }

  100% {
    opacity: 1;
    margin-top: 0px
  }
}

@media(max-width: 768px) {
  .acc-content {
    padding: 0 20px 24px 20px;
  }

  .custom-accordion summary {
    padding: 20px;
    font-size: 1.2rem;
  }

  .acc-icon-wrap {
    gap: 12px;
  }
}

/* ══════════════════════════════════════════════
   EXTENDED MOBILE RESPONSIVE — All Pages
   ══════════════════════════════════════════════ */

/* ── Department Page Hero Banner ─────────────── */
@media(max-width: 768px) {
  /* Page header banners */
  .page-header,
  section[style*="min-height: 400px"],
  section[style*="min-height:400px"] {
    min-height: 280px !important;
    padding: 60px 20px 40px !important;
  }

  /* Department hero h1 */
  section[class*="page-header"] h1,
  .hero-dept h1 {
    font-size: 2rem !important;
  }

  /* ── Flex rows used in dept pages ── */
  /* "display: flex; flex-wrap: wrap" layouts already wrap,
     but let's fix the min-width so they stack cleanly */
  div[style*="flex-wrap: wrap"] > div[style*="min-width: 300px"],
  div[style*="flex-wrap: wrap"] > div[style*="min-width: 350px"],
  div[style*="flex-wrap: wrap"] > div[style*="min-width:300px"],
  div[style*="flex-wrap: wrap"] > div[style*="min-width:350px"] {
    min-width: 100% !important;
    flex: 1 1 100% !important;
  }

  /* ── Department icon card grid ── */
  .dep-icon-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Gallery grids ── */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(300px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: repeat(auto-fit, minmax(400px"] {
    grid-template-columns: 1fr !important;
  }

  /* Gallery image heights */
  div[style*="height: 300px"][style*="border-radius: var(--r-md)"],
  div[style*="height: 400px"][style*="border-radius: var(--r-md)"] {
    height: 220px !important;
  }

  /* ── Hero slide 2: floating before card ── */
  #baSlider,
  div[style*="home-before"] {
    display: none;
  }

  /* ── About page flex layouts ── */
  div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 60px"],
  div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 50px"],
  div[style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 40px"] {
    flex-direction: column !important;
    gap: 30px !important;
  }

  /* About page image max width */
  div[style*="max-width: 420px"],
  div[style*="max-width:420px"] {
    max-width: 100% !important;
  }

  /* ── Events grid ── */
  div[style*="grid-template-columns: repeat(auto-fill, minmax(320px"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Booktour / Contact two-col layouts ── */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns: 0.8fr 1.2fr"],
  div[style*="grid-template-columns: 1fr 2fr"],
  div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Vision Mission / About info cards ── */
  div[style*="grid-template-columns: repeat(auto-fit, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns: repeat(auto-fit, minmax(260px"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Testimonial slider tweaks ── */
  .testi-card {
    padding: 30px 20px !important;
  }

  /* ── Floating before-card on hero slide 2 ── */
  .hsv-wrap > div[style*="position: absolute"][style*="left: -18%"] {
    display: none !important;
  }

  /* ── Section padding ── */
  .section {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }

  /* ── Why section ── */
  .why {
    margin: 10px;
    padding: 36px 16px;
  }

  /* ── Programs section h3 ── */
  .prog-body h3 {
    font-size: 1.3rem;
  }

  /* ── Contact info blocks ── */
  div[style*="display: flex"][style*="align-items: center"][style*="gap: 16px"],
  div[style*="display: flex"][style*="align-items: center"][style*="gap: 20px"] {
    flex-wrap: wrap;
  }

  /* ── Booktour form ── */
  form[style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Tag pill ── */
  .tag {
    font-size: 0.85rem;
    padding: 6px 16px;
  }

  /* ── Section header titles ── */
  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.4rem) !important;
  }

  /* ── Testi controls ── */
  .testi-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* ── Extra small screens (≤ 480px) ─────────────── */
@media(max-width: 480px) {
  h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-slide {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hs-visual {
    height: 280px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  .prog-img {
    height: 200px;
  }

  /* Dept pages: text size */
  p[style*="font-size: 1.15rem"],
  p[style*="font-size: 1.1rem"] {
    font-size: 1rem !important;
  }

  /* Why section 1-col */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Events card image height */
  div[style*="height: 220px"] {
    height: 180px !important;
  }
}