/* Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
        height: 90vh;
    }
    
    .section-title {
        margin-bottom: 2.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    html {
        font-size: 15px;
    }
    
    .hero-section {
        height: 80vh;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .about-feature, 
    .services-item, 
    .features-item, 
    .price-card,
    .review-item {
        padding: 1.5rem;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    footer {
        padding: 4rem 0 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    html {
        font-size: 14px;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .about-feature, 
    .services-item, 
    .features-item, 
    .price-card,
    .review-item {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .about-feature i,
    .features-item i,
    .coreinfo-item i {
        font-size: 2rem;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    footer {
        padding: 3rem 0 1.5rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    html {
        font-size: 13px;
    }
    
    .hero-section {
        height: 100vh;
        text-align: center;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .about-feature, 
    .services-item, 
    .features-item, 
    .price-card,
    .review-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .about-feature i,
    .features-item i,
    .coreinfo-item i {
        font-size: 1.75rem;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.25rem;
    }
    
    footer {
        padding: 2.5rem 0 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }
    
    /* Stacking elements vertically on mobile */
    .row.mobile-stack > .col,
    .row.mobile-stack > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .row.mobile-stack > .col:last-child,
    .row.mobile-stack > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    /* Header and navigation adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* FAQ accordion adjustments */
    .faq-accordion .accordion-button {
        padding: 1rem;
    }
    
    .faq-accordion .accordion-body {
overflow-x: hidden;
        padding: 1rem;
    }
    
    /* Blog grid adjustments */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact form */
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    /* Button size adjustments */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Reduce margins and paddings */
    .mb-6 {
        margin-bottom: 2.5rem !important;
    }
    
    .mt-6 {
        margin-top: 2.5rem !important;
    }
    
    .section-padding {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

/* Special case for very small devices */
@media (max-width: 375px) {
    html {
        font-size: 12px;
    }
    
    .hero-section {
        height: 90vh;
    }
}

/* Disable animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    
    .swiper-container {
        --swiper-autoplay-delay: 999999s; /* Effectively disables autoplay */
    }
}

/* Height-based media queries for hero section */
@media (max-height: 700px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0;
    }
} 