/* ===== Custom Properties ===== */
:root {
  --sage: #5B8A4E;
  --sage-light: #8DB87E;
  --sage-dark: #478040;
  --taupe: #B8A898;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --gold: #C4A265;
  --charcoal: #2C2C2C;
  --charcoal-light: #5A5A5A;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --max-width: 1200px;
  --nav-height: 80px;
  --transition: 0.3s ease;
  --transition-slow: 0.4s ease;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);

  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sage-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--sage);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 247, 242, 0.97);
  border-bottom: 1px solid rgba(184, 168, 152, 0.25);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.nav-brand-tagline {
  font-size: 0.72rem;
  color: var(--charcoal-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-light);
  position: relative;
  padding: 0.3rem 0;
  letter-spacing: 0.2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width var(--transition), left var(--transition);
  border-radius: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-light);
  position: relative;
  padding: 0.3rem 0;
  letter-spacing: 0.2px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width var(--transition), left var(--transition);
  border-radius: 1px;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--sage-dark);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown-toggle.active::after {
  width: 100%;
  left: 0;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 1001;
  border: 1px solid rgba(184, 168, 152, 0.15);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal-light);
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
  color: var(--sage-dark);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-submenu {
  position: relative;
}

.nav-submenu-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal-light);
  background: none;
  border: none;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.nav-submenu-toggle:hover,
.nav-submenu:hover .nav-submenu-toggle,
.nav-submenu.open .nav-submenu-toggle,
.nav-submenu-toggle.active {
  background: var(--cream);
  color: var(--sage-dark);
}

.nav-submenu-toggle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-submenu:hover .nav-submenu-toggle svg,
.nav-submenu.open .nav-submenu-toggle svg {
  transform: rotate(-90deg);
}

.nav-submenu-menu {
  display: none;
  position: absolute;
  top: -0.5rem;
  left: calc(100% - 0.15rem);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  min-width: 170px;
  padding: 0.5rem 0;
  border: 1px solid rgba(184, 168, 152, 0.15);
  z-index: 1002;
}

.nav-submenu:hover .nav-submenu-menu,
.nav-submenu.open .nav-submenu-menu {
  display: block;
}

.nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.nav-call-btn:hover {
  background: var(--sage-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-call-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  background: url('../Images/hero-forest.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 247, 242, 0.88) 0%,
    rgba(250, 247, 242, 0.78) 40%,
    rgba(240, 235, 227, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-content h1 {
  font-size: 3.25rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-content h1 .accent {
  color: var(--sage);
  display: inline;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
  font-style: italic;
  font-family: var(--font-heading);
  font-weight: 400;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--charcoal-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 103, 65, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}

.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(74, 103, 65, 0.25);
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header p {
  color: var(--charcoal-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* Section Wave Divider */
.section-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Welcome / Intro ===== */
.welcome-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--charcoal-light);
  line-height: 2;
  letter-spacing: 0.1px;
}

.welcome-text p {
  margin-bottom: 1.25rem;
}

/* Welcome Split Layout (text left, photo right) */
.welcome-split {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}

.welcome-text-col h2 {
  margin-bottom: 0.5rem;
}

.welcome-text-col p {
  color: var(--charcoal-light);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.welcome-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
}

.welcome-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.welcome-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem 2rem 2.25rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(184, 168, 152, 0.15);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.75rem;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(74, 103, 65, 0.2);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.service-card .btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
}

/* ===== Specialties — Categorized Chips ===== */
.specialties-section {
  margin-top: 3.5rem;
}

.specialties-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.specialty-category {
  margin-bottom: 1.75rem;
}

.specialty-category:last-child {
  margin-bottom: 0;
}

.specialty-category-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.specialties-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.specialty-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid rgba(184, 168, 152, 0.2);
  border-radius: 50px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.specialty-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--sage-light);
}

.specialty-chip svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
  flex-shrink: 0;
}

/* ===== Doctor Cards (Home Page) ===== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(184, 168, 152, 0.12);
  box-shadow: var(--shadow-sm);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.doctor-photo {
  width: 100%;
  height: 320px;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.doctor-photo .initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--white);
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 2px;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.03);
}

.doctor-card-body {
  padding: 2rem 2rem 2.25rem;
}

.doctor-card-body h3 {
  margin-bottom: 0.3rem;
}

.doctor-card-body .credential {
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.doctor-card-body p {
  color: var(--charcoal-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Portrait Doctor Cards (horizontal layout with tall photo) */
.doctors-grid-portrait {
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.doctor-card-portrait {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto;
}

.doctor-photo-portrait {
  height: auto;
  min-height: 340px;
  aspect-ratio: auto;
}

.doctor-card-portrait .doctor-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== About Page -- Doctor Bios ===== */
.bio-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4.5rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--taupe);
}

