/* Responsive Styles */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h3 {
        font-size: 2rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        max-width: 400px;
        margin: 0 auto 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item::before {
        left: -1.5rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    body {
    overflow-x: hidden;
        font-size: 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem !important;
    }
    
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h3 {
        font-size: 1.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-autoplay: 0 !important;
    }
    
    .swiper-slide {
        transition: none !important;
    }
    
    /* Cards in mobile */
    .card {
        margin-bottom: 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    /* Process numbers */
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Contact form */
    .contact-info {
        margin-top: 2rem;
    }
    
    /* Footer */
    footer .row > div {
        margin-bottom: 2rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer .list-unstyled {
        display: inline-block;
        text-align: left;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-item {
        border-left: 3px solid var(--primary-color);
        padding-left: 1rem;
        margin-left: 0.5rem;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    /* Blog grid */
    #blog_grid .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Gallery */
    #gallery .col-md-3 {
        margin-bottom: 0.5rem;
    }
    
    #gallery img {
        width: 100%;
    }
    
    /* Icons in features */
    .fa-3x {
        font-size: 2.5em !important;
    }
    
    .fa-2x {
        font-size: 1.75em !important;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.375rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    p {
        font-size: 0.9375rem;
    }
    
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1.5rem;
    }
    
    .hero-section {
        margin-top: 56px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    /* Forms on mobile */
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Cards */
    .card-body {
    overflow-x: hidden;
        padding: 1rem;
    }
    
    .card h4 {
        font-size: 1.125rem;
    }
    
    .card h5 {
        font-size: 1rem;
    }
    
    /* Price cards */
    .card h2 {
        font-size: 1.75rem;
    }
    
    /* Team images */
    .rounded-circle {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .vh-100 {
        height: auto !important;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn,
    .navbar-toggler {
        display: none !important;
    }
    
    body {
    overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: none;
    }
    
    a {
        text-decoration: none;
        color: inherit;
    }
    
    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-dark);
    }
    
    .card {
        border: 1px solid var(--neutral-dark);
    }
    
    .form-control {
        border-width: 2px;
    }
}

/* Reduced Transparency Support */
@media (prefers-reduced-transparency: reduce) {
    .hero-section::before {
        opacity: 0.1;
    }
    
    .navbar {
        background: var(--primary-color) !important;
    }
} 