/* ===== Custom Properties ===== */
:root {
  --rose-50: #F0FDF4;
  --rose-100: #DCFCE7;
  --rose-200: #BBF7D0;
  --rose-300: #86EFAC;
  --rose-400: #4ADE80;
  --rose-500: #22C55E;
  --rose-600: #16A34A;
  --rose-700: #15803D;
  --rose-800: #065F46;
  --rose-900: #0F2B4C;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --font-serif: 'Crimson Pro', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --gold: #F59E0B;
  --cream: #F0F9F4;
  --text-heading: #1A1A1A;
  --text-body: #4B5563;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px -2px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 40px -8px rgba(0,0,0,.1), 0 8px 16px -8px rgba(0,0,0,.06);
  --shadow-xl: 0 25px 60px -12px rgba(0,0,0,.15);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--stone-50);
  color: var(--text-body);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

h1, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  line-height: 1.15;
}

::selection {
  background-color: var(--rose-200);
  color: var(--rose-900);
}

a {
  text-decoration: none;
  transition: color 0.25s var(--ease-out-expo);
}

img {
  image-rendering: auto;
}

/* ===== Navbar ===== */
.navbar-custom {
  transition: background-color 0.4s var(--ease-out-expo), padding 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), backdrop-filter 0.4s;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  background: transparent;
}

.navbar-custom.scrolled {
  background-color: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 4px 16px -4px rgba(0,0,0,.08);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-custom .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--rose-700);
  transition: background 0.3s, color 0.3s;
}

.navbar-custom.scrolled .brand-icon {
  background: var(--rose-700);
  color: #fff;
}

.navbar-custom .brand-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: color 0.3s, text-shadow 0.3s;
}

.navbar-custom.scrolled .brand-text {
  color: var(--rose-900);
  text-shadow: none;
}

.navbar-custom .brand-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(220,252,231,0.9);
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  transition: color 0.3s, text-shadow 0.3s;
}

.navbar-custom.scrolled .brand-sub {
  color: #6b7280;
  text-shadow: none;
}

.navbar-custom .nav-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: color 0.3s, text-shadow 0.3s;
  padding: 0.5rem 0 !important;
  margin: 0 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}

.navbar-custom.scrolled .nav-link {
  color: var(--stone-700);
  text-shadow: none;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--rose-500) !important;
}

.navbar-custom .nav-link.active {
  border-bottom: 2px solid var(--rose-600);
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--rose-500);
  transition: width 0.3s var(--ease-out-expo), left 0.3s var(--ease-out-expo);
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-custom .nav-link.active::after {
  width: 100%;
  left: 0;
}

.navbar-custom .navbar-toggler {
  border: none;
  padding: 0.25rem;
  box-shadow: none !important;
}

.navbar-custom .navbar-toggler .ph {
  font-size: 1.75rem;
  color: #fff;
  transition: color 0.3s;
}

.navbar-custom.scrolled .navbar-toggler .ph {
  color: #1f2937;
}

/* Inner-page navbar: white bg + dark text, no shadow */
.navbar-custom.navbar-inner-page {
  background-color: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar-custom.navbar-inner-page .brand-icon {
  background: var(--rose-700);
  color: #fff;
}

.navbar-custom.navbar-inner-page .brand-text {
  color: var(--rose-900);
  text-shadow: none;
}

.navbar-custom.navbar-inner-page .brand-sub {
  color: #6b7280;
  text-shadow: none;
}

.navbar-custom.navbar-inner-page .nav-link {
  color: var(--stone-700);
  text-shadow: none;
}

.navbar-custom.navbar-inner-page .navbar-toggler .ph {
  color: #1f2937;
}

/* When scrolled on inner pages, add the shadow */
.navbar-custom.navbar-inner-page.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
}

