/* Responsive Design - Mobile First */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
        border: 2px solid var(--color-secondary);
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 1rem;
    }
    
    .timeline-item {
        margin-left: 3rem;
        width: calc(100% - 4rem);
    }
    
    .timeline-item::before {
        left: -2.5rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .testimonials-swiper {
        padding: 1rem 0;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    /* Swiper autoplay disabled on mobile */
    .testimonials-swiper .swiper-slide {
        transition: none;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .container {
        max-width: 1320px;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Disable Swiper autoplay and effects on mobile */
    .testimonials-swiper {
        --swiper-autoplay-delay: 0;
    }
    
    .testimonials-swiper .swiper-slide {
        transform: none !important;
        transition: none !important;
    }
    
    /* Adjust spacing for mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    /* Stack cards vertically */
    .feature-card,
    .service-card,
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    /* Adjust form layout */
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Gallery adjustments */
    #gallery .col-md-4,
    #gallery .col-lg-3 {
        margin-bottom: 0.5rem;
    }
    
    /* Navigation adjustments */
    .navbar-nav .nav-link {
  font-size: 10px !important;
        padding: 0.5rem 1rem;
        text-align: center;
    }
    
    /* Footer adjustments */
    footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .card {
        transform: none !important;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .pricing-card:hover {
        transform: none !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .hero-section {
        background-size: cover;
    }
}

/* Landscape orientation for mobile */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .navbar {
        padding: 0.25rem 0;
    }
}

/* Print optimizations */
@media print {
    /* Hide interactive elements */
    .btn,
    .navbar,
    .breadcrumb,
    footer,
    .swiper-pagination {
        display: none !important;
    }
    
    /* Optimize layout for print */
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    /* Remove shadows and backgrounds for print */
    .feature-card,
    .service-card,
    .pricing-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
} 