/* 
 * Aishwaryam Old Age Home Care — Premium CSS stylesheet
 * Luxury healthcare-inspired. Warm, trustworthy, elegant.
 */

/* ==========================================
   Design Tokens & Variables
   ========================================== */
:root {
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-3xl: 3rem;

  --background: #fafaf8;
  --foreground: #034a47;
  --card: #ffffff;
  --card-foreground: #034a47;
  --popover: #ffffff;
  --popover-foreground: #034a47;
  --primary: #05938c;
  --primary-foreground: #ffffff;
  --secondary: #e6f4f3;
  --secondary-foreground: #05938c;
  --muted: #ededed;
  --muted-foreground: #4a6462;
  --accent: #6cc40c;
  --accent-foreground: #ffffff;
  --gold: #6cc40c;
  --gold-foreground: #ffffff;
  --sage: #4f9008;
  --sage-foreground: #ffffff;
  --cream: #f4fbf4;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #c8e0df;
  --input: #c8e0df;
  --ring: #6cc40c;

  --font-display: "Playfair Display", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-soft: 0 4px 24px -8px rgba(5, 147, 140, 0.08);
  --shadow-elegant: 0 24px 60px -24px rgba(5, 147, 140, 0.16);
  --shadow-gold: 0 16px 40px -16px rgba(108, 196, 12, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  font-size: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary);
  line-height: 1.2;
}

p {
  color: var(--muted-foreground);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

::selection {
  background-color: rgba(201, 168, 106, 0.3);
  color: var(--primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: var(--radius-md);
  border: 2px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ==========================================
   Utilities & Layout Elements
   ========================================== */
.max-w-7xl {
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem; /* 896px */
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl {
  max-width: 48rem; /* 768px */
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-28 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

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

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

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

/* Gradients */
.bg-cream-gradient {
  background: linear-gradient(180deg, #fafaf8 0%, #e6f4f3 100%);
}

.bg-navy-gradient {
  background: linear-gradient(135deg, #05938c 0%, #034a47 100%);
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.text-sage {
  color: var(--sage) !important;
}

/* Shadows */
.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-elegant {
  box-shadow: var(--shadow-elegant);
}

.shadow-gold {
  box-shadow: var(--shadow-gold);
}

/* Fonts */
.font-display {
  font-family: var(--font-display);
}

.font-serif-elegant {
  font-family: var(--font-serif);
}

/* Buttons & Chips */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  background-color: #d1b47b;
  box-shadow: 0 20px 45px -12px rgba(201, 168, 106, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(250, 250, 248, 0.4);
  background-color: rgba(250, 250, 248, 0.1);
  color: var(--primary-foreground);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: var(--radius-3xl);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: rgba(250, 250, 248, 0.2);
  border-color: rgba(250, 250, 248, 0.6);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #27456d;
  box-shadow: var(--shadow-elegant);
}

.btn-sage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--sage);
  color: var(--sage-foreground);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-3xl);
  transition: opacity 0.3s ease;
}

.btn-sage:hover {
  opacity: 0.9;
}

/* Animations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

@keyframes float-slower {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(18px) translateX(12px); }
}

.animate-float-slow {
  animation: float-slow 9s ease-in-out infinite;
}

.animate-float-slower {
  animation: float-slower 12s ease-in-out infinite;
}

/* ==========================================
   Reveal on Scroll System
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* Stagger parent system */
.stagger-group .stagger-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.stagger-group.revealed .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.stagger-group.revealed .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-group.revealed .stagger-item:nth-child(2) { transition-delay: 0.17s; }
.stagger-group.revealed .stagger-item:nth-child(3) { transition-delay: 0.29s; }
.stagger-group.revealed .stagger-item:nth-child(4) { transition-delay: 0.41s; }
.stagger-group.revealed .stagger-item:nth-child(5) { transition-delay: 0.53s; }
.stagger-group.revealed .stagger-item:nth-child(6) { transition-delay: 0.65s; }
.stagger-group.revealed .stagger-item:nth-child(7) { transition-delay: 0.77s; }
.stagger-group.revealed .stagger-item:nth-child(8) { transition-delay: 0.89s; }
.stagger-group.revealed .stagger-item:nth-child(9) { transition-delay: 1.01s; }
.stagger-group.revealed .stagger-item:nth-child(10) { transition-delay: 1.13s; }

/* ==========================================
   Section Heading Component
   ========================================== */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-heading.text-center {
  align-items: center;
}

.section-heading.text-left {
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  content: "";
  height: 1px;
  width: 2rem;
  background-color: currentColor;
  opacity: 0.6;
}

.section-heading h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

.section-heading p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ==========================================
   Header & Navbar
   ========================================== */
header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--gold);
  box-shadow: var(--shadow-soft);
}

.logo-icon i {
  height: 1.75rem;
  width: 1.75rem;
}

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

.logo-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--sage);
  margin-top: 0.25rem;
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(29, 53, 87, 0.8);
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -0.375rem;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

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

.nav-phone {
  display: none;
}

.menu-toggle {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(29, 53, 87, 0.05);
  color: var(--primary);
  transition: background-color 0.3s ease;
}

.menu-toggle:hover {
  background-color: rgba(29, 53, 87, 0.1);
}

/* Mobile Menu Panel */
.mobile-menu {
  display: none;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s ease-in-out;
  max-height: 0;
}

.mobile-menu.open {
  display: block;
  max-height: 500px;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
}

.mobile-menu-inner a {
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(29, 53, 87, 0.8);
  transition: background-color 0.3s, color 0.3s;
}

.mobile-menu-inner a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.mobile-menu-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-3xl);
  margin-top: 0.5rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  will-change: transform;
}

