/* ============================================
   NARAYANA HOME HEALTH CARE — Global Styles
   Sky Blue + Saffron Indian Healthcare Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&family=Noto+Sans+Devanagari:wght@400;700&display=swap');

/* === TOKENS === */
:root {
  --sky-50: #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;
  --sky-400: #38BDF8;
  --sky-500: #0EA5E9;
  --sky-600: #0284C7;
  --sky-700: #0369A1;
  --navy: #0C2340;
  --navy-light: #1E3A5F;
  --saffron: #F97316;
  --saffron-light: #FED7AA;
  --teal: #0891B2;
  --green: #10B981;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --shadow-sm: 0 1px 3px rgba(14,165,233,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(14,165,233,0.12), 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(14,165,233,0.15), 0 8px 24px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.site-header.scrolled .main-nav { box-shadow: 0 4px 20px rgba(12,35,64,0.15); }

.top-bar {
  background: var(--navy);
  padding: 0.45rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-contacts {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--sky-200);
  flex-wrap: wrap;
}
.top-contacts span { display: flex; align-items: center; gap: 0.3rem; }
.top-social {
  display: flex;
  gap: 0.6rem;
}
.top-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-light);
  color: var(--sky-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  transition: background 0.2s;
}
.top-social a:hover { background: var(--sky-500); color: white; }

.main-nav {
  background: var(--white);
  border-bottom: 3px solid var(--sky-100);
  transition: box-shadow 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.2;
}
.logo-hindi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 0.85rem; color: var(--saffron); font-weight: 700;
}
.logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  color: var(--sky-600);
}
.logo-sub {
  font-size: 0.7rem; color: var(--gray-600); font-weight: 500; letter-spacing: 0.03em;
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem; list-style: none;
}
.nav-links li a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  position: relative;
}
.nav-links li a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--sky-500);
  transition: all 0.25s;
}
.nav-links li a:hover::after,
.nav-links li a.active::after { left: 0.875rem; right: 0.875rem; }
.nav-links li a:hover, .nav-links li a.active { color: var(--sky-600); }
.nav-cta {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700)) !important;
  color: white !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(14,165,233,0.35);
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(14,165,233,0.4) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--navy);
  transition: all 0.3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === FOOTER === */
.site-footer { background: var(--navy); margin-top: 0; }
.footer-wave { line-height: 0; background: var(--gray-50); }
.footer-wave svg { width: 100%; height: 40px; display: block; }
.footer-body { background: var(--navy); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding: 3.5rem 1.5rem 2.5rem;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--sky-400);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  color: var(--gray-400); font-size: 0.875rem;
  transition: color 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.footer-col ul li a:hover { color: var(--sky-400); }

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

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-light); color: var(--sky-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--sky-500); color: white; transform: translateY(-2px); }

.footer-contact-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--gray-400); font-size: 0.875rem;
}
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; }
.footer-contact-item a { color: var(--sky-400); }
.footer-contact-item a:hover { color: white; }

.btn-footer-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--saffron), #EA580C);
  color: white; padding: 0.7rem 1.5rem;
  border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(249,115,22,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-footer-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,0.45); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom-inner p { color: var(--gray-600); font-size: 0.82rem; }

/* === REUSABLE COMPONENTS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: white; padding: 0.8rem 2rem;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(14,165,233,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(14,165,233,0.45); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--sky-600); padding: 0.8rem 2rem;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid var(--sky-500);
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--sky-50); transform: translateY(-2px); }

.btn-saffron {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--saffron), #EA580C);
  color: white; padding: 0.8rem 2rem;
  border-radius: 50px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(249,115,22,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-saffron:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(249,115,22,0.45); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--sky-100);
  color: var(--sky-700);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 1rem; border-radius: 50px;
  margin-bottom: 0.85rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title span { color: var(--sky-500); }
.section-desc {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
}
.hindi-text {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* === SERVICE CARD === */
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1rem;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.65; }

/* === STAT BOX === */
.stat-box {
  text-align: center; padding: 1.5rem;
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.25rem; font-weight: 800;
  color: var(--sky-600); line-height: 1;
}
.stat-label { color: var(--gray-600); font-size: 0.85rem; margin-top: 0.4rem; }

/* === TESTIMONIAL === */
.testimonial-card {
  background: white; padding: 1.75rem;
  border-radius: var(--radius); border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-size: 5rem; color: var(--sky-100);
  position: absolute; top: -0.5rem; left: 1rem;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: #FBBF24; font-size: 0.9rem; margin-bottom: 0.75rem; }
.testimonial-text { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-place { color: var(--gray-400); font-size: 0.78rem; }

/* === FLOATING CTA === */
.floating-cta {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  display: flex; flex-direction: column; gap: 0.75rem;
  align-items: flex-end;
}
.floating-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 50px; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  animation: pulse 2.5s infinite;
  color: white; cursor: pointer;
}
.floating-call { background: linear-gradient(135deg, #22C55E, #16A34A); }
.floating-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 8px 30px rgba(0,0,0,0.35); transform: scale(1.03); }
}

/* === PAGE HERO (generic) === */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4rem 0 3rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230EA5E9' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; text-align: center; color: white; }
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; margin-bottom: 0.75rem;
}
.page-hero p { color: var(--sky-200); font-size: 1.05rem; }
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  justify-content: center;
  font-size: 0.85rem; color: var(--sky-200);
  margin-top: 1rem;
}
.breadcrumb a { color: var(--sky-400); }
.breadcrumb span { color: var(--sky-400); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: white; padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
  .main-nav { position: relative; }
  .top-contacts span:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .floating-btn span.label { display: none; }
}
