/* Responsive Design - Mobile First Approach */

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem !important;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .feature-card, .service-card, .price-card {
        margin-bottom: 1rem;
    }
}

/* Small Devices (Landscape Phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    .team-photo {
        width: 90px;
        height: 90px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.375rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Swiper Responsive Settings */
@media (max-width: 768px) {
    .swiper {
        --swiper-navigation-size: 25px;
    }
    
    .swiper-slide {
        text-align: center;
    }
    
    /* Disable autoplay and effects on mobile as required */
    .reviews-swiper {
        --swiper-autoplay-delay: 0;
    }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
}

/* Gallery Responsive */
@media (max-width: 768px) {
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    #gallery img {
        border-radius: 8px;
    }
}

/* Form Responsive */
@media (max-width: 576px) {
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* Cards Grid Responsive */
@media (max-width: 991.98px) {
    .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-item {
        margin-bottom: 1rem;
        padding: 1rem;
    }
}

/* Process Steps Responsive */
@media (max-width: 991.98px) {
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer ul {
        list-style: none;
        padding: 0;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 768px) {
    .breadcrumb-img {
        height: 30px;
    }
}

/* Utility Classes for Responsive */
.d-mobile-none {
    display: block;
}

@media (max-width: 767.98px) {
    .d-mobile-none {
        display: none !important;
    }
}

.d-mobile-block {
    display: none;
}

@media (max-width: 767.98px) {
    .d-mobile-block {
        display: block !important;
    }
}

/* Reduce Motion on Mobile */
@media (max-width: 768px) {
    .service-card:hover,
    .price-card:hover,
    .element-card:hover,
    .info-card:hover,
    .career-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Accessibility Improvements */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .form-control {
        padding: 0.625rem;
        font-size: 1rem;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    .swiper-pagination,
    .swiper-navigation {
        display: none !important;
    }
    
    body {
  overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero-section {
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
} 