/* Responsive Styles */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-date {
        left: 0 !important;
        right: auto !important;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    
    .navbar-nav .nav-link {
    font-size: 10px;
        margin: 5px 0;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        margin-top: 30px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-item {
        margin-bottom: 30px;
    }
}

/* Small Tablets */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .navbar-brand {
    font-size: 14px !important;
        font-size: 1.3rem !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 20px;
    }
    
    .service-card .price {
        font-size: 1.5rem;
    }
    
    /* Team Members */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Price Cards */
    .price-card {
        margin-bottom: 20px;
    }
    
    .price-card.featured {
        transform: none;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    /* Timeline */
    .timeline {
        padding: 20px 0;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-date {
        width: 80px;
        font-size: 0.9rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 20px;
    }
    
    .contact-form .btn-primary {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    /* Process Timeline */
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    /* Footer */
    footer .row > div {
        margin-bottom: 30px;
    }
    
    footer {
        text-align: center;
    }
    
    /* Section Padding */
    section {
        padding: 40px 0 !important;
    }
    
    /* Swiper - Disable autoplay on mobile */
    .swiper-autoplay-disabled {
        --swiper-autoplay: 0;
    }
}

/* Mobile Devices */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    /* Hero Section */
    .hero-section h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    /* Features */
    .feature-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .feature-box i {
        font-size: 2.5rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: 20px;
    }
    
    /* Review Cards */
    .review-card {
        padding: 20px;
    }
    
    .review-card::before {
        font-size: 2.5rem;
        top: 10px;
        left: 15px;
    }
    
    /* Case Cards */
    .case-card img {
        height: 150px;
    }
    
    /* Career Cards */
    .career-card {
        padding: 20px;
    }
    
    /* Info Cards */
    .info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    /* Blog Cards */
    .blog-card {
        margin-bottom: 20px;
    }
    
    .blog-card img {
        height: 150px;
    }
    
    /* Gallery */
    #gallery img {
        height: 180px;
        margin-bottom: 10px;
    }
    
    /* Contact Info */
    .contact-info p {
        font-size: 1rem;
    }
    
    /* Process Items */
    .process-item h4 {
        font-size: 1.1rem;
    }
    
    .process-item p {
        font-size: 0.9rem;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item h4 {
        font-size: 1.1rem;
    }
    
    .timeline-item p {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    .navbar-brand {
    font-size: 14px !important;
        font-size: 1.2rem !important;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.1rem;
    }
    
    .service-card .price {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 1.8rem;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn,
    .swiper-pagination,
    .accordion-button::after {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 1.6rem;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    /* Optimize images for retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Hover Effects - Disable on Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .feature-box:hover,
    .service-card:hover,
    .case-card:hover,
    .blog-card:hover,
    .price-card:hover,
    .career-card:hover,
    .info-card:hover,
    .team-member:hover img,
    #gallery img:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .service-card:hover::before {
        transform: scaleX(0);
    }
} 