/* Responsive CSS for Estate Tax Optimization Seminars Template */

/* Large desktops and laptops */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .service-card,
  .about-feature,
  .price-card,
  .coreinfo-item,
  .contact-form {
    padding: 1.5rem;
  }
  
  .custom-shape-1,
  .custom-shape-2,
  .custom-shape-3 {
    display: none;
  }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
  body {
overflow-x: hidden;
    font-size: 0.9rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-card,
  .about-feature,
  .price-card,
  .coreinfo-item,
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .custom-shape-1,
  .custom-shape-2,
  .custom-shape-3 {
    display: none;
  }
  
  .review-item {
    margin: 0.5rem 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-col {
    margin-bottom: 2rem;
  }
  
  /* Adjust spacing for mobile */
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 3rem 0;
  }
}

/* Portrait phones and smaller */
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .hero-section p {
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .service-card,
  .about-feature,
  .price-card,
  .coreinfo-item,
  .contact-form {
    padding: 1.25rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .review-author-img {
    width: 40px;
    height: 40px;
  }
  
  .page-header {
    height: 30vh;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  /* Adjust spacing for small mobile */
  .about-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .coreinfo-section,
  .contact-section,
  .blog-section,
  .faq-section,
  .gallery-section {
    padding: 2.5rem 0;
  }
  
  /* Stack form elements */
  .form-row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-animation-duration: 0.01ms;
  }
  
  .fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .price-card:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .service-card::before,
  .price-card::after {
    transition: none;
  }
  
  .gallery-item:hover img,
  .blog-card:hover .blog-image img {
    transform: none;
  }
} 