/* ===========================================
   RESPONSIVE STYLES
   Mobile-First Approach - Bootstrap 5 Compatible
   =========================================== */

/* Mobile First - Base Styles (576px and below) */
@media (max-width: 575.98px) {
  /* No animations on mobile */
  .custom-card:hover,
  .services-card:hover,
  .gallery-image:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.875rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  /* Spacing adjustments */
  .section {
    padding: 3rem 0;
  }
  
  .custom-card-body,
  .services-card,
  .team-card,
  .review-card {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Services grid mobile */
  .services-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .services-price {
    font-size: 1.5rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 100px;
    height: 100px;
    font-size: 1.75rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-decoration {
    width: 250px;
    height: 250px;
  }
  
  .services-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: var(--section-padding);
  }
  
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-decoration {
    width: 300px;
    height: 300px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-decoration {
    width: 350px;
    height: 350px;
  }
}

/* Portrait orientation adjustments */
@media (orientation: portrait) and (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
} 

.hero-content {
    padding-top: 175px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
