/* Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.51rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.30rem;
  }
  
  .section-title {
    font-size: 2.13rem;
  }
  
  .section-subtitle {
    font-size: 1.30rem;
  }
  
  .service-card {
    margin-bottom: 2.22rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 1.84rem;
  }
  
  .hero-subtitle {
    font-size: 1.11rem;
  }
  
  .hero-desc {
    font-size: 1.05rem;
  }
  
  .section-title {
    font-size: 1.84rem;
  }
  
  .section-subtitle {
    font-size: 1.11rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-name {
    font-size: 1.30rem;
  }
  
  .service-price {
    font-size: 1.54rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .about-feature {
    padding: 1.5rem;
    margin-bottom: 1.55rem;
  }
  
  .about-feature i {
    font-size: 2.51rem;
  }
  
  .feature-name {
    font-size: 1.30rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-submit {
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1.30rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1.00rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.04rem;
  }
  
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container .swiper-wrapper {
    transform: none !important;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.69rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .section-title {
    font-size: 1.69rem;
  }
  
  .section-subtitle {
    font-size: 1.05rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-name {
    font-size: 1.11rem;
  }
  
  .about-feature {
    padding: 1rem;
  }
  
  .about-feature i {
    font-size: 2.13rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.8rem;
  }
  
  .btn-submit {
    padding: 0.7rem 1.5rem;
    font-size: 1.00rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .navbar-brand {
    font-size: 1.30rem !important;
  }
  
  .breadcrumb-img {
    max-width: 250px;
  }
}

/* Fix for very small screens */
@media (max-width: 359.98px) {
  .hero-title {
    font-size: 1.41rem;
  }
  
  .section-title {
    font-size: 1.41rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 0.8rem;
  }
  
  .about-feature {
    padding: 0.8rem;
  }
}

/* Container adjustments */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
}

@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}
