/* ============================================================
   Shree Shyam Vrudh Ashram — Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --saffron:     #CC1A1A;
  --saffron-lt:  #E84040;
  --saffron-xlt: #FFF0F0;
  --gold:        #B5860D;
  --cream:       #FFF8F8;
  --brown-dark:  #3D0505;
  --brown-mid:   #7A1515;
  --green:       #2E7D32;
  --green-lt:    #E8F5E9;
  --text-dark:   #1E0909;
  --text-mid:    #5A2222;
  --text-light:  #8B5555;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 10px rgba(61, 5, 5, 0.08);
  --shadow-md:   0 8px 30px rgba(61, 5, 5, 0.12);
  --shadow-lg:   0 20px 60px rgba(61, 5, 5, 0.18);
  --radius:      16px;
  --radius-lg:   28px;
  --transition:  0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Poppins', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(204, 26, 26, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(204, 26, 26, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--saffron);
  transform: translateY(-3px);
}

.mt-btn { margin-top: 28px; }

.btn-call {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(39, 174, 96, 0.35);
}
.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(39, 174, 96, 0.5);
  color: var(--white);
}

.btn-enquire-now {
  background: linear-gradient(135deg, #8e44ad, #6c3483);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(142, 68, 173, 0.35);
}
.btn-enquire-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(142, 68, 173, 0.5);
  color: var(--white);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--brown-mid));
  border-radius: 4px;
  margin-bottom: 24px;
}
.title-underline.centered { margin: 0 auto 24px; }

.section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.logo-sub {
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  transition: color var(--transition);
}

.navbar.scrolled .logo-main { color: var(--brown-dark); }
.navbar.scrolled .logo-sub  { color: var(--text-light); }

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.navbar.scrolled .nav-link { color: var(--text-mid); }
.navbar.scrolled .nav-link:hover { color: var(--saffron); background: var(--saffron-xlt); }

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  color: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(204,26,26,0.3);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(204,26,26,0.45); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--brown-dark); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO — BANNER SLIDER
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #1a0303;
}

/* ---------- Slider Track ---------- */
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ---------- Individual Slide ---------- */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  transform: scale(1.04);
  z-index: 1;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.slide.leaving {
  opacity: 0;
  transform: scale(0.97);
  z-index: 1;
}

/* ---------- Slide overlay ---------- */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 3, 3, 0.78) 0%,
    rgba(20, 3, 3, 0.55) 50%,
    rgba(20, 3, 3, 0.30) 100%
  );
}

/* ---------- Slide content ---------- */
.slide-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;
  max-width: 800px;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.slide.active .slide-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* ---------- Text elements ---------- */
.hero-tagline {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron-lt);
  margin-bottom: 16px;
  padding: 6px 18px;
  border: 1px solid rgba(232,64,64,0.5);
  border-radius: 50px;
  backdrop-filter: blur(4px);
  background: rgba(204,26,26,0.12);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-title span {
  color: var(--saffron-lt);
  display: block;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.about-cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Navigation Arrows ---------- */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.slider-arrow:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-50%) scale(1.1);
}
.slider-prev { left: 28px; }
.slider-next { right: 28px; }

/* ---------- Dot Indicators ---------- */
.slider-dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}
.dot.active {
  background: var(--saffron);
  border-color: var(--saffron);
  width: 28px;
  border-radius: 5px;
}
.dot:hover:not(.active) {
  background: rgba(255,255,255,0.5);
}

/* ---------- Progress Bar ---------- */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--saffron), var(--saffron-lt));
  z-index: 10;
  transition: width linear;
}

/* ---------- Scroll Indicator ---------- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.scroll-dot {
  width: 6px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  position: relative;
}
.scroll-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--white);
  border-radius: 4px;
  animation: scrollDot 1.5s infinite;
}
@keyframes scrollDot {
  0%   { top: 4px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* ---------- Slide counter badge ---------- */
.slide-counter {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.counter-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.25);
}
.counter-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  padding: 40px 24px;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.stat-icon {
  font-size: 2rem;
  color: rgba(255,255,255,0.75);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-plus {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream); }

.about .section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Image column */
.about-img-wrapper {
  position: relative;
  padding-bottom: 40px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-img-accent img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}
.about-img-accent:hover img { transform: scale(1.06); }

.experience-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-left: 4px solid var(--saffron);
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}
.badge-text {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.4;
}

/* Text column */
.about-text {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.85;
}
.about-text strong { color: var(--brown-dark); }

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown-mid);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(204,26,26,0.15);
}
.value-pill i { color: var(--saffron); font-size: 0.8rem; }

/* ============================================================
   FACILITIES
   ============================================================ */
.facilities {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.facilities-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 900;
  color: rgba(204,26,26,0.04);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.facilities .section-container { position: relative; z-index: 1; }

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.facility-card {
  background: var(--white);
  border: 1px solid rgba(204,26,26,0.12);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.facility-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--brown-mid));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.facility-card:hover::before { transform: scaleX(1); }

.facility-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--saffron-xlt);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.facility-icon-wrap i {
  font-size: 1.5rem;
  color: var(--saffron);
  transition: all var(--transition);
}
.facility-card:hover .facility-icon-wrap {
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
}
.facility-card:hover .facility-icon-wrap i { color: var(--white); }