.hero-bg img {
  height: 120%;
  width: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -9;
  background: linear-gradient(to bottom right, var(--primary) 0%, rgba(29, 53, 87, 0.7) 70%, rgba(29, 53, 87, 0.4) 100%);
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.hero-overlay-darken {
  position: absolute;
  inset: 0;
  z-index: -8;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.8) 0%, transparent 50%, rgba(29, 53, 87, 0.2) 100%);
}

.floating-bubbles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -7;
  overflow: hidden;
}

.bubble-1 {
  position: absolute;
  left: 8%;
  top: 22%;
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  background-color: rgba(201, 168, 106, 0.2);
  filter: blur(24px);
}

.bubble-2 {
  position: absolute;
  right: 12%;
  top: 30%;
  height: 10rem;
  width: 10rem;
  border-radius: 50%;
  background-color: rgba(122, 158, 126, 0.25);
  filter: blur(36px);
}

.bubble-3 {
  position: absolute;
  bottom: 18%;
  right: 28%;
  height: 6rem;
  width: 6rem;
  border-radius: 50%;
  background-color: rgba(201, 168, 106, 0.15);
  filter: blur(24px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.hero-tagline {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(5, 147, 140, 0.4);
  background-color: rgba(250, 250, 248, 0.1);
  padding: 0.5rem 1rem;
  font-size: 0.725rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero h1 {
  max-width: 56rem;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--primary-foreground);
  text-wrap: balance;
}

.hero-description {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.85);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-features {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(250, 250, 248, 0.15);
  background-color: rgba(250, 250, 248, 0.1);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-feature-icon {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(201, 168, 106, 0.9);
  color: var(--gold-foreground);
}

.hero-feature-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-foreground);
}

/* Hero Title & Logo Alignment Updates */
.hero-title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
  text-align: left;
}

.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.hero-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-title-highlight {
  color: #ffffff !important;
}

.hero .hero-title-container h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0;
}

/* Tablet styles (min-width: 640px) */
@media (min-width: 640px) {
  .hero-title-container {
    gap: 1.25rem;
  }
  .hero-logo-box {
    width: 5.5rem;
    height: 5.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
  }
  .hero .hero-title-container h1 {
    font-size: 2.75rem;
  }
  .hero-title-highlight {
    padding: 0.15rem 0.5rem;
  }
}

/* Desktop styles (min-width: 1024px) */
@media (min-width: 1024px) {
  .hero-title-container {
    gap: 1.5rem;
  }
  .hero-logo-box {
    width: 6.5rem;
    height: 6.5rem;
    padding: 0.75rem;
  }
  .hero .hero-title-container h1 {
    font-size: 3.5rem;
  }
  .hero-title-highlight {
    padding: 0.15rem 0.6rem;
  }
}

