/* Responsive Design - Bootstrap 5 breakpoints */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    padding-top: 175px;
}
  
  .hero-section p {
    font-size: 0.99rem;
  }
  
  .services-card {
    margin-bottom: 1rem;
  }
  
  .team-image {
    height: 200px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2.31rem;
    padding-top: 175px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-image {
    height: 220px;
  }
  
  .process-step {
    margin-bottom: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.40rem;
    padding-top: 175px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-image {
    height: 240px;
  }
  
  .services-card {
    margin-bottom: 1.59rem;
  }
  
  .review-card {
    margin-bottom: 1.59rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: 2.41rem;
    padding-top: 175px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-image {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 2.58rem;
    padding-top: 175px;
}
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Responsive images */
@media (max-width: 767.98px) {
  .hero-section img {
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
  }
}

/* Responsive navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Responsive forms */
@media (max-width: 575.98px) {
  .form-control {
    margin-bottom: 1rem;
  }
  
  .btn {
    width: 100%;
  }
}

/* Responsive cards */
@media (max-width: 767.98px) {
  .services-card,
  .review-card,
  .team-card,
  .blog-card {
    margin-bottom: 1.72rem;
  }
}

/* Responsive spacing */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Responsive text alignment */
@media (max-width: 767.98px) {
  .text-md-start {
    text-align: center !important;
  }
  
  .text-md-end {
    text-align: center !important;
  }
}

/* Responsive FAQ */
@media (max-width: 767.98px) {
  .faq-card {
    padding: 1rem;
  }
}

/* Responsive hero decorative elements */
@media (max-width: 991.98px) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* Responsive team section */
@media (max-width: 575.98px) {
  .team-card {
    margin: 0 auto 1.5rem;
    max-width: 300px;
  }
}

/* Responsive process steps */
@media (max-width: 767.98px) {
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.29rem;
  }
}

/* Responsive footer */
@media (max-width: 767.98px) {
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .footer .row > div:last-child {
    margin-bottom: 0;
  }
} 