/* ==========================================================================
   MANITHAM  LIFE CARE - PREMIUM STYLESHEET
   ========================================================================== */

/* --- Import Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* --- Root Variables --- */
:root {
  --primary: #1d3388;
  --secondary: #2541b2;
  --accent: #e5a83b;
  --accent-light: #fef6e9;
  --bg-light: #fff;
  --dark: #0c132c;
  --dark-rgb: 12, 19, 44;
  --white: #ffffff;
  --gray-light: #f1f5f9;
  --gray-text: #2c2c2c;

  /* Glass morphism tokens */
  --glass-bg: rgba(248, 250, 253, 0.82);
  --glass-border: rgba(37, 65, 178, 0.12);
  --glass-dark: rgba(12, 19, 44, 0.72);

  --font-heading: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --shadow-sm: 0 4px 12px rgba(12, 19, 44, 0.05);
  --shadow-md: 0 12px 30px rgba(12, 19, 44, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 19, 44, 0.15);
  --shadow-accent: 0 12px 40px rgba(229, 168, 59, 0.28);

  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto !important;
  background-color: var(--bg-light);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 1.68;
  overflow-x: hidden;
  overflow-y: auto !important;
  -webkit-font-smoothing: antialiased;
}

html.nav-lock,
body.nav-lock {
  overflow: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

p {
  font-size: 18px;
  letter-spacing: 0.5px;
  line-height: 1.72;
  color: var(--gray-text);
}

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

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

button,
input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* --- Utility Classes --- */
.section-padding {
  padding: 30px 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
}

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

.text-gold {
  color: var(--accent);
}

.text-white {
  color: var(--white);
}

.bg-dark-section {
  background-color: var(--dark);
  color: var(--bg-light);
}

.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto;
}

/* --- Curve Dividers (SVG Transitions) --- */
.curve-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
}

.curve-top {
  top: -1px;
}

.curve-bottom {
  bottom: -1px;
}

.curve-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: clamp(48px, 6vw, 80px);
  transform: rotate(180deg);
}

.curve-top svg {
  transform: rotate(0deg);
}

/* Bottom waves must fill down into the next light section, not sit above it. */
.curve-bottom svg {
  transform: none;
}

.curve-divider.fill-bg-light svg path {
  fill: var(--bg-light);
}

.curve-divider.fill-dark svg path {
  fill: var(--dark);
}

/* --- Floating Organic Blobs --- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.12;
  pointer-events: none;
  animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-primary {
  background: var(--primary);
  width: 400px;
  height: 400px;
}

.blob-accent {
  background: var(--accent);
  width: 300px;
  height: 300px;
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(100px, 80px) scale(1.2);
  }

  100% {
    transform: translate(-50px, -60px) scale(0.9);
  }
}

/* --- Premium Buttons --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-primary-gold {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: 1px solid rgba(229, 168, 59, 0.3);
}

.btn-primary-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary-gold:hover::before {
  left: 100%;
}

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

.btn-outline-gold {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline-gold:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}

/* --- Floating Luxury Header / Navigation --- */
header {
  position: fixed;
  top: 25px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.nav-wrapper {
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
  background: #ffff !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 0px 40px;
  border-radius: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

header.scrolled {
  top: 10px;
  display: none;
}

header.scrolled .nav-wrapper {
  padding: 10px 30px;
  background: rgba(12, 19, 44, 0.95);
  border-color: rgba(229, 168, 59, 0.2);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}

header.scrolled .logo-text,
header.scrolled .nav-links a {
  color: #000000 !important;
}

header.scrolled .nav-links a:hover {
  color: #d11e1e !important;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 100px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50% 0 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.logo-icon i {
  color: var(--white);
  font-size: 1.3rem;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.logo-subtext {
  font-size: 0.78rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-top: -2px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  font-size: 19px;
  font-weight: 500;
  /* text-transform: uppercase; */
  letter-spacing: 0.6px;
  white-space: nowrap;
  color: #081852;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

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

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary);
}

header.scrolled .nav-toggle {
  color: var(--accent);
}

/* --- Mobile Navigation Overlay --- */
.mobile-nav {
  position: fixed;
  inset: 0;
  left: 0;
  padding: 90px 24px 32px;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  z-index: 999999;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
  margin-bottom: 40px;
  width: min(100%, 420px);
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  color: var(--bg-light);
  font-weight: 600;
  letter-spacing: 1px;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

.mobile-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
}

/* --- Navigation Dropdowns (Desktop & Mobile) --- */
.menu-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.menu-dropdown-wrapper:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu-list {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 210px;
  background: rgba(12, 19, 44, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 168, 59, 0.3);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.menu-dropdown-wrapper:hover>.dropdown-menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu-list li {
  list-style: none;
  position: relative;
}

.dropdown-menu-list .dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0.4px !important;
  color: #f1f1f1 !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu-list .dropdown-link::after {
  display: none !important;
}

.dropdown-menu-list .dropdown-link:hover,
.dropdown-menu-list .dropdown-link.active {
  background: rgba(229, 168, 59, 0.15);
  color: var(--accent) !important;
  padding-left: 22px !important;
}

/* Nested Submenu (Flyout) */
.dropdown-submenu-wrapper {
  position: relative;
}

.submenu-arrow {
  font-size: 0.75rem;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}

.dropdown-submenu-wrapper:hover>.dropdown-link .submenu-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.dropdown-sub-menu-list {
  position: absolute;
  top: -6px;
  left: 100%;
  min-width: 200px;
  background: rgba(12, 19, 44, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 168, 59, 0.3);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1060;
}

.dropdown-submenu-wrapper:hover>.dropdown-sub-menu-list {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Mobile Accordion / Dropdown Styling */
.mobile-dropdown-item,
.mobile-sub-dropdown-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-item-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.mobile-expand-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform 0.3s ease;
}

.mobile-expand-btn.expanded {
  transform: rotate(180deg);
}

.mobile-submenu-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-top: 8px;
}

.mobile-link.sub-link {
  font-size: 1.05rem !important;
  opacity: 0.95;
  font-weight: 500;
}

.mobile-link.nested-link {
  font-size: 0.98rem !important;
  opacity: 0.85;
  font-weight: 500;
}

/* --- Cinematic Hero Section --- */
.hero-section {
  height: 100vh;
  min-height: 750px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
  z-index: 5;
}

/* The wave is an overlay within the hero, not a section below it. */
.hero-section>.curve-bottom {
  bottom: 0;
  height: 80px;
  z-index: 5;
  pointer-events: none;
}

.hero-section>.curve-bottom svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 0.35;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(12, 19, 44, 0.85) 30%, rgba(12, 19, 44, 0.3));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-text-col {
  max-width: 720px;
}

.hero-tagline {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.hero-tagline::before {
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
  line-height: 1.12;
}

.hero-desc {
  font-size: 1.22rem;
  line-height: 1.75;
  color: var(--white) !important;
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-desc,
.hero-desc * {
  color: var(--white) !important;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Organic Hero Frame Elements & Slider */
.hero-shapes {
  position: absolute;
  right: 5%;
  top: 55%;
  transform: translateY(-50%);
  width: 560px;
  height: 450px;
  z-index: 2;
  pointer-events: auto;
}

.hero-organic-mask {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morphingBlob 12s infinite alternate ease-in-out;
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  opacity: 0.92;
  background-color: var(--dark);
}

.hero-organic-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 5s ease-out;
  pointer-events: none;
}

.hero-organic-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-organic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 19, 44, 0.02) 60%, rgba(12, 19, 44, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero Organic Slider Controls */
.hero-shapes-nav-container {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  background: rgba(12, 19, 44, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 168, 59, 0.4);
  padding: 6px 14px;
  border-radius: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}

.hero-shape-nav-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-shape-nav-btn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.15);
  box-shadow: 0 0 12px rgba(229, 168, 59, 0.6);
}

.hero-shape-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-shape-dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-shape-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-shape-dot.active {
  width: 24px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(229, 168, 59, 0.75);
}

@keyframes morphingBlob {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 50% 60% 50% 50% / 40% 60% 50% 60%;
  }

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

/* Floating Statistics in Hero */
.hero-floating-stat {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(229, 168, 59, 0.3);
  padding: 20px 25px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 4;
  animation: floatBadge 6s infinite alternate ease-in-out;
}

.hero-floating-stat.stat-1 {
  bottom: 120px;
  right: 32%;
}

.hero-floating-stat.stat-2 {
  top: 160px;
  right: 5%;
  animation-delay: -3s;
}

.floating-stat-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.floating-stat-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.floating-stat-lbl {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-text);
  font-weight: 600;
  margin-top: 4px;
}

@keyframes floatBadge {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

/* ================================================================
   About Us — Clean Professional Layout
   ================================================================ */
.about-section {
  overflow: hidden;
  background: #fff;
}

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

/* ── Image Frame ── */
.about-images-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 270px 220px;
  gap: 14px;
  height: 510px;
}

/* All cards: base reset */
.about-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--dark);
  box-shadow: 0 8px 28px rgba(12, 19, 44, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(12, 19, 44, 0.18);
}

.about-image-card:hover img {
  transform: scale(1.05);
}

