/*
Theme Name: Reliance Animation Academy Patna
Theme URI: https://relianceanimationpatna.com
Author: Reliance Animation Academy Patna
Description: Premium mobile-first WordPress theme — foreground hero slider, gallery, full Customizer editing. Animation, VFX, Gaming, Graphics & Film Making.
Version: 3.0.0
Requires at least: 5.9
Tested up to: 6.5
Text Domain: rap
*/

/* ─────────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────────── */
:root {
  --primary:       #2757a4;
  --primary-dark:  #1b3f7e;
  --primary-light: #3a6fc4;
  --accent:        #f5a623;
  --accent-dark:   #d4880f;
  --white:         #ffffff;
  --text:          #1a1a2e;
  --text-muted:    #6c757d;
  --bg-light:      #f4f7fc;
  --border:        #e0e7f0;

  --font-h: 'Montserrat', sans-serif;
  --font-b: 'Open Sans', sans-serif;

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill:50px;

  --sh-sm: 0 2px 10px rgba(39,87,164,.08);
  --sh-md: 0 8px 28px rgba(39,87,164,.13);
  --sh-lg: 0 20px 56px rgba(39,87,164,.18);

  --tr: all .25s ease;
  --hdr-h: 76px;
}

/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  color: var(--text);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: var(--tr); }
ul  { list-style: none; margin: 0; padding: 0; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ─────────────────────────────────────────────
   UTILITIES
───────────────────────────────────────────── */
.section-pad    { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
@media (max-width: 768px) {
  .section-pad    { padding: 50px 0; }
  .section-pad-sm { padding: 32px 0; }
}

.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(39,87,164,.10); color: var(--primary);
  font-family: var(--font-h); font-weight: 700;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill);
}
.section-tag.light { background: rgba(255,255,255,.15); color: #fff; }

.section-title {
  font-family: var(--font-h); font-weight: 900;
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  line-height: 1.15; color: var(--text);
}
.section-desc { color: var(--text-muted); font-size: .93rem; max-width: 600px; margin: 10px auto 0; }
.highlight  { color: var(--primary); }
.divider-line { width: 56px; height: 4px; background: var(--accent); border-radius: 4px; margin: 12px 0; }
.divider-line.center { margin: 14px auto; }

/* ─────────────────────────────────────────────
   SHARED BUTTONS
───────────────────────────────────────────── */
.enroll-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important; font-family: var(--font-h); font-weight: 800;
  font-size: .88rem; padding: 13px 26px; border-radius: var(--r-pill);
  box-shadow: 0 4px 18px rgba(245,166,35,.35); transition: var(--tr);
  white-space: nowrap;
}
.enroll-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(245,166,35,.48); color: #fff !important; }
.btn-pri {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important; font-family: var(--font-h); font-weight: 700;
  font-size: .85rem; padding: 12px 24px; border-radius: var(--r-pill); transition: var(--tr);
}
.btn-pri:hover { transform: translateY(-2px); box-shadow: var(--sh-md); color: #fff !important; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary) !important; font-family: var(--font-h); font-weight: 700;
  font-size: .85rem; padding: 11px 22px; border-radius: var(--r-pill);
  border: 2px solid var(--primary); transition: var(--tr);
}
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff !important; font-family: var(--font-h); font-weight: 700;
  font-size: .85rem; padding: 11px 22px; border-radius: var(--r-pill);
  border: 2px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); transition: var(--tr);
}
.btn-outline-white:hover { background: rgba(255,255,255,.22); border-color: #fff; color: #fff !important; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff !important; font-family: var(--font-h); font-weight: 700;
  font-size: .85rem; padding: 11px 20px; border-radius: var(--r-pill); transition: var(--tr);
}
.wa-btn:hover { background: #1ebe5c; transform: translateY(-2px); color: #fff !important; }

/* ─────────────────────────────────────────────
   TOP BAR
───────────────────────────────────────────── */
.top-bar { background: var(--primary-dark); height: 40px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; }
.top-bar-left a, .top-bar-right a, .top-bar-right span {
  color: rgba(255,255,255,.8); font-size: .73rem;
  display: flex; align-items: center; gap: 5px; transition: var(--tr);
}
.top-bar-left a i, .top-bar-right span i { color: var(--accent); font-size: .68rem; }
.top-bar-left a:hover, .top-bar-right a:hover { color: #fff; }

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; height: var(--hdr-h);
  display: flex; align-items: center;
  box-shadow: var(--sh-sm); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--sh-md); }