/* ==========================================
   About Section
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-frame {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-elegant);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.about-floating-badge {
  display: none;
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(201, 168, 106, 0.3);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-gold);
}

.badge-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
}

.badge-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.about-blur-dot {
  position: absolute;
  left: -1.25rem;
  top: -1.25rem;
  z-index: -10;
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  background-color: rgba(122, 158, 126, 0.3);
  filter: blur(32px);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-card {
  display: flex;
  gap: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.pillar-icon-wrapper {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background-color: rgba(122, 158, 126, 0.15);
  color: var(--sage);
  transition: background-color 0.3s, color 0.3s;
}

.pillar-card:hover .pillar-icon-wrapper {
  background-color: var(--sage);
  color: var(--sage-foreground);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
}

.pillar-text {
  margin-top: 0.375rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Statistics Bar */
.stats-bar {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-radius: var(--radius-3xl);
  background: linear-gradient(135deg, #1d3557 0%, #16273f 100%);
  padding: 2.5rem;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1.2;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(250, 250, 248, 0.7);
}

/* ==========================================
   Why Choose Us Section
   ========================================== */
.reasons-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.reason-card {
  height: 100%;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 106, 0.4);
  box-shadow: var(--shadow-elegant);
}

.reason-icon-wrapper {
  margin-bottom: 1.5rem;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  background-color: var(--secondary);
  color: var(--sage);
  transition: all 0.3s ease;
}

.reason-card:hover .reason-icon-wrapper {
  transform: scale(1.1);
  background-color: var(--gold);
  color: var(--gold-foreground);
}

.reason-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
}

.reason-card p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   Services Section
   ========================================== */
.services-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.service-image-wrapper {
  margin-bottom: 1.25rem;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

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

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--primary);
}

.service-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================
   Facilities Section
   ========================================== */
.facilities-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 260px;
  gap: 1.5rem;
}

.facility-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-soft);
}

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

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

.facility-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 53, 87, 0.9) 0%, rgba(29, 53, 87, 0.2) 60%, transparent 100%);
}

.facility-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.facility-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary-foreground);
}

.facility-card p {
  margin-top: 0.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.85);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.facility-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Facility Chips */
.facility-chips {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.chip-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--secondary);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.chip-icon {
  height: 1.125rem;
  width: 1.125rem;
  color: var(--gold);
}

/* ==========================================
   Daily Life Section
   ========================================== */
.daily-life {
  background: linear-gradient(135deg, #1d3557 0%, #16273f 100%);
  position: relative;
}

.schedule-grid {
  position: relative;
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.schedule-grid-line {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.5), transparent);
}

.schedule-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.schedule-icon-wrapper {
  position: relative;
  z-index: 10;
  margin-bottom: 1.75rem;
  display: flex;
  height: 4.5rem;
  width: 4.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 106, 0.4);
  background-color: var(--primary);
  color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.schedule-card {
  width: 100%;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(250, 250, 248, 0.1);
  background-color: rgba(250, 250, 248, 0.05);
  padding: 2rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.schedule-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-foreground);
}

.schedule-time {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.schedule-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-list-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(250, 250, 248, 0.85);
  font-size: 0.95rem;
}

.schedule-list-item::before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background-color: var(--sage);
  flex-shrink: 0;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-filters {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-btn {
  border-radius: var(--radius-3xl);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: rgba(29, 53, 87, 0.7);
  transition: all 0.3s;
}

.filter-btn:hover {
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}

/* Masonry/Column grid for gallery */
.gallery-grid {
  margin-top: 3rem;
  column-count: 1;
  column-gap: 1.5rem;
}

.gallery-item {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  break-inside: avoid;
  background: none;
  border: none;
  padding: 0;
}

.gallery-item-inner {
  position: relative;
  overflow: hidden;
}

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

.gallery-item.tall img {
  aspect-ratio: 3 / 4;
}

.gallery-item:not(.tall) img {
  aspect-ratio: 4 / 3;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(29, 53, 87, 0);
  transition: background-color 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background-color: rgba(29, 53, 87, 0.3);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: rgba(29, 53, 87, 0.9);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(250, 250, 248, 0.1);
  color: var(--primary-foreground);
  transition: background-color 0.3s;
}

.lightbox-close:hover {
  background-color: rgba(250, 250, 248, 0.2);
}

.lightbox-img {
  max-height: 85vh;
  max-width: 100%;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: var(--shadow-elegant);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-carousel {
  position: relative;
  max-width: 56rem;
  margin: 4rem auto 0;
}

.quote-icon {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 4rem;
  width: 4rem;
  color: rgba(201, 168, 106, 0.2);
  z-index: 1;
}

.testimonial-card-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: rgba(247, 242, 234, 0.6);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-elegant);
}

