/* Responsive Design - Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 3rem 0;
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: var(--font-size-2xl);
    }
    
    .navbar-brand {
        font-size: var(--font-size-lg) !important;
    }
    
    .service-card,
    .price-card {
        margin: 1rem 0;
        padding: 1.5rem;
    }
    
    .team-section img {
        width: 80px;
        height: 80px;
    }
    
    .team-section .col-md-2 {
        margin-bottom: 1.65rem;
    }
    
    .about-section,
    .services-section,
    .features-section,
    .priceplan-section,
    .team-section,
    .reviews-section,
    .casestudy-section,
    .process-section,
    .timeline-section,
    .career-section,
    .coreinfo-section,
    .contact-section,
    .blog-section,
    .faq-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    .features-section i {
        font-size: 2.04rem;
    }
    
    .contact-section .row {
        flex-direction: column-reverse;
    }
    
    .contact-section .col-md-4 {
        margin-bottom: 2.11rem;
        text-align: center;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 4rem 0;
        min-height: 90vh;
    }
    
    .service-card,
    .price-card {
        padding: 1.75rem;
    }
    
    .team-section img {
        width: 100px;
        height: 100px;
    }
    
    .features-section i {
        font-size: 2.63rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 4.5rem 0;
    }
    
    .team-section .col-md-2 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    .process-section .col-md-2 {
        flex: 0 0 auto;
        width: 20%;
    }
    
    .coreinfo-section .col-md-2 {
        flex: 0 0 auto;
        width: 16.666667%;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 5rem 0;
        min-height: 100vh;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
  padding-top: 50px;
        padding: 6rem 0;
    }
    
    .service-card,
    .price-card {
        padding: 2.5rem;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(80, 88, 255, 0.95);
        border-radius: 0.5rem;
        margin-top: 1.21rem;
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        border-radius: 0.25rem;
        margin: 0.25rem 0;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Swiper Responsive (Mobile <768px - disable autoplay/effects) */
@media (max-width: 767.98px) {
    .reviews-swiper {
        --swiper-pagination-color: var(--primary-purple);
        --swiper-navigation-color: var(--primary-purple);
    }
    
    .reviews-swiper .swiper-slide {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    /* Disable autoplay and effects on mobile as required */
    .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

/* Grid Adjustments */
@media (max-width: 767.98px) {
    .row > [class*="col-"] {
        margin-bottom: 1.11rem;
    }
    
    .gallery-section .col-md-3 {
        flex: 0 0 auto;
        width: 50%;
        padding: 0.25rem;
    }
    
    .about-section .col-md-3 {
        margin-bottom: 1.65rem;
    }
    
    .features-section .col-md-3 {
        margin-bottom: 2.11rem;
        padding: 1rem;
    }
    
    .blog-card {
        margin-bottom: 1.65rem;
    }
}

/* Form Responsive */
@media (max-width: 767.98px) {
    .form-control {
        font-size: 21.00px; /* Prevents zoom on iOS */
    }
    
    .btn-primary {
        width: 100%;
        padding: 1rem;
        font-size: var(--font-size-lg);
    }
}

/* Typography Responsive */
@media (max-width: 575.98px) {
    h1 {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
    }
    
    h2 {
        font-size: var(--font-size-xl);
        line-height: 1.4;
    }
    
    h3, h4 {
        font-size: var(--font-size-lg);
    }
    
    h5, h6 {
        font-size: var(--font-size-base);
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    .footer .row {
        text-align: center;
    }
    
    .footer .col-md-4 {
        margin-bottom: 2.11rem;
    }
    
    .footer ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Additional Page Sections Responsive */
@media (max-width: 767.98px) {
    .page-section .col-md-2 {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1.11rem;
        text-align: center;
    }
    
    .page-section .col-md-3 {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 1.65rem;
        text-align: center;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 767.98px) {
    .breadcrumb-nav {
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .breadcrumb-icon {
        width: 20px;
        height: 20px;
    }
}

/* Space Container Responsive */
@media (max-width: 767.98px) {
    .space-container {
        min-height: 50vh;
        padding: 2rem 1rem;
    }
}

/* Animation and Transition Adjustments for Mobile */
@media (max-width: 767.98px) {
    .service-card:hover,
    .price-card:hover,
    .blog-card:hover {
        transform: translateY(-4px);
    }
    
    .btn-primary:hover {
        transform: translateY(-1px);
    }
    
    .gallery-section img:hover {
        transform: scale(1.02);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .breadcrumb-nav {
        display: none !important;
    }
    
    .hero-section,
    .page-section,
    .about-section,
    .services-section,
    .features-section,
    .contact-section {
        background: white !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
} 