/* Responsive Design - Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .service-card {
    min-height: 550px;
    padding: 1.5rem;
  }
  
  .service-image {
    height: 160px;
  }
  
  .service-card h4 {
    font-size: 1.2rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
    -webkit-line-clamp: 5;
  }
  
  .service-card ul {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
    max-height: 60px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .service-card {
    min-height: 600px;
    padding: 1.75rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .service-card h4 {
    font-size: 1.25rem;
  }
  
  .service-card p {
    font-size: 0.93rem;
    -webkit-line-clamp: 6;
  }
  
  .service-card ul {
    font-size: 0.88rem;
    -webkit-line-clamp: 4;
    max-height: 70px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-size: 50% 50%;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .hero,
  .gallery,
  .contact-form,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
} 

.hero-content {
    padding-top: 100px;
}