/* Card 1 — top-left, larger */
.about-img-1 {
  grid-column: 1;
  grid-row: 1;
  border-radius: 22px;
  border: 3px solid var(--accent);
  box-shadow:
    0 12px 40px rgba(12, 19, 44, 0.15),
    0 0 0 6px rgba(229, 168, 59, 0.1);
}

/* Card 2 — top-right */
.about-img-2 {
  grid-column: 2;
  grid-row: 1;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(12, 19, 44, 0.12);
}

/* Card 3 — bottom-left */
.about-img-3 {
  grid-column: 1;
  grid-row: 2;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(12, 19, 44, 0.12);
}

/* Card 4 — bottom-right, accent highlight */
.about-img-4 {
  grid-column: 2;
  grid-row: 2;
  border-radius: 18px;
  border: 3px solid var(--accent);
  box-shadow:
    0 12px 32px rgba(12, 19, 44, 0.15),
    0 0 0 5px rgba(229, 168, 59, 0.1);
  display: block;
}

/* ── Decorative top-left accent ── */
.about-shape-decor {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, rgba(229, 168, 59, 0.35) 100%);
  z-index: 2;
  box-shadow: 0 4px 16px rgba(229, 168, 59, 0.4);
}

.about-shape-decor::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed rgba(229, 168, 59, 0.4);
  animation: spinDash 12s linear infinite;
}

@keyframes spinDash {
  to {
    transform: rotate(360deg);
  }
}

/* ── Circular Rotating Badge ── */
.about-badge-circular {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 104px;
  height: 104px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 7px var(--accent),
    0 10px 30px rgba(12, 19, 44, 0.2);
}

.badge-text-svg {
  width: 100%;
  height: 100%;
  animation: rotateBadge 18s infinite linear;
}

.badge-text-svg text {
  fill: var(--primary);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2.5px;
}

.badge-center-val {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

@keyframes rotateBadge {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── Subtle right-side dotted texture ── */
.about-images-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(circle, rgba(29, 51, 136, 0.25) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-images-wrapper {
    max-width: 500px;
    margin: 0 auto;
    height: 420px;
  }
}

@media (max-width: 600px) {
  .about-images-wrapper {
    height: 340px;
    gap: 10px;
  }

  .about-badge-circular {
    width: 84px;
    height: 84px;
    bottom: -20px;
  }

  .badge-center-val {
    font-size: 1.3rem;
  }
}

.about-content-col {
  padding-left: 10px;
}

.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 15px;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(229, 168, 59, 0.1);
  border: 1px solid rgba(229, 168, 59, 0.25);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
  line-height: 1.2;
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-style: italic;
  color: var(--secondary);
  border-left: 4px solid var(--accent);
  padding-left: 22px;
  margin-bottom: 30px;
  line-height: 1.55;
}

.about-text {
  color: #1e1e1e;
  letter-spacing: 0.3px;
  margin-bottom: 40px;
  font-size: 1.12rem;
  line-height: 1.8;
}

/* --- Vision & Mission (Curved Panels) --- */
.vision-mission-section {
  position: relative;
  overflow: hidden;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 60px;
}

.vm-panel {
  background: linear-gradient(145deg, var(--primary), var(--dark));
  color: var(--bg-light);
  border-radius: 40px 10px 40px 10px;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(229, 168, 59, 0.1);
  transition: var(--transition-smooth);
}

.vm-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(229, 168, 59, 0.15), transparent 60%);
  pointer-events: none;
}

.vm-panel:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), var(--shadow-accent);
}

.vm-panel-offset {
  margin-top: 40px;
}

.vm-icon-box {
  width: 70px;
  height: 70px;
  background: rgba(248, 250, 253, 0.08);
  border: 1px solid rgba(229, 168, 59, 0.4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 30px;
  transition: var(--transition-smooth);
}

.vm-panel:hover .vm-icon-box {
  background: var(--accent);
  color: var(--dark);
  transform: rotate(10deg);
}

.vm-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.vm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vm-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(248, 250, 253, 0.92);
  font-size: 1.12rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.vm-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-weight: 700;
}

/* --- Floating Counters / Impact --- */
.counters-section {
  padding: 60px 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.counters-wrapper {
  background: var(--white);
  border-radius: 30px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(37, 65, 178, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-item {
  text-align: center;
  position: relative;
  padding: 10px 20px;
}

.counter-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.counter-val-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 12px;
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.counter-plus {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
  margin-left: 4px;
  line-height: 1;
}

.counter-label {
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: #060606;
}

/* --- Our Services (Organic Service Blocks) --- */
.services-section {
  overflow: hidden;
}

.services-intro {
  max-width: 680px;
  margin: 0 auto 70px auto;
}

.services-intro p {
  font-size: 1.18rem;
  line-height: 1.7;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.service-block.alt {
  grid-template-columns: 1.1fr 1fr;
}

.service-block.alt .service-image-side {
  order: 2;
}

.service-block.alt .service-text-side {
  order: 1;
}

.service-image-side {
  position: relative;
}

.service-image-container {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.service-block:nth-child(even) .service-image-container {
  border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.service-block:hover .service-image-container img {
  transform: scale(1.1);
}

.service-icon-floating {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--accent);
}

.service-text-side {
  padding: 20px;
}

.service-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.service-desc {
  color: #1a1a1a;
  margin-bottom: 30px;
  font-size: 1.12rem;
  line-height: 1.75;
  letter-spacing: 0.3px;
}

.service-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.3px;
}

.service-features li i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* --- Facilities (Alternating Storytelling) --- */
.facilities-section {
  position: relative;
  overflow: hidden;
}

.facility-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 120px;
}

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

.facility-item.alt {
  grid-template-columns: 0.85fr 1.15fr;
}

.facility-item.alt .facility-img-wrapper {
  order: 2;
}

.facility-item.alt .facility-content-wrapper {
  order: 1;
}

.facility-img-wrapper {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}

.facility-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.facility-item:hover .facility-img-wrapper img {
  transform: scale(1.05);
}

.facility-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(12, 19, 44, 0.6), transparent 50%);
}

.facility-content-wrapper {
  padding: 30px;
}

.facility-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.25;
}

.facility-desc {
  color: #fff;
  margin-bottom: 30px;
  font-size: 1.18rem;
  line-height: 1.75;
}

.title-span {
  color: #ffe9a1;
}

.facility-meta {
  display: flex;
  align-items: center;
  gap: 25px;
}

.facility-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

/* --- New Face of MANITHAM  Life Care Centre --- */
.centre-facility-layout {
  margin-bottom: 20px;
}

.centre-facility-layout .facility-content-wrapper {
  padding: 12px 0;
}

.centre-image-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: var(--white);
  background: rgba(12, 19, 44, 0.82);
  border: 1px solid rgba(229, 168, 59, 0.5);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
}

.centre-image-caption i,
.centre-gratitude i {
  color: var(--accent);
  flex: 0 0 auto;
}

.centre-intro {
  max-width: 580px;
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.centre-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.centre-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 84px;
  padding: 18px;
  color: var(--bg-light);
  background: rgba(248, 250, 253, 0.06);
  border: 1px solid rgba(229, 168, 59, 0.24);
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  transition: var(--transition-fast);
}

.centre-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(229, 168, 59, 0.13);
  border-color: var(--accent);
}

.centre-feature-card i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex: 0 0 auto;
}

.centre-gratitude {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 168, 59, 0.25);
  color: rgba(248, 250, 253, 0.9);
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
}

/* --- Our Team --- */
.team-section {
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #1d3388 0%, #243faa 65%, #080d20 100%) !important;
  color: var(--white) !important;
  padding: 100px 0;
}

