/*
 * © 2025 William Acker (Catalyst Web Development)
 * Licensed under the Custom Attribution and Forking Use Only License.
 * See LICENSE file in the project root for details.
 */

/* ===============================
    Root Styles & Base Elements
   =============================== */

/* Variables, resets, typography, body styles, etc. */

/* Root variables */
:root {
  /* Typography */
  --font-primary: "Amiri", serif;
  --font-secondary: "DM Sans", sans-serif;

  --font-size: 20px;
  --line-height: 1.6;

  /* Brand Color Palette */
  --color-header: #cfe0e3;
  --color-footer: #3d4e50;
  --color-text-dark: #3e4e50;
  --color-text-light: #ffffff;
  --color-bg-primary: #fbf0e7;
  --color-bg-secondary: #ded5cb;
  --color-bg-tertiary: #cfe0e3;
  --color-bg-quaternary: #e3edf0;
  --color-bg-quinary: #3e4e50;
  --color-bg-dark: #2b2e2f;
  --color-accent-hover-blue: rgb(30, 56, 62);

  /* Button Colors */
  --color-button-primary: #f4b88a;
  --color-button-secondary: #76a4ae;

  /* Accent Colors */
  --color-accent: #76a4ae;
  --color-highlight: #f4b88a;
  --color-soft-gray: #f2f2f2;
  --white: #ffffff;
  --black: #000000;

  /* Visual Design */
  --transition: 0.3s ease;
}

/* Base resets and box sizing */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and html defaults */
html {
  font-size: var(--font-size);
  line-height: var(--line-height);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
}

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

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #162325;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  /* margin-bottom: 1.5rem; */
}

h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

header {
  font-family: var(--font-primary);
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text-dark);
  background-color: var(--white);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

section {
  padding: 3rem 0; /* consistent spacing between sections */
}

section p {
  font-size: 1.125rem;
  line-height: 1.6;
}

footer, footer * {
  font-family: var(--font-primary);
}

/* Uniform Button Class */
.button {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-secondary);
  background-color: var(--color-button-primary);
  color: var(--color-text-light);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background-color: var(--color-button-secondary);
  transform: translateY(-2px);
}

/* Uniform Wrapper Class */
.wrapper {
  max-width: 1400px;
  min-height: 300px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
}

.wrapper img {
  margin: 20px;
  border-radius: 20px;
  display: block; /* ensures no inline gap */
}

/* uniform img styling */

/* ===============================
    Partials: Header
   =============================== */

/* Header layout */
header {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-header);
  padding: 1.25em 2rem;
  height: 140px;
  box-sizing: border-box;
  z-index: 100;
}

/* Logo styling */
.logo-img {
  height: 90px;
  width: auto;
}

/* Navigation links */
/* ===============================
    Desktop Navigation Menu Styles
   =============================== */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 1rem;
  padding-top: 20px;
}

.nav-menu > ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 200;
}

.nav-menu li a {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-dark);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Consistent dropdown open styling for both desktop and mobile (tap/hover) */
.dropdown.open .dropdown-content {
  display: block;
  position: absolute;
  top: 100%;
  transform: translateX(-65px);
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 8px;
  z-index: 100;
  min-width: 200px;
}

/* Ensure consistent dropdown-btn styling across all breakpoints */
.dropdown-btn {
  background: none;
  border: none;
  font: inherit;
  font-style: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-dark);
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-menu button {
  all: unset;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-dark);
  text-decoration: none;
  cursor: pointer;
}

.mobile-only {
  display: none;
}

/* Dropdown menu (for "Services") */
.dropdown.open .dropdown-content {
  display: block;
}

.dropdown-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  transform: translateX(-65px);
  top: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 8px;
  z-index: 100;
  min-width: 200px;
  list-style: none;
  padding: 0rem 0;
  margin: 0;
}

/* Target desktop devices (non-touch) for hover dropdown */
.no-touch .dropdown:hover .dropdown-content {
  display: block;
  position: absolute;
  transform: translateX(-65px);
  top: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 8px;
  z-index: 100;
  min-width: 200px;
}

/* Target touch devices (like Android) for click-to-open dropdown */
.touch-device .dropdown .dropdown-content {
  display: none;
}

.touch-device .dropdown.open .dropdown-content {
  display: block;
  position: absolute;
  transform: translateX(-65px);
  top: 100%;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 8px;
  z-index: 100;
  min-width: 200px;
}