.header-inner { display: flex; align-items: center; gap: 16px; width: 100%; }

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 52px; width: auto; }
.logo-text  { display: flex; align-items: center; gap: 10px; }
.logo-icon  {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.logo-words  { display: flex; flex-direction: column; line-height: 1.1; }
.logo-primary   { font-family: var(--font-h); font-weight: 900; font-size: 1.12rem; color: var(--primary); }
.logo-secondary { font-family: var(--font-h); font-weight: 600; font-size: .58rem; color: var(--text-muted); letter-spacing: .02em; }

/* Desktop nav */
.desktop-nav { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-list    { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--font-h); font-weight: 700; font-size: .81rem;
  color: var(--text); padding: 8px 13px; border-radius: var(--r-md);
  transition: var(--tr); white-space: nowrap;
}
.nav-list > li > a i { font-size: .58rem; transition: transform .2s; }
.nav-list > li > a:hover,
.nav-list > li.current > a { color: var(--primary); background: rgba(39,87,164,.06); }
/* Dropdown */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover > a i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  border: 1px solid var(--border); min-width: 230px;
  opacity: 0; visibility: hidden; transition: all .2s ease; padding: 6px 0; z-index: 999;
}
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: .81rem; font-weight: 600; color: var(--text); transition: var(--tr);
}
.dropdown li a i { color: var(--primary); width: 16px; }
.dropdown li a:hover { background: var(--bg-light); color: var(--primary); padding-left: 22px; }
.dropdown li:not(:last-child) { border-bottom: 1px solid var(--border); }
/* Enroll button */
.header-cta { flex-shrink: 0; }
/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--bg-light); margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--tr); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1199px) { .desktop-nav { display: none; } .hamburger { display: flex; } }
@media (max-width: 767px)  {
  :root { --hdr-h: 62px; }
  .logo-secondary { display: none; }
  .logo-primary   { font-size: .98rem; }
  .logo-icon      { width: 38px; height: 38px; font-size: .95rem; }
}

/* ─────────────────────────────────────────────
   MOBILE NAV DRAWER
───────────────────────────────────────────── */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.48); z-index: 1100; backdrop-filter: blur(2px);
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: min(320px, 88vw); height: 100dvh;
  background: #fff; z-index: 1200;
  overflow-y: auto; transition: right .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.mobile-nav.open { right: 0; }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.mobile-logo { display: flex; align-items: center; gap: 10px; }
.mobile-logo .logo-primary  { color: #fff; font-size: .95rem; }
.mobile-logo .logo-secondary { color: rgba(255,255,255,.65); font-size: .58rem; }
.mobile-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-contact {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 18px; background: var(--bg-light); border-bottom: 1px solid var(--border);
}
.mobile-nav-contact a { display: flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: var(--primary); }
.mobile-menu { flex: 1; padding: 6px 0; }
.mobile-menu li a, .mobile-menu li .mobile-sub-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 20px; font-family: var(--font-h); font-weight: 700; font-size: .86rem;
  color: var(--text); border-bottom: 1px solid var(--border); transition: var(--tr);
}
.mobile-menu li a i:first-child,
.mobile-menu li .mobile-sub-toggle i:first-child { color: var(--primary); width: 18px; }
.mobile-menu li a i.fa-chevron-down { margin-left: auto; font-size: .62rem; transition: transform .2s; }
.mobile-menu li a:hover, .mobile-menu li .mobile-sub-toggle:hover { background: var(--bg-light); color: var(--primary); }
.mobile-sub-toggle[aria-expanded="true"] i.fa-chevron-down { transform: rotate(180deg); }
.mobile-sub { display: none; background: var(--bg-light); }
.mobile-sub.open { display: block; }
.mobile-sub li a { padding: 10px 20px 10px 42px; font-size: .8rem; border-bottom: 1px solid var(--border); }
.mobile-nav-cta {
  padding: 14px 18px; display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--border); background: var(--bg-light);
}
.wa-btn-mobile {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff !important; font-family: var(--font-h); font-weight: 700;
  font-size: .84rem; padding: 11px 20px; border-radius: var(--r-pill);
}

