/* ==============================================
   RESPONSIVE STYLES
   ============================================== */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .hero-section {
    min-height: 550px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 500px;
    height: auto;
    padding: 6rem 0;
  }
  
  .nav-item {
    margin-left: 1.5rem;
  }
  
  .service-img, 
  .blog-img {
    height: 180px;
  }
  
  .team-img {
    height: 250px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-item {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .hero-section {
    min-height: 450px;
    height: auto;
    padding: 5rem 0;
    text-align: center;
  }
  
  .hero-img {
    margin-top: 2rem;
  }
  
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .service-img, 
  .blog-img {
    height: 160px;
  }
  
  .team-img {
    height: 220px;
  }
  
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .gallery-item {
    height: 150px;
  }
  
  footer [class^="col-"] {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-section {
    min-height: 400px;
    height: auto;
    padding: 4rem 0 2rem;
    text-align: center;
  }
  
  .hero-img {
    margin-top: 2rem;
  }
  
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .about-feature,
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .core-info-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .service-img, 
  .blog-img {
    height: 180px;
  }
  
  .team-img {
    height: 250px;
  }
  
  .checkbox-group {
    flex-direction: column;
  }
  
  .checkbox-item {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 130px;
  }
  
  .footer-links,
  .footer-contact {
    margin-bottom: 1.5rem;
  }
  
  footer [class^="col-"] {
    margin-bottom: 1.5rem;
  }
  
  /* Preloader */
  @media (prefers-reduced-motion: no-preference) {
    .swiper-slide {
      transition: transform 0.3s ease;
    }
    
    .swiper-slide-active {
      transform: scale(1.05);
    }
  }
} 