/* Style dropdown links */
.dropdown-content li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-dark);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

/* Hover effect for dropdown links */
.dropdown-content li a:hover {
  background: var(--color-soft-gray);
  color: var(--color-text-dark);
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
}

/* Request appointment area */
.nav-cta {
  margin-left: auto;
  z-index: 2;
  min-width: 180px;
}

/* ===============================
    Partials: Form
   =============================== */

   .contact-form-section-wrapper {
    background-color: var(--color-bg-secondary);
  }

  .form-header {
    text-align: center;
  }

  .form-header h2 {
    margin-bottom: 0rem;
  }

  #hipaatizer-form-container {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 2rem auto;
  }

/* ===============================
    Partials: Footer
   =============================== */

footer {
  background-color: var(--color-footer);
  color: var(--color-text-light);
  padding: 3rem 2rem;
  font-family: var(--font-secondary);
}

.footer-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-section img {
  max-width: 100%;
  height: auto;
  flex: 1 1 200px;
  min-width: 250px;
  position: relative;
  bottom: 10px; /* Adjust as needed to align with text */
}

/* Footer Navigation */
.footer-nav-menu ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-right: 55px;
}

.footer-nav-menu li {
  position: relative;
}

.footer-nav-menu a,
.footer-dropdown-trigger {
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.2rem;
}

.footer-dropdown-icon {
  width: 25px;
  height: 25px;
}

.footer-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dropdown {
  position: relative;
}

.footer-dropdown-content {
  display: none !important;
  position: absolute;
  bottom: 100%; /* Drops upward */
  left: -3.2rem;
  background-color: white;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border-radius: 8px;
  z-index: 10;
  min-width: 200px;
  list-style: none;
}

.footer-dropdown:hover .footer-dropdown-content {
  display: block !important;
}

