/* ==========================================================================
   Brahmand Senior Home - Modern, Peaceful & Compassionate CSS Design System
   ========================================================================== */

:root {
  /* Color Palette - Serene Forest & Warm Hearth */
  --primary-forest: #1b4332;
  --primary-emerald: #2d6a4f;
  --primary-leaf: #40916c;
  --primary-light: #52b788;
  --primary-tint: #eaf4ee;
  
  --accent-gold: #c28825;
  --accent-amber: #e69d2c;
  --accent-warm: #fff8eb;

  --neutral-dark: #1f2937;
  --neutral-body: #374151;
  --neutral-muted: #6b7280;
  --neutral-border: #e5e7eb;
  --neutral-card: #ffffff;
  --neutral-bg: #f9fbf9;
  --neutral-cream: #f4efe6;
  
  --whatsapp-color: #25d366;
  --whatsapp-hover: #20ba5a;

  /* Typography */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 4px rgba(27, 67, 50, 0.04);
  --shadow-md: 0 6px 16px rgba(27, 67, 50, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 67, 50, 0.12);
  --shadow-xl: 0 20px 48px rgba(27, 67, 50, 0.16);

  /* Transitions */
  --tr-fast: 0.2s ease;
  --tr-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--neutral-body);
  background-color: var(--neutral-bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Bilingual Switcher Visibility Logic */
body[data-lang="en"] .hi-text {
  display: none !important;
}

body[data-lang="hi"] .en-text {
  display: none !important;
}

body[data-lang="hi"] {
  font-family: var(--font-hindi);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neutral-dark);
  font-weight: 700;
  line-height: 1.25;
}

body[data-lang="hi"] h1,
body[data-lang="hi"] h2,
body[data-lang="hi"] h3,
body[data-lang="hi"] h4 {
  font-family: var(--font-hindi);
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--tr-fast);
}

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

/* Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section Shared Styles */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background-color: var(--primary-tint);
  color: var(--primary-forest);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--neutral-muted);
  max-width: 720px;
  margin: 0 auto;
}

.highlight-text {
  color: var(--primary-emerald);
  position: relative;
  display: inline-block;
}

.title-decor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
  color: var(--accent-gold);
}

.title-decor span {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Common Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--tr-normal);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-forest);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-emerald);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.35);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */
.top-bar {
  background: #112d22;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1002;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 1380px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

.info-item i {
  color: var(--accent-amber);
}

.info-item.phone-pill a {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-item.phone-pill a:hover {
  color: var(--accent-amber);
}

/* Language Switcher */
.lang-switch-wrap {
  display: flex;
  background: rgba(255, 255, 255, 0.12);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.25rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  white-space: nowrap;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--primary-forest);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: background-color var(--tr-normal), box-shadow var(--tr-normal), padding var(--tr-normal);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  position: relative;
  max-width: 1380px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-emerald), var(--primary-forest));
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.28);
  flex-shrink: 0;
  transition: transform var(--tr-fast);
}

.brand-logo:hover .logo-icon-wrap {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-forest);
  line-height: 1.15;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.74rem;
  color: var(--neutral-muted);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: clamp(0.6rem, 1.2vw, 1.25rem);
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  color: var(--neutral-dark);
  font-size: 0.88rem;
  padding: 0.4rem 0.2rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: color var(--tr-fast);
}

.nav-link .nav-icon {
  display: none; /* Only show in mobile drawer */
  font-size: 0.95rem;
  color: var(--primary-emerald);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-emerald), var(--primary-light));
  transition: width var(--tr-normal);
  border-radius: 2px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-wa-btn {
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-action-btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0.55rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  transition: all var(--tr-fast);
}

