/*
Theme Name: Novella Health Partners
Theme URI: https://novellahealth.com/
Author: Novella Health Partners
Description: Custom WordPress theme for telemedicine-focused family medicine and psychiatric mental health, inspired by joinlavender.com, with a navy blue color scheme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: novella-health
Tags: custom, telemedicine, navy, modern, medical, responsive
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
  --primary-navy: #1d2575;
  --primary-navy-dark: #151a4d;
  --accent-blue: #3f51b5;
  --light-bg: #f7f9fc;
  --white: #FFFFFF;
  --gray: #6b7280;
  --success: #2e7d32;
  --danger: #c62828;
  --border-radius: 10px;
  --transition: 0.2s all cubic-bezier(.4,0,.2,1);
  --font-main: 'Inter', 'Segoe UI', Arial, sans-serif;
  --sage-green: #9CAF88;
  --light-blue: #B8D4E3;
  --beige: #F5F1E8;
  --dark-gray: #2C3E50;
  --text-gray: #4A5568;
  --error-red: #E53E3E;
  --success-green: #38A169;
  --warning-yellow: #D69E2E;
  --header-btn-bg: var(--primary-navy);
  --header-btn-text: var(--white);
  --header-btn-hover-bg: var(--accent-blue);
  --header-btn-hover-text: var(--white);
}

body {
  font-family: var(--font-main);
  background: var(--light-bg);
  color: var(--primary-navy);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent-blue);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header,
.site-header .container,
.header-content {
  background: #3f51b5 !important;
  color: #fff !important;
  opacity: 1 !important;
  z-index: 10000 !important;
  border-bottom: none !important;
}
.site-logo,
.main-navigation a {
  color: #fff !important;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1px;
  white-space: nowrap;
}
.main-navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.main-navigation ul {
  display: flex;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-menu li {
  flex: 0 1 auto;
}
.header-left {
  margin-right: 1.5rem;
}
.header-right {
  margin-left: 1.5rem;
}
.main-navigation a {
  font-size: 0.9rem;
  padding: 0.3rem 0.45rem;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  background: none;
  transition: background 0.2s, color 0.2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_parent > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .active > a,
.main-navigation li.current-menu-item > a,
.main-navigation li.current_page_item > a,
.main-navigation li.current-menu-ancestor > a,
.main-navigation li.current_page_parent > a,
.main-navigation li.current_page_ancestor > a,
.main-navigation li.active > a {
  background: #2c3e50 !important;
  color: #fff !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}
.menu-toggle {
  display: none;
}
.header-cta-buttons {
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
}
.header-btn {
  background: #fff;
  color: #3f51b5;
  border: none;
  padding: 0.7rem 2.2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  line-height: 1.2;
  margin: 0;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
.header-btn:hover {
  background: #2c3e50;
  color: #fff;
  box-shadow: 0 4px 16px rgba(44,62,80,0.15);
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, #e3f0fa 100%);
  color: var(--primary-navy);
  min-height: 60vh;
  padding: 5.5rem 0 3rem 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.10);
  padding: 2.5rem 2rem;
  max-width: 600px;
  color: var(--primary-navy);
  text-align: center;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--primary-navy);
  line-height: 1.1;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--primary-navy);
}
.cta-button {
  background: var(--accent-blue);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(63,81,181,0.10);
  border: none;
}
.cta-button:hover {
  background: var(--primary-navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Section Full-Width Background */
