/* Responsive CSS for Student Loan Relief Advisory Office */

/* Large desktop displays */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium desktop displays */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

/* Tablet devices */
@media (min-width: 768px) and (max-width: 991px) {
  html {
    font-size: 15px;
  }
  
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .services-grid, 
  .team-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile devices */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .row {
    flex-direction: column;
  }
  
  .col {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  header .container {
    padding: 0.75rem 1.5rem;
  }
  
  /* Mobile menu */
  .mobile-menu-toggle {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
  }
  
  /* Hero section */
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 60px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  /* Grids for various sections */
  .services-grid, 
  .team-grid,
  .gallery-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 0 1rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-auto-rows: 200px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-auto-rows: 150px;
  }
}

/* Animations and transitions for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
} 