.team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(229, 168, 59, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(37, 65, 178, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.team-section .container {
  position: relative;
  z-index: 2;
}

.team-section .section-tag {
  display: inline-block !important;
  background: rgba(229, 168, 59, 0.15) !important;
  color: #f6c065 !important;
  border: 1px solid rgba(229, 168, 59, 0.35) !important;
  -webkit-text-fill-color: #f6c065 !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
}

.team-section .section-title {
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.team-section .gold-divider {
  background: linear-gradient(90deg, transparent, #e5a83b, transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
}

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

.team-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 34px 22px 28px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(229, 168, 59, 0.25);
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(229, 168, 59, 0.6);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 168, 59, 0.22);
}

.team-image-wrap {
  position: relative;
  width: 154px;
  height: 154px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e5a83b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 168, 59, 0.3);
  background: #0c1430;
}

.team-image-wrap img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-image-wrap img {
  transform: scale(1.08);
}

.team-name {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.team-name small {
  color: #cbd5e1 !important;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-style: italic;
  letter-spacing: 0.4px;
  color: #f6c065;
  font-weight: 600;
}

.team-description {
  margin: 15px 0 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Subpage Team Grid & Cards (Clean Light Theme) --- */
.subpage .team-grid {
  margin-top: 30px;
}

.subpage .team-card,
.team-card-subpage {
  background: #ffffff !important;
  border: 1.5px solid rgba(29, 51, 136, 0.12) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 28px rgba(12, 19, 44, 0.05) !important;
  min-height: auto !important;
  padding: 34px 22px 28px !important;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.subpage .team-card:hover,
.team-card-subpage:hover {
  transform: translateY(-8px) !important;
  background: #ffffff !important;
  border-color: #e5a83b !important;
  box-shadow: 0 20px 40px rgba(29, 51, 136, 0.12), 0 0 22px rgba(229, 168, 59, 0.22) !important;
}

.subpage .team-card .team-image-wrap,
.team-card-subpage .team-image-wrap {
  background: #f1f5f9 !important;
  border: 4px solid #e5a83b !important;
  box-shadow: 0 10px 25px rgba(12, 19, 44, 0.12) !important;
}

.subpage .team-card .team-name,
.team-card-subpage .team-name {
  color: #1d3388 !important;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 6px;
      margin-top: 20px;
  line-height: 1.35;
  text-shadow: none !important;
}

.subpage .team-card .team-name small,
.team-card-subpage .team-name small {
  color: #64748b !important;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.subpage .team-card .team-role,
.team-card-subpage .team-role {
  color: #c88820 !important;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.team-subpage-wrapper .team-card-image img{
        height: 270px;
}
.subpage .team-card .team-description,
.team-card-subpage .team-description {
    color: #222222 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    margin: 15px 0 0 !important;
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Gallery (Masonry Layout) --- */
.gallery-section {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid rgba(37, 65, 178, 0.05);
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(29, 51, 136, 0.8) 20%, transparent 60%);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
}

.gallery-item-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.gallery-item-cat {
  color: var(--accent);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  transition-delay: 0.1s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-title,
.gallery-item:hover .gallery-item-cat {
  transform: translateY(0);
}

/* Masonry Grid Spans */
.gallery-span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-span-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-span-1x2 {
  grid-column: span 1;
  grid-row: span 2;
}

/* Custom Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 19, 44, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 80%;
  max-height: 80vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  border: 1px solid rgba(229, 168, 59, 0.3);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--accent);
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.1);
}

/* --- Testimonials (Floating Speech Bubble Slider) --- */
.testimonials-section {
  background: var(--dark);
  color: var(--bg-light);
  overflow: hidden;
}

.testimonials-section .section-title {
  color: #fff !important;
}

.testimonials-slider-container {
  max-width: 850px;
  margin: 50px auto 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.speech-bubble {
  background: rgba(248, 250, 253, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 168, 59, 0.15);
  padding: 50px 60px;
  border-radius: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 20px 20px 0;
  border-style: solid;
  border-color: rgba(248, 250, 253, 0.05) transparent;
  display: block;
  width: 0;
}

/* Quote icon */
.testimonial-quote-icon {
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-heading);
  position: absolute;
  top: 15px;
  left: 30px;
  opacity: 0.15;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--white);
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-accent);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-family: var(--font-body);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-info p {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
}

.testimonial-nav-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(229, 168, 59, 0.3);
  background: transparent;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-nav-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

/* --- Contact & Map Section --- */
.contact-section {
  overflow: hidden;
}

.contact-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  margin-bottom: 40px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .contact-duo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.contact-card-box {
  background: var(--white);
  padding: 42px 38px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(12, 19, 44, 0.06);
  border: 1px solid rgba(37, 65, 178, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(12, 19, 44, 0.1);
  border-color: rgba(229, 168, 59, 0.35);
}

.contact-card-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #edf2f7;
}

.contact-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.contact-card-header .subtitle {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0;
}

/* Big Clear Address Block */
.contact-address-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 24px;
}

.contact-address-card .addr-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.contact-address-card .addr-label i,
.contact-address-card .addr-label svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.contact-address-card .addr-text {
  font-size: 1.12rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.65;
  margin: 0;
}

/* Statutory Block Cards (De-Addiction Centre & Manitham Life Care Trust) */
.contact-statutory-item {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-statutory-item:hover {
  border-color: rgba(37, 65, 178, 0.3);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(12, 19, 44, 0.06);
}

.contact-statutory-item .stat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-statutory-item .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-statutory-item .stat-icon.icon-med {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.contact-statutory-item .stat-icon.icon-trust {
  background: rgba(29, 51, 136, 0.1);
  color: var(--primary);
}

.contact-statutory-item .stat-icon svg,
.contact-statutory-item .stat-icon i {
  width: 22px;
  height: 22px;
}

.contact-statutory-item .stat-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.3;
}

.contact-statutory-item .stat-body {
  padding-left: 54px;
}

.contact-statutory-item .stat-reg {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-statutory-item .stat-details {
  font-size: 17px;
  color: #1e293b;
  line-height: 1.55;
  letter-spacing: 0.5px;
  margin: 0;
}

@media (max-width: 576px) {
  .contact-statutory-item .stat-body {
    padding-left: 0;
    margin-top: 10px;
  }
}

.contact-ministry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(29, 51, 136, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid rgba(29, 51, 136, 0.12);
}

.contact-ministry-badge svg,
.contact-ministry-badge i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
  color: var(--accent-dark);
}

.contact-org-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 6px 0;
  font-weight: 700;
}

.contact-org-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-dark);
  font-weight: 700;
  margin: 0 0 16px 0;
}

/* Motto Card */
.contact-motto-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(229, 168, 59, 0.15) 0%, rgba(229, 168, 59, 0.05) 100%);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.contact-motto-icon {
  color: var(--accent-dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-motto-icon svg,
.contact-motto-icon i {
  width: 22px;
  height: 22px;
}

.contact-motto-text {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: #0c1430;
  line-height: 1.5;
}

/* Director Box */
.contact-director-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border: 1px solid rgba(29, 51, 136, 0.15);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(29, 51, 136, 0.04);
}

.contact-director-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-director-icon svg,
.contact-director-icon i {
  width: 24px;
  height: 24px;
}

.contact-director-info {
  flex: 1;
  min-width: 0;
}

.contact-director-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  margin-bottom: 2px;
}

.contact-director-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.contact-director-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0c1430;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-director-phone:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-director-phone svg,
.contact-director-phone i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 25px 0;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-meta-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-meta-icon svg,
.contact-meta-icon i {
  width: 20px;
  height: 20px;
}

.contact-meta-item:hover .contact-meta-icon {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.contact-meta-info h5 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-dark);
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-meta-info p {
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.5;
  white-space: normal;
  letter-spacing: 0.2px;
  margin: 0;
  font-weight: 600;
}

.contact-meta-info p a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.contact-meta-info p a:hover {
  color: var(--primary);
  text-decoration: underline;
}

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

.contact-socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.contact-socials a:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-3px);
}

.contact-form-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form-card {
  background: var(--white);
  padding: 50px;
  border-radius: 35px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(37, 65, 178, 0.04);
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--gray-light);
  background: var(--bg-light);
  border-radius: 12px;
  font-size: 1.05rem;
  color: var(--dark);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(229, 168, 59, 0.1);
}

.form-input.is-invalid {
  border-color: #c62828;
  background: #fff8f8;
}

.contact-field-error {
  display: none;
  margin-top: 7px;
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.contact-field-error.show {
  display: block;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-text);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 16px;
}

.form-label span {
  color: #b42318;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group.textarea-group .form-label {
  top: 25px;
}

/* Floating labels effect */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -10px;
  left: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--white);
  padding: 0 8px;
  color: var(--primary);
}

.form-input::placeholder {
  color: transparent;
}

.captcha-group {
  margin-bottom: 28px;
  overflow: visible;
}

.contact-success-popup {
  position: fixed;
  top: 105px;
  right: 28px;
  z-index: 10000;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contact-success-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.contact-success-popup.d-none {
  display: none;
}

.contact-success-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.contact-success-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.contact-success-icon svg {
  width: 24px;
  height: 24px;
}

.contact-success-card h4 {
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-success-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Map Frame with Overlay Info Card */
.map-frame-container {
  position: relative;
  height: 320px;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(37, 65, 178, 0.05);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(229, 168, 59, 0.3);
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  pointer-events: none;
}

.map-overlay-card h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary);
  font-size: 16.5px;
  margin-bottom: 5px;
}

.map-overlay-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.45;
}

/* --- Footer --- */
footer {
  background-color: var(--dark);
  color: #fff;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(248, 250, 253, 0.08);
}

.footer-col-desc {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 25px;
  letter-spacing: 0.5px;
  margin-bottom: 30px;

  color: rgba(255, 255, 255, 0.88);
}

.footer-social-icons {
  display: flex;
  gap: 15px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(248, 250, 253, 0.05);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 168, 59, 0.2);
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-newsletter-p {
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.newsletter-form {
  position: relative;
}

.newsletter-input {
  width: 100%;
  padding: 16px 60px 16px 20px;
  background: rgba(248, 250, 253, 0.05);
  border: 1px solid rgba(248, 250, 253, 0.1);
  border-radius: 50px;
  color: var(--white);
  font-size: 1rem;
}

.newsletter-input:focus {
  border-color: var(--accent);
  background: rgba(248, 250, 253, 0.08);
}

.newsletter-submit-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-submit-btn:hover {
  transform: scale(1.05);
  background: var(--white);
}

.copyright-section {
  padding: 30px 0;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);

}

.copyright-section p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 17px;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.6;
  font-weight: 400;
  text-align: center;
}

.copyright-section p a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.copyright-section p a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.copyright-links {
  display: flex;
  gap: 25px;
}

.copyright-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.copyright-links a:hover {
  color: var(--accent);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-contact-item span {
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--accent);
  padding-left: 3px;
}

