/* 
 * Estate Tax Minimization Clinics Template
 * Responsive Stylesheet
 */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 50px;
  }
  
  .section-title h2 {
    font-size: 36px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 32px;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .service-item,
  .feature-item,
  .price-item,
  .team-item,
  .review-item,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 30px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-widget {
    margin-bottom: 40px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-slider {
    height: 600px;
    min-height: auto;
  }
  
  .hero-slide {
    height: 600px;
    min-height: auto;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .header .navbar-brand {
    font-size: 22px;
  }
  
  .header .nav-link {
    padding: 10px 15px;
  }
  
  .review-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar {
    margin: 0 auto 15px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  /* Disable animations on mobile for performance */
  .fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  /* Adjust slider autoplay for mobile */
  @media (prefers-reduced-motion: reduce) {
    .swiper-container {
      --swiper-autoplay: false;
    }
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-slider {
    height: 500px;
  }
  
  .hero-slide {
    height: 500px;
  }
  
  .hero-content h1 {
    font-size: 28px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .section-title h2:after {
    width: 60px;
  }
  
  .btn-primary {
    padding: 10px 25px;
  }

  .review-item,
  .coreinfo-item,
  .service-item,
  .about-feature {
    padding: 25px 20px;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .page-banner {
    height: 300px;
  }
  
  .page-title h1 {
    font-size: 32px;
  }
} 