/* ==========================================================================
   MAHAVISHNU OLD AGE HOME - BRAND THEME & STYLESHEET
   Logo-Derived Palette:
   - Primary: #027399 (Temple Teal / Cerulean Blue)
   - Primary Dark: #014d68
   - Primary Light: #0a96b4
   - Primary Tint: #eaf4f8
   - Secondary / Gold: #c59b27 (Divine Temple Gold)
   - Secondary Light: #e6be44
   - Sacred Accent: #b84a28 (Warm terracotta / coral)
   - Dark Sections: #072535, #082c3e, #061e2b, #03141e
   - Light Sections: #ffffff, #f1f7fa, #f6fafb
   ========================================================================== */

:root {
  --primary: #027399;
  --primary-dark: #014d68;
  --primary-hover: #013f56;
  --primary-light: #0a96b4;
  --primary-soft: #eaf4f8;
  --primary-rgb: 2, 115, 153;

  --gold: #c59b27;
  --gold-hover: #ad841a;
  --gold-light: #fbeea8;
  --gold-subtle: #fbf7ea;
  --gold-dark: #8c670b;

  --accent-warm: #c8502e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;

  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  --text-white-dim: #cbd5e1;

  --bg-white: #ffffff;
  --bg-alt: #f1f7fa;
  --bg-alt-2: #f6fafb;
  --bg-dark-1: #072535;
  --bg-dark-2: #082c3e;
  --bg-dark-3: #061e2b;
  --bg-dark-footer: #03141e;

  --card-light: #ffffff;
  --card-dark: #0d364c;
  --card-dark-border: rgba(255, 255, 255, 0.1);

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;

  --shadow-sm: 0 2px 4px rgba(2, 115, 153, 0.05);
  --shadow-md: 0 4px 12px rgba(2, 115, 153, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(2, 115, 153, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-card-dark: 0 10px 30px rgba(0, 0, 0, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 84px;
}

/* ==========================================================================
   RESET & CUSTOM SCROLLBAR
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

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

::-webkit-scrollbar-track {
  background: #eaf3f7;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
  border: 2px solid #eaf3f7;
}

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

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #eaf3f7;
}

/* Section scroll-margin to prevent header overlap */
section, [id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ==========================================================================
   PARAGRAPH CONTENT ALIGNMENT (REQUIREMENT 1)
   All paragraph content across every section must use text-align: justify;
   Desktop, tablet, mobile. Not applied to headings, buttons, nav, footer links.
   ========================================================================== */
p.content-para,
.content-para,
.hero-content p,
.about-content p,
.service-card p,
.special-card p,
.activity-card p,
.value-card p,
.why-card p,
.visit-content p,
.faq-answer p,
.contact-info-block p,
.section-body p {
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

/* Responsive container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* ==========================================================================
   TOP BAR / QUICK CONTACT STRIP
   ========================================================================== */
.top-bar {
  background: var(--bg-dark-3);
  color: var(--text-white-dim);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-white-dim);
  font-weight: 500;
}

.top-bar-item:hover {
  color: var(--gold);
}

.top-bar-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.top-badge {
  background: rgba(197, 155, 39, 0.18);
  color: var(--gold-light);
  border: 1px solid rgba(197, 155, 39, 0.35);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION (REQUIREMENT 2)
   Desktop: logo left, nav right.
   Sticky with blur, shadow, transitions.
   Responsive hamburger with clean accessible drawer.
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(2, 115, 153, 0.1);
  border-bottom-color: rgba(2, 115, 153, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(2, 115, 153, 0.2);
  border: 2px solid var(--gold);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.brand-link:hover .brand-logo-wrap {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(2, 115, 153, 0.3);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--text-white) !important;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(2, 115, 153, 0.25);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 115, 153, 0.35);
}

/* Hamburger Button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  border: 1px solid rgba(2, 115, 153, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  color: var(--primary);
  transition: var(--transition);
}

@media (min-width: 992px) {
  .hamburger-btn {
    display: none;
  }
}

.hamburger-btn:hover {
  background: var(--primary);
  color: var(--text-white);
}

.hamburger-line {
  width: 22px;
  height: 2.2px;
  background-color: currentColor;
  margin: 2.5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 20, 30, 0.65);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-white);
  z-index: 999;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(-320px);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--primary-soft);
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-main);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  background: var(--accent-warm);
  color: var(--text-white);
}

.mobile-nav-list {
  list-style: none;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.mobile-nav-list a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-alt);
}

.mobile-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  text-decoration: none;
}

.mobile-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--whatsapp);
  color: var(--text-white);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 115, 153, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-hover) 0%, #755507 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(197, 155, 39, 0.35);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--text-white);
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary-dark);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--text-white);
}

/* ==========================================================================
   SECTION COMMON LAYOUT & ALTERNATING COLORS (REQUIREMENT: ALTERNATIVE LIGHT/DARK)
   ========================================================================== */
.section {
  padding: 30px 0;
  position: relative;
}

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

/* Alternating Theme Classes */
.theme-dark {
  background: var(--bg-dark-1);
  color: var(--text-white);
}

.theme-dark-2 {
  background: var(--bg-dark-2);
  color: var(--text-white);
}

.theme-dark-3 {
  background: var(--bg-dark-3);
  color: var(--text-white);
}

.theme-light {
  background: var(--bg-white);
  color: var(--text-main);
}

.theme-alt {
  background: var(--bg-alt);
  color: var(--text-main);
}

.theme-alt-2 {
  background: var(--bg-alt-2);
  color: var(--text-main);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 28px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.theme-light .section-tag,
.theme-alt .section-tag,
.theme-alt-2 .section-tag {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(2, 115, 153, 0.2);
}

.theme-dark .section-tag,
.theme-dark-2 .section-tag,
.theme-dark-3 .section-tag {
  background: rgba(197, 155, 39, 0.16);
  color: var(--gold-light);
  border: 1px solid rgba(197, 155, 39, 0.35);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.theme-light .section-title,
.theme-alt .section-title,
.theme-alt-2 .section-title {
  color: var(--primary-dark);
}

.theme-dark .section-title,
.theme-dark-2 .section-title,
.theme-dark-3 .section-title {
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
}

.theme-light .section-subtitle,
.theme-alt .section-subtitle,
.theme-alt-2 .section-subtitle {
  color: var(--text-muted);
}

.theme-dark .section-subtitle,
.theme-dark-2 .section-subtitle,
.theme-dark-3 .section-subtitle {
  color: var(--text-white-dim);
}

/* ==========================================================================
   1. HERO SECTION (Dark Temple Teal Theme)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(140deg, #041a27 0%, #072e42 55%, #051d2a 100%);
  color: var(--text-white);
  padding: 30px 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 85% 15%, rgba(197, 155, 39, 0.15) 0%, transparent 40%),
                    radial-gradient(circle at 10% 85%, rgba(2, 115, 153, 0.25) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.18);
  border: 1px solid rgba(197, 155, 39, 0.38);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.16;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-title span {
  color: var(--gold-light);
  display: block;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: 0;
}

.hero-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px 0;
  color: var(--text-white-dim);
  font-size: 0.98rem;
}

.hero-quote-box {
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 18px;
  margin-top: 6px;
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
}

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

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(197, 155, 39, 0.3);
}

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

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 37, 53, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 155, 39, 0.35);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.stat-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.stat-text p {
  font-size: 0.85rem;
  color: var(--text-white-dim);
  margin-top: 2px;
}

/* ==========================================================================
   2. ABOUT SECTION (Light Clean Theme)
   ========================================================================== */
.about-section {
  background: var(--bg-white);
}

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

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }
}

.about-visual {
  position: relative;
}

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

.about-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge-card {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.about-badge-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.about-highlights-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.about-highlight-box {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-highlight-box svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-highlight-box h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.about-highlight-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   3. SERVICES SECTION (Subtle Light Tint Theme)
   ========================================================================== */
.services-section {
  background: var(--bg-alt);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 290px;
  max-width: 380px;
  box-sizing: border-box;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 115, 153, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--primary);
  color: var(--text-white);
}

.service-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ==========================================================================
   4. SPECIALIZED CARE SECTION (Light Warm Contrast Theme)
   ========================================================================== */
.specialized-section {
  background: var(--bg-white);
}

.special-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.special-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 290px;
  max-width: 380px;
  box-sizing: border-box;
  background: var(--bg-alt-2);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid rgba(2, 115, 153, 0.12);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.special-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.special-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.special-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(197, 155, 39, 0.15);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-card:hover .special-badge-icon {
  background: var(--gold);
  color: #ffffff;
}

.special-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.special-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   5. DAILY ACTIVITIES SECTION (Deep Dark Teal Theme)
   ========================================================================== */
.activities-section {
  background: var(--bg-dark-2);
  color: var(--text-white);
  position: relative;
}

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

@media (min-width: 992px) {
  .activities-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
  }
}

.activity-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card-dark);
  border: 3px solid rgba(197, 155, 39, 0.3);
}

.activity-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.activities-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-card {
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.activity-card:hover {
  border-color: var(--gold);
  transform: translateX(6px);
}

.activity-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.activity-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.2);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

.activity-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-white-dim);
  font-size: 0.92rem;
}