.testimonial-slides {
  position: relative;
  min-height: 280px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.stars svg {
  height: 1.25rem;
  width: 1.25rem;
  fill: currentColor;
}

.testimonial-review {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--primary);
  max-width: 42rem;
  text-wrap: balance;
}

.testimonial-author {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 106, 0.5);
}

.author-info {
  text-align: left;
}

.author-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.author-role {
  font-size: 0.875rem;
  color: var(--sage);
}

/* Carousel Controls */
.carousel-controls {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-btn {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--primary);
  transition: all 0.3s;
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 50%;
  background-color: var(--border);
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  width: 2rem;
  border-radius: var(--radius-3xl);
  background-color: var(--gold);
}

/* ==========================================
   Care Team Section
   ========================================== */
.team-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elegant);
}

.team-img-wrapper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.team-card:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.team-content {
  padding: 1.5rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
}

.team-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 0.125rem;
}

.team-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================
   FAQ Section
   ========================================== */
.faq-list {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  text-align: left;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--primary);
}

.faq-icon-wrapper {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--sage);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
  transform: rotate(45deg);
}

.faq-answer-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
}

.faq-item.active .faq-answer-pane {
  max-height: 300px; /* high enough for standard text */
}

.faq-answer {
  padding: 0 1.75rem 1.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

/* ==========================================
   Call To Action
   ========================================== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  will-change: transform;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -9;
  background-color: rgba(29, 53, 87, 0.8);
}

.cta-content {
  padding-top: 8rem;
  padding-bottom: 8rem;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--primary-foreground);
  text-wrap: balance;
}

.cta-text {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: rgba(250, 250, 248, 0.85);
}

.cta-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.contact-details-card {
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-details-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-method-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.contact-method-item.interactive:hover {
  opacity: 0.85;
}

.contact-icon-box {
  display: flex;
  height: 3rem;
  width: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  transition: all 0.3s;
}

.contact-icon-box.sage-box {
  background-color: rgba(122, 158, 126, 0.15);
  color: var(--sage);
}

.contact-method-item:hover .contact-icon-box.sage-box {
  background-color: var(--sage);
  color: var(--sage-foreground);
}

.contact-icon-box.gold-box {
  background-color: rgba(201, 168, 106, 0.15);
  color: var(--gold);
}

.contact-method-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-method-value {
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.125rem;
}

.contact-method-value.address-lines {
  line-height: 1.5;
}

.contact-quick-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-quick-actions a {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  white-space: nowrap;
}

.contact-map-card {
  overflow: hidden;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-map-card iframe {
  height: 18rem;
  width: 100%;
  border: 0;
  display: block;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-elegant);
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.form-group input, .form-group textarea {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background-color: var(--background);
  padding: 0.75rem 1rem;
  color: var(--primary);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.3);
}

.form-error-msg {
  font-size: 0.875rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}

.btn-submit {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: scale(1.02);
}

/* Custom Alert/Toast CSS */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-left: 5px solid #28a745;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elegant);
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  color: #28a745;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

/* ==========================================
   Footer
   ========================================== */
footer {
  background: linear-gradient(135deg, #1d3557 0%, #16273f 100%);
  color: var(--primary-foreground);
}

.footer-inner {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-icon {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(250, 250, 248, 0.1);
  color: var(--gold);
}

.footer-logo-img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.footer-logo-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-foreground);
}

.footer-logo-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 0.15rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.7);
}

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

