/* Responsive Styles for Actual Web */

/* Large Devices (Desktops) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium Devices (Tablets) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Header */
    #header .container {
        height: 70px;
    }

    /* Hero Section */
    .hero {
        padding: 140px 0 60px;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* About Section */
    .about-content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    /* Contact Section */
    .contact-content {
        flex-direction: column;
    }
}

/* Small Devices (Landscape Phones) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Header */
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }
    
    /* Dropdown adjustments for mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        margin-top: 10px;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown-menu.show {
        max-height: 300px;
    }
    
    .dropdown-menu .dropdown-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Section */
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul li a:hover {
        padding-left: 0;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Header */
    .logo img {
        height: 35px;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 50px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Portfolio Filter */
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    /* Contact Form */
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }

    /* Back to Top Button */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Quote Section Responsive */
    .service-options {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-right-color: #007bff;
        border-bottom-color: transparent;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .quote-actions {
        flex-direction: column;
    }
    
    .custom-quote-form {
        padding: 30px 20px;
    }
    
    .quote-result {
        padding: 30px 20px;
    }
    
    /* Contact Form Responsive */
    .contact-form-step {
        padding: 1.5rem;
    }

    .quote-contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-step h3 {
        font-size: 1.5rem;
    }

    .contact-form-step p {
        font-size: 1rem;
    }
}

/* Service Pages Specific Responsive Styles */

/* Service Hero Section */
.service-hero {
    padding: 140px 0 60px;
}

.service-hero .hero-content {
    text-align: center;
}

.service-hero .hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-hero .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* Services Detail Section */
.services-detail {
    padding: 60px 0;
}

.services-detail .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    padding: 30px 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-features {
    margin-top: 15px;
}

.service-features li {
    padding: 5px 0;
    font-size: 0.9rem;
}

/* Breadcrumb Responsive */
.breadcrumb {
    padding: 20px 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Medium Devices (Tablets) - Service Pages */
@media screen and (max-width: 992px) {
    .service-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-detail .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* Small Devices (Landscape Phones) - Service Pages */
@media screen and (max-width: 768px) {
    .service-hero {
        padding: 120px 0 40px;
    }
    
    .service-hero .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .service-hero .value-proposition {
        margin: 20px 0;
        padding: 15px 20px;
    }
    
    .value-prop-text {
        font-size: 1rem;
    }
    
    .services-detail {
        padding: 40px 0;
    }
    
    .services-detail .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
    }
}

/* Extra Small Devices (Portrait Phones) - Service Pages */
@media screen and (max-width: 480px) {
    .service-hero {
        padding: 100px 0 30px;
    }
    
    .service-hero .hero-title {
        font-size: 1.6rem;
    }
    
    .service-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-hero .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .service-hero .btn {
        width: 100%;
        max-width: 280px;
        margin: 0;
    }
    
    .services-detail .section-header h2 {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
}