@media (max-width: 768px) {
  .copyright-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .copyright-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* --- Premium Preloader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-in-out;
}

.preloader-logo {
  text-align: center;
  color: var(--white);
  margin-bottom: 30px;
}

.preloader-bar-outer {
  width: 200px;
  height: 3px;
  background: rgba(248, 250, 253, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.preloader-bar-inner {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.4s ease;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .about-grid {
    gap: 40px;
  }

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

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

  .gallery-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
  }

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

@media (max-width: 991px) {
  .section-padding {
    padding: 30px 0;
  }

  .nav-links,
  .nav-cta .btn-premium {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-wrapper {
    padding: 15px 30px;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-shapes {
    display: none;
  }

  .hero-floating-stat {
    display: none;
  }

  .hero-text-col {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .about-images-wrapper {
    height: 480px;
  }

  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vm-panel-offset {
    margin-top: 0;
  }

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

  .counter-item:nth-child(2)::after {
    display: none;
  }

  .service-block,
  .service-block.alt {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-block.alt .service-image-side {
    order: 0;
  }

  .service-block.alt .service-text-side {
    order: 1;
  }

  .facility-item,
  .facility-item.alt {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .facility-item.alt .facility-img-wrapper {
    order: 0;
  }

  .facility-item.alt .facility-content-wrapper {
    order: 1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .logo-container img {
    height: 50px !important;
  }

  .hero-section>.curve-bottom {
    height: 56px;
  }

  .centre-feature-grid {
    grid-template-columns: 1fr;
  }

  .centre-image-caption {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 13px 14px;
  }

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

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

  .counters-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .counter-item::after {
    display: none !important;
  }

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

  .speech-bubble {
    padding: 30px;
  }

  .testimonial-quote {
    font-size: 1.15rem;
  }

  .contact-info-panel {
    padding: 40px 30px;
  }

  .contact-form-card {
    padding: 35px 25px;
  }

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

  .copyright-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery-span-2x2,
  .gallery-span-2x1,
  .gallery-span-1x2 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about-images-wrapper {
    height: 380px;
  }
}

/* --- Success Stories --- */
.success-stories-section .testimonials-slider-container {
  display: none;
}

.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.success-story-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(229, 168, 59, 0.24);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.success-story-card:hover {
  border-color: rgba(229, 168, 59, 0.55);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
  transform: translateY(-10px);
}

.success-story-image {
  height: 235px;
  overflow: hidden;
}

.success-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-story-card:hover .success-story-image img {
  transform: scale(1.08);
}

.success-story-content {
  padding: 27px 26px 29px;
}

.success-story-content h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.success-story-content p {
  color: rgba(248, 250, 253, 0.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.success-story-link {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.success-story-link span {
  font-size: 1.15rem;
  transition: transform 0.25s ease;
}

.success-story-link:hover {
  color: var(--white);
}

.success-story-link:hover span {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .success-stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .success-story-card:last-child {
    grid-column: 1 / -1;
    max-width: 460px;
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .success-stories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .success-story-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .success-story-image {
    height: 215px;
  }
}

/* Carousel behaviour for the Success Stories cards. */
.success-stories-carousel {
  position: relative;
}

.success-stories-carousel .success-stories-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.success-stories-carousel .success-stories-grid::-webkit-scrollbar {
  display: none;
}

.success-stories-carousel .success-story-card {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
}

.success-stories-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.success-stories-nav-btn {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(229, 168, 59, 0.45);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  display: flex;
  height: 48px;
  justify-content: center;
  transition: var(--transition-fast);
  width: 48px;
}

.success-stories-nav-btn i {
  height: 20px;
  width: 20px;
}

.success-stories-nav-btn:hover,
.success-stories-nav-btn:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  color: var(--dark);
  outline: none;
}

@media (max-width: 991px) {
  .success-stories-carousel .success-story-card {
    flex-basis: calc((100% - 30px) / 2);
  }
}

@media (max-width: 600px) {
  .success-stories-carousel .success-stories-grid {
    gap: 20px;
  }

  .success-stories-carousel .success-story-card {
    flex-basis: 100%;
  }
}

/* =========================================================
   PREMIUM VISUAL POLISH & ENHANCEMENTS
   ========================================================= */

/* --- Counters enhanced background --- */
.counters-wrapper {
  position: relative;
  overflow: hidden;
}

.counters-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
  border-radius: 30px 30px 0 0;
}

/* --- Hero section subtle grain texture --- */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

/* --- Section background subtle pattern for light sections --- */
.about-section,
.gallery-section,
.contact-section {
  background: var(--bg-light);
}

.services-section {
  background-color: #ffffff;
  padding: 50px 0px;
}

/* --- Premium hover transition for all cards --- */
.about-image-card,
.vm-panel,
.service-block,
.facility-img-wrapper,
.team-card,
.gallery-item,
.contact-info-panel,
.contact-form-card {
  will-change: transform;
}

/* --- Service feature icon enhanced size --- */
.service-features li i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Gold horizontal rule for dark sections heading area --- */
.bg-dark-section .section-title {
  color: var(--white);
}

/* --- Counters section enhanced card look --- */
.counters-wrapper {
  background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
}

/* --- Blob visibility boost in dark sections --- */
.bg-dark-section .blob {
  opacity: 0.08;
}

/* --- Footer pattern overlay --- */
footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(229, 168, 59, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(29, 51, 136, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

footer .container,
footer .footer-grid,
footer .copyright-section {
  position: relative;
  z-index: 2;
}

/* --- Vision Mission section padding boost for dark sections with curves --- */
.vision-mission-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.facilities-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

.testimonials-section {
  padding-top: 80px;
  padding-bottom: 100px;
}

/* --- Input focus accessibility outline --- */
.form-input:focus {
  outline: none;
}

/* --- Gallery item cursor zoom hint --- */
.gallery-item::after {
  content: '⊕';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(229, 168, 59, 0.9);
  color: var(--dark);
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition-fast);
  z-index: 5;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* --- Map overlay card text-white fix --- */
.map-overlay-card h6 {
  color: var(--primary) !important;
}

/* --- Floating badges enhanced shadow --- */
.hero-floating-stat {
  background: rgba(255, 255, 255, 0.92);
}

/* --- Testimonials star rating --- */
.testimonial-stars {
  display: block;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 5px;
  opacity: 0.5;
}

/* --- About section padding top offset for badge --- */
.about-badge-circular {
  box-shadow: 0 0 0 8px rgba(229, 168, 59, 0.08), var(--shadow-lg);
}

/* --- Team card subtle background on hover --- */
/* .team-card:hover {
  background: rgba(229, 168, 59, 0.03);
  border-radius: 20px;
  padding: 15px;
  margin: -15px;
} */

/* --- Prevent layout shift with team hover --- */
.team-section .team-grid {
  padding: 20px;
}

/* --- Smooth counters section reveal from beneath vm section --- */
@media (min-width: 992px) {
  .counters-section {
    margin-top: 60px;
    padding-top: 0px;
  }
}

/* --- Contact info panel vertical gold accent line --- */
.contact-info-panel {
  border-left: 4px solid var(--accent);
}

/* --- Footer enhanced logo glow --- */
footer .logo-icon {
  box-shadow: 0 0 20px rgba(229, 168, 59, 0.3);
}

/* --- Smooth image loading fade-in --- */
img {
  transition: opacity 0.5s ease;
}

/* --- Service icon lucide wrapper fix --- */
.service-icon-floating i,
.floating-stat-icon i,
.contact-meta-icon i,
.vm-icon-box i {
  width: 24px;
  height: 24px;
}

/* --- Nav wrapper initial state fix (before scrolled class) --- */
.nav-wrapper {
  background: rgba(248, 250, 253, 0.88);
}

/* --- Gold accent heading for section tags in white bg --- */
.section-tag {
  background: linear-gradient(90deg, var(--accent), #b8942a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Exceptions for dark bg section tags */
.bg-dark-section .section-tag,
.vm-panel .section-tag,
.facility-content-wrapper .section-tag,
.service-text-side .section-tag {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  background-clip: unset;
  color: var(--accent);
}

/* ===========================================================================
   NEW SECTIONS — Services, Life at Centre, Outreach, Donation, Campus Tour
   =========================================================================== */

/* --- Services Programs Card Grid --- */
.sp-section {
  background-color: #f4f6ff;
  overflow: hidden;
  padding: 80px 0;
}

.sp-subtitle {
  color: var(--gray-text);
  font-size: 20px;
  letter-spacing: 0.5px;
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 0.3px;
  line-height: 1.7;
}

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

.sp-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 65, 178, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.sp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 168, 59, 0.2);
}

.sp-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.sp-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-card:hover .sp-card-img-wrap img {
  transform: scale(1.1);
}

.sp-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 19, 44, 0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.sp-card:hover .sp-card-img-wrap::after {
  opacity: 1;
}

.sp-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 1px solid rgba(229, 168, 59, 0.25);
}

.sp-card-badge i {
  width: 20px;
  height: 20px;
}

.sp-card-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.sp-card-body p {
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--gray-text);
  line-height: 1.7;
  letter-spacing: 0.3px;
  flex: 1;
}

/* --- Life at the Centre Timeline --- */
.lac-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #f8faff 0%, #f1f5f9 50%, #f8faff 100%);
  padding: 80px 0;
}

.lac-bg-shape {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 168, 59, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lac-subtitle {
  color: var(--gray-text);
  font-size: 20px;
  letter-spacing: 0.5px;
  max-width: 1050px;
  margin: 0 auto;
  letter-spacing: 0.3px;
  line-height: 1.7;
}

.lac-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.lac-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  opacity: 0.2;
  transform: translateY(-50%);
  pointer-events: none;
}

.lac-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 65, 178, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  will-change: transform;
}

.lac-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(229, 168, 59, 0.2);
}

.lac-time {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.lac-icon-wrap {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  background: var(--gray-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(37, 65, 178, 0.06);
  transition: var(--transition-fast);
}

.lac-card:hover .lac-icon-wrap {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.lac-icon-wrap i {
  width: 22px;
  height: 22px;
}

.lac-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}

/* --- Outreach Program --- */
.outreach-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  padding: 80px 0;
}

.outreach-subtitle {
  color: var(--gray-text);
  font-size: 20px;
  letter-spacing: 0.5px;
  max-width: 650px;
  margin: 0 auto;
  letter-spacing: 0.3px;
  line-height: 1.7;
}

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

.outreach-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(37, 65, 178, 0.04);
  transition: var(--transition-smooth);
  will-change: transform;
}

.outreach-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 168, 59, 0.15);
}

.outreach-card-img {
  height: 220px;
  overflow: hidden;
}

.outreach-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.outreach-card-body {
  padding: 26px 24px 28px;
}

.outreach-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.4em * 2);
}

.outreach-card-body p {
  font-size: 0.98rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.outreach-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  transition: var(--transition-fast);
}

.outreach-link i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.outreach-link:hover {
  color: var(--accent);
}

.outreach-link:hover i {
  transform: translateX(4px);
}

/* --- Donation / Support Section --- */
.donate-section {
  padding-top: 100px;
  padding-bottom: 150px;
  position: relative;
}

.donate-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.donate-details-card {
  position: relative;
  background: rgba(248, 250, 253, 0.06);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(229, 168, 59, 0.38);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 0 70px rgba(229, 168, 59, 0.08);
  overflow: hidden;
}

.donate-details-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 180px;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(229, 168, 59, 0.18), transparent 70%);
  pointer-events: none;
}

.bank-details-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.donate-row {
  min-width: 0;
  padding: 18px 16px;
  border-right: 1px solid rgba(229, 168, 59, 0.2);
  border-radius: 14px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.donate-row:last-child {
  border-right: none;
}

.donate-row:hover {
  background: rgba(229, 168, 59, 0.09);
  transform: translateY(-2px);
}

.donate-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}

.donate-value {
  font-size: 1.08rem;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.donate-value-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-copy-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(229, 168, 59, 0.1);
  border: 1px solid rgba(229, 168, 59, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.donate-copy-btn i {
  width: 16px;
  height: 16px;
}

.donate-copy-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.donate-copy-btn.copied {
  background: #2e7d32;
  border-color: #2e7d32;
  color: var(--white);
}

/* Keep all six details on one line throughout desktop widths. */
@media (max-width: 991px) {
  .bank-details-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .donate-row:nth-child(3n) {
    border-right: none;
  }

  .donate-row:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(229, 168, 59, 0.2);
  }
}

/* --- Campus Tour Video --- */
.tour-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  padding: 80px 0;
}

.tour-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 60px;
  align-items: center;
}