/* ===== Buttons ===== */
.btn-rose {
  background-color: var(--rose-700);
  color: #fff;
  border: none;
  border-radius: 50rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 4px 12px -2px rgba(21, 128, 61, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.btn-rose::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.btn-rose:hover {
  background-color: var(--rose-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(21, 128, 61, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-rose:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px -2px rgba(21, 128, 61, 0.3);
}

.btn-rose-lg {
  padding: 1rem 2.75rem;
  font-size: 1.0625rem;
}

.btn-rose-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50rem;
  font-weight: 700;
  padding: 1rem 2.75rem;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease-out-expo);
  backdrop-filter: blur(8px);
}

.btn-rose-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0,0,0,.15);
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-video .carousel,
.hero-video .carousel-inner,
.hero-video .carousel-item {
  height: 100%;
}

.hero-video .carousel-item img {
  filter: brightness(0.2) saturate(1.1);
  transition: transform 8s ease-out;
}

.hero-video .carousel-item.active img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(15,43,76,0.45) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(28,25,23,0.5) 0%, rgba(28,25,23,0.15) 40%, rgba(15,43,76,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21,128,61,0.15);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  border: 1px solid rgba(74,222,128,0.25);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-200);
}

/* ===== Page Header (Articles) ===== */
.page-header {
  position: relative;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 43, 76, 0.75);
  z-index: 1;
}

/* ===== Section Helpers ===== */
.section-rose-bg { background-color: var(--rose-50); }
.section-stone-bg { background-color: var(--stone-50); }
.section-dark-bg { background-color: var(--stone-900); color: var(--stone-300); }
.section-rose-dark-bg { background: linear-gradient(165deg, var(--rose-900) 0%, #0a1f38 60%, var(--stone-900) 100%); color: #fff; position: relative; overflow: hidden; }

.text-rose-900 { color: var(--rose-900) !important; }
.text-rose-800 { color: var(--rose-800) !important; }
.text-rose-700 { color: var(--rose-700) !important; }
.text-rose-600 { color: var(--rose-600) !important; }
.text-rose-500 { color: var(--rose-500) !important; }
.text-rose-400 { color: var(--rose-400) !important; }
.text-rose-300 { color: var(--rose-300) !important; }
.text-rose-200 { color: var(--rose-200) !important; }
.text-rose-100 { color: var(--rose-100) !important; }
.text-stone-400 { color: var(--stone-400) !important; }
.text-stone-300 { color: var(--stone-300) !important; }

.bg-rose-700 { background-color: var(--rose-700) !important; }
.bg-rose-900 { background-color: var(--rose-900) !important; }
.bg-rose-50 { background-color: var(--rose-50) !important; }
.bg-stone-900 { background-color: var(--stone-900) !important; }
.bg-stone-800 { background-color: var(--stone-800) !important; }
.bg-stone-50 { background-color: var(--stone-50) !important; }

/* ===== Section Heading Accent ===== */
.section-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-600), var(--rose-400));
  border-radius: 50rem;
}

.section-heading.text-center {
  display: block;
}

.section-heading-left::after {
  left: 0;
  transform: none;
}

/* Section subtitles - consistent styling */
.section-heading + p,
.section-heading ~ p:first-of-type {
  font-size: 1.125rem;
  color: var(--stone-400);
  line-height: 1.75;
}

/* ===== Cards (Home page service previews) ===== */
.card-custom {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  padding: 2rem 2rem 1.75rem;
  transition: all 0.4s var(--ease-out-expo);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-700), var(--rose-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.card-custom:hover::before {
  transform: scaleX(1);
}

.card-custom:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-custom .card-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, var(--rose-50), var(--rose-100));
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
  color: var(--rose-700);
  font-size: 1.5rem;
}

.card-custom:hover .card-icon {
  background: linear-gradient(135deg, var(--rose-700), var(--rose-600));
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 16px -4px rgba(21,128,61,0.25);
}

.card-custom .card-link {
  color: var(--rose-700);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.35s var(--ease-out-expo), color 0.25s;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-100);
}

