/* Legal Pension Appeals Roadshow - Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .nav-menu li {
    margin-left: 20px;
  }
  
  .nav-menu a {
    font-size: 0.8rem;
  }
  
  .feature-card, .service-card, .team-card {
    padding: 20px;
  }
  
  .service-image {
    height: 160px;
  }
  
  .team-image {
    height: 250px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .header-inner {
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active li {
    margin: 10px 0;
    text-align: center;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 30px;
  }
  
  .service-image {
    height: 140px;
  }
  
  .team-image {
    height: 220px;
  }
  
  .features-grid, .services-grid, .team-grid, .info-grid, .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .plan-card {
    min-width: 250px;
  }
  
  .plan-card.featured {
    transform: scale(1.03);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .header-inner {
    padding: 15px 0;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: block;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active li {
    margin: 10px 0;
    text-align: center;
  }
  
  .about-content, .contact-container {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 30px;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .feature-card, .service-card, .info-card, .team-card, .blog-card {
    padding: 20px;
  }
  
  .features-grid, .services-grid, .team-grid, .info-grid, .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .plan-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .plan-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
  
  .plan-card.featured {
    transform: none;
    border: 2px solid var(--primary-color-4);
  }
  
  .service-image {
    height: 180px;
  }
  
  .team-image {
    height: 240px;
  }
  
  .review-card {
    padding: 20px;
    margin: 10px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .page-header {
    height: 200px;
  }
  
  .page-section {
    padding: 40px 0;
  }
  
  /* Reduce animations on small screens */
  @media (prefers-reduced-motion: no-preference) {
    .fade-in, .slide-up, .slide-in-left, .slide-in-right {
      animation: none;
    }
    
    .swiper-slide {
      transition: none;
    }
  }
  
  /* Accessibility improvements for mobile */
  .form-control {
    padding: 15px;
    font-size: 16px; /* Prevents zoom on input focus on iOS */
  }
  
  .service-checkbox input {
    width: 20px;
    height: 20px;
  }
} 