
/*
* Next Chapter Recovery - Section Responsive Styles
* Version: 1.1
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  /* Two Column Layout */
  .two-column-layout {
    flex-direction: row;
  }
  
  /* Program Components */
  .program-components {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Partnerships Grid */
  .partnerships-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Challenges Grid */
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Program Options */
  .program-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .option-card {
    flex: 0 0 calc(50% - var(--spacing-md));
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: row;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Section Titles */
  .section-title {
    font-size: 2.25rem;
  }
  
  /* Banner Content */
  .banner-content h1 {
    font-size: 3rem;
  }
  
  /* Program Components */
  .program-components {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Partnerships Grid */
  .partnerships-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Challenges Grid */
  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Testimonials */
  .testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - var(--spacing-lg));
    scroll-snap-align: start;
    margin: 0 calc(var(--spacing-lg) / 2);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Section Padding */
  .section {
    padding: calc(var(--spacing-xxl) * 1.5) 0;
  }
  
  /* Two Column Layout */
  .two-column-layout .column {
    flex: 1;
  }
  
  /* Program Components */
  .program-components {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Partnerships Grid */
  .partnerships-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Testimonials */
  .testimonial-card {
    flex: 0 0 calc(33.333% - var(--spacing-lg));
  }
  
  /* CTA Section */
  .cta-section {
    padding: calc(var(--spacing-xxl) * 2) 0;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Section Padding */
  .section {
    padding: calc(var(--spacing-xxl) * 2) 0;
  }
  
  /* Program Components */
  .program-components {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Partnerships Grid */
  .partnerships-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Challenges Grid */
  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile devices (less than 576px) */
@media (max-width: 575.98px) {
  /* Section Titles */
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Banner Content */
  .banner-content h1 {
    font-size: 2rem;
  }
  
  /* Two Column Layout */
  .two-column-layout {
    flex-direction: column;
  }
  
  .two-column-layout .column + .column {
    margin-top: var(--spacing-lg);
  }
  
  /* Program Components */
  .program-components {
    grid-template-columns: 1fr;
  }
  
  /* Partnerships Grid */
  .partnerships-grid {
    grid-template-columns: 1fr;
  }
  
  /* Challenges Grid */
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  
  /* Program Options */
  .program-options {
    flex-direction: column;
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  /* Testimonials */
  .testimonial-card {
    margin: 0 0 var(--spacing-md);
  }
}