@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1e3a8a;
  /* Deep elegant blue */
  --secondary: #0ea5e9;
  /* Vibrant sky/teal */
  --accent: #38bdf8;
  --dark: #0f172a;
  --light: #f8fafc;
  --white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --font: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  color: var(--text-main);
  background-color: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

body.loaded {
  opacity: 1;
}

main {
  flex-grow: 1;
}

/* ------------------- HEADER ------------------- */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-top {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.header-top a:hover {
  opacity: 0.8;
}

.header-top-right {
  display: flex;
  align-items: center;
}

.header-locations-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.header-locations-link:hover {
  opacity: 0.85;
}

.header-locations-link svg {
  opacity: 0.9;
  flex-shrink: 0;
  stroke: var(--white);
}

.header-locations-link span {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 80%);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}

.header-locations-link:hover span {
  text-decoration-color: var(--white);
}


.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  /* Adjusted for original logo */
  object-fit: contain;
  transition: var(--transition);
}

.logo img:hover {
  transform: scale(1.02);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary);
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* ------------------- UTILITIES ------------------- */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.section {
  padding: 100px 0;
}

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

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ------------------- HERO ------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - 120px);
  /* Subtracts the exact header height to fill screen perfectly */
  min-height: calc(100dvh - 120px);
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 700px;
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--secondary);
}

.hero p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ------------------- CARDS & GRIDS ------------------- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--secondary);
  font-size: 1.5rem;
}

.card h3 {
  color: var(--dark);
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ------------------- INNER PAGE SHARED ------------------- */
.page-header {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

/* ------------------- DOCTORS GRID (ABOUT) ------------------- */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .doctors-grid {
    grid-template-columns: 1fr;
  }
}

.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.doc-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 30px 10px 30px;
}

.doc-avatar-container {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(13, 148, 136, 0.15);
  /* light secondary border */
  background: #eaeaeb;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.doc-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  transition: var(--transition);
}

.doc-card:hover .doc-avatar {
  transform: scale(1.08);
}

.doc-meta {
  display: flex;
  flex-direction: column;
}

.doc-meta h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin: 0 0 4px 0;
  font-weight: 600;
  line-height: 1.2;
}

.doc-meta .specialty {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.3;
}

.doc-content {
  padding: 10px 30px 30px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.doc-content p {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: justify;
}

@media screen and (max-width: 767px) {
  .doc-content {
    padding: 10px 20px 20px 20px;
  }

  .doc-header {
    padding: 20px 20px 10px 20px;
  }

}

/* ------------------- CONDITIONS GRID (PROJECTS) ------------------- */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.condition-item {
  background: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--secondary);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 15px;
}

.condition-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary);
}

.condition-icon {
  color: var(--secondary);
}

/* ------------------- INSURANCES GRID ------------------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.insurance-item {
  background: var(--white);
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.insurance-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--secondary);
  color: var(--primary);
}

.insurance-icon {
  color: var(--secondary);
  display: flex;
}

.alert-box {
  background: rgba(239, 68, 68, 0.1);
  border-left: 4px solid #ef4444;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  color: #b91c1c;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ------------------- CONTACT PAGE ------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 20px;
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 40px 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-info p {
  color: var(--text-main);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: var(--radius) var(--radius) 0 0;
}

.contact-form-container h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-form-container>p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

.form-control {
  display: block;
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition);
  background-color: var(--light);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ------------------- MAPS SECTION ------------------- */
.maps-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-title {
  font-size: 1.3rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .maps-section {
    grid-template-columns: 1fr;
  }
}

