/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
  .hero-content h1 {
    font-size: 48px;
  }
  
  .section-title h2 {
    font-size: 38px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  html {
    font-size: 15px;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .section-title h2 {
    font-size: 34px;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .about-feature-icon, 
  .service-icon, 
  .price-icon, 
  .core-info-icon {
    font-size: 40px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  html {
    font-size: 14px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-content p {
    font-size: 18px;
  }
  
  .section-title h2 {
    font-size: 30px;
  }
  
  .section-title p {
    font-size: 16px;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .feature-icon {
    min-width: 70px;
    height: 70px;
    font-size: 26px;
  }
  
  .price-amount {
    font-size: 36px;
  }
  
  .hero-shape {
    height: 15%;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-collapse .nav-link {
    color: var(--neutral-dark) !important;
  }
  
  .about-shape,
  .services-shape,
  .reviews-shape {
    display: none;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
  
  .mb-md-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .order-md-1 {
    order: 1;
  }
  
  .order-md-2 {
    order: 2;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  html {
    font-size: 13px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .feature-icon {
    min-width: 60px;
    height: 60px;
    font-size: 22px;
  }
  
  .about-feature, 
  .service-card, 
  .price-card, 
  .review-card, 
  .core-info-item {
    padding: 30px 20px;
  }
  
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .hero-image {
    margin-top: 50px;
  }
  
  .about-image {
    margin-bottom: 50px;
  }
  
  .about-feature {
    margin-bottom: 30px;
  }
  
  .service-card, 
  .price-card, 
  .team-card, 
  .blog-card {
    margin-bottom: 30px;
  }
  
  .feature-item {
    margin-bottom: 30px;
  }
  
  .core-info-item {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  footer {
    padding: 60px 0 20px;
  }
  
  footer h4 {
    margin-top: 30px;
  }
  
  .page-header {
    min-height: 200px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .section-title h2 {
    font-size: 26px;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .navbar-brand {
    font-size: 24px;
  }
  
  .feature-icon {
    min-width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .price-amount {
    font-size: 32px;
  }
  
  .page-header {
    min-height: 150px;
  }
  
  .btn {
    padding: 10px 20px;
  }
}

/* Support for reduced motion preferences */
@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: 0 !important;
  }
}

/* Device-specific adjustments */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }
}

/* High resolution displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) {
  /* Handle high resolution displays */
} 