.card-custom .card-link i {
  transition: transform 0.35s var(--ease-out-expo);
}

.card-custom:hover .card-link {
  gap: 0.625rem;
  color: var(--rose-800);
}

.card-custom:hover .card-link i {
  transform: translateX(2px);
}

/* ===== Service Cards (Services page) ===== */
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1.25rem;
  padding: 2rem 2rem 1.75rem;
  transition: all 0.4s var(--ease-out-expo);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-700), var(--rose-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card .svc-icon {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, var(--rose-50), var(--rose-100));
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
  color: var(--rose-700);
  font-size: 1.35rem;
}

.service-card:hover .svc-icon {
  background: linear-gradient(135deg, var(--rose-700), var(--rose-600));
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 16px -4px rgba(21,128,61,0.25);
}

.service-card-featured {
  box-shadow: var(--shadow-md);
}

.service-card-featured::before {
  transform: scaleX(1);
}

/* Service card "Learn More" link */
.service-card .card-link {
  color: var(--rose-700);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: gap 0.35s var(--ease-out-expo), color 0.25s;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stone-100);
}
.service-card .card-link i { transition: transform 0.35s var(--ease-out-expo); }
.service-card:hover .card-link { gap: 0.625rem; color: var(--rose-800); }
.service-card:hover .card-link i { transform: translateX(2px); }

/* Service detail page breadcrumb */
.service-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: 0.8125rem; font-weight: 500; }
.service-breadcrumb .breadcrumb-item a { text-decoration: none; color: var(--rose-200); transition: color 0.2s; }
.service-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.service-breadcrumb .breadcrumb-item.active { color: #fff; font-weight: 600; }
.service-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--rose-300); }

.who-badge {
  display: inline-block;
  background: var(--rose-50);
  color: var(--rose-700);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  border: 1px solid var(--rose-200);
  box-shadow: 0 1px 3px rgba(21,128,61,0.08);
}

/* ===== Gallery ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-md);
  background: var(--stone-100);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo), filter 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.gallery-item:hover {
  box-shadow: var(--shadow-xl);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,43,76,0.85) 0%, rgba(15,43,76,0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

.gallery-overlay .gallery-title {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: translateY(0.75rem);
  transition: transform 0.4s var(--ease-out-expo);
}

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

.gallery-overlay .gallery-sub {
  color: var(--rose-200);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay .gallery-sub {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery page (4 columns) */
.gallery-page-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  aspect-ratio: 1/1;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.07);
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-page-item:hover {
  box-shadow: 0 12px 24px -4px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

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

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

.gallery-page-item .gp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

/* ===== Gallery Play Button (video items) ===== */
.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
  pointer-events: none;
}

.gallery-play-btn i {
  font-size: 1.75rem;
  color: var(--rose-700);
  margin-left: 3px;
}

.gallery-item:hover .gallery-play-btn,
.gallery-page-item:hover .gallery-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* ===== Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 2rem;
}

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

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.25);
}

/* Lightbox content wrapper */
.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lightbox-content > * {
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

/* Lightbox video container */
.lightbox-video {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  max-height: 85vh;
}

.lightbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}

/* Lightbox navigation arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  font-size: 1.25rem;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-next:hover {
  transform: translateY(-50%) translateX(2px);
}

/* Lightbox counter */
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  z-index: 10;
  font-family: var(--font-sans);
}

/* ===== Daily Schedule ===== */
.schedule-section {
  position: relative;
  overflow: hidden;
}

.schedule-section .schedule-bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5rem;
  opacity: 0.04;
  pointer-events: none;
  font-size: 25rem;
}

.schedule-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem;
  padding: 0.5rem 2rem;
  box-shadow: 0 25px 60px -12px rgba(0,0,0,.25);
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 0.75rem;
  transition: all 0.3s var(--ease-out-expo);
}

.schedule-row:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

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

.schedule-row:hover {
  background: rgba(255,255,255,0.07);
  transform: translateX(4px);
}

