/* Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  html {
    font-size: 15px;
  }
  
  .hero {
    min-height: 80vh;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-shape {
    width: 100%;
    clip-path: polygon(0 80%, 100% 60%, 100% 100%, 0% 100%);
    height: 40%;
    bottom: 0;
    top: auto;
  }
  
  .hero-bg-image {
    width: 100%;
    height: 40%;
    bottom: 0;
    top: auto;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: var(--spacing-md);
  }
  
  .price-item.featured {
    transform: scale(1.03);
  }
  
  .price-item.featured:hover {
    transform: scale(1.03) translateY(-5px);
  }
  
  .review-item {
    margin-bottom: var(--spacing-md);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--spacing-xxl) * 2) 0 var(--spacing-xl);
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-shape,
  .hero-bg-image {
    display: none;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: var(--spacing-md);
  }
  
  .price-item.featured {
    transform: none;
  }
  
  .price-item.featured:hover {
    transform: translateY(-5px);
  }
  
  .review-item {
    margin-bottom: var(--spacing-md);
  }
  
  .contact-form {
    margin-bottom: var(--spacing-lg);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--spacing-xxl) * 2) 0 var(--spacing-lg);
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-shape,
  .hero-bg-image {
    display: none;
  }
  
  section {
    padding: var(--spacing-md) 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .blog-item,
  .coreinfo-item {
    margin-bottom: var(--spacing-md);
  }
  
  .price-item {
    padding: var(--spacing-md);
  }
  
  .price-item.featured {
    transform: none;
  }
  
  .price-item.featured:hover {
    transform: translateY(-5px);
  }
  
  .review-item {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
  }
  
  .contact-form {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md);
  }
  
  .contact-info {
    padding: var(--spacing-md);
  }
  
  footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
  }
  
  footer .col-md-3 {
    margin-bottom: var(--spacing-md);
  }
  
  /* Fix for mobile menu */
  .navbar-collapse {
    background-color: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
  }
}

/* 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;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0s !important;
  }
} 