/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  h1 {
    font-size: 1.85rem;
  }
  
  h2 {
    font-size: 1.60rem;
  }
  
  h3 {
    font-size: 1.33rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .service-card,
  .feature-item,
  .price-card,
  .team-member {
    margin-bottom: 1.62rem;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .process-number,
  .timeline-number {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 1rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 95vh;
    padding: 2.5rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 100px;
    height: 100px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .service-card img,
  .gallery-item img,
  .blog-card img {
    height: 180px;
  }
  
  .team-member img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 8rem 0;
  }
}

/* Utility Classes for Responsive */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-mobile {
    text-align: left;
  }
}

.mb-mobile-only {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .mb-mobile-only {
    margin-bottom: 0;
  }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Form Responsive */
@media (max-width: 767.98px) {
  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* Grid Adjustments for Cards */
@media (max-width: 575.98px) {
  .row .col-md-6,
  .row .col-lg-4,
  .row .col-xl-3 {
    margin-bottom: 2rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .row .col-md-6:nth-child(2n),
  .row .col-lg-4:nth-child(2n),
  .row .col-xl-3:nth-child(2n) {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .row .col-lg-4:nth-child(3n),
  .row .col-xl-3:nth-child(3n) {
    margin-bottom: 2rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  .footer .row > div {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

/* Services Grid Responsive */
@media (max-width: 991.98px) {
  .service-card {
    max-width: 400px;
    margin: 0 auto 2rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 991.98px) {
  .team-member {
    max-width: 300px;
    margin: 0 auto 2rem;
  }
}

/* Price Cards Responsive */
@media (max-width: 767.98px) {
  .price-card {
    max-width: 350px;
    margin: 0 auto 2rem;
  }
}

/* Contact Info Responsive */
@media (max-width: 767.98px) {
  .contact-info {
    text-align: center;
    margin-bottom: 3rem;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}