/* Color Variables */
:root {
  --purple: #c083ba;
  --purple-hover: #b073aa;
  --purple-dark: #683B64;
  --teal: #4ecdc4;
  --teal-hover: #44a08d;
  --dark-bg: #080213;
  --dark-secondary: #273745;
  --dark-tertiary: #0c1f2c;
  --dark-card: #0f172a;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, var(--dark-bg), var(--dark-tertiary));
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

.content{
  padding:4rem 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

a{
  text-decoration: none;
  transition: .3s;
}

/* Header Styles - FIXED STICKY */
.header {
  border-bottom: 1px solid var(--gray-700);
  backdrop-filter: blur(8px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 2, 19, 0.95);
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 2.5rem;
  width: auto;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--teal);
}

.cta-button {
  background: var(--teal-hover);
  color: var(--white);
  border: 2px solid var(--teal-hover);
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: transparent;
}

.desktop-cta {
  display: none;
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
  width: 48px;
  height: 48px;
}

.mobile-menu-button:hover {
  color: var(--teal);
  background: var(--gray-700);
}

.hamburger-icon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.hamburger-line {
  background: currentColor;
  border-radius: 2px;
  width: 24px;
  height: 3px;
  transition: all 0.3s ease;
}

.x-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.x-line {
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  width: 24px;
  height: 3px;
}

.x-line:first-child {
  transform: rotate(45deg);
}

.x-line:last-child {
  transform: rotate(-45deg);
}

/* Mobile Menu Overlay - FIXED VERSION */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.mobile-menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Dark background overlay covering entire screen */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  transition: opacity 0.5s ease-out;
}

/* Menu panel - 70% width, 100vh height */
.mobile-menu-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  width: min(80vw, 400px);
  max-width: 400px;
  background: var(--dark-bg);
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 2000;
}

.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  padding-bottom: 0px;
  flex-shrink: 0;
}

.mobile-menu-header .logo {
  height: 2rem;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  color: var(--teal);
  background: var(--gray-700);
}

.mobile-menu-nav {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
  min-height: 0;
}

.mobile-nav-link {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.mobile-cta-button {
  background: var(--teal);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-cta-button:hover {
  background: var(--teal-hover);
}

.hero-section {
  position: relative;
  padding: 8rem 1rem 5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
 
.subpage-hero-section{
min-height: 70vh;
}

.starry-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--black), var(--gray-800), var(--black));
}

#stars-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* FIXED STAR STYLES */
.star {
  position: absolute !important;
  background: var(--white) !important;
  border-radius: 50% !important;
  opacity: 0.8 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15rem;
  overflow: hidden;
  max-width: 100vw;
}

.wave {
  position: absolute;
  bottom: 0;
  width: 300%;
  height: 15rem;
}

.wave-1 {
  animation: wave-slow 35s ease-in-out infinite;
}

.wave-2 {
  animation: wave-medium 30s ease-in-out infinite;
}

