/* Responsive CSS for Multimodal Models Template */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  :root {
    --fs-h1: 2.75rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.25rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  section {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  :root {
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
  
  .about-shape {
    width: 20%;
  }
  
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 15px;
  }
  
  :root {
    --fs-h1: 2.25rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --section-spacing: 4rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .about-shape {
    display: none;
  }
  
  .contact-shape {
    display: none;
  }
  
  .reviews-shape {
    display: none;
  }
  
  .features-shape {
    display: none;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .features-item {
    margin-bottom: 2rem;
  }
  
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Disable animations on mobile */
  @media (prefers-reduced-motion: reduce) {
    .animated {
      animation: none !important;
      transition-property: none !important;
    }
    
    .swiper-slide {
      transition-property: none !important;
    }
    
    .fadeInUp, .fadeInDown, .fadeIn {
      opacity: 1;
      transform: none;
      animation: none;
    }
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.75rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --section-spacing: 3rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-title h2:after {
    width: 70%;
  }
  
  header .navbar-brand {
    font-size: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-heading {
    margin-top: 2rem;
  }
  
  /* Disable all hover effects on mobile */
  .service-card:hover,
  .feature-card:hover,
  .features-item:hover,
  .coreinfo-item:hover,
  .team-card:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .service-card:hover:before {
    height: 5px;
  }
  
  .coreinfo-item:hover:after {
    transform: scaleX(0);
  }
}

/* Handle tall mobile devices for hero section */
@media (max-height: 700px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 600px;
  }
  
  .hero-section .swiper {
    height: 600px;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .animated {
    animation: none !important;
    transition-property: none !important;
  }
  
  .swiper-slide {
    transition-property: none !important;
  }
  
  .fadeInUp, .fadeInDown, .fadeIn {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .features-item:hover,
  .coreinfo-item:hover,
  .team-card:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .header .nav-link:after {
    transition: none;
  }
  
  .service-card:before,
  .coreinfo-item:after {
    transition: none;
  }
} 