/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
:root {
  --emerald: #1A281E;
  --lime: #FEFCE0;
  --emerald-mid: #2d4733;
  --emerald-light: #3a5c42;
  --text-dark: #1A281E;
  --text-body: #3a3a3a;
  --text-muted: #6b7280;
  --border: rgba(26, 40, 30, 0.12);

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Raleway', system-ui, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 16px rgba(26, 40, 30, 0.08);
  --shadow-md: 0 4px 32px rgba(26, 40, 30, 0.12);
  --transition: 0.25s ease;

  --max-width: 1200px;
  --section-pad: clamp(60px, 8vw, 100px);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  background: #fff;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

address { font-style: normal; }

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.section-pad { padding: var(--section-pad) 0; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-light);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 { 
  margin-top: 8px; 
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--lime);
  color: var(--emerald);
  border-color: var(--lime);
}
.btn-primary:hover {
  background: transparent;
  color: var(--lime);
  border-color: var(--lime);
}

.btn-outline {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
.btn-outline:hover {
  background: var(--emerald);
  color: var(--lime);
}

/* ─────────────────────────────────────────
   HEADER / NAV
───────────────────────────────────────── */
/* Row 1 — logo centred */
.header-logo-row {
  display: flex;
  justify-content: center;
  padding: 20px clamp(20px, 5vw, 60px) 20px;
  border-bottom: 1px solid rgba(254, 252, 224, 0.1);
  background-color: #fff;
}

.logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Row 2 — nav bar */
.header-nav-row {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px clamp(20px, 5vw, 60px);
  background: var(--emerald);
}

.header-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 44px;
}

.main-nav {
  display: flex;
  justify-content: center;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 40px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

/* .main-nav a:hover,
.main-nav a.active {
  color: var(--lime);
  background: rgba(254, 252, 224, 0.08);
} */

/* Dropdowns */
.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ddd;
  border: 1px solid rgba(254, 252, 224, 0.15);
  border-radius: var(--radius-lg);
  padding: 8px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow-md);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  border-radius: 0;
}

.header-cta {
  position: absolute;
  right: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--lime);
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: opacity var(--transition);
  white-space: nowrap;
}

.header-cta:hover { opacity: 0.88; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: absolute;
  right: 0;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/DrKashiefaJaptha.jpg') center top/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 40, 30, 0.88) 0%,
    rgba(26, 40, 30, 0.55) 0%,
    rgba(26, 40, 30, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px clamp(20px, 8vw, 120px);
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(254, 252, 224, 0.65);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--lime);
  margin-bottom: 24px;
  font-weight: 300;
}

.hero-blurb {
  font-size: 1.05rem;
  color: rgba(254, 252, 224, 0.85);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   INTRO SECTION
───────────────────────────────────────── */
.intro { background: #fff; }

.intro-heading {
  margin-bottom: 40px;
  text-align: center;
}

.intro-heading h2 {
  margin-top: 8px;
  font-family: 'Cinzel', serif;
  font-weight: 400;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.intro-text p { 
  color: var(--text-body);
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.9;
}
.intro-text .btn {
  margin-top: 12px; 
}

/* ─────────────────────────────────────────
   MEET THE DOCTOR
───────────────────────────────────────── */
.meet-doctor { background: var(--lime); }

.meet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.meet-text h2 { margin-bottom: 20px; }
.meet-text p { color: var(--text-body); margin-bottom: 16px; }
.meet-text .btn { margin-top: 12px; }

.meet-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { background: #fff; }

.services-category { margin-bottom: 56px; }
.services-category:last-child { margin-bottom: 0; }

.category-heading {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-light);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  font-family: var(--font-sans);
}

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

.services-grid--two {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  max-width: 100%;
  margin: 0 auto;
}

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

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

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

/* Gradient overlay — always present */
.service-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(
    to top,
    rgba(26, 40, 30, 0.92) 0%,
    rgba(26, 40, 30, 0.4) 50%,
    rgba(26, 40, 30, 0) 100%
  );
  transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(26, 40, 30, 0.97) 0%,
    rgba(26, 40, 30, 0.75) 60%,
    rgba(26, 40, 30, 0.3) 100%
  );
}

.service-card-overlay h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--lime);
  margin: 0;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-overlay h4 {
  transform: translateY(-8px);
}

/* Hidden content that fades up on hover */
.service-card-hover {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.service-card:hover .service-card-hover {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.service-card-hover p {
  font-size: 0.88rem;
  color: rgba(254, 252, 224, 0.85);
  line-height: 1.65;
  margin: 10px 0 14px;
}

.card-link {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  border-bottom: 1px solid rgba(254, 252, 224, 0.4);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}

.card-link:hover { border-color: var(--lime); }

.card-link:hover { color: var(--emerald-light); }

/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--emerald);
  padding: 64px 0 52px;
  text-align: center;
}

.page-hero h1 {
  color: var(--lime);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ── Legal content ── */
.legal-container {
  max-width: 780px;
}

.legal-intro {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-dark);
  border-left: 3px solid var(--emerald);
  padding-left: 20px;
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--emerald);
}

.legal-section p {
  color: var(--text-body);
  margin-bottom: 14px;
}

.legal-list {
  list-style: disc;
  padding-left: 24px;
  margin: 12px 0 16px;
  color: var(--text-body);
}

.legal-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.cta-banner {
  background: var(--emerald);
  padding: 52px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-inner p {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--lime);
  margin: 0;
  font-weight: 300;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: var(--emerald);
  color: rgba(254, 252, 224, 0.75);
  border-top: 1px solid rgba(254, 252, 224, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 2fr;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo img{
  width: auto;
  height: 120px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 350px;
}

.footer-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-detail svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
}

.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 8px; }

.footer-links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--lime); }

.footer-contact address { display: flex; flex-direction: column; gap: 10px; }

.footer-contact p { font-size: 0.88rem; margin: 0; }

.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(254, 252, 224, 0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.footer-bottom-inner p {
  font-size: 0.78rem;
  color: rgba(254, 252, 224, 0.4);
  margin: 0;
}

.footer-bottom-inner p:nth-child(2) { text-align: center; }
.footer-bottom-inner p:nth-child(3) { text-align: right; }

.footer-bottom-inner a {
  color: rgba(254, 252, 224, 0.4);
  transition: color var(--transition);
}

.footer-bottom-inner a:hover { color: var(--lime); }

.footer-avily {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-avily a {
  display: flex;
  align-items: center;
}

.footer-avily img {
  height: 15px;
  width: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}

@media (max-width: 900px) {
  .intro-grid,
  .meet-grid { grid-template-columns: 1fr; }

  .intro-image { aspect-ratio: 16/9; }
  .meet-image { aspect-ratio: 16/9; order: -1; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Scrolled header */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* Mobile nav open state */
.main-nav.nav-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 125px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--emerald);
  padding: 32px 24px;
  overflow-y: auto;
  z-index: 99;
}

.main-nav.nav-open > ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.main-nav.nav-open a {
  font-size: 1rem;
  padding: 14px 0;
}

.main-nav.nav-open .dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 0 8px 16px;
}

.mobile-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .main-nav,
  .header-cta { display: none; }

  .mobile-toggle { display: flex; }

  .header-nav-inner { justify-content: flex-start; }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid--two { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; text-align: center; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero-content { margin-left: 0; padding: 60px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
}