/* ─────────────────────────────────────────────
   HERO SLIDER — FULL SCREEN, MOBILE FRIENDLY
───────────────────────────────────────────── */

/* ── Section wrapper ─────────────────────── */
.hero-section { position: relative; overflow: hidden; }

/* ── Carousel stack must fill defined height ─ */
#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item { height: 100%; }

/* ── Each slide ───────────────────────────── */
.hero-slide {
  /* Height ladder: desktop → tablet → mobile */
  height: 88vh;         /* desktop default   */
  min-height: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: block;
}

/* ── The cover image (much more reliable than background-image on mobile) ─── */
.hero-full-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills slide, crops cleanly on any ratio */
  object-position: center;
  display: block;
  pointer-events: none;
  /* no border-radius — full bleed edge to edge */
}

/* ── Branded placeholder (no image uploaded) ─ */
.hero-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-ph-inner {
  text-align: center; padding: 24px 20px;
}
.hero-ph-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--accent);
  margin: 0 auto 16px;
}
.hero-ph-title {
  font-family: var(--font-h); font-weight: 800; font-size: 1.1rem;
  color: #fff; margin-bottom: 8px;
}
.hero-ph-sub {
  font-size: .8rem; color: rgba(255,255,255,.6);
  line-height: 1.8; max-width: 340px; margin: 0 auto;
}
.hero-ph-sub strong { color: rgba(255,255,255,.88); }

/* ── Arrow buttons ───────────────────────── */
.hero-arrow {
  /* override Bootstrap's default */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  width: 52px;          /* touch-friendly tap target */
  height: 52px;
  padding: 0;
  opacity: 1;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }

.hero-arrow-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,.38);
  border: 2px solid rgba(255,255,255,.50);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: var(--tr);
  pointer-events: none;   /* let the button handle clicks */
}
.hero-arrow:hover .hero-arrow-icon,
.hero-arrow:focus .hero-arrow-icon {
  background: rgba(39,87,164,.70);
  border-color: rgba(255,255,255,.85);
  transform: scale(1.1);
}
/* Hide arrows on very small phones – swipe is enough */
@media (max-width: 420px) {
  .hero-arrow { display: none; }
}

/* ── Dot indicators ──────────────────────── */
.hero-dots {
  position: absolute;
  bottom: 18px;           /* just above the wave */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  /* Wider padding = easier tap */
  padding: 8px 0;
}
.hero-dot {
  /* pill shape, fat enough to tap */
  width: 36px; height: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .28s ease, background .28s ease;
  /* invisible label area for easier tap */
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  /* the coloured bar is just the visual; button itself is 44px tall */
}
/* inner bar via pseudo */
.hero-dot::after {
  content: '';
  display: block;
  width: 36px; height: 8px;
  border-radius: 8px;
  background: rgba(255,255,255,.38);
  transition: width .28s ease, background .28s ease;
}
.hero-dot.active::after,
.hero-dot:hover::after {
  background: var(--accent);
  width: 52px;
}

/* ── Bottom wave ─────────────────────────── */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0;
  z-index: 5; line-height: 0;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: 54px; }