.mobile-toggle:hover {
  background: var(--primary-tint);
  border-color: var(--primary-emerald);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.2px;
  background: var(--primary-forest);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.mobile-toggle.open {
  background: var(--primary-tint);
  border-color: var(--primary-emerald);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Drawer Actions (Hidden on Desktop) */
.mobile-nav-actions {
  display: none;
}

/* Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 45, 34, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  background: linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, rgba(82, 183, 136, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--primary-tint);
  color: var(--primary-forest);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(64, 145, 108, 0.2);
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.3rem;
  color: #112d22;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--neutral-body);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.btn-call-hero {
  background: linear-gradient(135deg, var(--primary-forest), var(--primary-emerald));
  color: #ffffff;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.28);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.btn-call-hero i {
  font-size: 1.5rem;
  color: var(--accent-amber);
}

.btn-call-hero div {
  display: flex;
  flex-direction: column;
}

.btn-subtext {
  font-size: 0.775rem;
  opacity: 0.9;
  font-weight: 500;
}

.btn-call-hero strong {
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.btn-call-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.35);
  color: #ffffff;
}

.btn-outline-hero {
  background: #ffffff;
  color: var(--primary-forest);
  border: 2px solid var(--primary-leaf);
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-outline-hero:hover {
  background: var(--primary-tint);
  border-color: var(--primary-emerald);
  transform: translateY(-2px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-border);
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-tint);
  color: var(--primary-emerald);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-stat-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-forest);
  line-height: 1.1;
}

.hero-stat-card p {
  font-size: 0.775rem;
  color: var(--neutral-muted);
  font-weight: 600;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.visual-card-main {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 50%, rgba(27, 67, 50, 0.65) 100%);
}

.floating-quote-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.floating-quote-badge i {
  color: var(--accent-gold);
  font-size: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.floating-quote-badge p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--neutral-dark);
  line-height: 1.45;
  font-style: italic;
}

.visual-badge-corner {
  position: absolute;
  top: -1.2rem;
  right: -1.2rem;
  background: #ffffff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(64, 145, 108, 0.2);
  z-index: 2;
}

.corner-avatar-group {
  width: 42px;
  height: 42px;
  background: var(--accent-amber);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.visual-badge-corner strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-forest);
  line-height: 1.2;
}

.visual-badge-corner span {
  font-size: 0.775rem;
  color: var(--neutral-muted);
}

/* ==========================================================================
   Serenity Banner
   ========================================================================== */
.serenity-banner {
  background: linear-gradient(90deg, #1b4332, #2d6a4f, #1b4332);
  color: #ffffff;
  padding: 1.8rem 0;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.banner-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.banner-text h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about-lead-box {
  background: var(--neutral-cream);
  padding: 1.8rem 2rem;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-emerald);
  margin-bottom: 1.6rem;
}

.about-lead-box h3 {
  color: var(--primary-forest);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.about-lead-box p {
  font-size: 1.05rem;
  color: #2c3e50;
  line-height: 1.7;
}

.about-body-text p {
  font-size: 1.02rem;
  color: var(--neutral-body);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-bullet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bullet-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-tint);
  color: var(--primary-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-weight: 700;
}

.feature-bullet strong {
  display: block;
  font-size: 1.05rem;
  color: var(--neutral-dark);
  margin-bottom: 0.2rem;
}

.feature-bullet p {
  font-size: 0.925rem;
  color: var(--neutral-muted);
  line-height: 1.5;
}

/* About Visual Stack */
.about-card-stack {
  position: relative;
  padding: 2rem 1.5rem 1.5rem 2rem;
}

.about-card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid #ffffff;
}

.about-card-img.top-img {
  width: 90%;
  height: 320px;
}

.about-card-img.top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.about-card-img.bottom-img {
  width: 78%;
  height: 240px;
  margin-top: -4.5rem;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.about-card-img.bottom-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
  color: #ffffff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
  max-width: 170px;
}

.exp-number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  font-family: var(--font-heading);
}

.exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0.3rem;
  display: block;
}

/* ==========================================================================
   Care & Facilities Carousel Section
   ========================================================================== */
.care-section {
  background: linear-gradient(180deg, #f9fbf9 0%, #eff7f2 100%);
  overflow: hidden;
}

.facilities-carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0.5rem 0 1rem;
}

.facilities-carousel-track-container {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1.25rem 0.5rem 1.75rem;
  cursor: grab;
  user-select: none;
}

.facilities-carousel-track-container::-webkit-scrollbar {
  display: none;
}

.facilities-carousel-track-container:active {
  cursor: grabbing;
}

.facilities-carousel-track {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
}

.facilities-carousel-track .service-card {
  flex: 0 0 calc((100% - 2 * 1.75rem) / 3);
  min-width: calc((100% - 2 * 1.75rem) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

.facilities-carousel-track .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(64, 145, 108, 0.35);
}

.facilities-carousel-track .service-card.highlighted-service {
  background: linear-gradient(180deg, #ffffff 0%, #f4faf6 100%);
  border-color: rgba(45, 106, 79, 0.22);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  background: var(--primary-tint);
  color: var(--primary-emerald);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: all var(--tr-normal);
}

.service-card:hover .service-icon-box {
  background: var(--primary-emerald);
  color: #ffffff;
  transform: scale(1.08);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--primary-forest);
  line-height: 1.35;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--neutral-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-footer-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary-leaf);
  padding-top: 1rem;
  border-top: 1px dashed var(--neutral-border);
}

/* Floating Navigation Arrow Buttons */
.fac-carousel-btn {
  position: absolute;
  top: calc(50% - 30px);
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-forest);
  border: 1px solid rgba(27, 67, 50, 0.16);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--tr-normal);
}

