/* 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) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 2rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .coreinfo-item,
  .team-card,
  .blog-card {
    margin-bottom: 20px;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .team-img {
    height: 250px;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-img {
    height: 200px;
  }
  
  .hero-shape {
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: -100px;
  }
  
  .contact-shape {
    width: 300px;
    height: 300px;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 3rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .coreinfo-item,
  .team-card,
  .blog-card {
    margin-bottom: 20px;
  }
  
  .service-price {
    font-size: 1.4rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-img {
    height: 220px;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  
  .gallery-img {
    height: 180px;
  }
  
  .hero-shape {
    width: 200px;
    height: 200px;
    right: -80px;
    bottom: -80px;
  }
  
  .contact-shape {
    width: 200px;
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  footer .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .coreinfo-item,
  .team-card,
  .blog-card {
    margin-bottom: 15px;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  .team-img {
    height: 200px;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  
  .gallery-img {
    height: 150px;
  }
  
  .hero-shape {
    width: 150px;
    height: 150px;
    right: -60px;
    bottom: -60px;
  }
  
  .contact-shape {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.2rem;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
  
  footer .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .review-item {
    padding: 1.5rem;
  }
}

/* Specific Mobile Fixes */
@media (max-width: 767px) {
  /* Disable animation for mobile devices */
  .animate-fade-in {
    animation: none;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
  }
  
  /* Adjust padding for sections */
  .hero-section {
    padding-top: 6rem;
  }
  
  /* Single column layout for most grid items */
  .row > [class*='col-'] {
    margin-bottom: 20px;
  }
  
  .faq-accordion {
    padding: 0 1rem;
  }
} 