.main-contact-strip {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.main-contact-strip>div {
  text-align: center;
}

.main-contact-strip h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.main-contact-strip p {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.main-contact-strip a {
  color: white;
  text-decoration: none;
}

.main-contact-strip a:hover {
  text-decoration: underline;
}

.divider {
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .divider {
    display: none;
  }

  .main-contact-strip {
    gap: 30px;
    flex-direction: column;
  }

  .contact-form-container {
    padding: 30px 20px;
  }
}

/* CAPTCHA & ERRORS */
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 6px;
  position: relative;
}

.captcha-wrap {
  display: flex;
  gap: 15px;
  align-items: center;
}

.captcha-canvas-wrap {
  flex: 0 0 140px;
  height: 52px;
}

.captcha-wrap canvas {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: var(--light);
  height: 100%;
  width: 100%;
  display: block;
}

.captcha-wrap input {
  flex: 1;
}

@media (max-width: 576px) {
  .captcha-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .captcha-canvas-wrap {
    flex: 0 0 52px;
    width: 100%;
  }
}

.w-form-done {
  display: none;
  color: #059669;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
  padding: 15px;
  background: #d1fae5;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid #10b981;
}

/* ------------------- FOOTER ------------------- */
footer {
  background-color: var(--dark);
  color: #cbd5e1;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .section {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  .header-top-right {
    justify-content: center;
  }

  .logo img {
    height: 45px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  nav ul li {
    width: 100%;
  }

  nav a {
    display: block;
    padding: 10px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    min-height: calc(100vh - 130px);
    min-height: calc(100dvh - 130px);
    text-align: center;
  }

  .hero-overlay {
    background: rgba(15, 23, 42, 0.35);
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

/* Single Element Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.reveal-left {
  transform: translateX(-40px);
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.reveal-scale {
  transform: scale(0.95);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered Children Grid Reveal */
.reveal-delayed>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.reveal-delayed.revealed>* {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   LOCATIONS PAGE
   ============================================================================ */

/* --- Zip Code Finder --- */
.zip-finder {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.zip-finder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.zip-finder h3 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.zip-finder>p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.zip-finder-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.zip-finder-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1.1rem;
  color: var(--text-main);
  transition: var(--transition);
  background: var(--light);
  text-align: center;
  letter-spacing: 2px;
  font-weight: 600;
}

.zip-finder-form input:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.zip-finder-form input::placeholder {
  letter-spacing: normal;
  font-weight: 400;
  color: var(--text-muted);
}

.zip-finder-form button {
  padding: 15px 30px;
  border-radius: 50px;
  white-space: nowrap;
}

.zip-result {
  margin-top: 25px;
  padding: 18px 25px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.4s ease-out;
}

.zip-result.show {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.zip-result.success {
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.zip-result.telehealth {
  background: rgba(14, 165, 233, 0.08);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.zip-result svg {
  flex-shrink: 0;
}

/* --- Region Tabs --- */
.location-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
  background: var(--light);
  padding: 6px;
  border-radius: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

.tab-btn {
  flex: 1;
  padding: 14px 24px;
  border: none;
  background: transparent;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.tab-btn:hover {
  color: var(--primary);
  background: rgba(14, 165, 233, 0.05);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
}

.tab-btn .tab-count {
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}

.tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Tab Content --- */
.tab-content {
  display: none;
  animation: fadeUp 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

/* --- Location Cards --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.location-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

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

.location-card-map {
  width: 100%;
  height: 220px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.location-card-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-card-body {
  padding: 28px 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.location-card-city {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.location-card-city h3 {
  font-size: 1.35rem;
  color: var(--dark);
  font-weight: 700;
}

.location-card-city .region-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
}

.location-card-address {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.location-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.location-card-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-sm-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-sm-outline:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.btn-sm-outline svg {
  width: 16px;
  height: 16px;
}

/* --- Telehealth Tab Preview --- */
.telehealth-preview {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(30, 58, 138, 0.06));
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  border: 2px dashed rgba(14, 165, 233, 0.2);
}

.telehealth-preview-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.telehealth-preview-icon svg {
  width: 36px;
  height: 36px;
}

.telehealth-preview h3 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.telehealth-preview p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

/* ============================================================================
   TELEHEALTH PAGE
   ============================================================================ */
.telehealth-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.telehealth-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.telehealth-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.telehealth-hero .container {
  position: relative;
  z-index: 1;
}

.telehealth-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.15;
}

.telehealth-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
}

/* --- Telehealth Features --- */
.telehealth-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 50px 0;
}

.telehealth-feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.telehealth-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.telehealth-feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(30, 58, 138, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.telehealth-feature-icon svg {
  width: 28px;
  height: 28px;
}

.telehealth-feature h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.telehealth-feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 10px 40px rgba(14, 165, 233, 0.25);
  margin: 50px 0;
}

.cta-banner h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- FAQ Accordion --- */
.faq-section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 40px;
  font-weight: 700;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: left;
  transition: var(--transition);
}

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

.faq-question .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--secondary);
}

.faq-item.active .faq-question .faq-icon {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

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

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 1.02rem;
}

/* --- In-Person Nudge --- */
.in-person-nudge {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.in-person-nudge h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.in-person-nudge p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* --- TX Note --- */
.tx-note {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ============================================================================
   LOCATIONS RESPONSIVE
   ============================================================================ */
@media (max-width: 992px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .telehealth-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .location-tabs {
    flex-direction: column;
    border-radius: var(--radius);
    max-width: 100%;
  }

  .tab-btn {
    border-radius: var(--radius);
  }

  .zip-finder {
    padding: 25px 20px;
  }

  .zip-finder-form {
    flex-direction: column;
  }

  .zip-finder-form input {
    text-align: center;
  }

  .telehealth-preview {
    padding: 30px 20px;
  }

  .telehealth-hero h1 {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 35px 20px;
  }

  .cta-banner h3 {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 18px;
  }

  .location-card-body {
    padding: 20px;
  }
}

@media screen and (max-width: 600px) {
  .area-title {
    font-size: 1.8rem !important;
  }
  .page-header h1 {
    line-height: 1.2;
  }
  .section-title {
    font-size: 2.2rem;
  }
}