/* ===== Pricing Box ===== */
.pricing-box {
  background: linear-gradient(135deg, var(--rose-50) 0%, #fff 50%, var(--rose-50) 100%);
  border-radius: 2rem;
  border: 1px solid var(--rose-100);
  overflow: hidden;
  position: relative;
}

.pricing-box .pricing-blur {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 20rem;
  height: 20rem;
  background: rgba(187,247,208,0.25);
  border-radius: 50%;
  filter: blur(80px);
}

/* ===== Pricing include cards ===== */
.include-card {
  background: #fff;
  padding: 1.75rem 1.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s var(--ease-out-expo);
}

.include-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-200);
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.testimonial-card .quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 5rem;
  font-family: var(--font-serif);
  line-height: 1;
  color: var(--rose-100);
  pointer-events: none;
  z-index: 1;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-100);
  color: var(--rose-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
  margin-bottom: 0.75rem;
}

.testimonial-stars i {
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-style: italic;
  position: relative;
  z-index: 5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s;
}

.testimonial-text.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.testimonial-read-more {
  background: none;
  border: none;
  color: var(--rose-700);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.25rem 0;
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
}

.testimonial-read-more:hover {
  color: var(--rose-900);
}

/* ===== Footer ===== */
.footer-custom {
  background-color: var(--stone-900);
  color: var(--stone-300);
  position: relative;
}

.footer-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-700), transparent);
}

.footer-custom a {
  color: var(--stone-300);
  transition: color 0.25s var(--ease-out-expo);
}

.footer-custom a:hover {
  color: var(--rose-400);
}

.footer-custom .social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s var(--ease-out-expo);
}

.footer-custom .social-icon:hover {
  background: var(--rose-700);
  border-color: var(--rose-700);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(21,128,61,0.3);
}

.footer-reg-badge {
  background: rgba(255,255,255,0.04);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.06);
}

/* ===== About Page ===== */
.about-founder-bg {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  background: var(--rose-100);
  border-radius: 1.5rem;
  z-index: 0;
}

.about-founder-img {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Founder placeholder card */
.founder-placeholder {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--rose-50), var(--cream));
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--rose-100);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.1);
}

.founder-placeholder .founder-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--rose-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 20px -5px rgba(21,128,61,0.3);
}

/* Home About section */
.home-about-img {
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
  position: relative;
  z-index: 10;
  height: 500px;
  width: 100%;
  object-fit: cover;
}

.home-about-blur {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 16rem;
  height: 16rem;
  background: var(--rose-100);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
}

.home-about-badge {
  position: absolute;
  top: 2.5rem;
  left: -2.5rem;
  width: 8rem;
  height: 8rem;
  background: var(--rose-700);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.15);
  z-index: 20;
  flex-direction: column;
  text-align: center;
}

/* ===== Vision & Mission Cards ===== */
.vision-card {
  background: var(--rose-900);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.vision-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.mission-card {
  background: var(--stone-900);
  color: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  border-top: 3px solid var(--rose-400);
  position: relative;
  overflow: hidden;
}

.mission-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.vision-card p,
.mission-card p {
  line-height: 1.75;
}

.vm-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* ===== Values ===== */
.value-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out-expo);
  border-top: 3px solid var(--rose-600);
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-card h5 {
  font-size: 1.125rem;
}

/* ===== Admission Steps ===== */
.step-card {
  position: relative;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 1.5rem;
  padding: 2rem;
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 3rem;
  height: 3rem;
  background: var(--rose-700);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  border: 4px solid #fff;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}

/* ===== Documents Section ===== */
.docs-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.doc-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--rose-400);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ===== Contact Page ===== */
.contact-icon-box {
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-700);
  flex-shrink: 0;
}

.form-control-custom {
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s var(--ease-out-expo);
}