.fac-carousel-btn:hover {
  background: var(--primary-forest);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.28);
}

.fac-carousel-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.fac-carousel-btn.fac-prev {
  left: -22px;
}

.fac-carousel-btn.fac-next {
  right: -22px;
}

/* Carousel Footer Controls */
.facilities-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.5rem 0.5rem 0;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.carousel-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  color: var(--primary-forest);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.carousel-counter-pill i {
  color: var(--accent-amber);
}

.carousel-counter-pill strong {
  color: var(--primary-forest);
  font-weight: 700;
}

.facilities-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.facilities-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: #c6dfd2;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.facilities-dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--primary-emerald), var(--primary-forest));
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.28);
}

.facilities-dot:hover:not(.active) {
  background: var(--primary-light);
  transform: scale(1.15);
}

.carousel-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--neutral-muted);
  font-weight: 500;
}

.carousel-swipe-hint i {
  color: var(--primary-emerald);
}

/* ==========================================================================
   Daily Routine Timeline
   ========================================================================== */
.routine-section {
  background: #ffffff;
}

.timeline-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 200px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary-emerald), var(--primary-forest));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-time {
  width: 175px;
  text-align: right;
  padding-right: 1.5rem;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 4px solid var(--primary-emerald);
  border-radius: 50%;
  position: absolute;
  left: 192px;
  top: 1.1rem;
  box-shadow: 0 0 0 4px var(--primary-tint);
  z-index: 2;
  transition: transform var(--tr-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--accent-amber);
}

.timeline-card {
  margin-left: 2.2rem;
  background: var(--neutral-bg);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  flex-grow: 1;
  transition: all var(--tr-normal);
}

.timeline-item:hover .timeline-card {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: var(--primary-leaf);
  transform: translateX(4px);
}

.timeline-card h4 {
  font-size: 1.15rem;
  color: var(--primary-forest);
  margin-bottom: 0.4rem;
}

.timeline-card p {
  font-size: 0.925rem;
  color: var(--neutral-body);
  line-height: 1.55;
}

/* ==========================================================================
   Video Tour Section
   ========================================================================== */
.video-section {
  background: linear-gradient(180deg, #f0f7f3 0%, #ffffff 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.video-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--tr-normal);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.video-frame-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background: #000000;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 1.8rem;
}

.video-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #dc2626;
  background: #fee2e2;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.video-title {
  font-size: 1.25rem;
  color: var(--primary-forest);
  margin-bottom: 0.6rem;
}

.video-desc {
  font-size: 0.925rem;
  color: var(--neutral-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.video-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #dc2626;
  transition: all var(--tr-fast);
}

.video-yt-link:hover {
  color: #991b1b;
  transform: translateX(4px);
}

/* ==========================================================================
   Philosophy Banner
   ========================================================================== */
.philosophy-section {
  background: radial-gradient(circle at center, #245842 0%, #153929 100%);
  color: #ffffff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.quote-mark-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-amber);
  margin: 0 auto 1.8rem;
}

.philosophy-quote {
  font-size: 1.65rem;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
  max-width: 920px;
  margin: 0 auto 1.8rem;
  color: #f3fdf6;
}

body[data-lang="hi"] .philosophy-quote {
  font-size: 1.5rem;
  line-height: 1.7;
}

.quote-author strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent-amber);
  margin-bottom: 0.2rem;
}