.wave-3 {
  animation: wave-fast 24s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-buttons svg{
  display: none;
}

.title-white {
  color: var(--white);
}

.title-gradient {
  background: linear-gradient(to right, var(--purple), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid;
}

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

.hero-btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.hero-btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.hero-btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* 2. Intro/About Section - LIGHT (Changed from dark) */
.intro-about-section {
    padding: 5rem 1rem;
    background: var(--white);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.intro-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(192, 131, 186, 0.08) 0%, transparent 50%);
    pointer-events: none;
    display: none;
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 725px;
    margin: 0 auto;
}

.intro-headline {
    font-size: 3rem;
    font-weight: 700;
    color: var(--purple-hover);
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center;
}

.intro-description {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intro-description p {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
}

.intro-description p:first-child {
    font-size: 1.3rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .intro-about-section {
        padding: 4rem 1rem;
    }
    
    .intro-headline {
        margin-bottom: 1.5rem;
    }
    
    .intro-description p {
        font-size: 1.1rem;
    }
    
    .intro-description p:first-child {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .intro-headline {
    }
    
    .intro-description p {
        font-size: 1rem;
    }
    
    .intro-description p:first-child {
        font-size: 1.1rem;
    }
}

/* 3. Insurance Section - DARK (Changed from light) */
.insurance-section {
  padding: 5rem 1rem 5rem;
  background: linear-gradient(to bottom, var(--white), var(--gray-200));
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

.insurance-section:before{
  position: absolute;
  content: '';
  top:0;
  left:50%;
  transform: translateX(-50%);
  border-top:1px solid var(--gray-300);
  width: 90%;
}

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

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--dark-secondary);
}

.text-purple {
  color: var(--purple);
}

.text-white{
  color: var(--white);
}

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

.insurance-section .section-title{
  color: var(--dark-secondary);
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.insurance-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 3rem;
  mask-image: linear-gradient(to right, transparent, var(--white) 10%, var(--white) 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, var(--white) 10%, var(--white) 90%, transparent);
}

.insurance-track {
  display: flex;
  width: fit-content;
  animation: scroll-infinite 40s linear infinite;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.insurance-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 4rem;
  flex-shrink: 0;
}

.logo-placeholder {
  width: 8rem;
  height: 3rem;
  background: var(--gray-200);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Additional CSS to add to your existing styles for the logo images */

.insurance-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.insurance-logo img {
  max-width: 120px;
  max-height: 3rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.3s ease;
}

.insurance-logo:hover img {
  filter: brightness(1) contrast(1.2);
  transform: scale(1.05);
}

/* Special handling for the Palmetto logo (dark background) */
.insurance-logo img[src*="uIFjf"] {
  background: white;
  padding: 0.25rem;
  border-radius: 4px;
}

/* Mobile responsiveness for logo images */
@media (max-width: 768px) {
  .insurance-logo img {
    max-width: 100px;
    max-height: 2.5rem;
  }

}

@media (max-width: 480px) {
  .insurance-logo img {
    max-width: 90px;
    max-height: 2.25rem;
  }
}

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

.cta-button-large {
  background: var(--teal-hover);
  color: var(--white);
  border: 2px solid transparent;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-button-large:hover {
  background: var(--dark-tertiary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

/* 4. Sleep Issues We Evaluate Section - LIGHT (Keep as is) */
.sleep-issues-section {
    padding: 5rem 1rem;
    background: linear-gradient(to top, var(--purple-dark), var(--purple-hover));
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.sleep-issues-section .section-title{
  color: white;
}

.sleep-issues-section .section-description{
  color: var(--gray-100);
}

.sleep-issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.issue-card {
    background: var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.card-teal {
    border-color: rgba(78, 205, 196, 0.2);
}

.card-teal::before {
    background: linear-gradient(to right, var(--teal), var(--teal-hover));
}

.card-teal:hover {
    border-color: rgba(78, 205, 196, 0.4);
}

.card-purple {
    border-color: rgba(192, 131, 186, 0.2);
}

.card-purple::before {
    background: linear-gradient(to right, var(--purple), var(--purple-hover));
}

.card-purple:hover {
    border-color: rgba(192, 131, 186, 0.4);
}

.issue-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.issue-card:hover .issue-icon {
    transform: scale(1.1);
}

.icon-teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-hover));
    color: var(--white);
}

.icon-purple {
    background: linear-gradient(135deg, var(--purple), var(--purple-hover));
    color: var(--white);
}

.icon-gray{
    background: linear-gradient(135deg, var(--gray-200), var(--white));
    color: var(--purple);
}

.issue-icon svg {
    width: 2rem;
    height: 2rem;
}

.issue-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.issue-description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sleep-issues-section {
        padding: 4rem 1rem;
    }
    
    .sleep-issues-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .issue-card {
        padding: 1.5rem;
    }
    
    .issue-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1rem;
    }
    
    .issue-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .issue-title {
        font-size: 1.1rem;
    }
    
    .issue-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .issue-card {
        padding: 1.25rem;
    }
    
    .issue-title {
        font-size: 1rem;
    }
}

.btn-teal {
  background: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-hover);
}

.btn-purple {
  background: var(--purple);
}

.btn-purple:hover {
  background: var(--purple-hover);
}

.btn-gray {
  background: transparent;
  color: var(--dark-secondary);
  border: 1px solid var(--gray-200);
}

.btn-gray:hover {
  background: var(--gray-200);
}

/* 5. Dark Sections - How It Works - DARK (Keep as is) */
.dark-sections {
  /*background: linear-gradient(to bottom, var(--dark-bg), var(--dark-secondary));*/
  background: var(--dark-bg);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.link-teal {
  color: var(--teal);
}

.link-teal:hover {
  color: var(--teal-hover);
}

.link-purple {
  color: var(--purple);
}

.link-purple:hover {
  color: var(--purple-hover);
}

.link-gray {
  color: var(--gray-200);
}

.link-gray:hover {
  color: var(--gray-300);
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 1rem 5rem;
}

.section-title-white {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-description-white {
  font-size: 1.25rem;
  color: var(--gray-300);
  max-width: 32rem;
  margin: 0 auto;
}

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

.step-item {
  text-align: center;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--black);
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.step-number:hover {
  transform: scale(1.05);
}

.step-teal {
  background: var(--teal);
  box-shadow: 0 10px 15px -3px rgba(78, 205, 196, 0.3);
}

.step-teal:hover {
  background: var(--teal-hover);
}

.step-purple {
  background: var(--purple);
  box-shadow: 0 10px 15px -3px rgba(192, 131, 186, 0.3);
}

.step-purple:hover {
  background: var(--purple-hover);
}

.step-gray {
  background: var(--gray-200);
  box-shadow: 0 10px 15px -3px rgba(226, 232, 240, 0.3);
}

.step-gray:hover {
  background: var(--gray-300);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 1rem;
}

.step-description {
  color: var(--gray-400);
  line-height: 1.6;
}

/* 6. Why Patients Choose uNITE Section - DARK (Keep as is) */
.why-choose-section {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, var(--dark-bg), var(--dark-secondary));
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.why-choose-section:before{
  content: '';
  position: absolute;
  top:0;
  left:50%;
  transform: translateX(-50%);
  background: rgba(255,255,255, .1);
  max-width: 90%;
  width: 1100px;
  height: 1px;
}

.why-choose-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-section .section-title-white {
    color: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.benefit-row:hover {
    padding-left: 1rem;
    border-bottom-color: rgba(78, 205, 196, 0.4);
}

.benefit-row:last-child {
    border-bottom: none;
}

.check-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.benefit-row:hover .check-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.check-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.benefit-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-200);
    line-height: 1.4;
}

.closing-card {
    background: rgba(0, 0, 0, .2);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(192, 131, 186, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.closing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--purple), var(--teal));
}

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

.quote-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.5rem;
    color: var(--purple);
    opacity: 0.8;
}

.quote-icon svg {
    width: 100%;
    height: 100%;
}

.closing-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--gray-200);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .closing-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 4rem 1rem;
    }
    
    .benefits-container {
        gap: 2.5rem;
    }
    
    .benefit-row {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .benefit-row:hover {
        padding-left: 0.5rem;
    }
    
    .check-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .check-icon svg {
        width: 1rem;
        height: 1rem;
    }
    
    .benefit-text {
        font-size: 1.1rem;
    }
    
    .closing-card {
        padding: 2rem;
    }
    
    .closing-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .benefit-text {
        font-size: 1rem;
    }
    
    .closing-text {
        font-size: 1.1rem;
    }
    
    .closing-card {
        padding: 1.5rem;
    }
}