.facility-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.facility-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us {
  background: var(--cream);
}

.why-us-layout {
  display: block;
}

/* --- Reasons grid --- */
.why-us-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: all var(--transition);
}
.reason-item:hover {
  border-left-color: var(--saffron);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.reason-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--saffron-xlt);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--saffron);
  transition: all var(--transition);
}
.reason-item:hover .reason-icon {
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  color: var(--white);
}

.reason-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 5px;
}
.reason-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.72;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #1a0303;
  aspect-ratio: 1 / 1;
}

/* Make every 5th item span 2 columns for visual variety */
.gallery-item:nth-child(5n + 1) {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.07);
  opacity: 0.85;
}

/* Hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 6, 6, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}
.gallery-overlay span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.video-play-overlay i {
  font-size: 3rem;
  color: var(--saffron-lt);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 2, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  transition: opacity 0.25s ease;
}
.lightbox-img.fade {
  opacity: 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(6px);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: scale(1.1);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.1); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
}

/* ============================================================
   PROMISE BANNER
   ============================================================ */
.promise-banner {
  background: linear-gradient(135deg, #2C0606 0%, #5C1A1A 50%, #8B2222 100%);
  padding: 80px 24px;
  text-align: center;
}

.promise-content {
  max-width: 760px;
  margin: 0 auto;
}
.quote-icon {
  font-size: 2.5rem;
  color: var(--saffron-lt);
  opacity: 0.5;
  margin-bottom: 20px;
}
.promise-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 20px;
}
.promise-author {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--cream); }

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-info {
  display: contents;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-card-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-dark);
  margin-bottom: 5px;
}
.contact-card-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.contact-card-body a { color: var(--saffron); }
.contact-card-body a:hover { text-decoration: underline; }

/* Form */

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links-col a:hover { color: var(--saffron-lt); }

.footer-contact-col p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contact-col i {
  color: var(--saffron-lt);
  margin-top: 3px;
  flex-shrink: 0;
  width: 14px;
}
.footer-contact-col a { color: rgba(255,255,255,0.65); }
.footer-contact-col a:hover { color: var(--saffron-lt); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(204,26,26,0.4);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about .section-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img-wrapper { max-width: 520px; margin: 0 auto; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .why-us-reasons { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .why-us-reasons { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(5n + 1) { grid-column: span 1; aspect-ratio: 1 / 1; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--brown-dark);
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.2rem;
    color: var(--white);
    padding: 12px 28px;
  }

  /* Slider mobile */
  .slide-content {
    padding: 0 16px;
    width: 95%;
  }
  .hero-buttons { justify-content: center; }
  .slider-arrow { width: 44px; height: 44px; font-size: 0.85rem; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-dots { bottom: 70px; }

  .facilities-grid { grid-template-columns: 1fr; }
  .stats-container { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .about-img-accent { right: 0; }
  .experience-badge { left: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .slider-arrow { display: none; }
  .about-img-accent { display: none; }
  .section-container { padding: 70px 20px; }
}

/* ============================================================
   Onload Popup Form
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 9, 9, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--saffron-xlt);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--saffron);
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition);
}

.popup-close:hover {
  background: var(--saffron);
  color: var(--white);
}

.popup-header {
  text-align: center;
  margin-bottom: 24px;
}

.popup-logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(204, 26, 26, 0.35);
}

.popup-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.popup-header p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
}

.popup-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.popup-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #f5c4c4;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.popup-form .form-control:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(204, 26, 26, 0.12);
  background: var(--white);
}

.popup-form .form-control::placeholder {
  color: var(--text-light);
}

.popup-submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--saffron), var(--brown-mid));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 16px rgba(204, 26, 26, 0.3);
}

.popup-submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .popup-box { padding: 32px 22px 28px; }
  .popup-header h3 { font-size: 1.2rem; }
}

/* ============================================================
   Floating Enquire Now Tab (right side)
   ============================================================ */
.floating-enquire-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--saffron), var(--brown-mid));
  color: #fff;
  text-decoration: none;
  padding: 18px 10px;
  border-radius: 12px 0 0 12px;
  box-shadow: -4px 0 20px rgba(204, 26, 26, 0.4);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.floating-enquire-tab i {
  font-size: 1.2rem;
  writing-mode: horizontal-tb;
  transform: rotate(0deg);
  margin-bottom: 6px;
}

.floating-enquire-tab span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.floating-enquire-tab:hover {
  padding-right: 14px;
  box-shadow: -6px 0 28px rgba(204, 26, 26, 0.6);
}

@media (max-width: 480px) {
  .floating-enquire-tab { padding: 14px 8px; }
  .floating-enquire-tab span { font-size: 0.75rem; }
}

/* ============================================================
   Floating Call Button
   ============================================================ */
.floating-call-btn {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  z-index: 9000;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-call-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.45);
  animation: callPulse 2s ease-out infinite;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65);
}

@keyframes callPulse {
  0%   { transform: scale(1);   opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 480px) {
  .floating-call-btn { bottom: 80px; right: 18px; width: 50px; height: 50px; font-size: 1.15rem; }
}
