/* Root Variables */
:root {
  --color-primary: #1e40af;
  --color-primary-foreground: #ffffff;
  --color-secondary: #059669;
  --color-secondary-foreground: #ffffff;
  --color-background: #ffffff;
  --color-foreground: #0f172a;
  --color-card: #ffffff;
  --color-muted: #f1f5f9;
  --color-muted-foreground: #64748b;
  --color-border: #e2e8f0;
  --color-healthcare-blue-light: #dbeafe;
  --color-healthcare-green: #059669;
  --color-healthcare-green-light: #d1fae5;
  --color-healthcare-warm: #dc2626;
  --color-healthcare-warm-light: #fee2e2;
  --color-accent: #fef3c7;
  --color-accent-foreground: #92400e;
  
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-elevated: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.healthcare-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section */
.healthcare-section {
  padding: 5rem 0;
}

/* Typography */
.healthcare-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.healthcare-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  line-height: 1.8;
}

.elder-sm { font-size: 0.875rem; }
.elder-base { font-size: 1rem; }
.elder-lg { font-size: 1.125rem; }
.elder-xl { font-size: 1.25rem; }

/* Cards */
.healthcare-card {
  background: var(--color-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.healthcare-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.service-card {
  background: var(--color-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.service-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

.nav-desktop {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--color-primary);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  border-radius: 0.75rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-call:hover {
  opacity: 0.9;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-healthcare-green);
  color: var(--color-background);
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-elevated);
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.menu-toggle {
  display: block;
  padding: 0.5rem;
  background: var(--color-muted);
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  background: var(--color-card);
  border-top: 1px solid var(--color-border);
  padding: 1rem 0;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile a {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: background-color 0.2s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--color-primary);
  color: var(--color-primary-foreground);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('https://raamahospital.lovable.app/assets/hero-physiotherapy-CHwFGw5W.jpg');
  background-size: 100% 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 1.5rem 2rem;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(30, 64, 175, 0.2);
  color: var(--color-primary-foreground);
  border-radius: 9999px;
  border: 1px solid rgba(30, 64, 175, 0.3);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-background);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--color-background);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero .description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator-inner {
  width: 2rem;
  height: 3rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.75rem); }
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--color-healthcare-blue-light), var(--color-background), var(--color-healthcare-green-light));
}

.page-header-content {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-breadcrumb {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(30, 64, 175, 0.1);
  color: var(--color-primary);
  border-radius: 9999px;
}

/* Footer */
.footer {
  background: var(--color-foreground);
  color: var(--color-background);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.footer h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer nav a {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer nav a:hover {
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s;
}

.accordion-trigger:hover {
  text-decoration: underline;
}

.accordion-content {
  display: none;
  padding-bottom: 1.5rem;
}

.accordion-content.active {
  display: block;
}

.accordion-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.accordion-trigger.active .accordion-icon {
  transform: rotate(180deg);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.bg-primary { background-color: var(--color-primary); }
.bg-muted { background-color: var(--color-muted); }
.bg-card { background-color: var(--color-card); }

.text-primary { color: var(--color-primary); }
.text-foreground { color: var(--color-foreground); }
.text-muted-foreground { color: var(--color-muted-foreground); }

/* Responsive */
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero-buttons { flex-direction: row; }
  .logo-text { display: block; }
  .grid-cols-sm-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .healthcare-title { font-size: 3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-md-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .btn-call-desktop { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .hero h1 { font-size: 3.75rem; }
  .hero-content { text-align: left; }
  .hero-buttons { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-cols-lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-lg-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Icon Sizes */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* Contact Page Specific */
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--color-muted);
  border-radius: 1rem;
  transition: all 0.3s;
}

.contact-card:hover {
  background: rgba(30, 64, 175, 0.1);
}

.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--color-primary);
  color: var(--color-primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--color-healthcare-green);
  color: var(--color-background);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  transition: opacity 0.3s;
}

.whatsapp-card:hover {
  opacity: 0.9;
}

.map-container {
  height: 500px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile Sticky Buttons */
.mobile-sticky-buttons {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  z-index: 40;
  display: flex;
  gap: 0.75rem;
}

.mobile-sticky-buttons a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 1024px) {
  .mobile-sticky-buttons {
    display: none;
  }
}















/* ================================
   YOUR ORIGINAL CSS (UNCHANGED)
================================ */
/* Root Variables */
:root {
  --color-primary: #1e40af;
  --color-primary-foreground: #ffffff;
  --color-secondary: #059669;
  --color-secondary-foreground: #ffffff;
  --color-background: #ffffff;
  --color-foreground: #0f172a;
  --color-card: #ffffff;
  --color-muted: #f1f5f9;
  --color-muted-foreground: #64748b;
  --color-border: #e2e8f0;
  --color-healthcare-blue-light: #dbeafe;
  --color-healthcare-green: #059669;
  --color-healthcare-green-light: #d1fae5;
  --color-healthcare-warm: #dc2626;
  --color-healthcare-warm-light: #fee2e2;
  --color-accent: #fef3c7;
  --color-accent-foreground: #92400e;

  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-elevated: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

/* Cards */
.healthcare-card,
.service-card,
.contact-card,
.whatsapp-card {
  background: var(--color-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* Map */
.map-container {
  height: 500px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   ANIMATIONS & TRANSITIONS (ADDED)
   NO FONT / SIZE / COLOR CHANGES
========================================= */

/* Global smooth interaction */
* {
  transition-property: background-color, color, box-shadow, transform, opacity;
  transition-duration: 0.25s;
  transition-timing-function: ease-in-out;
}

/* Cards hover animation */
.healthcare-card,
.service-card,
.contact-card,
.whatsapp-card {
  will-change: transform, box-shadow;
  transform: translateY(0);
}

.healthcare-card:hover,
.service-card:hover,
.contact-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-elevated);
}

.whatsapp-card:hover {
  transform: translateY(-6px);
}

/* Section fade-up */
.healthcare-section {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero content entry */
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFade 1s ease forwards;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons micro interaction */
.btn-call,
.btn-whatsapp,
.mobile-sticky-buttons a {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-call:hover,
.btn-whatsapp:hover,
.mobile-sticky-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* Navigation underline animation */
.nav-desktop a {
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Image zoom on hover */
.healthcare-card img,
.service-card img {
  transition: transform 0.4s ease;
}

.healthcare-card:hover img,
.service-card:hover img {
  transform: scale(1.05);
}

/* Map zoom-in */
.map-container {
  opacity: 0;
  transform: scale(0.95);
  animation: mapZoom 0.8s ease forwards;
}

@keyframes mapZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Accordion animation */
.accordion-content {
  animation: accordionFade 0.3s ease;
}

@keyframes accordionFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* For animation */
/* ===============================
   SCROLL ANIMATION SYSTEM
================================ */

/* Initial hidden state */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Visible when in viewport */
.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Card specific enhancement */
.healthcare-card.scroll-animate,
.service-card.scroll-animate,
.contact-card.scroll-animate {
  transform: translateY(50px);
}

.healthcare-card.scroll-animate.show,
.service-card.scroll-animate.show,
.contact-card.scroll-animate.show {
  transform: translateY(0);
}

/* Map animation */
.map-container.scroll-animate {
  transform: scale(0.95);
}

.map-container.scroll-animate.show {
  transform: scale(1);
}

/* Image subtle reveal */
.scroll-animate img {
  transition: transform 0.6s ease;
}

.scroll-animate.show img {
  transform: scale(1);
}
