/* Global Styles */
:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --accent-color: #28a745;
  --text-color: #333;
  --light-text: #f8f9fa;
  --border-color: #dee2e6;
  --font-family: "Arial", sans-serif;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f6fcfb;
}

/* Home page only: reset background to white */
body.home {
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 30px 0 60px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 20px;
  margin-top: 30px;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  text-align: center;
  color: var(--primary-color);
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #004494;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #218838;
  color: white;
}

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

.btn-primary:hover {
  background-color: #004494;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.top-banner {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 8px 0;
  text-align: center;
  font-size: 15px;
}

.top-banner p {
  margin: 0;
}

.header {
  background-color: #f2f6f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  margin-left: 30px;
  display: flex;
  align-items: center;
}

.nav-link {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0 10px 0;
  text-align: left;
}

/* Hero Copy Section */
.hero-copy {
  background-image: url('../img/hero-copy-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0 30px 0;
  text-align: center;
  position: relative;
}

/* Home page specific hero copy centering */
.hero-copy .hero-content {
  margin: 0 auto;
}



/* Hero Image Section */
.hero-image-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}



.hero-content {
  max-width: 800px;
  margin: 0;
}

.hero-copy h1 {
  font-size: 40px;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.hero-copy p {
  font-size: 18px;
  margin-bottom: 35px;
  color: var(--text-color);
}

/* Features Section */
.features {
  padding: 70px 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

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

.feature-item {
  text-align: center;
  padding: 20px;
  background: white;
  border: 2px solid #87ceeb;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-item i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  margin-bottom: 15px;
}

/* Review Section */
.review {
  background-color: #f8f9fa;
  padding: 70px 0;
  text-align: center;
}

.review h2 {
  margin-bottom: 50px;
  color: var(--primary-color);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-item {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-stars {
  margin-bottom: 20px;
}

.review-stars i {
  color: #ffc107;
  font-size: 20px;
  margin: 0 3px;
}

.review-text {
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.6;
  color: var(--text-color);
  font-size: 18px;
}

.review-author {
  margin-bottom: 0;
}

.review-author strong {
  display: block;
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 5px;
}

.review-location {
  color: #666;
  font-size: 14px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 70px 0;
  background-color: white;
}

.why-choose-us h2 {
  margin-bottom: 50px;
  color: var(--primary-color);
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.benefit-item {
  text-align: center;
  padding: 30px 20px;
}

.benefit-item i {
  font-size: 50px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.benefit-item h3 {
  margin-bottom: 15px;
  color: black;
  font-size: 18px;
}

.benefit-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Insurance Section */
.insurance {
  background-color: var(--secondary-color);
  padding: 50px 0;
  text-align: center;
}

.insurance h2 {
  margin-bottom: 40px;
  color: var(--primary-color);
}

.insurance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  align-content: center;
}

.insurance-logo {
  height: 80px;
  object-fit: contain;
  border-radius: 5px;
}

.insurance-logo.medicare {
  height: 40px; /* 50% of 80px */
}

.insurance-logo-text {
  display: inline-block;
  padding: 15px 25px;
  background-color: white;
  color: var(--primary-color);
  font-family: var(--font-family);
  font-weight: bold;
  font-size: 16px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  width: 150px;
  text-align: center;
}

/* Info Section */
.info-section {
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.info-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Clinicians Page */
.clinicians {
  padding: 30px 0 60px 0;
}

.clinician-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.clinician-card {
  display: flex;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  padding: 24px 16px 16px 24px;
  gap: 16px;
  align-items: flex-start;
}

.clinician-img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 0;
}

.clinician-info {
  flex: 1;
  padding: 0 20px 20px 12px;
}

.clinician-info h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: left;
  margin-top: 0;
}

@media (max-width: 768px) {
  .clinician-card {
    flex-direction: column;
  }
  .clinician-img {
    width: 180px;
    height: 220px;
    margin-right: 0;
    margin-bottom: 15px;
    border-radius: 6px;
  }
}

/* How It Works Page */
.process-steps {
  padding: 60px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  text-align: center;
}





.step-number {
  height: 60px;
  width: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin: 0 auto 20px auto;
}

.step-number i {
  font-size: 20px;
}

.step-content {
  max-width: 800px;
  margin: 0 auto;
}

.step-content h3 {
  text-align: center;
}

.step-content p {
  text-align: left;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Policy Page */
.policy {
  padding: 60px 0;
}

.policy-content {
  max-width: 800px;
  margin: 0;
}

/* (Removed custom left indent override to align with global container padding) */

.policy h2 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.policy-section {
  margin-bottom: 40px;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 50px 0 20px;
}

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

.footer-widget h4 {
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: var(--light-text);
  opacity: 0.9;
}

.footer-widget a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 14px;
  opacity: 0.7;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-copy h1 {
    font-size: 34px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .step:nth-child(even) {
    flex-direction: column;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }
  
  .feature-item {
    padding: 18px;
  }
}

/* Home page only: lay out features in one row and remove boxes */
.home-features .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 100%;
}

.home-features .feature-item {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 30px 20px;
}

/* Home page only: make feature titles black */
.home-features .feature-item h3 {
  color: black;
}

@media (max-width: 768px) {
  .home-features .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-features .feature-item {
    padding: 20px 15px;
  }
}

/* Desktop: force a single row of three columns on the home features */
@media (min-width: 992px) {
  .home-features .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

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

  .hero-copy {
    padding: 40px 0 25px 0;
  }

  .hero-image-section {
    height: 300px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .insurance-logo {
    max-width: 100px;
    height: 50px;
  }
  
  .review-item {
    padding: 30px;
    margin: 0 20px;
  }
  
  .review-text {
    font-size: 16px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .review-item {
    padding: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefit-item {
    padding: 20px 15px;
  }
  
  .benefit-item i {
    font-size: 40px;
  }
}
