/* Responsive Design */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero h1 {
  padding-top: 50px !important;
    font-size: 3.58rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
  .navbar-nav {
    margin-left: auto;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding-right: 2rem;
  }
  
  .team-member img {
    width: 250px;
    height: 250px;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
  .hero {
    padding: 0 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .service-card {
    height: 100%;
  }
  
  .review-card {
    height: 100%;
  }
  
  .blog-card {
    height: 100%;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
  .hero h1 {
  padding-top: 50px !important;
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.27rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    padding: 1rem;
    text-align: center;
  }
  
  .hero h1 {
  padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.86rem;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.20rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Landscape orientation for mobile devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
  padding-top: 50px !important;
    font-size: 2.58rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .breadcrumb,
  .contact-form,
  .footer {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../LIW_images/hero-bg@2x.webp');
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .service-card,
  .team-member,
  .review-card,
  .blog-card,
  .gallery-item img,
  .btn-gradient,
  .contact-form .btn-primary {
    transition: none !important;
    animation: none !important;
  }
  
  .about-feature:hover,
  .service-card:hover,
  .price-card:hover,
  .case-study-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