.form-control-custom:focus {
  border-color: var(--rose-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
  background: #fff;
  outline: none;
}

/* ===== Donate ===== */
.donate-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.donate-card-light {
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
}

.donate-card-dark {
  background: var(--stone-900);
  color: #fff;
  border: 1px solid var(--stone-800);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.15);
}

/* ===== FAQ Accordion ===== */
.accordion-custom .accordion-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 1rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease-out-expo);
}

.accordion-custom .accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: var(--shadow-md);
}

.accordion-custom .accordion-button {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--stone-800);
  padding: 1.25rem 1.75rem;
  background: #fff;
  box-shadow: none !important;
  transition: all 0.3s var(--ease-out-expo);
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--rose-50);
  color: var(--rose-900);
}

.accordion-custom .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2315803D' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-custom .accordion-body {
  padding: 0 2rem 1.5rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ===== Nutrition Box ===== */
.nutrition-box {
  background: var(--stone-900);
  color: #fff;
  border-radius: 2.5rem;
  overflow: hidden;
}

/* ===== Safety Card ===== */
.safety-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
  border: 1px solid var(--rose-100);
  position: relative;
  z-index: 10;
}

/* ===== CTA Final ===== */
.cta-final {
  position: relative;
  overflow: hidden;
}

.cta-final .cta-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-final .cta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* ===== Feature items ===== */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.35s var(--ease-out-expo);
}

.feature-item:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--rose-50), var(--rose-100));
  padding: 0;
  border-radius: 0.875rem;
  flex-shrink: 0;
  color: var(--rose-700);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s var(--ease-out-expo);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--rose-700), var(--rose-600));
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
  box-shadow: 0 6px 12px -3px rgba(21,128,61,0.2);
}

.feature-item h4 {
  font-size: 1.0625rem;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Service detail page — centered feature items */
.col-md-6 .feature-item {
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(0,0,0,.05);
  height: 100%;
  transition: all 0.4s var(--ease-out-expo);
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.col-md-6 .feature-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ===== Note/Alert Box ===== */
.note-alert {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  text-align: left;
  box-shadow: 0 2px 8px -2px rgba(245,158,11,0.1);
}

.note-alert h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Facilities room features ===== */
.room-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--rose-50);
  padding: 1rem 1.25rem;
  border-radius: 50rem;
  border: 1px solid var(--rose-100);
  transition: all 0.3s var(--ease-out-expo);
}

.room-feature:hover {
  background: var(--rose-100);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.room-feature i {
  font-size: 1.25rem;
}

/* Safety shared container */
.safety-container {
  background: var(--cream);
  border-radius: 2rem;
  padding: 3rem;
  border: 1px solid var(--stone-200);
}

/* Meal row with icon */
.meal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone-800);
}

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

.meal-icon {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

/* Day at Aannapurnaa timeline */
.day-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.day-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose-500);
  flex-shrink: 0;
  margin-top: 0.35rem;
  box-shadow: 0 0 0 4px var(--rose-100);
}

/* ===== Visiting hours badge ===== */
.visiting-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--stone-100);
  padding: 1rem 2rem;
  border-radius: 50rem;
  color: var(--stone-700);
  font-weight: 700;
}

/* ===== No Hidden Charges card ===== */
.no-charges-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
  border: 1px solid var(--stone-200);
  text-align: center;
}

/* ===== Registered badge in footer ===== */
.footer-quote {
  background: rgba(15,43,76,0.2);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(15,43,76,0.3);
}

/* ===== Floating Action Buttons ===== */
.floating-action-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px -2px rgba(0,0,0,.2);
  transition: all 0.35s var(--ease-spring);
  position: relative;
}

.fab:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(0,0,0,.3);
  color: #fff;
}

/* FAB tooltips */
.fab::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--stone-900);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  pointer-events: none;
  font-family: var(--font-sans);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.fab:hover::before {
  opacity: 1;
  visibility: visible;
}

.fab-phone {
  background-color: var(--rose-700);
}

