/* Responsive Styles for Estate Planning Template */

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops) */
@media (max-width: 1199.98px) {
  .hero-slide h2 {
    font-size: 3rem;
  }
  
  .service-card {
    margin-bottom: 25px;
  }
}

/* Medium devices (tablets) */
@media (max-width: 991.98px) {
  section {
    padding: 4.5rem 0;
  }
  
  .hero-slide {
    min-height: 500px;
    height: auto;
  }
  
  .hero-slide h2 {
    font-size: 2.5rem;
  }
  
  .about-content {
    margin-top: 2rem;
  }
  
  .price-card, .team-card, .coreinfo-item {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones) */
@media (max-width: 767.98px) {
  section {
    padding: 4rem 0;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .hero-slide {
    min-height: 450px;
  }
  
  .hero-slide h2 {
    font-size: 2rem;
  }
  
  .hero-slide p {
    font-size: 1rem;
  }
  
  .feature-card, .service-card, .price-card, .team-card, .blog-card {
    margin-bottom: 20px;
  }
  
  .review-slide {
    padding: 1.5rem;
  }
  
  .review-author-img {
    width: 50px;
    height: 50px;
  }
  
  .feature-icon-lg, .coreinfo-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2rem;
  }
  
  .page-header {
    height: 250px;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
}

/* Extra small devices (portrait phones) */
@media (max-width: 575.98px) {
  section {
    padding: 3.5rem 0;
  }
  
  .section-heading h2 {
    font-size: 1rem;
  }
  
  .hero-slide {
    min-height: 400px;
  }
  
  .hero-slide h2 {
    font-size: 1.7rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .review-text {
    padding-left: 1.5rem;
  }
  
  .review-text:before {
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-img, .service-img {
    height: 180px;
  }
  
  .page-header {
    height: 200px;
    margin-top: 60px;
  }
  
  .page-header h1 {
    font-size: 1rem;
  }
  
  .feature-icon-lg, .coreinfo-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1rem;
  }
  
  .contact-info-icon {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* For iPad Pro and similar larger tablets in portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .hero-slide {
    min-height: 500px;
  }
  
  .about-content {
    margin-top: 2rem;
  }
}

/* For very small devices */
@media (max-width: 320px) {
  .hero-slide h2 {
    font-size: 1rem;
  }
  
  .section-heading h2 {
    font-size: 1.6rem;
  }
  
  .service-title, .blog-title {
    font-size: 1.1rem;
  }
  
  .btn-primary, .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
} 