.bio-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bio-photo-col {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.bio-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bio-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.bio-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--charcoal-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
  word-break: break-all;
}

.bio-contact-link:hover {
  color: var(--sage);
}

.bio-contact-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--sage);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.bio-message-btn {
  margin-top: 0.5rem;
  width: 100%;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.bio-message-btn svg {
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
}

.bio-photo .initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--white);
  opacity: 0.75;
  font-weight: 400;
  letter-spacing: 2px;
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.bio-content h2 {
  margin-bottom: 0.3rem;
}

.bio-content .credential {
  color: var(--sage);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  display: block;
}

.bio-content p {
  color: var(--charcoal-light);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.bio-content .btn {
  margin-top: 0.75rem;
}

/* ===== Services Detail Pages ===== */
.services-detail {
  padding: 3rem 0 2rem;
}

.services-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.services-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.services-sidebar .bio-photo {
  margin-bottom: 1.5rem;
}

.services-sidebar .contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(184, 168, 152, 0.2);
  box-shadow: var(--shadow-sm);
}

.services-sidebar .contact-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--charcoal-light);
  word-break: break-all;
}

.services-sidebar .contact-info p:last-child {
  margin-bottom: 0;
}

.services-sidebar .contact-info svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn-sidebar {
  margin-top: 1.25rem;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}

.service-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  border: 1px solid rgba(184, 168, 152, 0.15);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  transition: box-shadow var(--transition);
}

.service-section:hover {
  box-shadow: var(--shadow);
}

.service-section:last-child {
  margin-bottom: 0;
}

.services-main h3 {
  margin-bottom: 1rem;
  color: var(--sage-dark);
  font-size: 1.35rem;
}

.service-section h3:first-child {
  margin-top: 0;
}

.services-main p {
  color: var(--charcoal-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.services-main p:last-child {
  margin-bottom: 0;
}

.services-main ul {
  margin-bottom: 0;
  padding-left: 0;
}

.services-main ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.services-main ul li:last-child {
  margin-bottom: 0;
}

.services-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
}

.services-main ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.services-main ul ul li::before {
  width: 5px;
  height: 5px;
  background: var(--sage-light);
}

/* Services FAQ (accordion inside services pages) */
.services-faq {
  margin-top: 0.5rem;
}

.services-faq .faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(184, 168, 152, 0.15);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  transition: box-shadow var(--transition);
}

.services-faq .faq-item:hover {
  box-shadow: var(--shadow);
}

.services-faq .faq-item:last-child {
  margin-bottom: 0;
}

.services-faq .faq-question {
  padding: 1.25rem 1.75rem;
  font-size: 1.1rem;
}

.services-faq .faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
}

.services-faq .faq-answer-inner ul {
  padding-left: 0;
  margin-bottom: 0;
}

.services-faq .faq-answer-inner ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.services-faq .faq-answer-inner ul li:last-child {
  margin-bottom: 0;
}

.services-faq .faq-answer-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  background: var(--sage);
  border-radius: 50%;
}

.services-faq .faq-answer-inner ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.services-faq .faq-answer-inner ul ul li::before {
  width: 5px;
  height: 5px;
  background: var(--sage-light);
}

.services-faq .faq-answer-inner p {
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.services-faq .faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid rgba(184, 168, 152, 0.15);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

.faq-item.active {
  border-left: 3px solid var(--sage);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--transition);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--sage-dark);
}

.faq-item.active .faq-question {
  color: var(--sage-dark);
}

.faq-icon {
  width: 24px;
  height: 24px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2;
  transition: transform var(--transition-slow);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner {
  padding: 0 1.75rem 1.75rem;
  color: var(--charcoal-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-section h3 {
  margin-bottom: 1.75rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(184, 168, 152, 0.15);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.contact-card h4 {
  margin-bottom: 0.75rem;
  color: var(--sage-dark);
}

.contact-card p {
  margin-bottom: 0.5rem;
  color: var(--charcoal-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-all;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card svg {
  width: 16px;
  height: 16px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.75rem;
  border: 1px solid rgba(184, 168, 152, 0.15);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--taupe);
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--charcoal-light);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.12);
  background: var(--white);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem;
}

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--charcoal-light);
  text-align: center;
  line-height: 1.6;
}

.contact-disclaimer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.8rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, rgba(184, 168, 152, 0.2) 100%);
  text-align: center;
  position: relative;
}

.page-header h1 {
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--charcoal-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--cream-dark);
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(184, 168, 152, 0.25);
}

.cta-content h2 {
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  font-size: 2.25rem;
}