.fab-phone:hover {
  background-color: var(--rose-800);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  background-color: #1ebe5d;
}

/* WhatsApp pulse animation */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 12px rgba(0,0,0,.25), 0 0 0 12px rgba(37,211,102,0); }
}

.fab-pulse {
  animation: fabPulse 1.5s ease-in-out 3;
}

/* ===== Scroll Animations ===== */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.scroll-animate.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate-delay-1 { transition-delay: 0.12s; }
.scroll-animate-delay-2 { transition-delay: 0.24s; }
.scroll-animate-delay-3 { transition-delay: 0.36s; }

/* ===== Article Layout ===== */
.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--stone-700);
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-serif);
  color: var(--rose-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-hero {
  padding-top: 120px;
  padding-bottom: 3rem;
  background: var(--cream);
  position: relative;
}

/* Full-width background image hero for articles */
.article-hero-bg {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,43,76,0.5) 0%, rgba(15,43,76,0.7) 50%, rgba(15,43,76,0.9) 100%);
  z-index: 1;
}

.article-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.cta-box {
  background: linear-gradient(135deg, var(--rose-50) 0%, #fff 50%, var(--rose-50) 100%);
  border: 1px solid var(--rose-100);
  padding: 2.5rem;
  border-radius: 1.5rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-700), var(--rose-400));
}

.cluster-links {
  margin-top: 2rem;
  border-left: 4px solid var(--rose-400);
  padding-left: 1.5rem;
}

.cluster-links a {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--rose-800);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.cluster-links a:hover {
  color: var(--rose-600);
  text-decoration: underline;
}

/* ===== Article Enrichment Components ===== */

/* Reading time & meta bar */
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone-200, #E7E5E4);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--stone-400);
}

.article-meta-bar i {
  margin-right: 0.35rem;
}

/* Key Takeaways box */
.key-takeaways {
  background: var(--rose-50);
  border: 1px solid var(--rose-200);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
}

.key-takeaways h3 {
  font-family: var(--font-serif);
  color: var(--rose-900);
  font-size: 1.25rem;
  margin-top: 0 !important;
  margin-bottom: 1rem;
}

.key-takeaways ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.key-takeaways li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Translate Bar */
.translate-bar {
  background: var(--cream);
  border: 1px solid var(--stone-200);
  border-radius: 0.75rem;
  padding: 0.625rem 1.25rem;
  margin-bottom: 1.5rem;
}

.translate-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.translate-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rose-800);
  white-space: nowrap;
}

.translate-btns {
  display: flex;
  gap: 0.375rem;
}

.translate-btn {
  background: transparent;
  border: 1px solid var(--stone-200);
  border-radius: 0.5rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.translate-btn:hover {
  background: var(--rose-100);
  border-color: var(--rose-300);
  color: var(--rose-800);
}

.translate-btn.active {
  background: var(--rose-700);
  border-color: var(--rose-700);
  color: #fff;
}

/* Table of Contents */
.article-toc {
  background: var(--cream);
  border: 1px solid var(--stone-200, #E7E5E4);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.article-toc h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--rose-900);
  margin-top: 0 !important;
  margin-bottom: 0.75rem;
}

.article-toc ol {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.article-toc li {
  margin-bottom: 0.4rem;
}

.article-toc a {
  color: var(--rose-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.article-toc a:hover {
  color: var(--rose-900);
  text-decoration: underline;
}

/* ===== Sticky Sidebar TOC (desktop) ===== */
.article-toc-sidebar {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--stone-200) transparent;
}

.article-toc-sidebar::-webkit-scrollbar {
  width: 3px;
}

.article-toc-sidebar::-webkit-scrollbar-thumb {
  background: var(--stone-200);
  border-radius: 50rem;
}

.article-toc-sidebar .toc-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--stone-400);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc-sidebar .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--stone-200);
}

.article-toc-sidebar .toc-list li {
  margin: 0;
}

.article-toc-sidebar .toc-list a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--stone-400);
  text-decoration: none;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.25s var(--ease-out-expo);
}