.tour-video-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.tour-video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.tour-video-container:hover img {
  transform: scale(1.06);
}

.tour-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 19, 44, 0.4) 0%, rgba(12, 19, 44, 0.15) 100%);
  transition: background 0.4s ease;
  pointer-events: none;
}

.tour-video-container:hover .tour-overlay {
  background: linear-gradient(135deg, rgba(12, 19, 44, 0.5) 0%, rgba(12, 19, 44, 0.25) 100%);
}

.tour-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  color: var(--white);
  z-index: 2;
  transition: var(--transition-fast);
  animation: playPulse 2.5s infinite ease-in-out;
}

.tour-video-container:hover .tour-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
}

@keyframes playPulse {

  0%,
  100% {
    opacity: 0.85;
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.tour-play-btn svg {
  width: 100%;
  height: 100%;
}

.tour-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 19, 44, 0.65);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid rgba(229, 168, 59, 0.2);
}

.tour-label i {
  width: 16px;
  height: 16px;
}

.tour-info {
  padding: 20px 0;
}

.tour-desc {
  color: #2c2c2c;
  font-size: 1.12rem;
  line-height: 1.75;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

/* --- Video Modal --- */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 44, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 700px;
}

.video-modal-close {
  position: absolute;
  top: -55px;
  right: 0;
  width: 44px;
  height: 44px;
  background: rgba(248, 250, 253, 0.1);
  border: 1px solid rgba(248, 250, 253, 0.2);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.video-modal-close:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
}

.video-modal-body {
  background: var(--dark);
  border-radius: 20px;
  padding: 80px 40px;
  border: 1px solid rgba(229, 168, 59, 0.15);
}

.video-modal-placeholder {
  text-align: center;
  color: rgba(248, 250, 253, 0.7);
}

.video-modal-placeholder i {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.video-modal-placeholder h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.video-modal-placeholder p {
  font-size: 1.12rem;
}

/* --- Enhanced Social Media Hover --- */
.contact-socials a,
.footer-social-btn {
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.contact-socials a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(229, 168, 59, 0.3);
}

.footer-social-btn:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 8px 25px rgba(229, 168, 59, 0.25);
}

/* --- New Sections Responsive --- */
@media (max-width: 1200px) {
  .sp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lac-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .lac-card {
    padding: 24px 14px;
  }

  .tour-layout {
    gap: 40px;
  }
}

@media (max-width: 991px) {

  .sp-section,
  .lac-section,
  .outreach-section,
  .tour-section {
    padding: 50px 0;
  }

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

  .lac-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lac-grid::before {
    display: none;
  }

  .outreach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .outreach-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .donate-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .donate-details-card {
    padding: 12px;
  }

  .tour-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .sp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .sp-card-img-wrap {
    height: 160px;
  }

  .sp-card-body {
    padding: 20px 18px 24px;
  }

  .sp-card-body h3 {
    font-size: 1.05rem;
  }

  .lac-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .lac-card {
    padding: 22px 12px;
  }

  .outreach-grid {
    grid-template-columns: 1fr;
  }

  .outreach-card:last-child {
    max-width: 100%;
  }

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

  .donate-row {
    padding: 18px 16px;
  }

  .donate-row:nth-child(3n) {
    border-right: 1px solid rgba(229, 168, 59, 0.2);
  }

  .donate-row:nth-child(2n) {
    border-right: none;
  }

  .donate-row:nth-child(-n + 3) {
    border-bottom: none;
  }

  .donate-row:nth-child(-n + 4) {
    border-bottom: 1px solid rgba(229, 168, 59, 0.2);
  }

  .tour-play-btn {
    width: 60px;
    height: 60px;
  }

  .video-modal-body {
    padding: 50px 25px;
  }
}

@media (max-width: 480px) {

  .sp-section,
  .lac-section,
  .outreach-section,
  .tour-section {
    padding: 40px 0;
  }

  .sp-grid {
    grid-template-columns: 1fr;
  }

  .lac-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lac-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 16px 18px;
  }

  .lac-time {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 0.62rem;
    min-width: 78px;
    text-align: center;
    order: -1;
  }

  .lac-icon-wrap {
    margin: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 12px;
  }

  .lac-icon-wrap i {
    width: 18px;
    height: 18px;
  }

  .lac-title {
    font-size: 0.85rem;
  }

  .donate-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .donate-details-card {
    padding: 8px;
    border-radius: 18px;
  }

  .bank-details-grid {
    grid-template-columns: 1fr;
  }

  .donate-row,
  .donate-row:nth-child(3n),
  .donate-row:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid rgba(229, 168, 59, 0.18);
  }

  .donate-row:last-child {
    border-bottom: none;
  }

  .donate-row {
    padding: 18px 16px;
  }
}

/* --- Brand-colour social icon buttons --- */
.contact-socials a,
.footer-social-btn {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.contact-socials .social-facebook,
.footer-social-icons .social-facebook {
  color: #ffffff !important;
  background-color: #005bd1 !important;
}

.contact-socials .social-instagram,
.footer-social-icons .social-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #c13584 48%, #fd1d1d 72%, #fcb045 100%) !important;
  color: #fff !important;
}

.contact-socials .social-youtube,
.footer-social-icons .social-youtube {
  color: #ffffff !important;
  background-color: #e11a09 !important;
}

.contact-socials .social-whatsapp,
.footer-social-icons .social-whatsapp {
  color: #ffffff !important;
  background-color: #00af41 !important;
}

.contact-socials .social-phone,
.footer-social-icons .social-phone {
  color: #ffffff !important;
  background-color: #00af41 !important;
}

.contact-socials a:hover,
.footer-social-btn:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-4px) scale(1.08) !important;
}

/* Final Success Stories carousel overrides. */
.success-stories-section .testimonials-slider-container,
.success-stories-section .testimonial-nav-btns {
  display: none !important;
}