/* ── Responsive heights ──────────────────── */
@media (max-width: 1199px) {
  /* Large tablet / small laptop */
  .hero-slide { height: 78vh; min-height: 420px; }
}
@media (max-width: 991px) {
  /* Tablet portrait */
  .hero-slide { height: 65vh; min-height: 360px; }
  .hero-arrow  { width: 46px; height: 46px; }
  .hero-arrow-icon { width: 46px; height: 46px; font-size: .9rem; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
}
@media (max-width: 767px) {
  /* Mobile landscape + large phone */
  .hero-slide { height: 56vw; min-height: 280px; max-height: 520px; }
  /* 56vw keeps a 16:9-ish ratio on any phone width */
  .hero-wave svg { height: 36px; }
}
@media (max-width: 480px) {
  /* Small phone portrait */
  .hero-slide { height: 58vw; min-height: 240px; }
  .hero-dots  { bottom: 10px; gap: 6px; }
  .hero-dot::after { width: 28px; height: 7px; }
  .hero-dot.active::after { width: 42px; }
}

/* ─────────────────────────────────────────────
   STATS BAR
───────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 16px; text-align: center; position: relative;
}
.stat-item::after {
  content: ''; position: absolute; right: 0; top: 18%; bottom: 18%;
  width: 1px; background: rgba(255,255,255,.14);
}
.stat-item:last-child::after { display: none; }
.stat-icon-wrap {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--accent); margin-bottom: 10px;
}
.stat-val {
  font-family: var(--font-h); font-weight: 900;
  font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; line-height: 1;
}
.stat-lbl { font-size: .75rem; color: rgba(255,255,255,.72); font-weight: 600; margin-top: 4px; letter-spacing: .03em; }
@media (max-width: 767px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); padding: 26px 10px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about-img-wrap { position: relative; }
.about-main-img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
}
.about-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--r-xl); min-height: 380px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: rgba(255,255,255,.4);
  text-align: center; padding: 28px;
}
.about-placeholder i  { font-size: 3.5rem; }
.about-placeholder p  { font-size: .82rem; color: rgba(255,255,255,.55); }
.about-placeholder strong { color: rgba(255,255,255,.8); }
.about-badge-1, .about-badge-2 {
  position: absolute; border-radius: var(--r-lg);
  padding: 14px 18px; text-align: center; box-shadow: var(--sh-md);
}
.about-badge-1 {
  bottom: 24px; left: -14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
}
.about-badge-2 {
  top: 24px; right: -14px;
  background: #fff; border: 2px solid var(--border);
}
.about-badge-2 .ab-num { color: var(--primary); }
.ab-num { display: block; font-family: var(--font-h); font-weight: 900; font-size: 1.7rem; line-height: 1; }
.ab-txt { font-size: .68rem; font-weight: 600; line-height: 1.35; opacity: .9; display: block; }
.about-feats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-feat {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; background: var(--bg-light);
  border-radius: var(--r-md); border: 1px solid var(--border); transition: var(--tr);
}
.about-feat:hover { border-color: var(--primary); background: rgba(39,87,164,.04); }
.af-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: .88rem;
}
.af-txt { display: flex; flex-direction: column; }
.af-txt strong { font-family: var(--font-h); font-weight: 700; font-size: .8rem; color: var(--text); }
.af-txt span   { font-size: .7rem; color: var(--text-muted); }
.about-p1 { font-size: .97rem; font-weight: 500; color: var(--text); margin-bottom: 10px; }
.about-p2 { font-size: .88rem; color: var(--text-muted); margin-bottom: 0; }
@media (max-width: 575px) {
  .about-badge-1 { left: 0; }
  .about-badge-2 { right: 0; }
  .about-feats-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   COURSE CARDS (with images)
───────────────────────────────────────────── */
.course-card {
  background: #fff; border-radius: var(--r-xl);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: var(--tr);
}
.course-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); border-color: transparent; }
/* Image area */
.cc-img-wrap {
  position: relative; height: 200px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cc-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.course-card:hover .cc-img { transform: scale(1.06); }
.cc-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.35) 100%);
}
.cc-icon-fallback {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.8);
}
.cc-icon-fallback i { font-size: 3rem; }
.cc-icon-badge {
  position: absolute; top: 14px; left: 14px;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; z-index: 2;
}
.cc-duration-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.9); color: var(--primary);
  font-family: var(--font-h); font-weight: 700; font-size: .68rem;
  padding: 4px 10px; border-radius: var(--r-pill); z-index: 2;
}
/* Card body */
.cc-body { padding: 20px 22px; flex: 1; }
.cc-title { font-family: var(--font-h); font-weight: 800; font-size: .96rem; color: var(--text); margin-bottom: 8px; }
.cc-desc  { font-size: .82rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
/* Card footer */
.cc-footer {
  padding: 14px 22px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.cc-enroll {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important; font-family: var(--font-h); font-weight: 800; font-size: .77rem;
  padding: 8px 16px; border-radius: var(--r-pill); transition: var(--tr);
}
.cc-enroll:hover { transform: scale(1.04); color: #fff !important; }
.cc-more {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--primary) !important; font-family: var(--font-h); font-weight: 700; font-size: .77rem;
}
.cc-more:hover { gap: 8px; }
@media (max-width: 575px) {
  .cc-footer { flex-direction: column; }
  .cc-enroll, .cc-more { width: 100%; justify-content: center; text-align: center; }
}

/* ─────────────────────────────────────────────
   GALLERY SECTION
───────────────────────────────────────────── */
.gallery-filter-wrap {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.gflt-btn {
  font-family: var(--font-h); font-weight: 700; font-size: .77rem;
  padding: 7px 18px; border-radius: var(--r-pill);
  background: var(--bg-light); color: var(--text);
  border: 1.5px solid var(--border); transition: var(--tr); cursor: pointer;
}
.gflt-btn:hover, .gflt-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
/* Masonry-style grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  cursor: pointer; transition: var(--tr);
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--sh-lg); z-index: 2; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center;
}
.gallery-placeholder i    { font-size: 2.2rem; color: rgba(255,255,255,.7); }
.gallery-placeholder span { font-family: var(--font-h); font-weight: 700; font-size: .82rem; color: rgba(255,255,255,.9); }
.gallery-placeholder small { font-size: .68rem; color: rgba(255,255,255,.5); line-height: 1.5; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-info { margin-bottom: 10px; }
.gallery-cat-label {
  display: inline-block; font-family: var(--font-h); font-weight: 700; font-size: .68rem;
  background: var(--accent); color: #fff;
  padding: 2px 10px; border-radius: var(--r-pill); margin-bottom: 4px;
}
.gallery-item-title {
  color: #fff; font-family: var(--font-h); font-weight: 800;
  font-size: .86rem; margin: 0;
}
.gallery-enroll-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important;
  font-family: var(--font-h); font-weight: 700; font-size: .74rem;
  padding: 7px 14px; border-radius: var(--r-pill); transition: var(--tr);
}
.gallery-enroll-btn:hover { background: var(--accent-dark); color: #fff !important; }
/* Hidden items */
.gallery-item.gflt-hidden {
  display: none;
}
/* Responsive gallery grid */
@media (max-width: 1199px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-overlay { opacity: 1; }
}
@media (max-width: 480px)  {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
}

/* ─────────────────────────────────────────────
   WHY CHOOSE US
───────────────────────────────────────────── */
.why-card {
  background: #fff; border-radius: var(--r-xl);
  border: 1px solid var(--border); padding: 26px 22px;
  box-shadow: var(--sh-sm); transition: var(--tr);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--primary); }
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(39,87,164,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary);
  margin-bottom: 14px; transition: var(--tr);
}
.why-card:hover .why-icon { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.why-card h4 { font-family: var(--font-h); font-weight: 800; font-size: .88rem; margin-bottom: 8px; color: var(--text); }
.why-card p  { font-size: .81rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ─────────────────────────────────────────────
   ENQUIRY FORM
───────────────────────────────────────────── */
.enquiry-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #3a6fc4 100%);
  position: relative; overflow: hidden;
}
.enquiry-section::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,.04); pointer-events: none;
}
.enq-highlights {
  display: flex; margin: 22px 0 26px;
  background: rgba(255,255,255,.1); border-radius: var(--r-lg); overflow: hidden;
}
.enq-hl {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 14px 8px; border-right: 1px solid rgba(255,255,255,.14);
}
.enq-hl:last-child { border-right: none; }
.enq-hl-n { font-family: var(--font-h); font-weight: 900; font-size: 1.45rem; color: var(--accent); line-height: 1; }
.enq-hl-t { font-size: .7rem; color: rgba(255,255,255,.72); font-weight: 600; margin-top: 3px; text-align: center; }
.enq-form-card {
  background: #fff; border-radius: var(--r-xl); padding: 34px 30px;
  box-shadow: 0 24px 64px rgba(0,0,0,.14);
}
.enq-form-title {
  font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; color: var(--text);
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--bg-light);
  display: flex; align-items: center; gap: 10px;
}
.enq-form-title i { color: var(--primary); }
.flbl { font-weight: 700; font-size: .78rem; color: var(--text); display: block; margin-bottom: 5px; }
.req  { color: #dc3545; }
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: .87rem; padding: 10px 14px; color: var(--text);
  font-family: var(--font-b); transition: var(--tr);
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(39,87,164,.12); outline: none; }
.enq-success {
  background: #d4edda; border: 1px solid #c3e6cb; color: #155724;
  border-radius: var(--r-lg); padding: 28px; text-align: center; font-weight: 600;
}
@media (max-width: 575px) { .enq-form-card { padding: 22px 16px; } }

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testi-card {
  background: #fff; border-radius: var(--r-xl); padding: 26px 22px;
  border: 1px solid var(--border); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; transition: var(--tr);
}
.testi-card:hover { box-shadow: var(--sh-lg); transform: translateY(-5px); }
.testi-stars { margin-bottom: 8px; }
.testi-stars .fa-star { color: var(--accent); font-size: .82rem; }
.testi-star-empty { color: #ddd !important; }
.testi-quote-icon { font-size: 1.6rem; color: rgba(39,87,164,.1); margin-bottom: 8px; line-height: 1; }
.testi-text { font-size: .86rem; color: var(--text-muted); line-height: 1.78; flex: 1; margin-bottom: 18px; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 14px; }
.testi-av { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testi-av img { width: 100%; height: 100%; object-fit: cover; }
.testi-av-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-h); font-weight: 800; font-size: 1.1rem;
}
.testi-info strong { display: block; font-family: var(--font-h); font-weight: 700; font-size: .86rem; color: var(--text); }
.testi-info span   { font-size: .73rem; color: var(--primary); font-weight: 600; }

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7c 50%, var(--primary) 100%);
  padding: 70px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.03); pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-h); font-weight: 900; font-size: clamp(1.35rem,3.5vw,2rem); color: #fff; margin-bottom: 8px; }