.cta-content > p {
  color: var(--charcoal-light);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-section .btn-primary svg {
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-section .btn-outline {
  color: var(--sage-dark);
  border-color: var(--sage);
}

#ilzger {
  margin-top: 1.3rem !important;
}

/* ===== Sticky Mobile CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  gap: 0.75rem;
  border-top: 1px solid rgba(184, 168, 152, 0.2);
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm, 8px);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  transition: background var(--transition);
}

.mobile-cta-btn:hover {
  background: var(--sage-dark);
  color: var(--white);
}

.mobile-cta-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-cta-btn.mobile-cta-secondary {
  background: var(--cream-dark);
  color: var(--sage-dark);
}

.mobile-cta-btn.mobile-cta-secondary svg {
  stroke: var(--sage-dark);
}

.mobile-cta-btn.mobile-cta-secondary:hover {
  background: var(--taupe);
  color: var(--white);
}

.mobile-cta-btn.mobile-cta-secondary:hover svg {
  stroke: var(--white);
}

/* ===== Footer ===== */
.footer {
  background: #2D4A35;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.footer-info p {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

.footer-info a {
  color: var(--sage-light);
  transition: color var(--transition);
}

.footer-info a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) {
  transition-delay: 100ms;
}

.reveal:nth-child(3) {
  transition-delay: 200ms;
}

.reveal:nth-child(4) {
  transition-delay: 300ms;
}

.reveal:nth-child(5) {
  transition-delay: 400ms;
}

.reveal:nth-child(6) {
  transition-delay: 500ms;
}

/* ===== Responsive — 1024px ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bio-section {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
  }

  .services-hero {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }
}

/* ===== Responsive — 768px ===== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .section {
    padding: 4rem 0;
  }

  /* Mobile Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(184, 168, 152, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-call-btn {
    display: none;
  }

  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-brand-tagline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Dropdown */
  .nav-dropdown-toggle {
    padding: 0.75rem 0;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    padding: 0 0 0 1.25rem;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }

  .nav-dropdown-menu a:hover {
    background: transparent;
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .nav-submenu-toggle {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }

  .nav-submenu-toggle:hover,
  .nav-submenu:hover .nav-submenu-toggle,
  .nav-submenu.open .nav-submenu-toggle {
    background: transparent;
  }

  .nav-submenu-toggle svg {
    transform: none;
  }

  .nav-submenu:hover .nav-submenu-toggle svg,
  .nav-submenu.open .nav-submenu-toggle svg {
    transform: rotate(180deg);
  }

  .nav-submenu-menu {
    position: static;
    min-width: 0;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1.1rem;
  }

  .nav-submenu-menu a {
    padding: 0.45rem 0;
  }

  /* Hero Mobile */
  .hero {
    min-height: 85vh;
    padding-top: calc(var(--nav-height) + 1.5rem);
    background-attachment: scroll;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .specialties-section {
    margin-top: 2.5rem;
  }

  .specialty-category-label {
    text-align: center;
  }

  .specialties-row {
    justify-content: center;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .doctor-photo {
    height: 280px;
  }

  /* Welcome Split Mobile */
  .welcome-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .welcome-photo-col {
    order: -1;
  }

  .welcome-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  /* Portrait Doctor Cards Mobile */
  .doctors-grid-portrait {
    grid-template-columns: 1fr;
  }

  .doctor-card-portrait {
    grid-template-columns: 1fr;
  }

  .doctor-photo-portrait {
    min-height: 280px;
    max-height: 320px;
  }

  /* Bio Mobile */
  .bio-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
  }

  .bio-photo-col {
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }

  .bio-photo {
    max-width: 260px;
    margin: 0 auto;
  }

  .bio-contact {
    align-items: center;
  }

  .bio-content {
    text-align: center;
  }

  .bio-content .btn {
    margin-left: auto;
    margin-right: auto;
  }

  /* Services Detail Mobile */
  .services-hero {
    grid-template-columns: 1fr;
  }

  .services-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: start;
  }

  .btn-sidebar {
    width: auto;
  }

  .service-section {
    padding: 1.5rem 1.25rem;
  }

  .services-sidebar .bio-photo {
    width: 150px;
    min-width: 150px;
    aspect-ratio: 1;
    position: static;
  }

  /* Contact Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2rem;
  }

  /* Page Header Mobile */
  .page-header {
    padding: calc(var(--nav-height) + 2.5rem) 0 2.5rem;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 4rem 0;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  /* Mobile CTA hidden */

  /* Footer Mobile */
  .footer {
    padding-bottom: 3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* FAQ Mobile */
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 1.05rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ===== Responsive — 480px ===== */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: -0.3px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .services-sidebar {
    flex-direction: column;
    align-items: center;
  }

  .services-sidebar .bio-photo {
    width: 180px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.75rem;
    font-size: 0.9rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}