.social-link {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(250, 250, 248, 0.08);
  color: var(--primary-foreground);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link:hover svg {
  transform: scale(1.08);
}

/* YouTube Brand Colors */
.social-link[aria-label="YouTube"] {
  background-color: rgba(255, 0, 0, 0.08);
  color: #FF0000;
}

.social-link[aria-label="YouTube"]:hover {
  background-color: #FF0000;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* Instagram Brand Colors */
.social-link[aria-label="Instagram"] {
  background-color: rgba(225, 48, 108, 0.08);
  color: #E1306C;
}

.social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

/* WhatsApp Brand Colors */
.social-link[aria-label="WhatsApp"] {
  background-color: rgba(37, 211, 102, 0.08);
  color: #25D366;
}

.social-link[aria-label="WhatsApp"]:hover {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.7);
}

.footer-links-list a:hover {
  color: var(--primary-foreground);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.7);
}

.footer-contact-item a:hover {
  color: var(--primary-foreground);
}

.footer-contact-icon {
  margin-top: 0.125rem;
  height: 1.125rem;
  width: 1.125rem;
  flex-shrink: 0;
  color: var(--sage);
}

.footer-contact-item span {
  line-height: 1.5;
}

.footer-visit-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(250, 250, 248, 0.7);
}

.footer-visit-btn {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-3xl);
  font-size: 0.875rem;
  transition: transform 0.3s;
}

.footer-visit-btn:hover {
  transform: translateY(-2px);
}

.footer-copyright {
  margin-top: 4rem;
  border-top: 1px solid rgba(250, 250, 248, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(250, 250, 248, 0.6);
}

/* ==========================================
   Floating WhatsApp Button
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--sage);
  color: var(--sage-foreground);
  box-shadow: var(--shadow-elegant);
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  height: 1.75rem;
  width: 1.75rem;
}

/* ==========================================
   Media Queries & Responsive Styling
   ========================================== */

/* Small Devices (Landscape Phones / Tablets) */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  
  .hero-actions {
    flex-direction: row;
  }
  
  .hero-tagline {
    font-size: 0.875rem;
    letter-spacing: 0.18em;
    padding: 0.5rem 1.25rem;
  }
  
  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-floating-badge {
    display: block;
  }
  
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    column-count: 2;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-quick-actions {
    flex-direction: row;
  }
  
  .contact-quick-actions a {
    flex: 1;
  }
  
  .form-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 3rem;
  }
}

/* Large Devices (Desktops) */
@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }

  .px-6 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .py-28 {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .nav-links {
    display: flex;
  }

  .nav-phone {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .hero-features {
    flex-wrap: nowrap !important;
  }
  .hero-feature-item {
    flex: 1;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }

  .about-floating-badge {
    right: -1rem;
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
    padding: 3.5rem;
  }

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

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

  .facilities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .facility-span-2 {
    grid-column: span 2;
  }

  .schedule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .schedule-grid-line {
    display: block;
  }
  
  .schedule-item {
    align-items: flex-start;
    text-align: left;
  }
  
  .schedule-list-item {
    justify-content: flex-start;
  }

  .gallery-grid {
    column-count: 3;
  }

  .testimonial-card-frame {
    padding: 3.5rem;
  }

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

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

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

/* Active Navigation States */
.nav-links a.active {
  color: var(--primary) !important;
  font-weight: 600;
}
.nav-links a.active::after {
  width: 100% !important;
}
.mobile-menu-inner a.active {
  background-color: var(--secondary) !important;
  color: var(--primary) !important;
  font-weight: 600;
}

/* ==========================================
   Founder Awards & Recognitions Grid
   ========================================== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 230px));
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.awards-grid .stagger-item {
  width: 100%;
}

.awards-grid .gallery-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.awards-grid .gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
}

.awards-grid .image-container {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #eaeaea;
}

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

.awards-grid .card-content {
  padding: 1.25rem;
  background: var(--card);
}

.awards-grid .gallery-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
}

.awards-grid .gallery-item p {
  font-size: 0.825rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Custom Responsive Grid Utilities */
.donation-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  overflow: hidden;
  background: #ffffff;
  padding: 1.5rem;
}

.videos-grid, .video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .donation-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 2.5rem;
  }
  .videos-grid, .video-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* Responsive Grid Utilities for Donation Page */
.responsive-two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.responsive-four-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .responsive-two-col-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  
  .responsive-four-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

