/* Responsive CSS for Pension Workshops Template */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .team-img {
    height: 300px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .about-shape,
  .services-shape,
  .reviews-shape,
  .contact-shape {
    display: none;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1rem;
  }
  
  .section-title h2:after {
    width: 40px;
  }
  
  .about-feature,
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-img {
    height: 250px;
  }
  
  .team-info {
    transform: translateY(0);
  }
  
  .review-item {
    padding: 1.5rem;
  }
  
  .scroll-to-top {
    width: 35px;
    height: 35px;
    bottom: 20px;
    right: 20px;
  }
  
  /* Disable animations on mobile for performance and reduce motion */
  @media (prefers-reduced-motion) {
    .fade-in {
      transition: none;
      transform: none;
      opacity: 1;
    }
    
    .service-item:hover,
    .price-card:hover,
    .blog-item:hover,
    .about-feature:hover,
    .core-info-item:hover {
      transform: none;
    }
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 13px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .hero-section {
    height: 70vh;
  }
  
  .hero-content h1 {
    font-size: 1rem;
  }
  
  .hero-content p {
    font-size: 0.85rem;
  }
  
  .section-title h2 {
    font-size: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .team-img {
    height: 220px;
  }
  
  /* Force Swiper to be more compact on small screens */
  .reviews-slider .swiper-slide {
    padding: 0 10px;
  }
  
  /* Disable autoplay on mobile devices */
  .swiper-container {
    --swiper-autoplay: false;
  }
}

/* Height-specific adjustments */
@media (max-height: 600px) {
  .hero-section {
    height: auto;
    min-height: 500px;
  }
} 