.footer-dropdown-content li a {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  color: var(--color-text-dark);
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-dropdown-content li a:hover {
  background: var(--color-soft-gray);
  color: var(--color-text-dark);
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
}

.footer-cta {
  font-family: var(--font-secondary);
}

.footer-contact-mobile {
  display: none;
}

.footer-credits {
  text-align: center;
  font-size: 0.7rem;
  color: var(--color-text-light); /* or a muted color of your palette */
  line-height: 1.4;
  position: relative;
  top: 35px;
}

.footer-credits a {
  color: var(--color-text-light);
  text-decoration: underline;
}

.footer-credits a:hover {
  text-decoration: none;
}

/* ===============================
    Layouts: Main
   =============================== */

/* Main container layout */
/* Section spacing */
/* Shared layout utilities */

/* ===============================
    Pages: Home
   =============================== */

/* Hero section */
.hero-wrapper {
  background-color: var(--color-bg-primary);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-text h1 {
  line-height: 1.2;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 500px;
}

/* Unanswered Questions Section */
.questions-wrapper {
  background-color: var(--color-bg-secondary);
}

.questions {
  text-align: center;
}

.questions h2 {
  color: var(--color-text-dark);
}

.questions p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.question-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.question-cards .card {
  background-color: var(--color-bg-quinary);
  padding: 2rem 1.5rem;
  width: 100%;
  border-radius: 20px;
  max-width: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.question-cards .card::before {
  content: "᯽"; /* https://emojicombos.com/leaf */
  color: var(--color-accent);
  font-size: 2rem;
}

.question-cards .card p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.questions > p:last-of-type {
  font-size: 1rem;
  margin-top: 2rem;
  color: var(--color-text-dark);
}

/* Answers Section Wrapper */
.answers-wrapper {
  background-color: var(--color-bg-primary);
}

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

.answers-image {
  flex-grow: 1;
  max-width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.answers-image img {
  width: 90%;
  max-width: none;
  height: auto;
  object-fit: cover;
}

.answers-text {
  /* text container */
  flex: 1 1 500px;
  flex-grow: 1;
}

.answers-text h2 {
  /* headline */
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.answers-text p {
  /* subheadline */
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.answers-text ul {
  /* checklist */
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.answers-text ul li {
  /* list items */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text-dark);
}

.answers-text ul li::before {
  content: "✔";
  display: inline-block;
  font-size: 1.25rem;
  color: var(--color-button-secondary);
}

.answers-text a:hover {
  background-color: var(--color-button-secondary);
}

/* Meet Lillian Section */
.meet-lillian-wrapper {
  background-color: var(--color-bg-tertiary);
}

.meet-lillian {
  text-align: center;
}

.meet-lillian h2 {
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.meet-lillian p {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.lillian-section {
  /* flex container for bio and image */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.bio-text {
  flex: 1 1 500px;
  text-align: left;
}

.bio-text h3 {
  /* subheadline */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.bio-text p {
  /* paragraphs */
  font-size: 1rem;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bio-image {
  display: flex;
  align-items: center;
}

.bio-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 3 Steps Section */
.three-steps-wrapper {
  background-color: var(--color-bg-primary);
}

.three-steps {
  text-align: center;
}

.three-steps h2 {
  margin-bottom: 2rem;
}

.steps {
  /* container for step cards */
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.step {
  /* individual step card */
  background-color: var(--color-bg-quinary);
  color: var(--color-text-light);
  padding: 2rem 1.5rem;
  border-radius: 24px;
  max-width: 300px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step h3 {
  /* step number + heading */
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h3::before {
  content: attr(data-step);
  display: block;
  width: 68px;
  height: 68px;
  margin: 0 auto auto;
  background-color: var(--color-soft-gray);
  color: var(--color-text-dark);
  border-radius: 50%;
  line-height: 68px;
  font-size: 1.25rem;
}

.step p {
  /* step description */
  font-size: 0.95rem;
  color: white;
  line-height: 1.5;
}

/* Services Grid Section */
.services-grid-wrapper {
  background-color: var(--color-bg-secondary);
}

.services-grid h2 {
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.service-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.service-buttons a {
  width: 100%;
  background-color: var(--color-bg-quinary);
  color: var(--color-text-light);
  border-radius: 24px;
  padding: 2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-weight: 600;
  transition: background-color var(--transition);
  position: relative;
}

.service-buttons a:hover {
  background-color: var(--color-accent-hover-blue);
}

.service-buttons a span {
  /* subtext span inside buttons */
  font-weight: 400;
  font-size: 1rem;
  margin-top: 1rem;
  color: #e0e0e0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-buttons a span::after {
  content: "↓";
  font-size: 1.25rem;
  line-height: 1;
}

/* Closing Message Section */
.closing-message-wrapper {
  background-color: var(--color-bg-primary);
}

.closing-message {
  margin: 0 auto;
  text-align: center;
}

.closing-message h2 {
  margin-bottom: 1rem;
}

.closing-message p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ===============================
    Pages: About
   =============================== */

/* About Intro Section */
.about-intro-wrapper {
  background-color: var(--color-bg-primary);
}

.about-intro {
  margin: 0 auto;
}

.about-intro h1 {
  margin-bottom: 0rem;
}

.about-intro p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4rem;
}

.about-image {
  flex: 0 0 auto;
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1 1 0;
  min-width: 250px;
}

/* Message Block Section */
.about-message-wrapper {
  background-color: var(--color-bg-secondary) !important;
}

.about-message {
  text-align: center;
}

.about-message p {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.about-message p::before {
  content: "᯽";
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--color-button-secondary);
}

/* About Me: Unique Approach Section */
.unique-approach-wrapper {
  background-color: var(--color-bg-primary);
}

.unique-approach {
  text-align: center;
}

.unique-approach h2 {
  color: var(--color-text-dark);
  margin-bottom: 2rem;
}

.approach-cards {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.approach-cards .card {
  background-color: var(--color-bg-quinary);
  color: var(--color-text-light);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.approach-cards .card h3 {
  color: var(--color-text-light);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.approach-cards .card p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
  text-align: center;
}

.unique-approach > p {
  font-size: 1rem;
  color: var(--color-text);
  margin: 2rem auto;
  line-height: 1.6;
}

/* ===============================
    Pages: Consultations
   =============================== */

/* Hero Section */
.consultation-hero {
  background-color: var(--color-bg-primary);
  text-align: center;
}

.consultation-hero.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultation-hero p {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* Questions Section */
.consultation-questions-wrapper {
  background-color: var(--color-bg-secondary);
}

.consultation-questions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.consultation-questions-text {
  flex: 1 1 500px;
}

.consultation-questions-text p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.consultation-questions ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  margin-left: 2rem;
}

.consultation-questions li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.consultation-questions li::before {
  content: "᯽";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--color-button-secondary);
}

.consultation-questions .image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.consultation-questions .image img {
  width: 100%;
  max-width: 600px;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.navigate-text {
  margin: 0px 0px 0px !important;
}

/* What Is a Consultation */
.what-is-consultation {
  background-color: var(--color-bg-primary);
}

.what-is-consultation .wrapper {
  margin: 0 auto;
}

.what-is-consultation p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.what-is-consultation ul {
  list-style: none;
  padding: 0;
  margin-left: 2rem;
}

.what-is-consultation li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.what-is-consultation li::before {
  content: "᯽";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.1rem;
  color: var(--color-button-secondary);
}

/* Why Choose a Consultation */
.why-consultation {
  background-color: var(--color-bg-tertiary);
  text-align: center;
}

.why-consultation p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.consultation-benefits {
  display: flex;
  justify-content: space-between;
  align-items: center; /* center vertically */
  flex-wrap: wrap;
  gap: 1.5rem;
  text-align: left;
}

.consultation-benefits .image {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.consultation-benefits .image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  object-position: left; /* crop right side */
}

.consultation-benefits .benefits-list {
  flex: 1 1 400px;
}

.consultation-benefits .benefits-list ul {
  list-style: none;
  padding: 0;
}

.consultation-benefits .benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.consultation-benefits .benefits-list li::before {
  content: "᯽";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-button-secondary);
  font-size: 1.1rem;
}

/* Call to Action */
.consultation-cta {
  background-color: var(--color-bg-primary);
  padding: 4rem 0;
  text-align: center;
}

.consultation-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ===============================
    Pages: Contact
   =============================== */

/* Contact Intro Section */
.contact-intro {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  background-color: var(--color-bg-primary);
}

.contact-intro h1 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-intro p {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

/* Appointment Availability Section */
/* .availability {
  background-color: #dcdcdc;
  padding: 4rem 2rem;
  text-align: center;
}

.availability h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.availability-columns {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.availability-columns h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.availability-columns p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
} */

/* Contact Info Section */
.contact-info {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--color-bg-primary);
}

.contact-info h2 {
  color: var(--color-text-dark);
  margin-bottom: 0rem;
}

.contact-info p {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.areas-serviced-wrapper {
  background-color: var(--color-bg-secondary);
}

.areas-serviced {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.areas-serviced h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.areas-serviced h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.areas-serviced .note {
  font-size: 1rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.county-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
  transform: translateX(30px);
}

.county-column {
  text-align: left;
  flex: 1 1 200px;
  min-width: 160px;
  max-width: 250px;
}

.county-column ul {
  padding-left: 1.5rem;
}

.county-column li {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-dark);
}

/* ===============================
    Pages: Counseling
   =============================== */

/* === Counseling Hero === */
.counseling-hero-wrapper {
  background-color: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.counseling-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.counseling-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.4rem;
  font-weight: 300;
}

.counseling-questions-wrapper {
  background-color: var(--color-bg-secondary);
}

.counseling-questions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  flex-direction: column;
}

.counseling-questions h2 {
  margin-bottom: 0rem;
}

.counseling-questions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.counseling-questions-list h2 {
  font-size: 1.8rem;
  color: #142526;
  margin-bottom: 1rem;
}

.counseling-questions-list p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #142526;
  margin-bottom: 1.25rem;
}

.counseling-questions-list ul {
  list-style: none;
  padding: 0;
  padding-left: 2rem;
}

.counseling-questions-list ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-align: left;
}

.counseling-questions-list ul li::before {
  content: "᯽"; /* https://emojicombos.com/leaf */
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  color: var(--color-button-secondary);
}

.counseling-questions .questions-list {
  flex: 1 1 55%;
  min-width: 250px;
  align-self: center;
}

.counseling-questions .image {
  flex: 1 1 40%;
  max-width: 500px;
  min-width: 250px;
  align-self: center;
  margin: 0 auto;
}

.counseling-questions .image img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
}

/* === Unique Counseling Approach === */
.counseling-approach-wrapper {
  background: var(--color-bg-primary);
}

.counseling-approach {
  text-align: center;
}

.counseling-approach h2 {
  font-size: 2rem;
}

.counseling-approach-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.counseling-approach-cards .card {
  background: var(--color-bg-quinary);
  color: var(--color-text-light);
  padding: 2rem;
  border-radius: 20px;
  max-width: 300px;
  flex: 1;
}

.counseling-approach-cards .card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
  min-height: 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
}

/* === Counseling Benefits === */
.counseling-benefits-wrapper {
  background: var(--color-bg-tertiary);
  padding: 4rem 0;
}

.counseling-benefits {
  text-align: center;
}

.counseling-benefits p {
  margin-bottom: 2rem;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.benefit {
  background: none;
  padding: 1rem;
  flex: 1 1 300px;
  max-width: 400px;
}

.benefit p {
  margin-bottom: 0rem;
}

.benefit h3::before {
  content: "᯽"; /* https://emojicombos.com/leaf */
  display: block;
  margin: 0 auto 0.5rem;
  color: var(--color-button-secondary);
}

/* === Final CTA === */
.counseling-cta-wrapper {
  background: var(--color-bg-primary);
  padding: 4rem 0;
}

.counseling-cta {
  text-align: center;
  max-width: 800px;
}

.counseling-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.counseling-cta p {
  margin-bottom: 2rem;
}

/* ===============================
    Pages: Evals
   =============================== */

/* Hero */
.evals-hero-wrapper {
  background-color: var(--color-bg-primary);
}

.evals-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px; /* adjust this to match your desired vertical space */
  padding: 40px 0; /* optional: adjust as needed */
}

.evals-hero p {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* Clear Answers Section */
.evals-answers-wrapper {
  background-color: var(--color-bg-secondary);
}

.evals-answers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
}

.evals-answers h2 {
  margin-bottom: 1rem;
}

.evals-answers p {
  margin-bottom: 1rem;
}

.evals-answers .image {
  flex: 1 1 500px;
  max-width: 600px;
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  justify-content: center;
}

.evals-answers .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.evals-answers .text {
  flex: 1 1 400px;
  max-width: 600px;
}

.evals-answers p strong {
  font-weight: 700;
}

/* What Is an Evaluation */
.evals-what-wrapper {
  background-color: var(--color-bg-primary);
}

.evals-what {
  margin: 0 auto;
}

.evals-what p {
  padding-bottom: 1rem;
}

.evals-what ul {
  list-style: none;
  padding-left: 1rem;
  padding-bottom: 1.5rem;
}

.evals-what li::before {
  content: "᯽"; /* https://emojicombos.com/leaf */
  margin-right: 0.5rem;
  font-size: 1rem;
  color: var(--color-button-secondary);
}

/* Who Needs an Evaluation */
.evals-who-wrapper {
  background-color: var(--color-bg-tertiary);
}

.evals-who {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center; /* vertical center */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.evals-who h2 {
  color: #162325;
}

.evals-who-questions {
  flex: 1 1 300px;
}

.evals-groups {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  flex: 2;
}

.group {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.group h3 {
  min-width: 160px;
}

.group::before {
  content: "᯽"; /* https://emojicombos.com/leaf */
  display: block;
  margin: 0 auto 0.5rem;
  color: var(--color-button-secondary);
}

.group h3,
.group p {
  display: block;
  margin: 0;
  line-height: 1.4;
}

.group h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.group p {
  font-size: 1.1rem;
  min-width: 250px;
  max-width: 600px;
}

/* Common Areas of Assessment */
.evals-areas-wrapper {
  background-color: var(--color-bg-primary);
}

.evals-areas {
  text-align: center;
}

.areas-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem auto;
  padding: 0 2rem;
  max-width: 1000px;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
}

.evals-area-card {
  background-color: var(--color-bg-quinary);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.evals-area-card small {
  font-weight: 400;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
}

/* What to Expect */
.evals-expect-wrapper {
  background-color: var(--color-bg-secondary);
}

.evals-expect {
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.steps h3 {
  color: white;
}

/* Final CTA */
.evals-cta-wrapper {
  background-color: var(--color-bg-primary);
}

.evals-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px; /* Optional: set based on desired section height */
}

.evals-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.evals-cta p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0;
}

/* ===============================
    Pages: 404
   =============================== */
.not-found {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background-color: var(--color-bg-primary);
}

.not-found h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #142324;
}

.not-found p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

/* ===============================
    Mobile & Responsive Styling
   =============================== */

/* Below laptop width – add padding to wrapper */
@media (max-width: 1540px) {
  .wrapper {
    padding: 0 2rem;
  }
}

@media (max-width: 1200px) {
  .answers {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .answers-image {
    max-width: 100%;
    min-width: 300px;
  }

  .answers-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 500px;
  }

  .answers-text {
    max-width: 700px;
  }

  .answers-text ul {
    padding-left: 0;
  }

  .answers-text ul li {
    justify-content: center;
  }
}

/* Tablet landscape (e.g. iPad Pro horizontal) */
@media (max-width: 1100px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }

  .burger-menu {
    display: block;
    cursor: pointer;
    padding: 1rem;
    transform: scale(1.4);
  }

  .burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
  }

  .nav-menu {
    display: none;
    transition: all 0.3s ease;
  }

  .nav-appointment-button {
    display: none;
  }

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    width: 100vw;
    background-color: var(--color-header);
    padding: 2rem 0;
    z-index: 99;
    align-items: center;
    margin: 0 auto;
  }

  .nav-menu.active > ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .mobile-only {
    padding: 0px;
  }

  /* Ensure .dropdown-btn matches nav link styling on mobile */
  .dropdown-btn {
    background: none;
    border: none;
    font: inherit;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-left: 1.25rem !important;
  }

  /* Mobile-specific dropdown-content styles */
  .dropdown-content {
    left: 10%;
    position: relative;
    transform: none;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    border-radius: 8px;
    z-index: 100;
    min-width: 200px;
    list-style: none;
    margin: 0;
    text-align: center;
  }
}

/* Specific media target for breakpoints */
@media (max-width: 1080px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-text h1,
  .hero-text p,
  .hero-text .button {
    text-align: center;
  }

  .hero-text {
    flex: none;
  }

  .hero-text .button {
    margin-bottom: 2rem;
  }

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }

  .footer-nav-menu ul {
    flex-direction: column;
    justify-content: flex-start;
    margin-right: 0rem;
    gap: 1rem;
  }

  .footer-dropdown {
    transform: translateX(15%);
  }

  .footer-dropdown-content {
    right: auto;
    left: 50%;
    transform: translateX(-55%); /* Center horizontally */
    bottom: 100%;
  }

  .footer-cta {
    display: none;
  }

  .footer-contact-mobile {
    display: list-item;
  }
}

@media (max-width: 1040px) {
  .lillian-section {
    justify-content: center;
    text-align: center;
    gap: 0;
  }

  .bio-image {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .evals-answers {
    gap: 1rem;
  }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile-only a {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: block;
  }
  
  .logo-img {
    height: 70px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.3rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  p {
    font-size: 1rem !important;
    margin-bottom: 0;
  }
  li {
    font-size: 1rem !important;
    padding: 10px 0;
  }

  .answers {
    gap: 1rem;
  }

  .answers-text {
    text-align: left;
  }

  .answers-text h2 {
    margin-bottom: 2rem;
  }

  .answers-text .button {
    text-align: center;
  }

  .button {
    font-size: 0.9rem !important;
  }

  .questions h2 {
    margin-bottom: 2rem;
  }

  .meet-lillian {
    text-align: left;
  }

  .meet-lillian h2 {
    margin-bottom: 1rem;
  }

  .counseling-questions .text {
    margin: 0rem;
  }

  .service-buttons {
    grid-template-columns: 1fr;
  }

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

  .evals-cta h2 {
    padding-bottom: 2rem;
  }

  .consultation-questions-text h2 {
    margin-bottom: 1rem;
  }

  .evals-who {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .evals-who-questions {
    flex: unset;
    max-width: unset;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .evals-who-questions {
    text-align: center;
  }
  
  .group {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .county-columns {
    transform: translateX(10px);
  }

  .footer-nav-menu li {
    padding: 0px;
  }

  .footer-credits p {
    font-size: 0.6rem !important;
  }

  .footer-credits strong {
    font-size: 0.6rem !important;
  }

  .about-top {
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .about-image {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-section img {
    max-width: 140px;
    margin: 0rem auto 0rem;
  }

  .counseling-questions-list {
    gap: 0rem;
  }
}

/* Phones (standard) */
@media (max-width: 575px) {
  header {
    height: 110px;
  }

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

  .burger-menu {
    transform: scale(1);
  }

  .footer-container {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section img {
    width: auto;
    max-width: 250px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    position: static;
    min-width: 0;       /* <-- Reset this */
    flex: none;         /* <-- Prevent image from flexing weirdly */
  }

  .footer-nav-menu {
    margin-top: 1rem;
  }

  .footer-cta .button {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .consultation-questions {
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  /* Add tightest breakpoint tweaks here */
  .evals-hero h1 {
    font-size: 1.8rem !important;
  }
}