.article-toc-sidebar .toc-list a:hover {
  color: var(--rose-700);
}

.article-toc-sidebar .toc-list a.active {
  color: var(--rose-900);
  font-weight: 700;
  border-left-color: var(--rose-600);
  background: linear-gradient(90deg, var(--rose-50), transparent);
}

/* Hide inline TOC on desktop when sidebar exists */
.has-toc-sidebar .article-toc {
  display: none;
}

/* ===== Reading Progress Bar ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--rose-700), var(--rose-400));
  z-index: 99999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Pull quote */
.pull-quote {
  background: var(--cream);
  border-left: 4px solid var(--rose-500);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 0.75rem 0.75rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--rose-900);
  line-height: 1.6;
}

/* Info box */
.info-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid #3B82F6;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.info-box h4 {
  color: #1E40AF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.info-box p:last-child {
  margin-bottom: 0;
}

/* Warning box */
.warning-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-left: 4px solid #F59E0B;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.warning-box h4 {
  color: #92400E;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.warning-box p:last-child {
  margin-bottom: 0;
}

/* Checklist */
.article-checklist {
  list-style: none;
  padding-left: 0;
}

.article-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.article-checklist li::before {
  content: '\F26A';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--rose-600);
  font-size: 1.1rem;
}

/* Comparison table */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--stone-200, #E7E5E4);
}

.article-table thead th {
  background: var(--rose-900);
  color: #fff;
  padding: 0.875rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-table tbody td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--stone-200, #E7E5E4);
  vertical-align: top;
}

.article-table tbody tr:nth-child(even) {
  background: var(--stone-50, #FAFAF9);
}

/* Author box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--cream);
  border: 1px solid var(--stone-200, #E7E5E4);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--rose-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-box-info h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--rose-900);
}

.author-box-info p {
  font-size: 0.875rem;
  color: var(--stone-400);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Social sharing bar */
.social-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--stone-200, #E7E5E4);
  border-bottom: 1px solid var(--stone-200, #E7E5E4);
  margin: 2rem 0;
}

.social-share-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--stone-700);
  margin-right: 0.5rem;
}

.social-share a,
.social-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stone-200, #E7E5E4);
  background: #fff;
  color: var(--stone-700);
  font-size: 1.1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.social-share a:hover,
.social-share button:hover {
  background: var(--rose-50);
  border-color: var(--rose-300);
  color: var(--rose-700);
}

/* Related articles section */
.related-articles {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--stone-200, #E7E5E4);
}

.related-articles h3 {
  font-family: var(--font-serif);
  color: var(--rose-900);
  margin-bottom: 1.5rem;
}

.related-article-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--stone-200, #E7E5E4);
  border-radius: 0.75rem;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.related-article-card:hover {
  background: var(--cream);
  border-color: var(--rose-200);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: inherit;
  text-decoration: none;
}

.related-article-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.related-article-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--rose-900);
  margin-bottom: 0.25rem;
}

.related-article-card p {
  font-size: 0.8125rem;
  color: var(--stone-400);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Drop cap */
.article-content .drop-cap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 0.85;
  font-weight: 700;
  color: var(--rose-700);
  padding-right: 0.5rem;
  padding-top: 0.1rem;
}

/* Hub guide cluster link cards */
.cluster-link-card {
  background: var(--rose-50);
  border: 1px solid var(--rose-200);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
  transition: all 0.2s;
}

.cluster-link-card:hover {
  background: var(--rose-100);
  transform: translateX(4px);
}

.cluster-link-card a {
  color: var(--rose-800);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
}

.cluster-link-card a::after {
  content: '\2192';
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.cluster-link-card:hover a::after {
  transform: translateX(4px);
}

/* ===== Articles Listing Page ===== */
.hub-guide-card {
  border-radius: 1.25rem;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hub-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.hub-guide-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.hub-guide-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hub-guide-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--rose-50);
  color: var(--rose-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  width: fit-content;
}

.hub-guide-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rose-900);
  margin: 0.75rem 0;
  line-height: 1.35;
}