.lavender-hero {
  background-color: transparent !important;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 70vh !important;
  display: flex;
  align-items: center;
  color: #fff;
}
.lavender-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}
.lavender-hero .hero-content {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-left: 30vw;
  padding: 0;
  background: transparent;
  text-align: left;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  color: #fff;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f5f5f5;
}
@media (max-width: 600px) {
  .hero-content {
    margin: 0 5vw;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .lavender-hero {
    min-height: 65vh !important; /* slightly taller on very small screens */
  }
}
/* Remove old override */
.lavender-header { background: none !important; }

@media (max-width: 900px) {
  .header-content {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 1rem !important; /* 16px horizontal padding */
    height: 56px !important; /* Compact height */
  }

  .header-left,
  .header-center,
  .header-right {
    width: auto !important;
    margin: 0 !important;
  }

  /* Visually hide CTA buttons on mobile to keep header minimal */
  .header-right,
  .header-cta-buttons {
    display: none !important;
  }

  /* Ensure nav container pushes hamburger to far right */
  .header-center {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  /* Hamburger button */
  .menu-toggle {
    margin-left: auto !important;
    padding: 0 !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Two-line Hamburger */
  .menu-toggle .hamburger {
    background: none !important; /* hide middle bar */
  }
  .menu-toggle .hamburger::before { top: -5px !important; }
  .menu-toggle .hamburger::after  { top: 5px  !important; }

  /* Subtle separation line / shadow */
  .site-header {
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
  }

  /* Temporarily hide the new-patients banner on small screens */
  .top-banner { display: none !important; }

  /* Ensure hamburger button has no white box */
  .menu-toggle {
    background: transparent !important;
    border: none !important;
  }

  /* Mobile nav overlay below compact header */
  .main-navigation { position: relative; }
  .nav-menu {
    position: fixed;
    top: 56px;            /* matches mobile header height */
    left: 0;
    right: 0;
    background: #1e2b6d;  /* same navy gradient base */
    padding: 1.5rem 1.25rem 2rem;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.25rem;
    display: none !important; /* default hidden */
    z-index: 998;
    overflow-y: auto;
    max-height: calc(100vh - 56px);
    text-align: center;
  }
  .nav-menu.active { display: flex !important; }

  /* Ensure links are full-width tap targets */
  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.25rem 0;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }
  .hero-content {
    padding: 1.2rem 0.5rem;
  }
  /* Modern mobile header aesthetics */
  .site-header {
    background: #233a8e; /* muted navy */
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .site-logo, .site-logo span {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem !important; /* ~17-18px */
    font-weight: 500;
    letter-spacing: 0.4px;
  }
  /* Hamburger refinement */
  .menu-toggle .hamburger,
  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    width: 24px;
    height: 2px;
  }
  .menu-toggle .hamburger::before { top: -6px; }
  .menu-toggle .hamburger::after  { top: 6px; }
  /* Force insurance banner higher */
  .insurance-section { margin-top: -6rem !important; }
  .lavender-hero { min-height: 38vh !important; }
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-grid, .specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.service-card, .specialty-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(29,37,117,0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.service-card:hover, .specialty-card:hover {
  box-shadow: 0 6px 24px rgba(29,37,117,0.10);
  transform: translateY(-4px);
}

.how-it-works {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.how-step {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(29,37,117,0.06);
  padding: 1.5rem 1rem;
  flex: 1 1 220px;
  min-width: 220px;
  text-align: center;
}

.testimonials-section {
  background: var(--light-bg);
  padding: 3rem 0;
}
.testimonial {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(29,37,117,0.06);
  padding: 1.5rem;
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
  font-style: italic;
}

.site-footer {
  background: var(--primary-navy-dark);
  color: var(--white);
  padding: 2.5rem 0 1rem 0;
  margin-top: 3rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  padding: 0 1.5rem;
}
.footer-section {
  flex: 1 1 200px;
  min-width: 180px;
}
.footer-section h4 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: var(--white);
  text-decoration: underline;
}
.footer-section a:hover {
  color: var(--accent-blue);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  color: #cfd8dc;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .header-content, .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  .how-it-works {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .container {
    padding: 0 0.5rem;
  }
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.12);
  object-fit: cover;
  height: auto;
}

@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    align-items: center;
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1vw;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.header-left,
.header-right {
  flex: 0 0 auto;
  min-width: 0;
}
.header-center {
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  margin: 0 auto;
}
.main-navigation ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 1px;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .header-content {
    padding: 1.2rem 0.5vw;
  }
  .main-navigation ul {
    gap: 0.7rem;
  }
}

@media (max-width: 900px) {
  .header-content { padding: 0 0.75rem; height: 56px; }
  .site-logo, .site-logo span {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem !important;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  .menu-toggle {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  }
  .menu-toggle .hamburger,
  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    width: 24px;
    height: 2px;
  }
  .menu-toggle .hamburger::before { top: -6px; }
  .menu-toggle .hamburger::after { top: 6px; }
}

@media (min-width: 901px) {
  .site-logo { font-size: 1.25rem; font-weight: 600; }
  .menu-toggle { display: none; }
}

.hero-overlay { display: none !important; }

/* --------------------------------------------------
   Additional mobile tweaks
   -------------------------------------------------- */
@media (max-width: 900px) {
  /* Ensure nav list is hidden until hamburger is active */
  .nav-menu {
    display: none !important;
  }
  .nav-menu.active {
    display: flex !important;
  }
}

/* Fine-tune hero image centring on narrow phones */
@media (max-width: 600px) {
  /* Position hero copy on the right and show subject (left) of the photo */
  .lavender-hero {
    background-position: 0% 35%; /* keep steps background visible, person on left */
    justify-content: flex-end;    /* push copy to the right */
  }
  .lavender-hero .hero-content {
    margin: 0 5vw 0 auto;   /* right gutter */
    text-align: right;
  }
}

/* --------------------------------------------------
   New Patients Top Banner
   -------------------------------------------------- */
.top-banner {
  background: #009688; /* teal */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.4rem 0.6rem;
  line-height: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
}
.top-banner a:hover {
  color: #e0f2f1;
}
.banner-icon {
  font-size: 1rem;
  line-height: 1;
}
@media (max-width: 600px) {
  .top-banner {
    font-size: 0.8rem;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem 0.4rem;
  }
}

/* --------------------------------------------------
   Trust Signals Section
   -------------------------------------------------- */
.trust-signals-section {
  background: #f4f8ff;
  padding: 2rem 0;
}
.trust-signals-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(29,37,117,0.08);
  flex: 1 1 200px;
  max-width: 240px;
  min-width: 180px;
  text-align: center;
  padding: 1.2rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.trust-icon {
  font-size: 2rem;
  line-height: 1;
  color: #304ffe; /* navy accent */
}
.trust-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #1e2b4a;
  font-size: 0.95rem;
  margin: 0;
}
@media (max-width: 600px) {
  .trust-item {
    flex: 1 1 45%;
    max-width: none;
  }
}

