/* RefurbishedHub - Responsive CSS */

/* Mobile First Approach */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .h2 {
        font-size: 1.5rem;
    }
    
    .h4 {
        font-size: 1.125rem;
    }
    
    .h5 {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .service-card .card-img-top {
        height: 150px;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card,
    .card {
        margin-bottom: 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    /* No animations on mobile for reduced motion */
    .shape-blob-1,
    .shape-blob-2 {
        animation: none;
    }
    
    .feature-card:hover,
    .service-card:hover,
    .team-member:hover img,
    #gallery img:hover,
    .btn-primary:hover {
        transform: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .service-card .card-img-top {
        height: 180px;
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
    
    .process-number {
        width: 45px;
        height: 45px;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding-top: 90px;
    }
    
    .service-card .card-img-top {
        height: 200px;
    }
    
    .team-member img {
        width: 110px;
        height: 110px;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .service-card .card-img-top {
        height: 220px;
    }
    
    .team-member img {
        width: 120px;
        height: 120px;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .service-card .card-img-top {
        height: 240px;
    }
}

/* Contact Form Responsive */
@media (max-width: 767.98px) {
    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.5rem;
        font-size: 1rem;
    }
}

/* Gallery Responsive */
@media (max-width: 575.98px) {
    #gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    #gallery img {
        height: 220px;
    }
}

@media (min-width: 768px) {
    #gallery img {
        height: 250px;
    }
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
    #faq .card {
        margin-bottom: 1rem;
    }
    
    #faq .card-title {
        font-size: 0.95rem;
    }
    
    #faq .card-text {
        font-size: 0.85rem;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    #footer {
        text-align: center;
    }
    
    #footer .row .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    #footer .text-end {
        text-align: center;
    }
}

/* Breadcrumb Responsive */
@media (max-width: 575.98px) {
    .breadcrumb-section {
        padding-top: 120px;
        padding-bottom: 0.5rem;
    }
    
    .breadcrumb-item img {
        width: 16px;
        height: 16px;
    }
}

/* Navigation Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Card Grid Responsive */
@media (max-width: 575.98px) {
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* Text Alignment Responsive */
@media (max-width: 767.98px) {
    .text-center-mobile {
        text-align: center;
    }
    
    .text-start-mobile {
        text-align: left;
    }
}

/* Spacing Adjustments */
@media (max-width: 575.98px) {
    .mb-5 {
        margin-bottom: 2rem;
    }
    
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .mt-5 {
        margin-top: 2rem;
    }
}

/* Image Responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Container Responsive */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Button Responsive */
@media (max-width: 575.98px) {
    .btn-lg {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Typography Responsive */
@media (max-width: 575.98px) {
    .small {
        font-size: 0.8rem;
    }
} 

body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 100px;
}