.cta-desc  { color: rgba(255,255,255,.8); font-size: .9rem; margin: 0; }

/* ─────────────────────────────────────────────
   ADMISSION STRIP & FOOTER
───────────────────────────────────────────── */
.admission-strip { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); padding: 14px 0; }
.admission-strip p { margin: 0; color: #fff; font-family: var(--font-h); font-weight: 700; font-size: .9rem; }
.site-footer { background: #0d1b3e; color: rgba(255,255,255,.72); padding: 60px 0 0; }
.footer-logo-txt .logo-primary  { color: #fff; font-size: 1.1rem; }
.footer-logo-txt .logo-secondary { color: rgba(255,255,255,.55); font-size: .58rem; }
.footer-about { font-size: .84rem; line-height: 1.78; margin: 14px 0 16px; color: rgba(255,255,255,.62); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.68); font-size: .84rem; transition: var(--tr);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading { font-family: var(--font-h); font-weight: 800; font-size: .86rem; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.62); display: flex; align-items: center; gap: 7px; transition: var(--tr); }
.footer-links a i { color: var(--accent); font-size: .68rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px;
  background: rgba(39,87,164,.3);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: .82rem;
}
.footer-contact-text { font-size: .81rem; color: rgba(255,255,255,.62); line-height: 1.6; }
.footer-contact-text a { color: rgba(255,255,255,.72); }
.footer-contact-text a:hover { color: var(--accent); }
.footer-bottom { background: rgba(0,0,0,.25); margin-top: 40px; padding: 14px 0; font-size: .76rem; color: rgba(255,255,255,.45); text-align: center; }

/* WhatsApp float + scroll top */
.whatsapp-float {
  position: fixed; bottom: 22px; left: 22px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.45rem; box-shadow: 0 4px 18px rgba(37,211,102,.42); transition: var(--tr);
}
.whatsapp-float:hover { transform: scale(1.12); color: #fff; }
.scroll-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .84rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); opacity: 0; pointer-events: none; transition: var(--tr);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); color: #fff; }

/* ─────────────────────────────────────────────
   PAGE BANNER
───────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #3a6fc4 100%);
  padding: 50px 0 38px; overflow: hidden; position: relative;
}
.page-banner h1 { color: #fff; font-family: var(--font-h); font-weight: 900; font-size: clamp(1.35rem,4vw,2rem); }
.rap-breadcrumb { --bs-breadcrumb-divider: '›'; margin: 0; font-size: .76rem; }
.rap-breadcrumb .breadcrumb-item { color: rgba(255,255,255,.6); }
.rap-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.75); }
.rap-breadcrumb .breadcrumb-item.active { color: var(--accent); }
.rap-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }

/* ─────────────────────────────────────────────
   BLOG CARDS
───────────────────────────────────────────── */
.blog-card {
  background: #fff; border-radius: var(--r-xl); border: 1px solid var(--border);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-sm); transition: var(--tr);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.blog-img  { overflow: hidden; }
.blog-img img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.04); }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block; font-size: .7rem; font-weight: 700; font-family: var(--font-h);
  background: rgba(39,87,164,.1); color: var(--primary);
  padding: 3px 10px; border-radius: var(--r-pill); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 8px;
}
.blog-title { font-family: var(--font-h); font-weight: 800; font-size: .97rem; margin-bottom: 8px; }
.blog-title a { color: var(--text); }
.blog-title a:hover { color: var(--primary); }
.blog-excerpt { font-size: .82rem; color: var(--text-muted); flex: 1; margin-bottom: 12px; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: .74rem; color: var(--text-muted); gap: 8px; flex-wrap: wrap; }
.blog-meta span { display: flex; align-items: center; gap: 4px; }

