/* ═══════════════════════════════════════════════
   Olive Dental Care Pvt. Ltd. — Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --olive:       #5a7a3a;
  --olive-light: #7da050;
  --olive-pale:  #eef3e8;
  --cream:       #faf8f3;
  --dark:        #1e2a16;
  --text:        #3a4a2e;
  --muted:       #7a8a6e;
  --white:       #ffffff;
  --accent:      #c8a96e;
  --shadow:      0 4px 24px rgba(30,42,22,.10);
}

*, *::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);
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(250,248,243,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90,122,58,.12);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 48px; height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(90,122,58,.20));
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark);
}
.nav-logo-text small {
  font-size: .68rem; font-weight: 400;
  color: var(--muted); letter-spacing: .07em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: .9rem; font-weight: 500;
  color: var(--text); letter-spacing: .02em;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--olive);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--olive); color: white !important;
  padding: 9px 22px; border-radius: 50px;
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--olive-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: all .3s;
}

/* ── HERO ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 110px 5% 70px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(90,122,58,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(200,169,110,.08) 0%, transparent 60%),
    var(--cream);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -80px; top: 20%;
  width: 440px; height: 440px; border-radius: 50%;
  border: 64px solid rgba(90,122,58,.06);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; right: 90px; top: 30%;
  width: 290px; height: 290px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(90,122,58,.10), rgba(125,160,80,.04));
  pointer-events: none;
}

.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--olive-pale); color: var(--olive);
  padding: 6px 16px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; margin-bottom: 26px;
  animation: fadeUp .7s ease both;
}
.hero-badge::before { content: '🌿'; font-size: .85rem; }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12; font-weight: 700;
  color: var(--dark); margin-bottom: 20px;
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em { font-style: italic; color: var(--olive); }

.hero p {
  font-size: 1.05rem; line-height: 1.78;
  color: var(--muted); max-width: 490px; margin-bottom: 38px;
  animation: fadeUp .7s .2s ease both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

.hero-stats {
  display: flex; gap: 36px; margin-top: 54px;
  animation: fadeUp .7s .4s ease both;
}
.stat span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--dark);
}
.stat small { font-size: .82rem; color: var(--muted); font-weight: 400; }

/* ── BUTTONS ───────────────────────────────────── */
.btn-primary {
  background: var(--olive); color: white;
  padding: 14px 32px; border-radius: 50px;
  font-size: .95rem; font-weight: 500; font-family: 'DM Sans', sans-serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(90,122,58,.30);
}
.btn-primary:hover {
  background: var(--olive-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90,122,58,.35);
}
.btn-outline {
  background: transparent; color: var(--olive);
  padding: 13px 28px; border-radius: 50px;
  font-size: .95rem; font-weight: 500; font-family: 'DM Sans', sans-serif;
  text-decoration: none; border: 2px solid var(--olive);
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--olive); color: white; }

/* ── SECTION COMMONS ───────────────────────────── */
section { padding: 90px 5%; }
.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--dark);
  line-height: 1.2; margin-bottom: 14px;
}
.section-sub {
  font-size: .97rem; color: var(--muted);
  line-height: 1.7; max-width: 520px;
}

/* ── SERVICES ──────────────────────────────────── */
#services { background: var(--white); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(90,122,58,.10);
  border-radius: 20px; padding: 32px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(90,122,58,.13);
  border-color: rgba(90,122,58,.24);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--olive-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--dark); margin-bottom: 8px;
}
.service-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── WHY US ────────────────────────────────────── */
#why { background: var(--olive); color: white; }
#why .section-label { color: var(--accent); }
#why .section-title { color: white; }
#why .section-sub { color: rgba(255,255,255,.70); }

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 52px;
}
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 24px;
  transition: background .25s;
}
.why-item:hover { background: rgba(255,255,255,.14); }
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--accent);
  line-height: 1; flex-shrink: 0;
}
.why-item h4 { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.why-item p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ── TEAM ──────────────────────────────────────── */
#team { background: var(--cream); }
.team-center { display: flex; justify-content: center; margin-top: 52px; }

.team-card {
  background: white; border-radius: 24px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(30,42,22,.13);
  max-width: 380px; width: 100%;
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(30,42,22,.17);
}
.team-avatar {
  height: 200px;
  background: linear-gradient(135deg, var(--olive-pale) 0%, rgba(200,169,110,.18) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  position: relative;
}
.team-avatar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 40px;
  background: linear-gradient(to top, white, transparent);
}
.team-info { padding: 28px 32px 32px; text-align: center; }
.team-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--dark); margin-bottom: 6px;
}
.team-badge {
  display: inline-block;
  background: var(--olive-pale); color: var(--olive);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 50px;
  margin-bottom: 14px;
}
.founder-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(200,169,110,.15); color: var(--accent);
  font-size: .75rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 50px;
  margin-bottom: 14px; margin-left: 6px;
  border: 1px solid rgba(200,169,110,.30);
}
.team-info p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.team-divider {
  width: 48px; height: 3px;
  background: var(--olive); border-radius: 2px;
  margin: 14px auto;
}

/* ── CONTACT ───────────────────────────────────── */
#contact { background: var(--white); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start; margin-top: 52px;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; color: var(--dark); margin-bottom: 22px;
}
.info-item {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px;
}
.info-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--olive-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.info-item h5 {
  font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px;
}
.info-item p { font-size: .92rem; color: var(--dark); line-height: 1.55; }
.info-item a { color: var(--olive); text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

.hours-table { width: 100%; margin-top: 6px; }
.hours-table tr {
  display: flex; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px dashed rgba(90,122,58,.12);
}
.hours-table td { font-size: .85rem; color: var(--text); }
.hours-table td:last-child { color: var(--olive); font-weight: 500; }

/* contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid rgba(90,122,58,.18); border-radius: 10px;
  font-size: .9rem; font-family: 'DM Sans', sans-serif;
  background: var(--cream); color: var(--dark);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(90,122,58,.10);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none;
  background: var(--olive-pale); color: var(--olive);
  padding: 14px 18px; border-radius: 10px;
  font-size: .9rem; font-weight: 500;
  border: 1px solid rgba(90,122,58,.20);
}

/* map placeholder */
.map-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(90,122,58,.12);
  margin-top: 52px; height: 260px;
  background: var(--olive-pale);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.map-wrap span { font-size: 2.4rem; }
.map-wrap p { font-size: .88rem; color: var(--muted); }
.map-wrap a {
  font-size: .85rem; color: var(--olive);
  font-weight: 500; text-decoration: none; margin-top: 4px;
}
.map-wrap a:hover { text-decoration: underline; }

/* ── FOOTER ────────────────────────────────────── */
footer {
  background: var(--dark); color: rgba(255,255,255,.55);
  padding: 40px 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
}
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: .95rem; color: white;
}
footer p { font-size: .82rem; }
footer a { color: rgba(255,255,255,.55); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── ANIMATIONS ────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-top: 1px solid rgba(90,122,58,.12);
    flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links li a {
    display: block; padding: 14px 6%;
    border-bottom: 1px solid rgba(90,122,58,.07);
  }
  .nav-cta { margin: 10px 6%; border-radius: 50px; text-align: center; }

  .hero { padding-top: 110px; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero::before, .hero::after { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .team-info { padding: 22px 24px 26px; }
}
