/* ===== MOBILE NAVIGATION POSITIONING ===== */
@media (max-width: 992px) {

    /* Navigation - Position BELOW header */
    nav {
        position: fixed !important;
        top: 93px !important;
        /* Start below header (70px) */
        left: auto !important;
        right: 0 !important;
        width: 100vw !important;
        background: white !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        padding: 0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 9999 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    /* When menu is active - expand down */
    nav.active {
        max-height: calc(100vh - 70px) !important;
        /* Full screen minus header */
        padding: 1rem 0 !important;
        overflow-y: auto !important;
    }

    nav ul {
        flex-direction: column !important;
        gap: 0 !important;
        position: static !important;
        width: 100% !important;
        display: flex !important;
        background: transparent !important;
        z-index: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    nav ul li {
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
        list-style: none !important;
    }

    nav ul li a {
        display: block !important;
        padding: 1.2rem 2.6rem !important;
        font-size: 1.5rem !important;
        color: #008aff !important;
        text-decoration: none !important;
        border-radius: 0 !important;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: #008aff !important;
        color: white !important;
    }

    .menu-bar {
        display: block !important;
    }

    /* Dropdown Mobile */
    .sub-menu {
        position: static !important;
        max-height: 0 !important;
        overflow: hidden !important;
        background: #f5f5f5 !important;
        transition: max-height 0.3s ease !important;
        padding: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .sub-menu.active {
        max-height: 500px !important;
    }

    .sub-menu ul {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .sub-menu li {
        border-bottom: 1px solid #e0e0e0 !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .sub-menu a {
        display: block !important;
        padding: 1rem 2.6rem 1rem 4rem !important;
        color: #008aff !important;
        font-size: 1.4rem !important;
        border-radius: 0 !important;
        text-decoration: none !important;
    }

    .sub-menu a:hover {
        background-color: #efefef !important;
        color: #008aff !important;
    }
}





/*=====================================Hero Mobile Responsive===========================================*/

/* Hero Mobile Responsive - index.html */

@media (max-width: 992px) {
    .hero {
        height: 100vh;
        overflow: hidden;
    }

    .hero-slider {
        height: 100vh;
    }

    .hero-slide {
        height: 100vh;
    }

    .overlay {
        height: 100vh;
    }

    .hero-content {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 100%;
        padding: 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        /* ← INCREASED from 1.8rem */
        margin-bottom: 15px;
        color: #fff;
        text-transform: none;
        line-height: 1.3;
        font-weight: 600;
    }

    .hero-content p {
        font-size: 1.5rem;
        /* ← INCREASED from 1.1rem */
        margin-bottom: 15px;
        color: #fff;
        line-height: 1.5;
    }

    .hero-btn {
        font-size: 1.6rem;
        /* ← INCREASED from 1rem */
        padding: 12px 25px;
        /* ← INCREASED padding */
        display: inline-block;
    }

    .arrow {
        font-size: 1.2rem;
        padding: 8px;
    }

    .blog .container p {
        font-size: 1.5rem;
    }

    .blog-content .date {
        font-size: 1.0rem;
    }

    .blog-card p {
        font-size: 1.5rem;
    }

    .contact .container p {
        font-size: 1.5rem;
    }
    .logo img {
    width: 50px;
    height: 50px;
    margin-top: 10px;
    margin-left: 10px;
}

   
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hero {
        height: 100vh;
    }

    .hero-slide {
        height: 100vh;
    }

    .overlay {
        height: 100vh;
    }

    .hero-content {
        width: 85%;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
        /* ← INCREASED from 1.5rem */
        margin-bottom: 10px;
        font-weight: 600;
    }

    .hero-content p {
        font-size: 1.2rem;
        /* ← INCREASED from 0.95rem */
        margin-bottom: 12px;
    }

    .hero-btn {
        font-size: 1rem;
        /* ← INCREASED from 0.9rem */
        padding: 10px 20px;
        /* ← INCREASED padding */
    }

    .arrow {
        font-size: 1rem;
        padding: 6px;
    }
}

/* ===== MOBILE - SHOW OVERLAY BY DEFAULT ===== */
@media (max-width: 992px) {
    .overlay {
        opacity: 1 !important;                /* Show overlay always */
    }

    .overlay p {
        transform: translateY(0) !important;  /* Show text by default */
    }

    .gallery-item:hover .overlay {
        opacity: 1;                           /* Stay visible on hover */
    }

    .gallery-item:hover .overlay p {
        transform: translateY(0);             /* Keep text visible */
    }
}










/* ===== FUMIGATION PAGE - MOBILE OPTIMIZATION ===== */

/* ===== FUMIGATION PAGE - MOBILE OPTIMIZATION ===== */

/* Hero Section Mobile */
@media (max-width: 992px) {
    .house-hero-unique {
        margin-top: 70px;
        height: 60vh;
        min-height: 400px;
    }

    .house-hero-img-unique {
        height: 60vh;
    }

    .house-hero-overlay-unique {
        width: 85%;
        padding: 20px;
    }

    .house-hero-overlay-unique h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .house-hero-overlay-unique p {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-book-btn {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    .three-images-row{
        display: none;
    }
}

@media (max-width: 480px) {
    .house-hero-unique {
        height: 50vh;
        min-height: 300px;
    }

    .house-hero-img-unique {
        height: 50vh;
    }

    .house-hero-overlay-unique h1 {
        font-size: 1.5rem;
    }

    .house-hero-overlay-unique p {
        font-size: 1.6rem;
    }

    .hero-book-btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
}

/* About Section 1 Mobile */
@media (max-width: 992px) {
    .about1 {
        padding: 60px 20px;
        background-color: #f8f8f8;
    }

    .container1 {
        max-width: 100%;
        padding: 0;
    }

    .about-content1 {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
    }

    .about-image img {
        height: 300px;
        width: 100%;
    }

    .about-text1 {
        width: 100%;
    }

    .about-text1 h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .about-text1 p {
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .about-text1 .btn {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
}

@media (max-width: 480px) {
    .about1 {
        padding: 40px 15px;
    }

    .about-image img {
        height: 250px;
    }

    .about-text1 h2 {
        font-size: 1.5rem;
    }

    .about-text1 p {
        font-size: 1.6rem;
    }
}

/* Three Images Row Mobile */
@media (max-width: 992px) {
    .three-images-row {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }

    .image-item {
        max-width: 100%;
        width: 100%;
    }

    .image-item img {
        height: 250px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .three-images-row {
        padding: 30px 15px;
        gap: 15px;
    }

    .image-item img {
        height: 200px;
    }
}

/* About Section 2 Mobile */
@media (max-width: 992px) {
    .about2 {
        padding: 60px 20px;
        background-color: #ffffff;
    }

    .container2 {
        max-width: 100%;
        padding: 0;
    }

    .about-content2 {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-image2 {
        width: 100%;
    }

    .about-image2 img {
        height: 300px;
        width: 100%;
    }

    .about-text2 {
        width: 100%;
    }

    .about-text2 h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
        margin-top: 0;
    }

    .about-text2 .phead {
        font-weight: 600;
        color: #1ca4e2;
        margin-top: 10px;
    }

    .about-text2 p {
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .about-text2 .btn {
        font-size: 0.95rem;
        padding: 10px 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .about2 {
        padding: 40px 15px;
    }

    .about-image2 img {
        height: 250px;
    }

    .about-text2 h2 {
        font-size: 1.5rem;
    }

    .about-text2 .phead {
        font-size: 1.6rem;
    }

    .about-text2 p {
        font-size: 1.6rem;
    }
}

/* Importance Section Mobile */
@media (max-width: 992px) {
    .importance {
        padding: 40px 20px;
        min-height: auto;
    }

    .importance-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        padding: 20px;
    }

    .importance-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .importance-left,
    .importance-right {
        flex: 1 1 100%;
    }

    .importance-left p,
    .importance-right p {
        background: transparent;
        padding: 0;
        border-left: none;
        margin-bottom: 20px;
        font-size: 1.8rem;
    }

    .importance-left p strong,
    .importance-right p strong {
        color: #1ca4e2;
        font-size: 1.9rem;
        display: block;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .importance {
        padding: 30px 15px;
    }

    .importance-title {
        font-size: 1.5rem;
        padding: 15px;
        margin-bottom: 20px;
    }

    .importance-container {
        padding: 15px;
    }

    .importance-left p,
    .importance-right p {
        font-size: 1.6rem;
    }
}

/* Services Cleaning Mobile */
@media (max-width: 992px) {
    .services-cleaning {
        padding: 0;
    }

    .section-title {
        font-size: 1.8rem;
        padding: 30px 20px;
        margin-bottom: 0;
    }

    .service-block {
        flex-direction: column !important;
        padding: 20px;
        gap: 20px;
        margin: 0 0 30px 0;
    }

    .service-block.right-image {
        flex-direction: column;
    }

    .service-block.left-image {
        flex-direction: column;
    }

    .service-text {
        flex: 1 1 100%;
        width: 100%;
    }

    .service-text h3 {
        font-size: 1.3rem;
        color: #1ca4e2;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .service-text h3:first-child {
        margin-top: 0;
    }

    .service-text p {
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .service-image {
        flex: 1 1 100%;
        width: 100%;
    }

    .service-image img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        padding: 20px 15px;
    }

    .service-block {
        padding: 15px;
    }

    .service-text h3 {
        font-size: 1.1rem;
    }

    .service-text p {
        font-size: 1.6rem;
    }

    .service-image img {
        height: 200px;
    }
}

/* How It Works Mobile */
@media (max-width: 992px) {
    .how-it-works {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .steps-container {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }

    .step {
        padding: 20px;
        min-width: auto;
        width: 100%;
    }

    .step-icon img {
        width: 50px;
        height: 50px;
    }

    .step h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .step p {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 30px 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .step {
        padding: 15px;
    }

    .step-icon img {
        width: 45px;
        height: 45px;
    }

    .step h3 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 1.6rem;
    }
}

/* Contact Section Mobile */
@media (max-width: 992px) {
    .sofa-contact-section {
        padding: 40px 20px;
        margin: 40px auto;
        max-width: 100%;
    }

    .sofa-contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .sofa-contact-section p {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .sofa-btn {
        font-size: 1rem;
        padding: 12px 25px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .sofa-contact-section {
        padding: 30px 15px;
        margin: 30px auto;
    }

    .sofa-contact-section h2 {
        font-size: 1.5rem;
    }

    .sofa-contact-section p {
        font-size: 1.6rem;
    }

    .sofa-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}