/* ============================================
   RAIPUR HOME CARE SERVICE — GLOBAL STYLES
   Color Palette: Teal #1a5c50, Gold #d4a017
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --teal:       #1a5c50;
  --teal-dark:  #0f3d34;
  --teal-light: #2a7a6a;
  --gold:       #d4a017;
  --gold-light: #f0c040;
  --cream:      #faf8f4;
  --white:      #ffffff;
  --text:       #1e2d2b;
  --text-muted: #5a7570;
  --border:     #e0ebe8;
  --shadow:     0 4px 24px rgba(26,92,80,0.10);
  --shadow-lg:  0 12px 48px rgba(26,92,80,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--teal-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.nav-logo-text { color: var(--white); }
.nav-logo-text span:first-child {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-logo-text span:last-child {
  display: block; font-size: 0.7rem;
  color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase;
}

.nav-links {
  display: flex; gap: 0; list-style: none;
}
.nav-links a {
  display: block; padding: 0 18px;
  color: rgba(255,255,255,0.82);
  text-decoration: none; font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 72px;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--teal-dark) !important;
  border-radius: 6px;
  padding: 0 22px !important;
  font-weight: 700 !important;
  line-height: 42px !important;
  margin-top: 15px;
  height: 42px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--teal-dark) !important; }

/* ── FOOTER ── */
footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 5% 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 12px; line-height: 1.8; }
.footer-col h4 {
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 1rem; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; }
.footer-contact-item .icon { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.footer-reg { font-size: 0.78rem; color: var(--gold); }

/* ── SECTION UTILITIES ── */
.section { padding: 80px 5%; }
.section-alt { background: var(--white); }

.section-label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-dark); font-weight: 700; line-height: 1.2;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-subtitle {
  color: var(--text-muted); font-size: 1.05rem; max-width: 540px;
  margin-top: 12px; line-height: 1.8;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 600;
  cursor: pointer; text-decoration: none; border: 2px solid transparent;
  transition: all 0.22s;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--teal-dark); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ── CARD ── */
.card {
  background: var(--white); border-radius: 16px;
  padding: 32px; border: 1px solid var(--border);
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 72px 5%;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; }
.page-hero .breadcrumb {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  margin-bottom: 14px; letter-spacing: 0.05em;
}
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white); font-weight: 700; line-height: 1.15;
}
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-top: 12px; max-width: 520px; }

/* decorative wave divider */
.wave-divider { display: block; width: 100%; height: 60px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 4%; }
  .nav-links a { padding: 0 12px; font-size: 0.8rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section { padding: 56px 5%; }
}