.quote-author span {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ==========================================================================
   Location & Directions Section
   ========================================================================== */
.location-section {
  background: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.address-details-card {
  background: var(--neutral-bg);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.address-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-tint);
  color: var(--primary-emerald);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.address-header h3 {
  font-size: 1.35rem;
  color: var(--primary-forest);
}

.district-tag {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 700;
}

.address-box {
  background: #ffffff;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.full-address-text {
  font-size: 1rem;
  color: var(--neutral-dark);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.full-address-text i {
  color: var(--primary-leaf);
  margin-top: 0.25rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cm-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-tint);
  color: var(--primary-forest);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cm-icon.wa-bg {
  background: rgba(37, 211, 102, 0.15);
  color: #1e9e4b;
}

.cm-label {
  display: block;
  font-size: 0.775rem;
  color: var(--neutral-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.cm-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-dark);
}

.cm-val:hover {
  color: var(--primary-emerald);
}

.quick-directions-note {
  background: var(--accent-warm);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-amber);
  margin-bottom: 1.8rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.quick-directions-note i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.btn-map-navigate {
  background: var(--primary-forest);
  color: #ffffff;
  margin-top: auto;
}

.btn-map-navigate:hover {
  background: var(--primary-emerald);
  color: #ffffff;
}

.map-container-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.map-card-header {
  padding: 0.85rem 1.25rem;
  background: var(--neutral-cream);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-forest);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.iframe-map-wrapper {
  flex-grow: 1;
  min-height: 420px;
}

/* ==========================================================================
   Contact & Admission Inquiry Form
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: start;
}

.inquiry-form-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-title {
  font-size: 1.45rem;
  color: var(--primary-forest);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.form-subtext {
  font-size: 0.925rem;
  color: var(--neutral-muted);
  margin-bottom: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--neutral-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--neutral-dark);
  background: #ffffff;
  transition: all var(--tr-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.form-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-submit {
  background: var(--primary-forest);
  color: #ffffff;
  flex: 1;
}

.btn-submit:hover {
  background: var(--primary-emerald);
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-whatsapp-form {
  background: var(--whatsapp-color);
  color: #ffffff;
  flex: 1;
}

.btn-whatsapp-form:hover {
  background: var(--whatsapp-hover);
}

.form-success-alert {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #d1fae5;
  color: #065f46;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #a7f3d0;
  animation: fadeInMsg 0.3s ease-in-out;
}

.form-error-alert {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #fecaca;
  animation: fadeInMsg 0.3s ease-in-out;
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Callout Box */
.contact-callout {
  height: 100%;
}

.callout-card {
  background: linear-gradient(135deg, #1b4332, #245842);
  color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.callout-icon-top {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-amber);
  margin-bottom: 1.5rem;
}

.callout-card h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
}

.callout-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.callout-phone-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.callout-phone-box span {
  width: 44px;
  height: 44px;
  background: var(--accent-amber);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.callout-phone-box small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.callout-phone-box a {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.callout-phone-box a:hover {
  color: var(--accent-amber);
}

.callout-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.925rem;
  font-weight: 600;
}

.callout-features div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #eaf4ee;
}

.callout-features i {
  color: var(--accent-amber);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0f271c;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4.5rem;
  border-top: 4px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.footer-title {
  font-size: 1.35rem;
  color: #ffffff;
  display: block;
  line-height: 1.1;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--accent-amber);
}

.footer-about-text {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.soc-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.soc-btn:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  color: #ffffff;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--accent-amber);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links li a i {
  font-size: 0.75rem;
  color: var(--accent-amber);
  transition: transform var(--tr-fast);
}

.footer-links li a:hover {
  color: #ffffff;
}

.footer-links li a:hover i {
  transform: translateX(4px);
}

.footer-links li span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.text-green {
  color: var(--primary-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.footer-contact-item i {
  color: var(--accent-amber);
  margin-top: 0.25rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  background: #091710;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-sub-bottom {
  font-style: italic;
  color: var(--accent-amber);
}

/* ==========================================================================
   Floating Quick Action Buttons & Back to Top
   ========================================================================== */
.floating-contact-bar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: all var(--tr-normal);
  text-decoration: none;
}

.float-call {
  background: linear-gradient(135deg, #1b4332, #2d6a4f);
}

.float-call:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(27, 67, 50, 0.4);
}

.float-wa {
  background: var(--whatsapp-color);
}

.float-wa:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.float-btn i {
  font-size: 1.2rem;
}

.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-forest);
  border: 1px solid var(--neutral-border);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 999;
  transition: all var(--tr-fast);
}

.back-to-top-btn:hover {
  background: var(--primary-forest);
  color: #ffffff;
  transform: translateY(-3px);
}

.back-to-top-btn.visible {
  display: flex;
}

/* ==========================================================================
   Photo Gallery Section
   ========================================================================== */
.gallery-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--tr-normal);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(45, 106, 79, 0.3);
}

