/* Responsive CSS */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 5%;
        text-align: left;
    }
}

/* Tablets */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .price-card.featured {
        transform: scale(1);
        margin: 1rem 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
    }
}

/* Mobile Devices */
@media (max-width: 767px) {
    /* Typography */
    body {
    overflow-x: hidden;
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    h3 {
        font-size: 1.15rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    /* Hero */
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Cards and Boxes */
    .feature-box, .feature-item, .info-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card, .price-card, .career-card, 
    .case-study-card, .blog-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card img, .blog-card img {
        height: 150px;
    }
    
    /* Team */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Process */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        margin-left: 60px !important;
        padding: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* FAQ */
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
    
    /* Swiper - Disable autoplay on mobile */
    .swiper-autoplay {
        --swiper-autoplay-delay: 999999999ms;
    }
    
    /* Price Amount */
    .price-amount, .price {
        font-size: 1.1rem;
    }
    
    /* Gallery */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 575px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-content {
        margin-left: 0 !important;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
}

/* Very Small Devices */
@media (max-width: 375px) {
    h1 {
        font-size: 1.35rem;
    }
    
    h2 {
        font-size: 1.15rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-image {
        animation: none;
    }
    
    .swiper-wrapper {
        transition-timing-function: linear !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #FFD700;
        --text-color: #000000;
        --neutral-light: #FFFFFF;
    }
    
    .btn-primary {
        border: 2px solid var(--secondary-color);
    }
}

/* Print Styles */
@media print {
    header, footer, #gallery, .swiper, .btn {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
} 