/* Responsive Styles */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-content {
  padding-top: 50px !important;
        text-align: left;
    }
    
    .team-member {
        text-align: center;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-content {
  padding-top: 50px !important;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .navbar-brand {
        font-size: 1.40rem !important;
    }
    
    .team-member {
        margin-bottom: 2rem;
    }
    
    .process-step,
    .timeline-item {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.89rem; }
    h3 { font-size: 1.60rem; }
    h4 { font-size: 1.31rem; }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .service-card img,
    .gallery-img {
        height: 180px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Accordion adjustments */
    .accordion-button {
        font-size: 0.98rem;
        padding: 0.75rem 1rem;
    }
    
    /* Gallery adjustments */
    .gallery-img {
        height: 200px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.60rem; }
    h3 { font-size: 1.26rem; }
    h4 { font-size: 1.24rem; }
    
    .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
        padding: 90px 0 30px;
    }
    
    .hero-image img {
        height: 200px;
    }
    
    .navbar-brand {
        font-size: 1.23rem !important;
    }
    
    .service-card img,
    .gallery-img {
        height: 150px;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
        font-size: 1.05rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.02rem;
    }
    
    /* Make cards stack better on mobile */
    .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Footer adjustments */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    /* Breadcrumb adjustments */
    .breadcrumb-img {
        width: 25px;
        height: 25px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .gallery-img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    .hero-section,
    .gallery-section,
    header,
    footer {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
    
    .feature-card,
    .service-card,
    .price-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}
