/* 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) {
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 20px;
  }
  
  .about-shape,
  .services-shape {
    display: none;
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-shape,
  .services-shape {
    display: none;
  }
  
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 20px;
  }
  
  .footer {
    padding: 50px 0 20px;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .navbar-collapse {
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 50px;
  }
  
  .hero-title-1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1rem;
  }
  
  .hero-desc-1 {
    font-size: 0.9rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .section-title h2:after {
    bottom: -10px;
    width: 40px;
    height: 2px;
  }
  
  .about-shape,
  .services-shape {
    display: none;
  }
  
  .about-feature,
  .service-item,
  .feature-item,
  .price-item,
  .team-member,
  .coreinfo-item,
  .review-item,
  .blog-item,
  .contact-form {
    margin-bottom: 20px;
    padding: 20px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-heading {
    margin-top: 30px;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-collapse {
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 5px;
  }
  
  .review-author {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .review-author-img {
    margin-bottom: 10px;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* 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 Menu Styles */
@media (max-width: 991.98px) {
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1.1rem;
    border: none;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 15px;
  }
  
  .nav-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Specific Layout Adjustments */
@media (max-width: 767.98px) {
  .content-reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
  
  .mb-sm-30 {
    margin-bottom: 30px;
  }
}

/* Swiper Adjustments for Mobile */
@media (max-width: 767.98px) {
  .swiper-container {
    padding-bottom: 40px;
  }
  
  .swiper-pagination {
    bottom: 0 !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* Disable Hover Effects on Mobile */
@media (max-width: 991.98px) {
  .about-feature:hover,
  .service-item:hover,
  .feature-item:hover,
  .price-item:hover,
  .team-member:hover,
  .coreinfo-item:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .team-member:hover .team-image img,
  .blog-item:hover .blog-image img,
  .gallery-item:hover img {
    transform: none;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 0;
  }
}

/* Landscape Mode Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }
} 