/* Responsive Styles for Insurance Services Template */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    height: 100vh;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-image {
    max-height: 400px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (max-width: 991px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 700px;
    height: auto;
  }
  
  .hero-content {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-image {
    max-height: 350px;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .team-img {
    height: 250px;
  }
  
  .service-img {
    height: 180px;
  }
  
  .about-feature,
  .service-card,
  .feature-box,
  .price-card,
  .team-card,
  .info-box,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .footer-widget {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-image {
    max-height: 300px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-title,
  .feature-title,
  .price-title,
  .team-name,
  .info-title,
  .blog-title {
    font-size: 1.2rem;
  }
  
  .price-value {
    font-size: 1.8rem;
  }
  
  .about-feature,
  .service-card,
  .feature-box,
  .price-card,
  .team-card,
  .info-box,
  .blog-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature:hover,
  .service-card:hover,
  .feature-box:hover,
  .price-card:hover,
  .team-card:hover,
  .info-box:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  section {
    padding: 2.5rem 0;
  }
  
  .hero-section {
    min-height: 650px;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-image {
    max-height: 250px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .service-img {
    height: 160px;
  }
  
  .team-img {
    height: 220px;
  }
  
  .about-feature i,
  .feature-icon,
  .info-icon {
    font-size: 2rem;
  }
  
  /* Disable animations on mobile for performance */
  @media (prefers-reduced-motion) {
    .fade-up,
    .fade-in,
    .about-feature:hover,
    .service-card:hover,
    .feature-box:hover,
    .price-card:hover,
    .team-card:hover,
    .info-box:hover,
    .blog-card:hover,
    .hero-image:hover {
      transition: none;
      transform: none;
    }
  }
}

/* Fix for extra small landscape devices */
@media (max-height: 450px) and (orientation: landscape) {
  .hero-section {
    height: auto;
    min-height: 450px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-image {
    max-height: 200px;
  }
}

/* PWA Support for devices with notches */
@supports (padding: max(0px)) {
  .hero-content,
  .container {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
} 