/* Responsive Styles */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.625rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
    /* Navigation */
    .navbar-nav .nav-link {
    font-size: 12px !important;
        margin-left: 0;
        padding: 0.5rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        text-align: center;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Mobile Devices (576px to 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    /* Sections */
    .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,
    .gallery-section {
        padding: 3rem 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h3 {
        font-size: 1.25rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Price Cards */
    .price-card.featured {
        transform: scale(1);
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Team Members */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer .col-md-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    .gallery-section .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Swiper Slider - Disable autoplay on mobile */
    .swiper-container {
        --swiper-autoplay: 0;
    }
}

/* Small Mobile Devices (less than 576px) */
@media (max-width: 575px) {
    /* Base */
    body {
        font-size: 14px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    h5 {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.875rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    /* Sections */
    .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,
    .gallery-section {
        padding: 2rem 0;
    }
    
    /* Feature Boxes */
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Service Cards */
    .service-card .price {
        font-size: 1.25rem;
    }
    
    /* Price Tag */
    .price-tag {
        font-size: 1.5rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 60px;
        padding-right: 1rem;
    }
    
    .timeline-date {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* Process Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact Info */
    .contact-section .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Blog Cards */
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.5rem;
    }
    
    /* Info Boxes */
    .info-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Career Cards */
    .career-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Case Cards */
    .case-card {
        margin-bottom: 1.5rem;
    }
}

/* Extra Small Devices (less than 400px) */
@media (max-width: 399px) {
    /* Container */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.375rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section h3 {
        font-size: 1.125rem;
    }
    
    /* Service Cards */
    .service-card img {
        height: 150px;
    }
    
    /* Team Members */
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .hero-section::before,
    .hero-section::after,
    #space::before,
    #space::after,
    .gallery-section,
    .footer {
        display: none !important;
    }
    
    /* Adjust colors for print */
    body {
        color: #000;
        background: white;
    }
    
    /* Remove shadows and transitions */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* Ensure proper page breaks */
    .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 {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-1: #000080;
        --primary-2: #FF0000;
        --primary-3: #008000;
        --primary-4: #FF8C00;
        --primary-5: #800080;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-light {
        background-color: #f0f0f0 !important;
    }
    
    .bg-dark {
        background-color: #000 !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .bg-light {
        background-color: #2a2a2a !important;
        color: #e0e0e0;
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95) !important;
    }
    
    .feature-box,
    .service-card,
    .price-card,
    .review-card,
    .contact-form,
    .blog-card,
    .info-box,
    .career-card,
    .case-card {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .form-control {
        background: #333;
        color: #e0e0e0;
        border-color: #444;
    }
    
    .accordion-button {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .accordion-body {
        background: #333;
        color: #e0e0e0;
    }
} 