/* Mobile-First Responsive Design */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.25rem;
    --font-size-h3: 1.1rem;
    --font-size-p: 0.9rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 1.75rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .gallery-img {
    height: 200px;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .btn-primary-custom {
    padding: 0.6rem 1.5rem;
    font-size: 0.96rem;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-photo {
    height: 220px;
  }
  
  .gallery-img {
    height: 220px;
  }
  
  .decorative-blob {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .team-photo {
    height: 240px;
  }
  
  .gallery-img {
    height: 240px;
  }
}

/* Large devices (desktops, 997px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .gallery-img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .decorative-blob {
    width: 200px;
    height: 200px;
  }
  
  .team-photo {
    height: 280px;
  }
  
  .gallery-img {
    height: 280px;
  }
}

/* Container max-width adjustments for better readability */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
  }
}

/* Accessibility - Large text preferences */
@media (min-width: 768px) {
  .lead {
    font-size: 1.14rem;
  }
}

/* Print styles */
@media print {
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  .btn-primary-custom,
  .navbar,
  .footer {
    display: none !important;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #dddddd;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}