.hub-guide-card p {
  color: var(--stone-700);
  font-size: 0.92rem;
  line-height: 1.6;
  flex-grow: 1;
}

.hub-guide-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--stone-400);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--stone-200);
}

.article-card-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--stone-400);
  margin-top: 0.5rem;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 767.98px) {
  .home-about-badge {
    display: none;
  }

  .schedule-card {
    padding: 1rem;
  }

  .schedule-row {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }

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

  .fab {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .fab::before {
    display: none;
  }

  .floating-action-buttons {
    bottom: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .gallery-item {
    border-radius: 1rem;
  }

  .founder-placeholder {
    padding: 2rem 1.5rem;
  }

  .safety-container {
    padding: 1.5rem;
  }

  .note-alert {
    padding: 1.5rem;
  }

  .vision-card,
  .mission-card {
    padding: 2rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .lightbox-prev {
    left: 0.75rem;
  }

  .lightbox-next {
    right: 0.75rem;
  }

  .lightbox-video {
    max-width: 85vw;
  }

  .lightbox-counter {
    bottom: 1rem;
  }

  .gallery-play-btn {
    width: 3rem;
    height: 3rem;
  }

  .gallery-play-btn i {
    font-size: 1.35rem;
  }

  /* Article hero mobile */
  .article-hero-bg {
    padding-top: 8rem;
    padding-bottom: 2.5rem;
    min-height: 340px;
  }
  /* Article enrichment mobile */
  .article-toc { padding: 1.25rem; }
  .key-takeaways { padding: 1.25rem 1.5rem; }
  .pull-quote { padding: 1rem 1.25rem; font-size: 1.1rem; }
  .author-box { flex-direction: column; text-align: center; }
  .related-article-card { flex-direction: column; }
  .related-article-card img { width: 100%; height: 160px; }
  .article-table { font-size: 0.8125rem; }
  .article-table thead th,
  .article-table tbody td { padding: 0.625rem 0.75rem; }
  .article-content .drop-cap::first-letter { font-size: 2.75rem; }
  .hub-guide-card-img { height: 160px; }
  .hub-guide-card-body { padding: 1.25rem; }
  .hub-guide-card h3 { font-size: 1.1rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-item {
    border-radius: 1.25rem;
  }
}

@media (min-width: 992px) {
  .feature-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ===== Additional Polish ===== */

/* Smooth section transitions with subtle top/bottom separators */
section + section {
  position: relative;
}

/* Cream sections get a subtle dotted pattern for depth */
[style*="background:var(--cream)"]::before,
[style*="background: var(--cream)"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(21,128,61,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content above pattern */
[style*="background:var(--cream)"] > .container,
[style*="background: var(--cream)"] > .container {
  position: relative;
  z-index: 1;
}

/* Gallery page items polish */
.gallery-page-item {
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out-expo);
}

.gallery-page-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Better link hover in body text */
.article-content a {
  color: var(--rose-700);
  text-decoration: underline;
  text-decoration-color: var(--rose-200);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.article-content a:hover {
  text-decoration-color: var(--rose-700);
}

/* Step cards polish */
.step-card {
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,0,0,.06);
}

.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Donate cards polish */
.donate-card-light {
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out-expo);
}

.donate-card-light:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.donate-card-dark {
  box-shadow: var(--shadow-xl);
}

/* Room features polish */
/* Testimonial card polish */
.testimonial-card {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,0,0,.04);
  transition: all 0.35s var(--ease-out-expo);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

/* Safety card polish */
.safety-card {
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,0,0,.04);
}

/* No charges card */
.no-charges-card {
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.04);
  transition: all 0.35s var(--ease-out-expo);
}

.no-charges-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