.success-stories-carousel .success-stories-grid {
  display: flex !important;
  grid-template-columns: none;
  overflow-x: auto;
}

/* Keep three story cards visible in one row, then move one card per arrow click. */
.success-stories-carousel .success-story-card {
  flex: 0 0 calc((100% - 60px) / 3);
  grid-column: auto;
  max-width: none;
}

@media (max-width: 991px) {
  .success-stories-carousel .success-story-card {
    flex-basis: calc((100% - 30px) / 2);
  }

  .success-stories-carousel .success-story-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .success-stories-carousel .success-story-card {
    flex-basis: 100%;
  }
}

/* Font Awesome social buttons with official brand-colour backgrounds. */
/* .contact-socials .social-facebook,
.footer-social-icons .social-facebook { background: #1877f2 !important; } */

.contact-socials .social-instagram,
.footer-social-icons .social-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #c13584 48%, #fd1d1d 72%, #fcb045 100%) !important;
}

/* 
.contact-socials .social-youtube,
.footer-social-icons .social-youtube { background: #ff0000 !important; }

.contact-socials .social-whatsapp,
.footer-social-icons .social-whatsapp { background: #25d366 !important; }

.contact-socials .social-phone,
.footer-social-icons .social-phone { background: #22a447 !important; } */

.contact-socials a,
.footer-social-btn {
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  color: #fff !important;
}

.contact-socials a i,
.footer-social-btn i {
  color: inherit;
  font-size: 1.05rem;
}

/* Preserve Font Awesome's icon font where the site typography styles are inherited. */
.contact-socials .fa-brands,
.footer-social-btn .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-style: normal;
  font-weight: 400 !important;
}

.contact-socials .fa-solid,
.footer-social-btn .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal;
  font-weight: 900 !important;
}

.contact-socials .fa-brands::before,
.contact-socials .fa-solid::before,
.footer-social-btn .fa-brands::before,
.footer-social-btn .fa-solid::before {
  display: block;
}

/* Explicit glyph mappings ensure every Font Awesome icon remains visible. */
.social-facebook .fa-facebook-f::before {
  content: "\f39e" !important;
}

.social-instagram .fa-instagram::before {
  content: "\f16d" !important;
}

.social-youtube .fa-youtube::before {
  content: "\f167" !important;
}

.social-whatsapp .fa-whatsapp::before {
  content: "\f232" !important;
}

.social-phone .fa-phone::before {
  content: "\f095" !important;
}

/* ==========================================================================
   FACILITIES PAGE, BANNER & PAGINATION STYLES
   ========================================================================== */

/* --- Page Banner Styling --- */
.page-banner {
  position: relative;
  padding-top: 150px;
  padding-bottom: 40px;
  background: linear-gradient(rgb(2 18 74), rgb(38 41 137)), url(http://127.0.0.1:8000/frontend/assets/images/slider-1.jpg) center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(229, 168, 59, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 80% 60%, rgba(37, 65, 178, 0.35) 0%, transparent 65%);
  pointer-events: none;
}

.page-banner-tag {
  display: inline-block;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner .sub-page-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.page-banner .gold-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 22px auto;
  border-radius: 2px;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  list-style: none !important;
  list-style-type: none !important;
  padding: 10px 26px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 168, 59, 0.25);
  border-radius: 30px;
  font-size: 1.02rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  list-style: none !important;
  list-style-type: none !important;
}

.breadcrumb-list li::marker,
.breadcrumb-list::marker {
  display: none !important;
  content: "" !important;
}

.breadcrumb-list li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.breadcrumb-list li a:hover {
  color: #ffffff;
}

.breadcrumb-list li.active {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb-list li+li::before {
  content: '/';
  color: rgba(229, 168, 59, 0.6);
  font-size: 0.92rem;
  margin-right: 2px;
}

/* --- Facilities Listing Section --- */
.facilities-page-section {
  padding: 70px 0 100px;
  background: var(--bg-light, #f8faff);
}

.facilities-container-inner {
  max-width: 1060px;
  margin: 0 auto;
}

.facility-card {
  display: grid;
  grid-template-columns: 430px 1fr;
  background: #ffffff;
  border: 1px solid rgba(37, 65, 178, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 19, 44, 0.05);
  margin-bottom: 35px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(12, 19, 44, 0.12);
  border-color: rgba(229, 168, 59, 0.4);
}

.facility-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #0c132c;
}

.facility-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.facility-card-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.facility-card:hover .facility-card-image img {
  transform: scale(1.08);
}

.facility-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 19, 44, 0.88);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(229, 168, 59, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.facility-card-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-tag {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}

.facility-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px 0;
  line-height: 1.35;
}

.facility-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.facility-card-title a:hover {
  color: var(--accent);
}

.facility-card-desc {
  color: #3e3e3e;
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.facility-card-desc p {
  margin: 0 0 12px 0;
  color: #3e3e3e;
  font-size: 1.08rem;
  line-height: 1.75;
}

.facility-card-desc ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.facility-card-desc ul li {
  position: relative;
  padding-left: 24px;
  font-size: 1.02rem;
  color: #222;
  line-height: 1.6;
}

.facility-card-desc ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent);
  font-size: 1.02rem;
}

.facility-card-desc ul li p {
  margin: 0;
  display: inline;
}

.facility-card-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(37, 65, 178, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.facility-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--primary), #101c4e);
  color: var(--accent);
  border: 1px solid rgba(229, 168, 59, 0.4);
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(12, 19, 44, 0.15);
}

.facility-read-more-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(229, 168, 59, 0.3);
}

.facility-read-more-btn i {
  transition: transform 0.25s ease;
  font-size: 0.95rem;
}

.facility-read-more-btn:hover i {
  transform: translateX(4px);
}

/* Empty state */
.empty-facilities-box {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed rgba(229, 168, 59, 0.4);
}

.empty-facilities-box i {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.empty-facilities-box h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.empty-facilities-box p {
  color: #555;
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 20px auto;
}

/* Custom Pagination */
.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 45px;
  width: 100%;
}

