/* Responsive Design Styles */

/* Mobile First Approach */
/* Base styles are for mobile, then we scale up */

/* Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .feature-card, .service-card, .price-card, .team-member, 
    .review-card, .case-study-card, .info-card, .career-card, .blog-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card img, .blog-card img {
        height: 150px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
}

/* Mobile Devices (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card, .service-card, .price-card, .team-member, 
    .review-card, .case-study-card, .info-card, .career-card, .blog-card {
        padding: 1.5rem;
    }
    
    .service-card img, .blog-card img {
        height: 180px;
    }
    
    .team-member img {
        width: 130px;
        height: 130px;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .service-card img, .blog-card img {
        height: 200px;
    }
    
    .timeline-item {
        width: 80%;
        margin-left: 10% !important;
        margin-right: 10% !important;
    }
    
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item::before {
        left: -32px !important;
        right: auto !important;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-section h1 {
        font-size: 3.2rem;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Extra Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    }
}

/* Navigation Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav-link {
  font-size: 12px !important;
        padding: 0.5rem 1rem;
        margin: 0.2rem 0;
        border-radius: 5px;
    }
    
    .nav-link:hover {
        background: var(--light-color);
    }
}

/* Mobile Swiper Adjustments */
@media (max-width: 768px) {
    .reviewsSwiper {
        padding: 1rem 0;
    }
    
    .swiper-slide {
        padding: 0 1rem;
    }
    
    /* Disable autoplay and effects on mobile as requested */
    .swiper {
        --swiper-navigation-size: 20px;
    }
}

/* Gallery Responsive */
@media (max-width: 768px) {
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    #gallery img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
}

@media (min-width: 769px) {
    #gallery img {
        height: 250px;
        object-fit: cover;
    }
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        width: 100%;
        margin-top: 1rem;
    }
}

/* Cards Responsive Spacing */
@media (max-width: 768px) {
    .row > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
}

/* Typography Responsive */
@media (max-width: 576px) {
    .display-1 { font-size: 2.5rem; }
    .display-2 { font-size: 2rem; }
    .display-3 { font-size: 1.8rem; }
    .display-4 { font-size: 1.5rem; }
}

/* Footer Responsive */
@media (max-width: 768px) {
    footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    footer ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    footer li {
        margin-bottom: 0.5rem;
    }
}

/* Contact Info Responsive */
@media (max-width: 768px) {
    .contact-info {
        text-align: center;
        margin-top: 2rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

/* Accordion Responsive */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Animation Responsive - Disable on mobile for performance */
@media (max-width: 768px) {
    .feature-card:hover, .service-card:hover, .price-card:hover, 
    .team-member:hover, .case-study-card:hover, .info-card:hover, 
    .career-card:hover, .blog-card:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, .swiper-pagination, 
    .accordion-button, footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
} 