/* Blog sidebar */
.blog-sidebar .card-box { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; margin-bottom: 22px; }
.sidebar-head { background: var(--bg-light); padding: 14px 20px; border-bottom: 1px solid var(--border); }
.sidebar-head h5 { font-family: var(--font-h); font-weight: 700; font-size: .88rem; margin: 0; }

/* ─────────────────────────────────────────────
   ENTRY (SINGLE POST)
───────────────────────────────────────────── */
.entry-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .76rem; color: var(--text-muted); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-h); font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.entry-content p { margin-bottom: 14px; }
.entry-content img { border-radius: var(--r-lg); margin: 14px 0; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 14px; }
.entry-content blockquote { border-left: 4px solid var(--primary); background: var(--bg-light); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; color: var(--text-muted); }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-card { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--border); padding: 26px 20px; text-align: center; box-shadow: var(--sh-sm); transition: var(--tr); height: 100%; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.contact-card-icon { width: 54px; height: 54px; background: rgba(39,87,164,.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); margin: 0 auto 12px; }
.contact-form-wrap { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--border); padding: 34px 28px; box-shadow: var(--sh-sm); }
.map-embed { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); }
@media (max-width: 575px) { .contact-form-wrap { padding: 20px 14px; } }

/* ─────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────── */
.animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.animate-on-scroll.anim-visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .08s; }
.anim-delay-2 { transition-delay: .16s; }
.anim-delay-3 { transition-delay: .24s; }
.anim-delay-4 { transition-delay: .32s; }

/* ─────────────────────────────────────────────
   SEARCH FORM
───────────────────────────────────────────── */
.search-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.search-form input { flex: 1; padding: 10px 16px; border-radius: var(--r-pill); border: 2px solid var(--border); font-family: var(--font-b); font-size: .86rem; }
.search-form button { background: var(--primary); color: #fff; border-radius: var(--r-pill); padding: 10px 18px; font-family: var(--font-h); font-weight: 700; font-size: .84rem; }

/* ─────────────────────────────────────────────
   MISC RESPONSIVE CLEANUP
───────────────────────────────────────────── */
@media (max-width: 991px) {
  .dropdown { left: 0; transform: translateY(10px); }
  .has-dropdown:hover .dropdown { transform: translateY(0); }
}
@media (max-width: 480px) {
  .enq-highlights { flex-direction: column; }
  .enq-hl { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); }
  .enq-hl:last-child { border-bottom: none; }
}