.gallery-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--neutral-cream);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.gallery-tag-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(27, 67, 50, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}

.gallery-info {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-size: 1.15rem;
  color: var(--primary-forest);
  margin-bottom: 0.4rem;
}

.gallery-card-desc {
  font-size: 0.875rem;
  color: var(--neutral-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1260px) and (min-width: 1181px) {
  .brand-tagline {
    display: none;
  }
  .nav-list {
    gap: 0.75rem;
  }
  .nav-link {
    font-size: 0.84rem;
  }
  .header-action-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

/* Header Tablet & Mobile Switch */
@media (max-width: 1180px) {
  .mobile-toggle {
    display: flex;
  }

  .header-action-btn {
    display: none;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.25rem 1.5rem 1.75rem;
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid var(--primary-emerald);
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }

  .nav-menu.active {
    max-height: calc(100vh - 75px);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--neutral-dark);
    transition: all var(--tr-fast);
  }

  .nav-link .nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--primary-tint);
    color: var(--primary-forest);
    border-radius: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all var(--tr-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-tint);
    color: var(--primary-forest);
    transform: translateX(4px);
  }

  .nav-link:hover .nav-icon,
  .nav-link.active .nav-icon {
    background: var(--primary-forest);
    color: #ffffff;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-menu-btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: var(--radius-pill);
  }

  .btn-call-mobile {
    background: var(--primary-tint);
    color: var(--primary-forest);
    border: 1px solid rgba(45, 106, 79, 0.25);
    font-weight: 700;
  }

  .btn-call-mobile:hover {
    background: #ffffff;
    color: var(--primary-forest);
    border-color: var(--primary-emerald);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-wrapper,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .facilities-carousel-track .service-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    min-width: calc((100% - 1.25rem) / 2);
  }

  .fac-carousel-btn.fac-prev {
    left: -12px;
  }

  .fac-carousel-btn.fac-next {
    right: -12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .timeline-container::before {
    left: 160px;
  }

  .timeline-time {
    width: 140px;
  }

  .timeline-dot {
    left: 152px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.15rem;
  }

  .facilities-carousel-track .service-card {
    flex: 0 0 86%;
    min-width: 86%;
    padding: 1.8rem 1.4rem;
  }

  .fac-carousel-btn {
    display: none;
  }

  .facilities-carousel-footer {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .top-bar {
    padding: 0.45rem 0;
  }

  .top-bar-content {
    gap: 0.5rem;
  }

  .top-info {
    font-size: 0.8rem;
    gap: 0.75rem;
  }

  .timing-pill {
    display: none;
  }

  .header-container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .brand-title {
    font-size: 1.18rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  .logo-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .gallery-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .inquiry-form-card {
    padding: 1.6rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .callout-card {
    padding: 1.8rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .form-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-submit,
  .btn-whatsapp-form {
    width: 100%;
    flex: none;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    padding: 1.8rem 1rem 5.5rem;
    text-align: center;
  }

  .footer-bottom-content {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Timeline on Mobile */
  .timeline-container::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 45px;
  }

  .timeline-time {
    width: auto;
    text-align: left;
    justify-content: flex-start;
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 0.4rem;
  }

  .timeline-dot {
    left: 12px;
    top: 0.2rem;
  }

  .timeline-card {
    margin-left: 0;
    width: 100%;
  }

  .banner-inner {
    flex-direction: column;
    gap: 0.85rem;
  }

  .floating-contact-bar {
    bottom: 1rem;
    right: 1rem;
  }

  .float-btn-text {
    display: none;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 520px) {
  .top-bar-content {
    justify-content: space-between;
  }

  .info-item:not(.phone-pill) {
    display: none;
  }

  .info-item.phone-pill {
    font-size: 0.82rem;
  }

  .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    border-radius: 10px;
  }

  .brand-logo {
    gap: 0.65rem;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .header-wa-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }

  .header-cta-group {
    gap: 0.5rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 0.45rem;
  }
}

@media (max-width: 380px) {
  .header-wa-label {
    display: none;
  }

  .header-wa-btn {
    padding: 0.55rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    justify-content: center;
  }

  .header-wa-btn i {
    font-size: 1.15rem;
    margin: 0;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-tagline {
    display: none;
  }
}