/* ==========================================================================
   6. VALUES SECTION (Light Tranquil Theme)
   ========================================================================== */
.values-section {
  background: var(--bg-alt-2);
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.value-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 290px;
  max-width: 380px;
  box-sizing: border-box;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.value-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.value-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   7. WHY CHOOSE US SECTION (Crisp White Theme)
   ========================================================================== */
.why-section {
  background: var(--bg-white);
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.why-card {
  flex: 0 1 calc(33.333% - 16px);
  min-width: 290px;
  max-width: 380px;
  box-sizing: border-box;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  background: var(--bg-white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.why-badge-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.why-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   8. VISIT & BUSINESS DETAILS (Deep Royal Teal Theme)
   ========================================================================== */
.visit-section {
  background: var(--bg-dark-1);
  color: var(--text-white);
  position: relative;
}

.visit-single-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  box-shadow: var(--shadow-card-dark);
}

.visit-card-intro {
  margin-bottom: 20px;
}

.visit-info-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.visit-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.visit-info-item svg {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.visit-info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  font-weight: 600;
}

.visit-info-val {
  font-size: 0.98rem;
  color: #ffffff;
  font-weight: 500;
}

.visit-info-val a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-info-val a:hover {
  color: var(--gold-light);
}

.visit-card-cta-bar {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 768px) {
  .visit-card-cta-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.visit-card-cta-text h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.visit-card-cta-text p {
  font-size: 0.92rem;
  color: var(--text-white-dim);
}

.visit-card-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ==========================================================================
   9. FAQ SECTION (Light Serene Tint Theme)
   ========================================================================== */
.faq-section {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.is-open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  cursor: pointer;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
  padding: 0 22px 20px 22px;
  border-top: 1px solid var(--border-subtle);
  cursor: pointer;
}

.faq-answer:hover {
  cursor: pointer;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  padding-top: 12px;
}

/* ==========================================================================
   10. CONTACT SECTION & WHATSAPP FORM (Deep Contrast Theme)
   ========================================================================== */
.contact-section {
  background: var(--bg-dark-3);
  color: var(--text-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: stretch;
  }
}

.contact-card-info {
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card-dark);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card-footer-badge {
  margin-top: 24px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: var(--radius-md);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card-footer-badge svg {
  color: var(--gold);
  flex-shrink: 0;
}

.contact-card-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.contact-subtitle-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(2, 115, 153, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.contact-details-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(197, 155, 39, 0.15);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-row h5 {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.contact-detail-row p, .contact-detail-row a {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 500;
  margin-top: 2px;
}

.contact-detail-row a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Contact Form Card */
.contact-form-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 20px;
}

.form-header h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-alt-2);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 115, 153, 0.15);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
  margin-bottom: 0 !important;
}

.captcha-container {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.captcha-container * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.form-status {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: none;
}

.form-status.is-error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   11. FOOTER (Midnight Dark Ocean Theme)
   Requirement 2: Arrow icons before Quick Links with subtle hover animation
   Requirement 3: © 2026 All rights reserved by Mahavishnu Old Age Home.Powered By Freshora.
   ========================================================================== */
.site-footer {
  background: var(--bg-dark-footer);
  color: var(--text-white-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 0 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.footer-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #ffffff;
  flex-shrink: 0;
}

.footer-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-white-dim);
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

/* Footer Quick Links with Arrow Icons (Requirement 2) */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-white-dim);
  font-size: 0.9rem;
  transition: var(--transition);
}

/* Arrow Icon before link */
.footer-link-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--gold);
  font-size: 13px;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-links a:hover .footer-link-arrow {
  color: var(--gold-light);
  transform: translateX(2px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-white-dim);
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: var(--text-white-dim);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Copyright Row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.copyright-text a {
  color: inherit;
  text-decoration: none !important;
  transition: var(--transition);
}

.copyright-text a:hover {
  text-decoration: none !important;
}

.copyright-text a strong,
.copyright-text strong {
  font-weight: 700;
  color: var(--gold-light);
  text-decoration: none !important;
}

.copyright-text a:hover strong {
  color: #ffffff;
}

/* ==========================================================================
   12. FLOATING CONTACT & SCROLL-TO-TOP BUTTONS (REQUIREMENT 5)
   - Call Button (tel:)
   - WhatsApp Button (wa.me with target="_blank")
   - Scroll-to-top button
   - Min 44x44px touch target, visible focus, respects reduced motion
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (max-width: 480px) {
  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  text-decoration: none;
}

.floating-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.floating-btn-phone {
  background: var(--primary);
}

.floating-btn-phone:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(2, 115, 153, 0.4);
}

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

.floating-btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.floating-btn-scrolltop {
  background: var(--bg-dark-3);
  color: var(--gold-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.floating-btn-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn-scrolltop:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Tooltip on hover */
.floating-btn[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 20, 30, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.floating-btn[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .floating-btn[data-tooltip]::before {
    display: none;
  }
}

/* ==========================================================================
   ACCESSIBILITY & REDUCED MOTION (REQUIREMENT 11)
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Tablet Optimizations */
@media (max-width: 991px) {
  .top-bar {
    display: none !important;
  }
  .service-card,
  .special-card,
  .value-card,
  .why-card {
    flex: 0 1 calc(50% - 12px);
    max-width: 440px;
  }
}

/* Small Screen & Ultra-Mobile Optimizations (320px - 640px) */
@media (max-width: 640px) {
  .services-grid,
  .special-grid,
  .values-grid,
  .why-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .service-card,
  .special-card,
  .value-card,
  .why-card {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }
  .about-highlights-row,
  .hero-actions {
    grid-template-columns: 1fr !important;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .service-card,
  .special-card,
  .value-card,
  .why-card,
  .activity-card,
  .visit-info-card,
  .visit-cta-card,
  .contact-card-info,
  .contact-form-card {
    padding: 20px 16px;
  }
  .hero-card img {
    height: 300px;
  }
  .about-image-wrap img,
  .activity-visual img {
    height: 280px;
  }
  .hero-floating-stat {
    position: static;
    margin-top: 14px;
  }
}

/* Print Styles */
@media print {
  .site-header, .top-bar, .floating-actions, .mobile-drawer, .mobile-nav-backdrop {
    display: none !important;
  }
}