.custom-pagination .pagination-list {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.custom-pagination .page-item {
  list-style: none;
  display: inline-block;
}

.custom-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(229, 168, 59, 0.3);
  background: #ffffff;
  color: var(--dark, #0c132c);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(12, 19, 44, 0.04);
}

.custom-pagination .page-item .page-link:hover {
  background: var(--primary, #1d3388);
  border-color: var(--accent, #e5a83b);
  color: var(--accent, #e5a83b);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 19, 44, 0.15);
}

.custom-pagination .page-item.active .page-link {
  background: var(--primary, #1d3388);
  border-color: var(--accent, #e5a83b);
  color: var(--accent, #e5a83b);
  box-shadow: 0 6px 16px rgba(29, 51, 136, 0.25);
}

.custom-pagination .page-item.disabled .page-link {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(0, 0, 0, 0.1);
  background: #f5f5f5;
  color: #999;
  box-shadow: none;
}

/* Also support default Laravel pagination markup if ever rendered */
.custom-pagination nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.custom-pagination nav>div:first-child {
  display: none !important;
}

.custom-pagination nav .small.text-muted {
  display: none !important;
}

.custom-pagination nav ul.pagination {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
  .facility-card {
    grid-template-columns: 1fr;
  }

  .facility-card-image {
    min-height: 240px;
    max-height: 280px;
  }

  .facility-card-content {
    padding: 28px 24px;
  }

  .page-banner {
    padding-top: 150px;
    padding-bottom: 60px;
  }

  .page-banner .sub-page-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 600px) {
  .facility-card-desc ul {
    grid-template-columns: 1fr;
  }

  .page-banner .sub-page-title {
    font-size: 1.95rem;
  }

  .breadcrumb-list {
    padding: 8px 20px !important;
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   GALLERY & SINGLE GALLERY STYLES
   ========================================================================== */

.gallery-page-section {
  padding: 70px 0 100px;
  background: var(--bg-light, #f8faff);
}

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

@media (max-width: 1200px) {
  .gallery-album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .gallery-album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-album-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-album-card {
  border: 1px solid rgba(37, 65, 178, 0.1);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12, 19, 44, 0.05);
  transition: box-shadow .3s cubic-bezier(0.16, 1, 0.3, 1), transform .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(12, 19, 44, 0.12);
  border-color: rgba(229, 168, 59, 0.4);
}

.gallery-album-image {
  position: relative;
  height: 180px;
  background: #0c132c;
  overflow: hidden;
}

.gallery-album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-album-card:hover .gallery-album-image img {
  transform: scale(1.08);
}

.gallery-album-empty,
.gallery-album-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-album-empty {
  color: rgba(229, 168, 59, 0.6);
  font-size: 38px;
}

.gallery-album-overlay {
  background: rgba(12, 19, 44, 0.5);
  color: var(--accent);
  font-size: 28px;
  opacity: 0;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}

.gallery-album-card:hover .gallery-album-overlay {
  opacity: 1;
}

.gallery-album-body {
  padding: 16px 18px;
  text-align: center;
}

.gallery-album-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.gallery-album-body h3 a {
  text-decoration: none !important;
  color: inherit;
}

.gallery-album-body p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}

/* --- Single Gallery Grid & Controls --- */
.gallery-single-section {
  padding: 50px 0 90px;
  background: var(--bg-light, #f8faff);
}

.go-back {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #101c4e);
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 1px solid rgba(229, 168, 59, 0.35);
  box-shadow: 0 4px 12px rgba(12, 19, 44, 0.12);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: translateX(-3px);
  box-shadow: 0 6px 16px rgba(229, 168, 59, 0.3);
}

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

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 850px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  width: 100%;
}

.gallery-item-wrapper {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  border: 1px solid rgba(37, 65, 178, 0.08);
  box-shadow: 0 4px 14px rgba(12, 19, 44, 0.06);
  background: #0c132c;
}

.gallery-item-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-wrapper:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 19, 44, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.gallery-overlay i {
  color: var(--accent);
  font-size: 26px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-item-wrapper:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-wrapper:hover .gallery-overlay i {
  transform: scale(1);
}

.mfp-image-holder .mfp-content {
  max-width: 700px;
}

.mfp-image-holder .mfp-figure figure {
  width: 700px;
  max-width: calc(100vw - 40px);
}

.mfp-image-holder .mfp-img {
  width: 700px;
  height: 450px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  padding: 0;
}

/* ==========================================================================
   DONATION & BANK DETAILS SECTION — TWO COLUMN LAYOUT
   ========================================================================== */
.donate-section.bg-dark-section {
  background: #233da5 linear-gradient(180deg, #233da5 0%, #1f2752 100%);
  position: relative;
  overflow: hidden;
}

/* --- Two-column wrapper --- */
.donate-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  width: 100%;
}

/* =====================
   LEFT — APPEAL COLUMN
   ===================== */
.donate-appeal-col {
  display: flex;
  flex-direction: column;
}

.donate-appeal-inner {
  padding: 8px 0;
}

.donate-appeal-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(229, 168, 59, 0.12);
  border: 1.5px solid rgba(229, 168, 59, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfa84a;
  margin-bottom: 22px;
}

.donate-appeal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.donate-appeal-lead {
  font-size: 18px;
  color: rgb(255 255 255);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 14px;
  font-weight: 500;
}

.donate-appeal-body {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgb(255 255 255);
  line-height: 1.78;
  margin-bottom: 14px;
}

.donate-appeal-quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(229, 168, 59, 0.07);
  border-left: 3px solid #dfa84a;
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin: 22px 0 26px;
}

.donate-appeal-quote blockquote {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-style: italic;
  color: rgb(255 255 255);
  line-height: 1.65;
  margin: 0;
}

.donate-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #dfa84a 0%, #c8922c 100%);
  color: #1a1a2e;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.28s ease;
  box-shadow: 0 6px 20px rgba(223, 168, 74, 0.35);
  cursor: pointer;
  border: none;
  width: fit-content;
  margin-bottom: 20px;
}

.donate-cta-btn:hover {
  background: linear-gradient(135deg, #f0be65 0%, #dfa84a 100%);
  color: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(223, 168, 74, 0.5);
  text-decoration: none;
}

.donate-appeal-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.donate-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.donate-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(229, 168, 59, 0.2);
  border-radius: 50px;
  padding: 5px 12px;
}

/* =====================
   RIGHT — BANK CARD
   ===================== */
.donate-bank-col {
  display: flex;
  flex-direction: column;
}

.donate-bank-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 168, 59, 0.4);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.donate-bank-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: rgba(229, 168, 59, 0.08);
  border-bottom: 1px solid rgba(229, 168, 59, 0.25);
}

.donate-bank-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(229, 168, 59, 0.15);
  border: 1.5px solid rgba(229, 168, 59, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfa84a;
  flex-shrink: 0;
}

.donate-bank-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.donate-bank-subtitle {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.donate-bank-rows {
  padding: 10px 0;
}

.donate-bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid rgba(229, 168, 59, 0.12);
  transition: background 0.2s ease;
  gap: 12px;
}

.donate-bank-row:last-child {
  border-bottom: none;
}

.donate-bank-row:hover {
  background: rgba(229, 168, 59, 0.05);
}

.donate-bank-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #dfa84a;
  min-width: 130px;
  flex-shrink: 0;
}

.donate-bank-value {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

.donate-bank-value.mono {
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 1px;
  font-size: 0.92rem;
}

.donate-bank-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex: 1;
}

.donate-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid rgba(229, 168, 59, 0.6);
  background: transparent;
  color: #dfa84a;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
  padding: 0;
}

.donate-copy-btn svg,
.donate-copy-btn i {
  width: 15px;
  height: 15px;
  font-size: 13px;
}

.donate-copy-btn:hover {
  background: rgba(229, 168, 59, 0.22);
  border-color: #dfa84a;
  color: #ffffff;
  transform: scale(1.08);
}

.donate-bank-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 16px 28px;
  background: rgba(229, 168, 59, 0.06);
  border-top: 1px solid rgba(229, 168, 59, 0.2);
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.55;
}

.donate-bank-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .donate-two-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .donate-bank-label {
    min-width: 110px;
  }
}

@media (max-width: 768px) {
  .donate-appeal-title {
    font-size: 1.5rem;
  }

  .donate-bank-row {
    padding: 14px 20px;
  }

  .donate-bank-header {
    padding: 20px;
  }

  .donate-bank-label {
    min-width: 100px;
    font-size: 0.75rem;
  }

  .donate-bank-value {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .donate-bank-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
  }

  .donate-bank-copy-row {
    justify-content: flex-start;
  }

  .donate-bank-value {
    text-align: left;
  }

  .donate-trust-badges {
    gap: 8px;
  }
}

/* ==========================================================================
   VIRTUAL TOUR SECTION & VIDEO MODAL
   ========================================================================== */
.tour-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.tour-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.tour-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: #0c132c;
  border: 2px solid rgba(229, 168, 59, 0.35);
  box-shadow: 0 15px 40px rgba(12, 19, 44, 0.12);
  cursor: pointer;
}

.tour-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 19, 44, 0.35);
  transition: opacity 0.4s ease;
  pointer-events: auto;
}

.tour-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(229, 168, 59, 0.9);
  color: #0c132c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 10px rgba(229, 168, 59, 0.25), 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.tour-play-btn svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.tour-video-container:hover .tour-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e5a83b;
  box-shadow: 0 0 0 15px rgba(229, 168, 59, 0.35), 0 15px 35px rgba(0, 0, 0, 0.4);
}

.tour-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 19, 44, 0.85);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid rgba(229, 168, 59, 0.35);
  backdrop-filter: blur(8px);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.tour-info {
  padding-left: 10px;
}

.tour-desc {
  color: #4b5563;
  font-size: 18px;
  letter-spacing: 0.5px;
  line-height: 1.78;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 19, 44, 0.88);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(229, 168, 59, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: var(--accent);
  color: #0c132c;
}

@media (max-width: 992px) {
  .tour-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .tour-info {
    padding-left: 0;
  }
}

/* ==========================================================================
   Life at the Centre Page Styles
   ========================================================================== */
.lac-page-experience {
  color: var(--gray-text);
  margin-bottom: 40px;
}

.lac-hero-card {
  background: linear-gradient(135deg, rgba(248, 250, 253, 0.98), rgba(255, 255, 255, 1));
  border: 1px solid rgba(229, 168, 59, 0.28);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 12px 35px rgba(12, 19, 44, 0.05);
  margin-bottom: 60px;
}

.lac-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(37, 65, 178, 0.08);
  border: 1px solid rgba(37, 65, 178, 0.15);
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.lac-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.28;
}

.lac-hero-lead {
  font-size: 1.2rem;
  line-height: 1.78;
  color: var(--dark);
  margin-bottom: 14px;
}

.lac-hero-sub {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--gray-text);
  margin-bottom: 24px;
}

.lac-highlights-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lac-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(229, 168, 59, 0.35);
  padding: 7px 16px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(12, 19, 44, 0.03);
}

.lac-chip i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.lac-hero-visual-card {
  background: linear-gradient(135deg, var(--dark), #172554);
  border-radius: 20px;
  padding: 30px 24px;
  border: 1px solid rgba(229, 168, 59, 0.3);
  box-shadow: 0 16px 40px rgba(12, 19, 44, 0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visual-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.visual-stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.visual-stat-box .stat-text {
  font-size: 1rem;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.35;
}

.lac-section-wrapper {
  margin-bottom: 60px;
}

.lac-section-intro {
  color: var(--gray-text);
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 650px;
  margin: 0 auto;
}

/* --- 4 Pillars Grid --- */
.lac-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.lac-pillar-card {
  background: var(--white);
  border-radius: 20px;
  padding: 34px 24px;
  text-align: center;
  border: 1px solid rgba(37, 65, 178, 0.08);
  box-shadow: 0 8px 24px rgba(12, 19, 44, 0.04);
  transition: var(--transition-fast);
}

.lac-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 168, 59, 0.4);
  box-shadow: 0 16px 36px rgba(12, 19, 44, 0.08);
}

.lac-pillar-card .pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px rgba(37, 65, 178, 0.2);
  transition: var(--transition-fast);
}

.lac-pillar-card .pillar-icon-box i {
  width: 26px;
  height: 26px;
}

