/* Responsive CSS */

/* 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: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-nav {
    margin-top: 20px;
  }
  
  .nav-item {
    margin-left: 20px;
  }
  
  section {
    padding: 80px 0;
  }
  
  .services-item-img {
    height: 180px;
  }
  
  .team-member-img {
    height: 250px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav {
    margin-top: 15px;
    flex-direction: column;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 10px;
  }
  
  .hero-title-1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .shape {
    display: none;
  }
  
  .services-item-img {
    height: 160px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-nav {
    margin-top: 15px;
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 10px;
  }
  
  .hero-title-1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  .hero-desc-1 {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .shape {
    display: none;
  }
  
  .services-item-img {
    height: 140px;
  }
  
  .team-member-img {
    height: 220px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .form-control {
    padding: 10px;
  }
  
  .btn {
    width: 100%;
  }
  
  footer {
    padding: 40px 0 20px;
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
  
  .footer-title {
    font-size: 1.2rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 10px;
  }
  
  .gallery-item {
    height: 140px;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile animation disabling */
@media (max-width: 768px) {
  .swiper-container {
    --swiper-pagination-bullet-inactive-opacity: 0.5;
    --swiper-pagination-bullet-size: 10px;
  }
  
  .swiper-autoplay-disabled.swiper-container {
    --swiper-autoplay: false;
  }
  
  .fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }
} 