/* Responsive CSS for Credit Consult 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-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 10px;
  }
  
  .service-item, 
  .price-card, 
  .team-member, 
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  .hero-shape {
    width: 40%;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
  }
  
  .blob {
    opacity: 0.3;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
    padding: 5rem 0;
    min-height: auto;
  }
  
  .hero-shape {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-content {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    text-align: center;
    display: block;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .section-subtitle {
    text-align: center;
  }
  
  .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;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Disable animations on mobile for better performance and respect prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    .service-item:hover,
    .about-feature:hover,
    .price-card:hover,
    .blog-item:hover,
    .gallery-item:hover img,
    .team-member:hover .team-member-img {
      transform: none;
    }
    
    .blob {
      animation: none;
    }
  }
  
  /* Disable slider autoplay on mobile */
  .swiper-auto-slide {
    --swiper-autoplay: false;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  footer {
    text-align: center;
  }
  
  .feature-item i {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 2.5rem;
  }
  
  .review-item {
    margin: 0.5rem 0;
  }
} 