/* Trust overlay inside hero */
.trust-overlay { display: none; }

/* Adjust hero height & vertical offset */
.lavender-hero {
  min-height: 70vh !important;
}
.lavender-hero .hero-content {
  transform: none !important;
}
@media (max-width: 900px) {
  .lavender-hero .hero-content {
    transform: none;
  }
  .lavender-hero {
    min-height: 60vh !important;
  }
}

/* Modern Services Cards */
.modern-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.modern-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(29,37,117,0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(29,37,117,0.12);
}
.service-icon {
  font-size: 3rem;
  line-height: 1;
  color: #009688; /* teal accent */
  margin-bottom: 1rem;
}
.service-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e2b4a;
  margin: 0 0 0.5rem 0;
}
.service-subtitle {
  font-size: 1rem;
  color: #415070;
  margin: 0;
}
@media (max-width: 600px) {
  .service-icon { font-size: 2.4rem; }
  .service-title { font-size: 1.1rem; }
}

/* Licensure Info Section */
.licensure-section {
  background: #f8fafc;
  padding: 2rem 1rem;
  text-align: center;
}
.licensure-icon {
  font-size: 2rem;
  color: #1e2b4a;
  margin-bottom: 0.5rem;
}
.licensure-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1e2b4a;
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .licensure-text { font-size: 0.9rem; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Sticky header on desktop */
@media (min-width: 901px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
}

/* Mobile Sticky CTA */
.sticky-cta-mobile {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 420px;
  background: #1e3a8a; /* navy */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: background 0.25s, transform 0.25s;
  z-index: 1000;
}
.sticky-cta-mobile:hover {
  background: #0d2566;
  transform: translateX(-50%) translateY(-3px);
}
@media (min-width: 901px) {
  .sticky-cta-mobile { display: none; }
}

/* Insurance Section */
.insurance-section {
  background: #005b5a; /* dark teal */
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.insurance-heading {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}
.insurance-container{max-width:1200px;margin:0 auto;}
@media (min-width:901px){
  .insurance-list{flex-wrap:nowrap;gap:3rem;}
}
.insurance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.insurance-list li {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .insurance-heading { font-size: 1.1rem; }
  .insurance-list { gap: 1rem 1.5rem; }
  .insurance-list li { font-size: 0.9rem; }
}

/* Global header styles */
.site-header {
  background: linear-gradient(180deg,#233a8e 0%,#1e2b6d 100%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .header-content { padding: 0 0.75rem; height: 56px; }
  .site-logo, .site-logo span {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem !important;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  .menu-toggle {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  }
  .menu-toggle .hamburger,
  .menu-toggle .hamburger::before,
  .menu-toggle .hamburger::after {
    width: 24px;
    height: 2px;
  }
  .menu-toggle .hamburger::before { top: -6px; }
  .menu-toggle .hamburger::after { top: 6px; }
}

@media (min-width: 901px) {
  .site-logo { font-size: 1.25rem; font-weight: 600; }
  .menu-toggle { display: none; }
}

/* X icon animation when active */
.menu-toggle.active .hamburger {
  background: transparent !important;
}
.menu-toggle.active .hamburger::before {
  top: 0 !important;
  transform: rotate(45deg) !important;
}
.menu-toggle.active .hamburger::after {
  top: 0 !important;
  transform: rotate(-45deg) !important;
}

/* ---------------- Restore 3-line Hamburger Icon ---------------- */
.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  width: 22px !important;
  height: 2px !important;
  background: #ffffff !important; /* white bars */
  border-radius: 2px;
}
/* Middle bar visible again */
.menu-toggle .hamburger { background: #ffffff !important; }
/* Vertical offsets for top/bottom bars */
.menu-toggle .hamburger::before { top: -6px !important; }
.menu-toggle .hamburger::after  { top:  6px !important; }

/* Active (X) state using translate offsets */
.menu-toggle.active .hamburger { background: transparent !important; }
.menu-toggle.active .hamburger::before {
  transform: translateY(6px) rotate(45deg) !important;
}
.menu-toggle.active .hamburger::after  {
  transform: translateY(-6px) rotate(-45deg) !important;
} 