/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.84rem;
  }
  
  h2 {
    font-size: 1.57rem;
  }
  
  h3 {
    font-size: 1.39rem;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .testimonial-card {
    margin-bottom: 1.61rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.30rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.88rem;
  }
  
  .service-card,
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .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;
  }
  
  h1 {
    font-size: 2.36rem;
  }
  
  h2 {
    font-size: 1.95rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .hero-decorative {
    width: 175px;
    height: 175px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 125px;
    height: 125px;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card {
    min-height: 400px;
  }
  
  .feature-item {
    min-height: 300px;
  }
  
  .price-card {
    min-height: 450px;
  }
  
  .team-card {
    min-height: 350px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .service-card {
    min-height: 420px;
  }
  
  .feature-item {
    min-height: 320px;
  }
  
  .price-card {
    min-height: 480px;
  }
  
  .team-card {
    min-height: 380px;
  }
  
  .hero-decorative {
    width: 200px;
    height: 200px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 150px;
    height: 150px;
  }
}

/* Utility Classes for Responsive Design */
@media (max-width: 767.98px) {
  .d-mobile-none {
    display: none;
  }
  
  .text-mobile-center {
    text-align: center;
  }
  
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .d-desktop-none {
    display: none;
  }
}

/* Responsive Typography */
@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem;
  }
  
  .display-2 {
    font-size: 1.87rem;
  }
  
  .display-3 {
    font-size: 1.61rem;
  }
  
  .display-4 {
    font-size: 1.33rem;
  }
}

/* Responsive Spacing */
@media (max-width: 767.98px) {
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .my-5 {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .px-lg-5 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Responsive Grid Adjustments */
@media (max-width: 575.98px) {
  .row > * {
    margin-bottom: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .row > * {
    margin-bottom: 1.74rem;
  }
}

/* Responsive Images */
@media (max-width: 767.98px) {
  .service-image,
  .gallery-image,
  .blog-image {
    height: 180px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .service-image,
  .gallery-image,
  .blog-image {
    height: 220px;
  }
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    background: white;
    color: black;
  }
  
  a {
    text-decoration: underline;
  }
} 

.hero-content {
    padding-top: 200px;
}