/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
    padding-top: 150px;
}
  
  .hero-decorative {
    display: none;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .priceplan-card.featured {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
    padding-top: 150px;
}
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .feature-card {
    margin-bottom: 1rem;
  }
  
  .team-photo {
    height: 220px;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.2rem;
    padding-top: 150px;
}
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    height: 240px;
  }
  
  .gallery-item img {
    height: 190px;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.3rem;
    padding-top: 150px;
}
  
  .hero-decorative {
    width: 180px;
    height: 180px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
    padding-top: 150px;
}
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .container-xl {
    max-width: 1400px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .team-photo,
  .blog-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .priceplan-card.featured {
    transition: none;
    transform: none;
  }
}

/* Dark mode preference */