/* Responsive Design */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 { font-size: 3.5rem; }
    h2 { font-size: 3rem; }
    
    .hero-section {
        padding: 150px 0 100px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    .shape-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.25rem; }
    
    /* Navigation */
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .shape-1, .shape-2 {
        display: none;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Team Grid */
    .col-lg-2-4 {
        width: 50%;
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .team-member, .blog-card {
        margin-bottom: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        margin: 2rem 0;
    }
    
    /* Price Cards */
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
}

/* Mobile Large (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.125rem; }
    
    body {
overflow-x: hidden;
        font-size: 14px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 100px 0 40px;
        text-align: center;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    /* Team Grid */
    .col-lg-2-4 {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .team-member, .review-item, .info-item, .blog-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item i {
        font-size: 2.5rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 200px;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    /* Contact Form */
    .contact-form .row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1rem; }
    
    body {
overflow-x: hidden;
        font-size: 14px;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 80px 0 30px;
        text-align: center;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    /* Sections */
    section {
        padding: 30px 0;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .team-member, .review-item, .info-item, .blog-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    /* Service Cards */
    .service-card .price {
        float: none;
        display: block;
        margin-top: 1rem;
        text-align: center;
    }
    
    /* Team Members */
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 150px;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 0.5rem;
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-form .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Accordion */
    .accordion-button {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
overflow-x: hidden;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 100px 0 50px;
    }
    
    /* Page Sections */
    .page-section {
        padding: 40px 0;
    }
    
    /* Price Cards */
    .price-card .price {
        font-size: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 1.5rem;
    }
}

/* Very Small Mobile (up to 375px) */
@media (max-width: 375px) {
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    
    body {
overflow-x: hidden;
        font-size: 13px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 70px 0 20px;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .team-member, .review-item, .info-item, .blog-card {
        padding: 1rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1rem;
    }
    
    /* Gallery */
    .gallery-img {
        height: 120px;
    }
    
    /* Team Members */
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    /* Feature Items */
    .feature-item i {
        font-size: 1.75rem;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-section .min-vh-100 {
        min-height: auto;
    }
    
    /* Disable animations on mobile landscape */
    .shape-1, .shape-2 {
        animation: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .service-card img, .feature-card img, .team-member img, .blog-card img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover, .service-card:hover, .price-card:hover, .team-member:hover, .blog-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-img:hover {
        transform: none;
    }
    
    /* Increase button size for better touch targets */
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Larger accordion buttons for touch */
    .accordion-button {
        min-height: 56px;
    }
    
    /* Disable swiper autoplay on mobile */
    .reviews-slider {
        --swiper-navigation-size: 24px;
    }
}

/* Print Styles */
@media print {
    .hero-shapes, .shape-1, .shape-2 {
        display: none;
    }
    
    header, footer {
        display: none;
    }
    
    .gallery-section {
        display: none;
    }
    
    body {
overflow-x: hidden;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .feature-card, .service-card, .price-card {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
    }
} 