/* ==========================================================================
   MAIN INDEX PAGE STYLES - IMPROVED
   Diabetes Reversal Clinic
   ========================================================================== */

/* ==========================================================================
   Hero Section - ENHANCED
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, #F5F3EF 0%, #FFFFFF 100%);
  padding: 100px 40px;
  border-bottom: 2px solid #E8E6E1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.hero-title {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 28px;
  color: #2C2C2C;
  font-weight: 600;
  font-family: 'Merriweather', serif;
}

.hero-subtitle {
  font-size: 22px;
  line-height: 1.6;
  color: #5C6F5C;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 16px;
  line-height: 1.6;
  color: #4A5F7A;
  margin-bottom: 40px;
  font-style: italic;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Content Sections - IMPROVED SEPARATION
   ========================================================================== */

.section {
  padding: 100px 40px;
  border-bottom: 1px solid #E8E6E1;
}

.section:nth-child(even) {
  background: #FFFFFF;
}

.section:nth-child(odd) {
  background: #FAFAF8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 48px;
  color: #2C2C2C;
  font-weight: 600;
  font-family: 'Merriweather', serif;
  text-align: center;
}

.section-intro {
  font-size: 20px;
  line-height: 1.6;
  color: #5C6F5C;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.section-content {
  max-width: 900px;
  margin: 0 auto;
}

.section-text {
  font-size: 19px;
  line-height: 1.8;
  color: #2C2C2C;
  margin-bottom: 28px;
}

.section-text:last-child {
  margin-bottom: 0;
}

.text-link {
  color: #4A5F7A;
  text-decoration: underline;
  text-decoration-color: rgba(74, 95, 122, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.text-link:hover {
  color: #2C2C2C;
  text-decoration-color: #2C2C2C;
}

/* Section Diagrams */
.section-diagram {
  margin: 64px auto;
  text-align: center;
  max-width: 800px;
}

.section-diagram img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #E8E6E1;
  background: #FFFFFF;
  padding: 32px;
}

.diagram-caption {
  margin-top: 16px;
  font-size: 15px;
  color: #5C6F5C;
  font-style: italic;
}

/* Section Disclaimer */
.section-disclaimer {
  margin-top: 48px;
  padding: 32px;
  background: #F5F3EF;
  border-left: 4px solid #A0522D;
  border-radius: 4px;
}

.section-disclaimer p {
  font-size: 16px;
  line-height: 1.7;
  color: #5C6F5C;
  margin: 0;
}

.section-disclaimer strong {
  color: #A0522D;
  font-weight: 600;
}

/* ==========================================================================
   Filtering Section - CARD LAYOUT
   ========================================================================== */

.filtering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.filtering-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  border: 2px solid #E8E6E1;
}

.filtering-for {
  border-color: #5C6F5C;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAF8 100%);
}

.filtering-not-for {
  border-color: #A0522D;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF8F5 100%);
}

.filtering-subtitle {
  font-size: 24px;
  margin-bottom: 24px;
  color: #2C2C2C;
  font-weight: 600;
  font-family: 'Merriweather', serif;
}

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

.filtering-list li {
  font-size: 17px;
  line-height: 1.7;
  color: #2C2C2C;
  margin-bottom: 20px;
  padding-left: 32px;
  position: relative;
}

.filtering-for .filtering-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5C6F5C;
  font-weight: 700;
  font-size: 20px;
}

.filtering-not-for .filtering-list li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #A0522D;
  font-weight: 700;
  font-size: 20px;
}

.filtering-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E8E6E1;
  font-size: 16px;
  line-height: 1.7;
  color: #5C6F5C;
  font-style: italic;
}

/* ==========================================================================
   CTA Buttons
   ========================================================================== */

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  background: #FAFAF8;
  padding: 120px 40px;
  border-bottom: none;
}

/* Contact styles already defined in components.css */

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-content {
    gap: 60px;
  }
  
  .hero-title {
    font-size: 44px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 80px 24px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section {
    padding: 80px 24px;
  }
  
  .section-heading {
    font-size: 32px;
    margin-bottom: 36px;
  }
  
  .section-intro {
    font-size: 18px;
    margin-bottom: 48px;
  }
  
  .section-text {
    font-size: 18px;
  }
  
  .filtering-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-section {
    padding: 80px 24px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  .filtering-card {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 60px 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section {
    padding: 60px 16px;
  }
  
  .section-heading {
    font-size: 24px;
  }
  
  .section-text {
    font-size: 17px;
  }
  
  .section-diagram img {
    padding: 20px;
  }
  
  .filtering-card {
    padding: 24px;
  }
  
  .filtering-list li {
    font-size: 16px;
    padding-left: 28px;
  }
  
  .contact-section {
    padding: 60px 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .hero {
    background: white;
    padding: 40px 0;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 40px 0;
  }
  
  .cta-buttons,
  .contact-section {
    display: none;
  }
}
/* ==========================================================================
   Structure of Clinical Correction Section
   ========================================================================== */

.section-structure .structure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.structure-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 8px;
  border: 2px solid #E8E6E1;
  display: flex;
  flex-direction: column;
}

.structure-title {
  font-size: 24px;
  margin-bottom: 24px;
  color: #2C2C2C;
  font-weight: 600;
  font-family: 'Merriweather', serif;
}

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

.structure-list li {
  font-size: 17px;
  line-height: 1.7;
  color: #2C2C2C;
  margin-bottom: 18px;
  padding-left: 24px;
  position: relative;
}

.structure-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5C6F5C;
  font-weight: 700;
}

.structure-note {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.7;
  color: #5C6F5C;
  text-align: center;
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .section-structure .structure-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .structure-card {
    padding: 28px;
  }

  .structure-title {
    font-size: 22px;
  }

  .structure-list li {
    font-size: 16px;
  }
}