/* 7. Testimonials Section - LIGHT (Changed from dark) */
.testimonials-section {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, var(--white), var(--gray-200));
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(78, 205, 196, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(192, 131, 186, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.testimonials-section .section-title-white {
    color: var(--dark-secondary);
}

.testimonials-section .section-description-white {
    color: var(--gray-600);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.testimonial-teal {
  border-color: rgba(78, 205, 196, 0.2);
}

.testimonial-teal:hover {
  border-color: rgba(78, 205, 196, 0.4);
}

.testimonial-purple {
  border-color: rgba(192, 131, 186, 0.2);
}

.testimonial-purple:hover {
  border-color: rgba(192, 131, 186, 0.4);
}

.testimonial-gray {
  border-color: rgba(226, 232, 240, 0.2);
}

.testimonial-gray:hover {
  border-color: rgba(226, 232, 240, 0.4);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.author-avatar:hover {
  transform: scale(1.05);
}

.avatar-teal {
  background: linear-gradient(to bottom right, var(--teal), var(--teal-hover));
  color: var(--white);
}

.avatar-purple {
  background: linear-gradient(to bottom right, var(--purple), var(--purple-hover));
  color: var(--white);
}

.avatar-gray {
  background: linear-gradient(to bottom right, var(--gray-400), var(--gray-500));
  color: var(--white);
}

.author-avatar svg {
  width: 1.5rem;
  height: 1.5rem;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--dark-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  margin: 0;
}

.author-role {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin: 0;
}

/* Mobile Responsiveness */
@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 8. Locations Section - DARK (Changed from light) */
.locations-section {
    padding: 6rem 1rem;
    background: linear-gradient(to bottom right, var(--dark-bg), var(--dark-bg));
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.locations-section .container {
    position: relative;
    z-index: 2;
}

.locations-section .section-title-white {
    color: var(--white);
}

.locations-section .section-description-white {
    color: var(--gray-300);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:5rem;
    margin: 3rem auto 0;
    max-width: 800px;
}

.location-card {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.state-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.state-badge::before {
    content: '';
    position: absolute;
    left: -3rem;
    right: -3rem;
    bottom: -12px;
    height: 2px;
    border-radius: 1px;
}

.nevada-badge::before {
    background: linear-gradient(to right, transparent, var(--teal), transparent);
}

.arizona-badge::before {
    background: linear-gradient(to right, transparent, var(--purple), transparent);
}

.location-icon {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.9;
}

.nevada-badge .location-icon {
    color: var(--teal);
}

.arizona-badge .location-icon {
    color: var(--purple);
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.location-item {
    padding: 1.5rem 0;
    padding-left: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-item::before {
    content: '•';
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 0.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nevada-card .location-item::before {
    color: var(--teal);
}

.arizona-card .location-item::before {
    color: var(--purple);
}

.location-item:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

.location-item:hover::before {
    transform: scale(1.3);
}

.nevada-card .location-item:hover::before {
    color: var(--teal-hover);
}

.arizona-card .location-item:hover::before {
    color: var(--purple-hover);
}

.location-content {
    flex: 1;
}

.location-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
}

.location-item:hover .location-name {
    color: var(--teal);
}

.arizona-card .location-item:hover .location-name {
    color: var(--purple);
}

.location-address {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.appointment-notice {
    margin-top: 6rem;
    text-align: center;
    padding: 0;
}

.notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.notice-icon {
    width: 3rem;
    height: 3rem;
    color: var(--teal);
    flex-shrink: 0;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.notice-icon svg {
    width: 100%;
    height: 100%;
}

.notice-text {
    text-align: center;
}

.notice-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.75rem 0;
}

.notice-text p {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.notice-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--purple), var(--purple-hover));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.notice-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(192, 131, 186, 0.3);
}

.notice-cta svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .locations-section {
        padding: 4rem 1rem;
    }
    
    .locations-grid {
      grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 2rem;
    }
    
    .location-header {
        margin-bottom: 2rem;
        justify-content: center;
    }
    
    .state-badge {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .state-badge::before {
        left: -2rem;
        right: -2rem;
    }
    
    .location-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .location-item {
        padding: 1.25rem;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .location-item::before {
        margin-top: 0;
    }
    
    .location-name {
        font-size: 1.2rem;
    }
    
    .location-address {
        font-size: 0.95rem;
    }
    
    .appointment-notice {
        margin-top: 4rem;
    }
    
    .notice-text h3 {
        font-size: 1.5rem;
    }
    
    .notice-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .notice-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .state-badge {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .state-badge::before {
        left: -1.5rem;
        right: -1.5rem;
    }
    
    .location-name {
        font-size: 1.1rem;
    }
    
    .location-address {
        font-size: 0.9rem;
    }
    
    .notice-text h3 {
        font-size: 1.3rem;
    }
    
    .notice-cta {
        padding: 0.75rem 1.75rem;
    }
}

/* 9. CTA Section - DARK (Keep as is) */
.cta-section {
  padding: 5rem 1rem;
  background: rgb(12, 31, 44);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.cta-content {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.cta-button-primary {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-button-primary:hover {
  background: var(--teal-hover);
}

.cta-button-secondary {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
   min-width: 230px;
}

.cta-button-secondary:hover {
  background: var(--purple);
  color: var(--black);
}

/*SUBPAGE STYLES*/

.subpage-hero{
  width: 100%;
  height: 100%;
  color: white;
  z-index: 2;
}

.subpage-hero .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 250px;
}

.subpage-hero h1{
  text-align: center;
  margin-bottom: 0px;
  font-size: 3rem;
}

.subpage-content p a{
  border-bottom: 1px solid var(--purple);
  color: inherit;
}

.subpage-content p a:hover{
  color: var(--purple);
}

/* Subpage Locations - List Style (Sleep Services) */
.subpage-locations-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 2rem 0;
}

.subpage-location-group h3 {
    color: var(--purple);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.subpage-location-group h3::after {
    
}

.subpage-location-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subpage-location-list-item {
    color: var(--gray-200);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    border-left-color: rgba(255, 255, 255, .1);
}

.subpage-location-list-item::before {
   
}

.subpage-location-list-item:hover {
    padding-left: 2rem;
    border-left-color: var(--teal);
    background: rgba(78, 205, 196, 0.05);
    border-radius: 0 8px 8px 0;
}

/* Subpage Locations - Card Style (About) */
.subpage-locations-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.subpage-location-card {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.subpage-location-card:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.subpage-location-card h4 {
    color: var(--teal);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subpage-location-card p {
    color: var(--gray-200);
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

/* Shared Note Styling */
.subpage-locations-note {
    color: var(--gray-400);
    text-align: center;
    font-style: italic;
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.subpage-locations-note em {
    color: var(--teal-hover);
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .subpage-locations-list-grid,
    .subpage-locations-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1.5rem 0;
    }
    
    .subpage-location-group h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .subpage-location-list-item {
        font-size: 1rem;
        padding: 0.5rem 0;
        padding-left: 1.25rem;
    }
    
    .subpage-location-list-item:hover {
        padding-left: 1.75rem;
    }
    
    .subpage-location-card {
        padding: 1.25rem;
    }
    
    .subpage-location-card h4 {
        font-size: 1.1rem;
    }
    
    .subpage-location-card p {
        font-size: 0.95rem;
    }
    
    .subpage-locations-note {
        margin-top: 2rem;
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .subpage-location-list-item {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .subpage-location-group h3 {
        font-size: 1.2rem;
    }
    
    .subpage-locations-card-grid {
        gap: 1rem;
    }
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, rgb(12, 31, 44), var(--dark-bg));
  color: var(--white);
  padding: 3rem 1rem 1rem;
  border-top: 1px solid var(--gray-700);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.footer-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links {
  display: flex;
  width: 100%;
  max-width: 28rem;
  gap: 2rem;
  justify-content: center;
}

.footer-column {
  width: auto;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 1rem;
  text-align: center;
}

.footer-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.footer-list li {
  margin: 0.5rem;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color:var(--purple);
}

.footer-desktop {
  display: none;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes wave {
  0%,
  100% {
    transform: translate(0%, 0%);
  }
  50% {
    transform: translate(-25%, 10%);
  }
}

@keyframes wave-slow {
  0%,
  100% {
    transform: translate(0%, 0%);
  }
  50% {
    transform: translate(-25%, 10%);
  }
}

@keyframes wave-medium {
  0%,
  100% {
    transform: translate(0%, 0%);
  }
  50% {
    transform: translate(-25%, 10%);
  }
}

@keyframes wave-fast {
  0%,
  100% {
    transform: translate(0%, 0%);
  }
  50% {
    transform: translate(-25%, 10%);
  }
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* FIXED STAR ANIMATION */
@keyframes starMove {
  0% {
    transform: translateX(-10vw);
  }
  50% {
    transform: translateX(110vw);
  }
  100% {
    transform: translateX(-10vw);
  }
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-buttons {
    flex-direction: row;
  }

  .hero-buttons svg{
    display: inline-block;
  }

  .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .location-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .provider-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .section-title {
    font-size: 3rem;
  }
  .section-title-white {
    font-size: 3rem;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .waves-container {
    height: 20rem;
  }
  .wave {
    height: 20rem;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    gap: 2rem;
  }
  .desktop-cta {
    display: block;
  }
  .mobile-menu-button {
    display: none;
  }
  .hero-title {
    font-size: 4rem;
  }
  .location-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .provider-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-mobile {
    display: none;
  }
  .footer-desktop {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  .footer-brand-desktop {
    text-align: left;
  }
  .footer-brand-desktop .footer-description {
    max-width: 21rem;
  }
  .footer-brand-desktop .footer-social {
    justify-content: flex-start;
  }

  .desktop-footer-column {
    width: auto;
  }

  .desktop-footer-column .footer-heading{
    text-align: left;
  }

  .desktop-footer-column .footer-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:1rem 2rem;
  }

  .desktop-footer-column .footer-list li{
    margin:0;
    font-size: 1.1rem;
  }

}

@media (min-width: 1280px) {
  .desktop-nav {
    gap: 2rem;
  }
  .hero-title {
    font-size: 5rem;
  }
}

/*SUBPAGE STYLES*/

/* Hero Section */
.hero-subhead {
  font-size: 1.5rem;
  color: var(--white);
  margin: 1rem 0 2rem 0;
  max-width: 600px;
  line-height: 1.6;
  text-align: center;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--dark-secondary);
}

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

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.content-section h3 {
  color: var(--teal-hover);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.content-section p {
  color: var(--gray-200);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Centered Content Sections */
.centered-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.centered-content h2 {
  text-align: center;
}

/* Card Styles */
.card-style {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

/* Grid Layouts */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.auto-fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* List Styles */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  color: var(--gray-200);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.bullet-list li:before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-subhead {
    font-size: 1.1rem;
  }

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

  .two-column-grid,
  .auto-fit-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card-style {
    padding: 1.5rem;
  }
}

/* Sleep Services Page Specific Styles */

.content-section h2 {
  /*color: var(--purple);*/
  color: white;
}

.two-column-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.two-column-list ul {
  list-style: none;
  padding: 0;
}

.two-column-list li {
  color: var(--gray-200);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.two-column-list li:before {
  content: "•";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.study-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.study-option {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.study-option h3 {
  margin-top: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .two-column-list,
  .study-comparison {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .study-option {
    padding: 1.5rem;
  }
}

/* Providers Page Specific Styles */

.providers-intro {
  
}

.providers-intro h2 {
  text-align: center;
}

.providers-intro .large-text {
  font-size: 1.5rem;
  color: var(--teal-hover);
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.providers-intro p {
  color: var(--gray-200);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.providers-intro p:last-child {
  margin-bottom: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .providers-intro .large-text {
    font-size: 1.3rem;
  }
  
  .providers-intro p {
    font-size: 1rem;
  }
}

/* Providers Team Section - Dark Mode */
.providers-team-section {
    padding: 0rem 1rem 5rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.providers-team-section .container{
  border-top:1px solid rgba(255,255,255, .1);
  padding-top:4rem;
}

.providers-team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(192, 131, 186, 0.08) 0%, transparent 50%);
    pointer-events: none;
    display: none;
}

.providers-team-section .container {
    position: relative;
    z-index: 2;
}

.providers-team-section .section-title-white {
    color: var(--white);
}

.providers-team-section .section-description-white {
    color: var(--gray-300);
}

.providers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.provider-card {
    background: var(--dark-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border-color: rgba(78, 205, 196, 0.4);
}

.provider-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.provider-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    /*background: linear-gradient(to right, var(--teal), var(--purple));*/
    background:var(--purple-hover);
}

.provider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* This fixes the mobile head cutoff */
    transition: transform 0.3s ease;
}

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

.provider-content {
    padding: 2rem;
}

.provider-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.provider-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.provider-title {
    font-size: 1.1rem;
    color: var(--purple);
    font-weight: 600;
    margin: 0;
}

.provider-bio > p {
    color: var(--gray-200);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.provider-details {
    display: grid;
    gap: 1.5rem;
}

.detail-section h4 {
    color: var(--teal-hover);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.detail-section li::before {
    content: '•';
    color: var(--teal);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.detail-section p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.personal-note {
    background: rgba(78, 205, 196, 0.1);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--teal);
}

.personal-note h4 {
    color: var(--purple);
}

.personal-note p {
    color: var(--gray-200);
    font-style: italic;
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .provider-card {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 0;
        align-items: stretch;
    }
    
    .provider-image {
        height: auto;
        min-height: 400px;
    }
    
    .provider-image img {
        object-position: center center; /* Better positioning for desktop */
    }
    
    .provider-content {
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .provider-header {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .provider-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }
    
    .personal-note {
        grid-column: 1 / -1;
    }
}

/* Tablet Responsiveness */
@media (max-width: 768px) {
    .providers-team-section {
        padding: 0rem 1rem 4rem;
    }
    
    .providers-grid {
        gap: 3rem;
    }
    
    .provider-image {
        height: 280px; /* Slightly taller for better head visibility */
    }
    
    .provider-image img {
        object-position: center 20%; /* Position to show head better on mobile */
    }
    
    .provider-content {
        padding: 1.5rem;
    }
    
    .provider-name {
        font-size: 1.3rem;
    }
    
    .provider-title {
        font-size: 1rem;
    }
    
    .detail-section h4 {
        font-size: 0.9rem;
    }
    
    .detail-section li,
    .detail-section p {
        font-size: 0.85rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .provider-card {
        margin: 0 -0.5rem;
        border-radius: 12px;
    }
    
    .provider-image {
        height: 300px; /* Taller on mobile to prevent head cutoff */
    }
    
    .provider-image img {
        object-position: center 15%; /* Focus on upper portion to show heads */
    }
    
    .provider-content {
        padding: 1.25rem;
    }
    
    .provider-name {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .provider-bio > p {
        font-size: 0.95rem;
    }
    
    .personal-note {
        padding: 1rem;
    }
}

/* About Page Specific Styles */

.about-intro p {
  color: var(--gray-200);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.team-member {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.team-member p {
  color: var(--gray-200);
  line-height: 1.6;
}

.team-support {
  /*background: var(--dark-card);*/
  padding: 1.5rem;
  border-radius: 12px;
  /*border: 1px solid rgba(192, 131, 186, 0.2);*/
  text-align: center;
}

.team-support p {
  color: var(--gray-200);
  font-style: italic;
  margin: 0;
  line-height: 1.6;
}

.services-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.services-list li {
  color: var(--gray-200);
  padding: 1rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  background: var(--dark-card);
  border-radius: 8px;
  border: 1px solid rgba(78, 205, 196, 0.1);
}

.services-list li:before {
  content: "✓";
  color: var(--teal);
  font-weight: bold;
  position: absolute;
  left: 0.75rem;
}

.trust-content h2 {
  text-align: center;
}

.trust-content p {
  color: var(--gray-200);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-member {
    padding: 1.5rem;
  }

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

  .about-intro p,
  .trust-content p {
    font-size: 1rem;
  }
}

/* Contact Info - Simple Text Layout */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--purple);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-item p {
  color: var(--gray-200);
  font-size: 1.1rem;
  margin: 0;
}

/* Clinic Locations - Simple Text Layout */
.clinic-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.state-group h3 {
  color: var(--purple);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.clinic-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.clinic-item h4 {
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.clinic-item p {
  color: var(--gray-200);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.appointment-note {
  color: var(--gray-400);
  text-align: center;
  font-style: italic;
  margin-top: 2rem;
}

/* Referral Info - Card Style (Only Card Section) */
.referral-info {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.referral-info p {
  color: var(--gray-200);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

.referral-info strong {
  color: var(--teal);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-item h3 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 1rem;
  }

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

  .referral-info {
    padding: 1.5rem;
  }

  .referral-info p {
    font-size: 1rem;
  }
}


/* BLOG INDEX STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: var(--dark-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(78, 205, 196, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 205, 196, 0.3);
}

.blog-post .post-image {
  overflow: hidden;
  display: none;
}

.blog-post .post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.blog-post .post-content {
  padding: 1.5rem;
}

/* Post Meta */
.post-meta {
  margin-bottom: 1rem;
}

.post-date {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Post Titles */
.blog-post h3 {
  margin-bottom: 1rem;
}

.blog-post h3 a {
  color: var(--gray-100);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-post h3 a:hover {
  color: var(--teal);
}

/* Post Content */
.post-content p {
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--purple-hover);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual Blog Article Styles */

/* Article Meta */
.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(78, 205, 196, 0.2);
}

.publish-date,
.read-time {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Blog Article Container */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Article Introduction */
.article-intro {
    margin-bottom: 3rem;
}

.article-intro p {
    font-size: 1.1rem;
    color: var(--gray-200);
    margin-bottom: 1.5rem;
}

.article-intro p:first-child {
    font-size: 1.2rem;
    color: var(--gray-100);
}

/* Article Headings */
.blog-article h2 {
    color: var(--teal-hover);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem 0;
}

.blog-article h3 {
    color: var(--purple);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

/* Article Paragraphs */
.blog-article p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Warning Signs - Simple List Style */
.warning-signs {
    margin: 3rem 0;
}

.sign-item {
    margin-bottom: 2.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--purple);
}

.sign-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--purple);
}

.sign-item p {
    margin-bottom: 0;
    color: var(--gray-200);
}

/* Next Steps - Single Card */
.next-steps {
    background: var(--dark-card);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.next-steps h2 {
    margin-top: 0;
    color: var(--purple-hover);
}

.next-steps p {
    color: var(--gray-200);
}

.closing-statement {
    font-size: 1.1rem;
    color: var(--teal) !important;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Strong/Bold Text */
.blog-article strong {
    color: var(--teal-hover);
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-article {
        padding: 0 1rem;
    }
    
    .blog-article h2 {
        font-size: 1.5rem;
    }
    
    .blog-article h3 {
        font-size: 1.2rem;
    }
    
    .next-steps {
        padding: 1.5rem;
    }
}

/*DOCUMENTS PAGE STYLES/* Documents Page Styles */

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-top: 1rem;
    font-weight: 400;
}

.documents-section {
    margin-bottom: 4rem;
}

.documents-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.documents-intro {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.document-item {
    background: var(--dark-card);
    border: 1px solid rgba(78, 205, 196, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.document-item:hover {
    transform: translateY(-2px);
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.document-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.document-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.document-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.document-description {
    color: var(--gray-300);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.document-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.document-download:hover {
    color: var(--teal-hover);
}

.download-icon {
    width: 16px;
    height: 16px;
}

.documents-contact {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.documents-contact h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.documents-contact p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.doc-contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.doc-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.doc-contact-link:hover {
    color: var(--purple-hover);
}

.doc-contact-link svg {
    width: 18px;
    height: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-item {
        padding: 1.25rem;
    }
    
    .documents-section-title {
        font-size: 1.75rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .documents-contact {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .documents-intro {
        font-size: 1rem;
    }
    
    .document-item {
        padding: 1rem;
    }
}

/* Contact Form Section - Dark Mode Simple */
.contact-form-section {
    padding: 4rem 1rem 2rem;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--dark-card);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-300);
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--gray-600);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--dark-secondary);
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-submit-btn {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: var(--teal-hover);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 1rem;
    }
    
    .form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-submit-btn {
        width: 100%;
    }
}