.lac-pillar-card:hover .pillar-icon-box {
  background: linear-gradient(135deg, var(--accent), #f3c267);
  color: var(--dark);
  transform: scale(1.06);
}

.lac-pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.lac-pillar-card p {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--gray-text);
  margin-bottom: 0;
}

/* --- Schedule Phase Groups & Cards --- */
.lac-phases-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.lac-phase-group {
  background: #fbfcfe;
  border: 1px solid rgba(37, 65, 178, 0.08);
  border-radius: 20px;
  padding: 24px;
}

.lac-phase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(12, 19, 44, 0.06);
}

.lac-phase-header .phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.lac-phase-header .phase-badge i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.lac-phase-header .phase-timeframe {
  font-size: 0.92rem;
  font-weight: 600;
  color: #64748b;
  background: var(--white);
  border: 1px solid rgba(12, 19, 44, 0.08);
  padding: 5px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lac-schedule-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.lac-item-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(12, 19, 44, 0.06);
  box-shadow: 0 4px 14px rgba(12, 19, 44, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition-fast);
}

.lac-item-card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 168, 59, 0.35);
  box-shadow: 0 10px 24px rgba(12, 19, 44, 0.06);
}

.item-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.item-time-badge {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 65, 178, 0.08);
  border: 1px solid rgba(37, 65, 178, 0.14);
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.item-tag-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  padding: 3px 12px;
  border-radius: 50px;
}

.item-card-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.item-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(37, 65, 178, 0.08);
}

.item-icon-wrap i {
  width: 20px;
  height: 20px;
}

.item-text-wrap {
  flex: 1;
}

.item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 4px;
}

.item-desc {
  font-size: 0.98rem;
  color: #556987;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Amenities & Facilities Section --- */
.lac-amenities-card {
  background: linear-gradient(135deg, #f8fafd, #ffffff);
  border: 1px solid rgba(37, 65, 178, 0.1);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 12px 35px rgba(12, 19, 44, 0.04);
  margin-bottom: 40px;
}

.lac-amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lac-amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.55;
}

.lac-amenity-item i {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.lac-contact-box {
  background: linear-gradient(135deg, var(--dark), #162452);
  border: 1px solid rgba(229, 168, 59, 0.35);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 16px 40px rgba(12, 19, 44, 0.2);
}

.lac-contact-box .contact-box-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(229, 168, 59, 0.18);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lac-contact-box .contact-box-icon i {
  width: 24px;
  height: 24px;
}

/* Subpage General Typography Helpers */
.subpage .block-item {
  padding-bottom: 24px;
}

.subpage .section-heading {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.35;
}

.subpage .content-text,
.subpage .tiptap-content,
.subpage .rich-text {
  font-size: 1.1rem;
  line-height: 1.78;
  color: #334155;
}

.subpage .content-text p,
.subpage .tiptap-content p {
  font-size: 1.1rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.subpage .news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  color: #64748b;
  margin-bottom: 20px;
}

.subpage .news-meta-item i {
  font-size: 0.95rem;
  color: var(--accent);
}

.subpage .grid-item h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.subpage .grid-item .grid-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
}

.subpage .accordion-button {
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 22px;
}

.subpage .accordion-body {
  font-size: 1.08rem;
  line-height: 1.75;
  padding: 22px;
}

.subpage .nav-tabs .nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 12px 24px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
  .lac-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lac-hero-card {
    padding: 24px 20px;
  }

  .lac-pillars-grid {
    grid-template-columns: 1fr;
  }

  .lac-amenities-grid {
    grid-template-columns: 1fr;
  }

  .lac-amenities-card {
    padding: 24px 20px;
  }
}

.read-view-btn {
  margin-top: 20px;
}

.view-btn {
  margin-top: 60px;
}

/* ==========================================================================
   LUXURY IMAGE LIGHTBOX & POPUP SYSTEM
   ========================================================================== */

/* --- Image link & Hover Aesthetics --- */
.popup-image,
.tiptap-content a.popup-image,
.gallery-item-wrapper {
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-image img,
.tiptap-content img,
.content-text img {
  cursor: zoom-in;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, filter 0.4s ease;
  border-radius: 12px;
}

.popup-image:hover img,
.content-text .popup-image:hover img,
.tiptap-content .popup-image:hover img {
  transform: scale(1.025);
  box-shadow: 0 16px 36px rgba(29, 51, 136, 0.18);
  filter: brightness(1.02);
}

.popup-image::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 52px;
  height: 52px;
  background: rgba(12, 19, 44, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(229, 168, 59, 0.6);
  color: #e5a83b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.popup-image:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- Luxury Lightbox Modal --- */
.luxury-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
}

.luxury-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.luxury-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(16, 24, 48, 0.94) 0%, rgba(8, 12, 24, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

/* Header / Controls Bar */
.luxury-lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.85) 0%, rgba(8, 12, 24, 0) 100%);
  pointer-events: none;
}

.luxury-lightbox-info {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  max-width: 55%;
}

.luxury-lightbox-counter {
  background: rgba(229, 168, 59, 0.18);
  border: 1px solid rgba(229, 168, 59, 0.45);
  color: #f6c065;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(229, 168, 59, 0.15);
}

.luxury-lightbox-title {
  color: #f1f5f9;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.luxury-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.luxury-lightbox-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f1f5f9;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.luxury-lightbox-btn:hover {
  background: linear-gradient(135deg, #e5a83b, #c88820);
  border-color: #e5a83b;
  color: #0c132c;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 6px 20px rgba(229, 168, 59, 0.4);
}

.luxury-lightbox-btn.luxury-lightbox-close {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  margin-left: 8px;
}

.luxury-lightbox-btn.luxury-lightbox-close:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.45);
}

/* Nav Chevrons */
.luxury-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.luxury-lightbox-prev {
  left: 28px;
}

.luxury-lightbox-next {
  right: 28px;
}

.luxury-lightbox-nav:hover {
  background: linear-gradient(135deg, #e5a83b, #c88820);
  border-color: #e5a83b;
  color: #0c132c;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(229, 168, 59, 0.45);
}

.luxury-lightbox-nav.disabled {
  opacity: 0.15;
  pointer-events: none;
}

/* Stage & Image Wrapper */
.luxury-lightbox-stage {
  position: relative;
  z-index: 5;
  width: 100vw;
  height: 100vh;
  padding: 85px 80px 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
}

.luxury-lightbox-img-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  transition: transform 0.12s ease-out;
  cursor: zoom-in;
}

.luxury-lightbox-img-wrapper.is-zoomed {
  cursor: grab;
}

.luxury-lightbox-img-wrapper.is-dragging {
  cursor: grabbing;
}

.luxury-lightbox-img {
  max-width: min(92vw, 1400px);
  max-height: calc(100vh - 165px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.8), 0 0 50px rgba(29, 51, 136, 0.3);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: auto;
}

.luxury-lightbox-modal.active .luxury-lightbox-img.loaded {
  transform: scale(1);
  opacity: 1;
}

/* Loading Spinner */
.luxury-lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.luxury-lightbox-loader.active {
  opacity: 1;
}

.luxury-lightbox-spinner {
  width: 48px;
  height: 48px;
  border: 3.5px solid rgba(229, 168, 59, 0.2);
  border-top-color: #e5a83b;
  border-radius: 50%;
  animation: luxurySpin 0.8s linear infinite;
}

@keyframes luxurySpin {
  to {
    transform: rotate(360deg);
  }
}

/* Bottom Caption Bar */
.luxury-lightbox-caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(12, 19, 44, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  max-width: 80vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.luxury-lightbox-caption:empty {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .luxury-lightbox-header {
    padding: 12px 16px;
  }

  .luxury-lightbox-info {
    max-width: 45%;
  }

  .luxury-lightbox-title {
    display: none;
  }

  .luxury-lightbox-stage {
    padding: 65px 16px 65px;
  }

  .luxury-lightbox-img {
    max-width: 95vw;
    max-height: calc(100vh - 140px);
  }

  .luxury-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .luxury-lightbox-prev {
    left: 10px;
  }

  .luxury-lightbox-next {
    right: 10px;
  }

  .luxury-lightbox-btn {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* --- Magnific Popup Fallback Modern Styling --- */
.mfp-bg {
  background: radial-gradient(circle at center, rgba(16, 24, 48, 0.95) 0%, rgba(8, 12, 24, 0.98) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  opacity: 0.95 !important;
}

.mfp-image-holder .mfp-content {
  max-width: 90vw !important;
}

.mfp-img {
  border-radius: 12px !important;
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.75), 0 0 40px rgba(29, 51, 136, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 40px 0 !important;
}

.mfp-close {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  position: absolute !important;
  right: 15px !important;
  top: 15px !important;
  background: rgba(239, 68, 68, 0.2) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  border-radius: 50% !important;
  text-align: center !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}

.mfp-close:hover {
  background: #dc2626 !important;
  color: #fff !important;
  transform: rotate(90deg) scale(1.08) !important;
}

.mfp-arrow {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px) !important;
}

.mfp-arrow:hover {
  background: linear-gradient(135deg, #e5a83b, #c88820) !important;
}

.mfp-counter {
  color: #e5a83b !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}

.mfp-title {
  color: #f1f5f9 !important;
}