/* Responsive Design - Mobile First Approach */

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .swiper {
        scroll-behavior: auto !important;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
  padding-top: 50px;
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.79rem;
    }
    
    .hero-content h2 {
        font-size: 1.27rem;
    }
    
    .section-header {
        margin-bottom: 2.14rem;
    }
    
    .section-header h2 {
        font-size: 1.62rem;
    }
    
    .section-header h3 {
        font-size: 1.27rem;
    }
    
    .feature-card,
    .service-card,
    .element-card,
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1.58rem;
    }
    
    .price-card {
        padding: 1.5rem;
        margin-bottom: 1.58rem;
    }
    
    .price-card .price {
        font-size: 2.06rem;
    }
    
    .team-photo {
        width: 60px;
        height: 60px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .page-section {
        padding: 2rem 0;
    }
    
    .navbar-brand {
        font-size: 1.27rem;
    }
    
    /* Disable Swiper autoplay on mobile */
    .swiper-wrapper {
        transform: none !important;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.06rem;
    }
    
    .hero-content h2 {
        font-size: 1.44rem;
    }
    
    .feature-card,
    .service-card,
    .element-card,
    .info-card {
        padding: 1.75rem;
    }
    
    .team-photo {
        width: 70px;
        height: 70px;
    }
    
    .page-section {
        padding: 3rem 0;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
  padding-top: 50px;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.39rem;
    }
    
    .hero-content h2 {
        font-size: 1.62rem;
    }
    
    .section-header h2 {
        font-size: 2.00rem;
    }
    
    .section-header h3 {
        font-size: 1.44rem;
    }
    
    .team-photo {
        width: 90px;
        height: 90px;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    /* Disable Swiper effects on mobile/tablet */
    .swiper {
        overflow: visible;
    }
    
    .swiper-slide {
        width: auto !important;
        margin-right: 1rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section {
  padding-top: 50px;
        min-height: 90vh;
    }
    
    .hero-content h1 {
        font-size: 2.55rem;
    }
    
    .section-header h2 {
        font-size: 2.06rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .price-card.featured {
        transform: scale(1.03);
    }
}

/* Extra Large Devices (Large Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-section {
  padding-top: 50px;
        min-height: 100vh;
    }
    
    .hero-content h1 {
        font-size: 3.10rem;
    }
    
    .hero-content h2 {
        font-size: 1.79rem;
    }
    
    .section-header h2 {
        font-size: 2.55rem;
    }
    
    .section-header h3 {
        font-size: 1.62rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .price-card.featured {
        transform: scale(1.05);
    }
    
    .container {
        max-width: 1200px;
    }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 3.56rem;
    }
    
    .section-header h2 {
        font-size: 2.89rem;
    }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
        margin-top: 1.11rem;
    }
    
    .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--neutral-200);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Gallery Responsive */
@media (max-width: 767.98px) {
    .gallery-image {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .gallery-image {
        height: 220px;
    }
}

@media (min-width: 992px) {
    .gallery-image {
        height: 250px;
    }
}

/* Blog Responsive */
@media (max-width: 767.98px) {
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1rem;
    }
}

/* Service Cards Responsive */
@media (max-width: 767.98px) {
    .service-image {
        height: 160px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .service-image {
        height: 180px;
    }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
    .timeline-item {
        margin-left: 0;
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        display: none;
    }
}

/* Process Steps Responsive */
@media (max-width: 575.98px) {
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.04rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.27rem;
    }
}

/* Contact Info Responsive */
@media (max-width: 767.98px) {
    .contact-section .row.mt-5 .col-lg-4 {
        margin-bottom: 2.14rem;
        text-align: center;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    .footer-section {
        text-align: center;
        padding: 2rem 0 1rem;
    }
    
    .footer-section .col-lg-4 {
        margin-bottom: 2.14rem;
    }
}

/* Form Responsive */
@media (max-width: 575.98px) {
    .contact-form .col-md-6 {
        margin-bottom: 1.21rem;
    }
}

/* Element Cards Grid Responsive */
@media (max-width: 575.98px) {
    .element-card {
        margin-bottom: 1.21rem;
    }
    
    .col-lg-2.col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .col-lg-2.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
    .breadcrumb-section {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-icon {
        width: 16px;
        height: 16px;
    }
}

/* Print Styles */
@media print {
    .header-section,
    .footer-section,
    .breadcrumb-section,
    .gallery-section {
        display: none;
    }
    
    .page-section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    .feature-card,
    .service-card,
    .element-card,
    .info-card,
    .price-card,
    .case-card,
    .job-card {
        box-shadow: none;
        border: 1px solid #d3d3d3;
        page-break-inside: avoid;
    }
} 