/* Responsive Design - Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-title {
        font-size: 2.88rem;
    }
    
    .service-item {
        padding: 2.5rem;
    }
    
    .team-member img {
        width: 220px;
        height: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.34rem;
    }
    
    .hero-subtitle {
        font-size: 1.30rem;
    }
    
    .section-title {
        font-size: 2.61rem;
    }
    
    .service-item {
        padding: 3rem;
    }
    
    .service-item img {
        height: 250px;
    }
    
    .gallery-item img {
        height: 300px;
    }
    
    .team-member img {
        width: 250px;
        height: 250px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.55rem;
    }
    
    .hero-subtitle {
        font-size: 1.63rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .service-item img {
        height: 280px;
    }
    
    .gallery-item img {
        height: 350px;
    }
    
    .contact-form {
        padding: 3rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .service-item img {
        height: 300px;
    }
    
    .gallery-item img {
        height: 400px;
    }
}

/* Mobile specific adjustments */
@media (max-width: 575px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.32rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.83rem;
    }
    
    .service-item {
        padding: 1.5rem;
        margin-bottom: 1.65rem;
    }
    
    .service-item img {
        height: 180px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .team-member img {
        width: 150px;
        height: 150px;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.30rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
}

/* Tablet portrait adjustments */
@media (min-width: 576px) and (max-width: 991px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .service-item {
        margin-bottom: 2rem;
    }
    
    .gallery-item {
        margin-bottom: 1.62rem;
    }
}

/* Hide decorative elements on small screens */
@media (max-width: 767px) {
    .hero-section::before {
        display: none;
    }
}

/* Ensure proper spacing for sections */
@media (max-width: 991px) {
    .section-subtitle {
        margin-bottom: 3rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
}

/* Navigation adjustments */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}

/* Form adjustments */
@media (max-width: 767px) {
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
        width: 100%;
    }
}

/* Grid adjustments for services */
@media (max-width: 767px) {
    .service-item {
        margin-bottom: 1.57rem;
    }
}

/* Testimonial adjustments */
@media (max-width: 991px) {
    .testimonial-card {
        margin-bottom: 1.66rem;
    }
}

/* FAQ adjustments */
@media (max-width: 767px) {
    .faq-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

/* Team section adjustments */
@media (max-width: 991px) {
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Gallery responsive grid */
@media (max-width: 767px) {
    .gallery-item {
        margin-bottom: 1rem;
    }
}

/* Footer adjustments */
@media (max-width: 767px) {
    .footer .col-md-3 {
        margin-bottom: 2rem;
    }
    
    .footer h5 {
        margin-bottom: 0.71rem;
    }
}

/* Breadcrumb adjustments */
@media (max-width: 575px) {
    .breadcrumb {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-item img {
        height: 16px;
    }
}

/* Ensure proper container padding */
@media (max-width: 575px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Typography scaling for better readability */
@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
        --font-size-lg: 16px;
        --font-size-xl: 18px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.61rem;
    }
    
    .service-item h4 {
        font-size: 1.20rem;
    }
    
    .service-price {
        font-size: 1.36rem;
    }
} 

.hero-content {
    padding-top: 100px;
}