/* Color Variables */
:root {
    --primary-white: #ffffff;
    --secondary-white: #f8fafc;
    /* site-wide theme aligned with services page */
    --primary-blue: #dc3545; /* main accent (red) */
    --light-blue: #f8f9fa; /* page background light */
    --dark-blue: #c82333; /* darker red */
    --accent-blue: #fd7e14; /* secondary accent (orange) */
    /* extended palette for multi-color, cohesive theme */
    --success-green: #28a745;
    --info-teal: #17a2b8;
    --muted-purple: #6f42c1;
    --muted-pink: #e83e8c;
    --muted-pink-bg: #fff5f5; /* soft card background used on services */
    --muted-pink-border: #ffe0e0;
    /* glassmorphism tuned colors */
    --glass-bg: rgba(255,255,255,0.06);
    --glass-bg-strong: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.12);
    --glass-shadow: 0 8px 24px rgba(2,6,23,0.12);
    --glass-blur: 8px;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    min-height: 100vh;
    position: relative;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 2;
    z-index: -10;
    filter: brightness(1.1) contrast(0.95);

}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Main content wrapper for proper layering */
body > * {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(129, 196, 232, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-img {
    height: 66px;
    margin: -2px;
    width: auto;
    filter: none;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.45rem 0.9rem;
    opacity: 0.85;
}

nav a:hover,
nav a.active {
    color: white;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Social Media Links Styling - Mobile & Tablet Optimized */
.social-links {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0; /* Prevent shrinking in flex container */
    order: 2; /* Ensure proper order in mobile layout */
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    color: white;
    flex-shrink: 0; /* Prevent individual links from shrinking */
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Individual social media colors */
.social-link.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-link.whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
}

.social-link.instagram {
    background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #833AB4, #C13584, #E4405F);
}

.social-link.facebook {
    background: linear-gradient(45deg, #1877F2, #42A5F5);
}

.social-link.facebook:hover {
    background: linear-gradient(45deg, #42A5F5, #1877F2);
}

/* Desktop styles - default */
@media (min-width: 1024px) {
    .social-links {
        margin-right: 20px;
        gap: 12px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1023px) {
    .social-links {
        margin-right: 15px;
        gap: 10px;
    }
    
    .social-link {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }
    
    .social-links {
        display: flex !important; /* Force display on mobile */
        margin-right: 10px;
        gap: 8px;
        order: 3; /* Position after menu toggle and logo */
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    /* Adjust header layout for mobile */
    .menu-toggle {
        order: 1;
        margin-right: 0.5rem;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }
    
    .book-call-btn {
        display: none;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .social-links {
        display: flex !important; /* Ensure visibility on small screens */
        margin-right: 8px;
        gap: 6px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .book-call-btn {
        display: none;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .header-content {
        padding: 0 0.75rem;
    }
    
    .social-links {
        margin-right: 6px;
        gap: 5px;
    }
    
    .social-link {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .book-call-btn {
        display: none;
    }
}

/* Override any existing display: none rules for social links */
.social-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure social links are always above other content */
.social-link {
    z-index: 10;
    position: relative;
}

.book-call-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.book-call-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.book-call-btn i {
    font-size: 1rem;
}

/* Mobile and Tablet Styles */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
        background: rgba(129, 196, 232, 0.95);
    }
    
    .header-content {
        padding: 0 1rem;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 1rem;
    }
    
    .menu-toggle {
        order: 1;
        margin-right: 0.5rem;
    }
    
    .logo {
        order: 2;
        text-align: center;
    }
    
    .logo-img {
        height: 50px;
        margin: 0;
    }
    
    .book-call-btn {
        display: none;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        background: var(--primary-blue);
        padding: 88px 1rem 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        z-index: 995;
    }
    
    nav.active {
        transform: translateY(0%);
    }
    
    nav a {
        color: white;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
        opacity: 1;
    }
    
    nav a:hover,
    nav a.active {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1000;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 2px;
        background-color: #000;
        transition: var(--transition);
    }
    
    .menu-toggle.active span {
        background-color: white;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .menu-toggle.active {
        position: relative;
        z-index: 1000;
    }
}

/* Main Content */
main {
    padding-top: 140px;
    background: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-height: calc(75vh);
    overflow: hidden;
}

.services-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    overflow: hidden;
}

.services-carousel {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    transition: transform 0.3s ease-out;
    width: 100%;
    flex-wrap: nowrap;
}

.service-item {
    position: relative;
    flex: 0 0 auto;
    width: calc((100% - 2rem) / 3); /* Default for mobile: 3 items */
    aspect-ratio: 0.9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .service-item {
        width: calc((100% - 3rem) / 4); /* Desktop: 4 items */
    }
}

.service-item .service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background: var(--primary-blue);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: var(--primary-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 1 !important;
}

.carousel-button:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 30px;
}

.carousel-button.next {
    right: 30px;
}

.carousel-button:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    /* for card-style layout keep content readable with dark text */
    background: transparent;
    color: var(--text-dark);
    min-height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 0.1rem;
}

.price-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.book-now {
    display: inline-block;
    color: var(--primary-white);
    text-decoration: none;
    background-color: var(--primary-blue);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-item[data-service="home"] .book-now {
    background-color: var(--primary-blue);
}
.service-item[data-service="office"] .book-now {
    background-color: var(--accent-blue);
}
.service-item[data-service="sofa"] .book-now {
    background-color: var(--muted-purple);
}
.service-item[data-service="carpet"] .book-now {
    background-color: var(--muted-pink);
}
.service-item[data-service="pest"] .book-now {
    background-color: var(--accent-blue);
}
.service-item[data-service="ac"] .book-now {
    background-color: var(--info-teal);
}
.service-item[data-service="kitchen"] .book-now {
    background-color: var(--success-green);
}
.service-item[data-service="bathroom"] .book-now {
    background-color: var(--text-medium);
}
.service-item[data-service="miniServices"] .book-now {
    background-color: var(--accent-blue);
}

.book-now:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    background-color: rgba(248, 250, 252, 0.85);
    margin: 2rem auto;
    max-width: 1400px;
    border-radius: 16px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: var(--primary-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.testimonial-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 1.5rem;
    background: var(--primary-white);
    position: relative;
}

.testimonial-content h3 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.testimonial-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-style: italic;
}

/* Testimonials carousel styles (new) */
.testimonials .section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}
.testimonials-carousel-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
    overflow: hidden;
}
.testimonials-carousel {
    display: flex;
    gap: 1rem;
    width: 100%;
    transition: transform 0.35s ease-out;
}
.testimonial-card {
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: var(--glass-shadow);
    /* padding: 1rem; */
    /* two cards visible on desktop */
    flex: 0 0 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
    min-height: 140px; /* increased height */
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.testimonial-photo { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid var(--muted-pink-border); }
.testimonial-body h3 { margin: 0; font-size: 1rem; }
.testimonial-body p { margin: 0.5rem 0 0 0; color: var(--text-medium); }
.testimonial-body .stars { color: #f59e0b; margin-top: 0.25rem; }

/* Arrows positioned outside scroll area */
.testimonials-carousel-container .carousel-button { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; }
.testimonials-carousel-container .carousel-button.prev { left: 8px; }
.testimonials-carousel-container .carousel-button.next { right: 8px; }

.testimonial-card {
    background: var(--primary-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    /* Make cards flexible: two per view on desktop */
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
    min-height: 140px; /* increased height */
}

.testimonial-photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
}

.testimonial-body h3 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-body p {
    margin: 0.5rem 0 0 0;
    color: var(--text-medium);
}

.testimonial-body .stars {
    color: #f59e0b;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .testimonial-card { 
        flex: 0 0 calc(50% - 0.5rem); 
        max-width: calc(50% - 0.5rem);
    }
    .testimonials-carousel { 
        padding: 0.5rem 0; 
    }
}
    
    .service-options {
        padding: 1rem;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-wrap: nowrap !important;
    }
    
    .service-option {
        min-width: 10.8rem;
        flex: 0 0 10.8rem;
        scroll-snap-align: start;
    }

    /* On mobile keep two cards visible and allow horizontal sliding */
    .testimonial-card {
        min-width: calc(50% - 0.5rem);
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
    .testimonials-carousel {
        justify-content: flex-start;
    }
    .testimonials .section-title {
        font-size: 1.25rem;
    }


/* Position arrows for testimonials specifically to ensure visibility */
.testimonials-carousel-container .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
}
.testimonials-carousel-container .carousel-button.prev { left: 8px; }
.testimonials-carousel-container .carousel-button.next { right: 8px; }

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .services-main {
        /* padding-top: 100px; */
        background: transparent;
    }

    .services-header {
        padding: 1rem;
    }

    .services-header h1 {
        font-size: 1.5rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}



/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Layout */
@media screen and (min-width: 800px) {
    .menu-toggle {
        display: none;
    }

    nav {
        display: flex;
        gap: 2rem;
    }
}

@media screen and (max-width: 799px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
        background: linear-gradient(180deg, rgba(220,53,69,0.98), rgba(200,35,51,0.95));
        padding: 88px 1rem 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        z-index: 995;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    nav.active {
        display: flex;
        transform: translateY(0%);
    }

    .social-links {
        display: none;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    main {
        padding-top: 100px;
    }
}

/* improve menu toggle visuals on dark header */
/* .menu-toggle span {
    background-color: transparent;
} */

/* when menu is open lock body scroll */
body.menu-open {
    overflow: hidden;
}

/* mobile nav links styling (larger, tappable) */
@media (max-width: 768px) {
    nav a {
        font-size: 1.05rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        text-align: center;
        border-radius: 6px;
    }
}

/* Footer styles */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border-top: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.25rem 1rem 1rem;
    border-top: 1px solid var(--glass-border);
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}
.site-footer .footer-col h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.site-footer .footer-col p,
.site-footer .footer-col a,
.site-footer .footer-col li {
    color: var(--text-medium);
    font-size: 0.95rem;
}
.site-footer .footer-col ul { list-style: none; padding: 0; }
.site-footer .footer-col ul li { margin: 0.35rem 0; }
.site-footer .social-links-footer a { color: var(--text-dark); margin-right: 0.5rem; display:inline-block; }
.site-footer .footer-newsletter { margin-top: 0.75rem; display:flex; gap:0.5rem; }
.site-footer .footer-newsletter input { flex:1; padding:0.45rem 0.6rem; border-radius:4px; border:none; }
.site-footer .footer-newsletter button { 
    padding: 0.45rem 1rem;
    background: var(--primary-blue);
    border: none;
    color: var(--primary-white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-footer .footer-newsletter button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}
.site-footer .footer-bottom { margin-top:1rem; text-align:center; padding-top:0.75rem; border-top:1px solid rgba(255,255,255,0.08); font-size:0.9rem; }

/* Footer Responsive Styles - Unified */
@media screen and (min-width: 800px) {
    .site-footer .footer-inner { 
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 799px) {
    .site-footer {
        padding: 1.25rem 1rem 0.75rem;
    }
    
    .site-footer .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 0.5rem;
        align-items: start;
    }
    
    .site-footer .footer-col {
        text-align: left;
        padding: 0.4rem 0;
    }
    
    .site-footer .footer-col.about p {
        margin-top: 0.4rem;
        font-size: 0.95rem;
    }
    
    .site-footer .footer-logo img {
        height: 56px;
        margin: 0 auto 0.25rem auto;
    }
    
    .site-footer .footer-newsletter {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .site-footer .footer-newsletter input { 
        width: 100%; 
    }
    
    .site-footer .footer-bottom { 
        font-size: 0.9rem; 
        padding-top: 0.5rem; 
    }
}

@media screen and (max-width: 425px) {
    .site-footer {
        padding: 1rem 0.75rem 0.5rem;
    }
    
    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.6rem;
    }
    
    .site-footer .footer-col {
        text-align: center;
        padding: 0.35rem 0;
        margin-bottom: 0.5rem;
    }
    
    .site-footer .footer-logo img {
        height: 48px;
    }
    
    .site-footer .footer-col.links ul {
        align-items: center;
    }
    
    .site-footer .footer-newsletter {
        justify-content: center;
    }
}

/* Footer Social Media Links - All Screen Sizes */

/* Add this to your existing footer-col contact section or create a new footer-col */
.footer-social {
    margin-top: 1.5rem;
}

.footer-social h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.social-links-footer {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.social-links-footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-links-footer .social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Social media specific colors for footer */
.social-links-footer .social-link.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-links-footer .social-link.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-links-footer .social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
}

.social-links-footer .social-link.instagram:hover {
    background: linear-gradient(135deg, #833AB4, #C13584, #E4405F);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.4);
}

.social-links-footer .social-link.facebook {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
}

.social-links-footer .social-link.facebook:hover {
    background: linear-gradient(135deg, #42A5F5, #1877F2);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* Ripple effect on click */
.social-links-footer .social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.social-links-footer .social-link:active::before {
    width: 60px;
    height: 60px;
}

/* Desktop styles (1024px+) */
@media (min-width: 1024px) {
    .footer-social {
        margin-top: 1.5rem;
    }
    
    .social-links-footer {
        gap: 15px;
        justify-content: flex-start;
    }
    
    .social-links-footer .social-link {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }
}

/* Tablet styles (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .footer-social {
        margin-top: 1.25rem;
    }
    
    .social-links-footer {
        gap: 12px;
        justify-content: flex-start;
    }
    
    .social-links-footer .social-link {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Mobile styles (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .footer-social {
        margin-top: 1rem;
        text-align: center;
    }
    
    .social-links-footer {
        gap: 12px;
        justify-content: center;
    }
    
    .social-links-footer .social-link {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* Small mobile styles (≤480px) */
@media (max-width: 480px) {
    .footer-social {
        margin-top: 1rem;
        text-align: center;
    }
    
    .social-links-footer {
        gap: 10px;
        justify-content: center;
    }
    
    .social-links-footer .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* Extra small mobile (≤375px) */
@media (max-width: 375px) {
    .footer-social {
        margin-top: 0.75rem;
    }
    
    .social-links-footer {
        gap: 8px;
    }
    
    .social-links-footer .social-link {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

/* Update existing footer responsive styles to accommodate social links */
@media screen and (max-width: 799px) {
    .site-footer .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Ensure contact section spans full width when social is added */
    .footer-col.contact {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col.contact {
        grid-column: 1;
    }
    
    .footer-social {
        margin-top: 1rem;
    }
}

/* Force visibility and prevent hiding */
.social-links-footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.social-links-footer .social-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/* Services Page - App Style */
.services-main {
    padding-top: 120px;
    min-height: 100vh;
    background: transparent;
    backdrop-filter: blur(5px);
}

/* Services Header Section */
.services-header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 1rem;
}

.services-header h1 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.services-header p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 2fr);
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}
.services-grid > *:nth-child(-n+6){
    grid-column: span 2;
}
/* Adjust the grid for 8 items (2 in last row) */
.services-grid > *:nth-last-child(-n+2) {
    grid-column: span 3;
}

.service-icon {
    width: var(--icon-size, 50px);
    height: var(--icon-size, 50px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto 0.75rem;
    transition: var(--transition);
}

.service-item,
.service-item-new {
    background: var(--primary-white);
    border-radius: var(--card-radius, 12px);
    padding: var(--card-padding, 1.5rem);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}


@media (max-width: 480px) {
   
.service-item-new {
    height: 150px;
}

.service-item-new .service-icon {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.service-item-new span {
    font-size: 0.8rem;
    padding: 0.5rem;
}

.service-item-new .service-img img {
    height: 100%;
}

.service-icon i {
    font-size: 1rem;
}

}

.service-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-item-new .service-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.service-item-new .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item-new:hover .service-img img {
    transform: scale(1.1);
}

.service-item-new .service-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    margin: 0;
    opacity: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Service Icon Colors - Consistent with website theme */
.service-item-new[data-service="home"] .service-icon { background: var(--primary-blue); }
.service-item-new[data-service="office"] .service-icon { background: var(--accent-blue); }
.service-item-new[data-service="sofa"] .service-icon { background: var(--muted-purple); }
.service-item-new[data-service="carpet"] .service-icon { background: var(--muted-pink); }
.service-item-new[data-service="pest"] .service-icon { background: var(--accent-blue); }
.service-item-new[data-service="ac"] .service-icon { background: var(--info-teal); }
.service-item-new[data-service="kitchen"] .service-icon { background: var(--success-green); }
.service-item-new[data-service="bathroom"] .service-icon { background: var(--text-medium); }

.service-item-new span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.service-item-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
    background: rgba(255, 240, 240, 0.95);
    border-color: rgba(220, 53, 69, 0.2);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

/* Utility for circular colored icons used across site */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.service-item-new:hover .service-icon {
    transform: scale(1.1);
    background: #c82333;
}

.service-item-new .service-icon i {
    font-size: 1.2rem;
    color: white;
}

/* Ensure icon and text remain visible on hover */
.service-item-new:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.service-item-new span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.3;
}


.service-category {
    background: var(--primary-white);
    border-radius: 12px;
    margin-bottom: 3rem;
    overflow: hidden;
    padding: 1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-category h2 {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    margin: 0;
    padding: 1.25rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-category[data-service="home"] h2 {
    background: var(--primary-blue);
}
.service-category[data-service="office"] h2 {
    background: var(--accent-blue);
}
.service-category[data-service="sofa"] h2 {
    background: var(--muted-purple);
}
.service-category[data-service="carpet"] h2 {
    background: var(--muted-pink);
}
.service-category[data-service="pest"] h2 {
    background: var(--accent-blue);
}
.service-category[data-service="ac"] h2 {
    background: var(--info-teal);
}
.service-category[data-service="kitchen"] h2 {
    background: var(--success-green);
}
.service-category[data-service="bathroom"] h2 {
    background: var(--text-medium);
}
.service-category[data-service="miniServices"] h2 {
    background: var(--accent-blue);
}
.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
}

.service-option {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
    background: rgba(255, 240, 240, 0.95);
    border-color: rgba(220, 53, 69, 0.2);
}

.service-option h4 {
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.option-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.option-price {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.book-option-btn {
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    margin-top: 1rem;
}

.service-category[data-service="home"] .book-option-btn {
    background: var(--primary-blue);
}
.service-category[data-service="office"] .book-option-btn {
    background: var(--accent-blue);
}
.service-category[data-service="sofa"] .book-option-btn {
    background: var(--muted-purple);
}
.service-category[data-service="carpet"] .book-option-btn {
    background: var(--muted-pink);
}
.service-category[data-service="pest"] .book-option-btn {
    background: var(--accent-blue);
}
.service-category[data-service="ac"] .book-option-btn {
    background: var(--info-teal);
}
.service-category[data-service="kitchen"] .book-option-btn {
    background: var(--success-green);
}
.service-category[data-service="bathroom"] .book-option-btn {
    background: var(--text-medium);
}

.book-option-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.book-option-btn:active {
    transform: translateY(0);
}

/* Desktop Adjustments */
@media (min-width: 769px) {
    /* Hide mobile elements */
    .app-header,
    .location-section,
    .category-tags,
    .hero-banner,
    .mobile-services {
        display: none;
    }

    /* Show desktop elements */
    .desktop-services {
        display: block;
    }

    .services-main {
        max-width: 1200px;
        margin: 0 auto;
        background: transparent;
        min-height: 100vh;
        padding: 120px 2rem 2rem;
    }

    .desktop-services {
        padding: 1rem;
    }

    .service-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        padding: 1rem;
    }

    .service-option {
        width:calc(100% - 1.5rem)/3;
        flex: 0 0 auto;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .service-option h4 {
        font-size: 1.1rem;
    }

    .option-description {
        font-size: 0.9rem;
    }

    .option-price {
        font-size: 1.3rem;
    }

    .book-option-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
        margin-top: 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .service-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .service-category h2 {
        font-size: 1.6rem;
        padding: 2rem 2.5rem;
    }
}



@media (max-width: 486px) {
    .service-category {
        margin-bottom: 1.5rem;
        padding: 0.75rem;
        border-radius: 8px;
    }

    .service-category h2 {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .service-category h2 i {
        font-size: 1rem;
    }

    .service-options {
        width: calc(100% - 2rem)/6;
        flex: 0 0 auto;
        padding: 0.5rem;
        /* display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem; */
        max-height: 170px;
        overflow-y: auto;
    }

    .service-option {
        padding: 0.5rem;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(0, 0, 0, 0.1);
        text-align: center;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-option h4 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        color: var(--text-dark);
    }

    .service-option .option-description {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        opacity: 0.8;
        display: -webkit-box;
        /* -webkit-line-clamp: 2; */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-option .option-price {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 0.25rem;
    }

    .service-option .book-option-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 4px;
        background: var(--primary-color);
        color: white;
        border: none;
        cursor: pointer;
        /* transition: background 0.3s ease; */
    }

    .service-option .book-option-btn:hover {
        background: var(--secondary-color);
    }
}


/* Tablet - Show mobile layout but larger */
@media (min-width: 481px) and (max-width: 768px) {
    .services-main {
        max-width: 600px;
        margin: 2rem;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        background: white;
    }

    .service-item-new {
        height: 180px;
    }

    .service-item-new .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-item-new span {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .service-icon i {
        font-size: 1.2rem;
    }
}

/* Mobile Fine-tuning */
@media (max-width: 480px) {
    .services-main {
        padding-top: 100px;
    }

    .banner-content {
        padding: 1.25rem;
    }

    .banner-text h2 {
        font-size: 1.2rem;
    }

    .banner-image {
        width: 100px;
        height: 100px;
    }


    .service-item-new {
        padding: 1.25rem 0.5rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
    }

    .service-icon i {
        font-size: 1.1rem;
    }

    .service-item-new span {
        font-size: 0.75rem;
    }
}

/* Interactive States */
.service-item-new:active {
    transform: translateY(-1px);
}

.tag:active {
    transform: scale(0.98);
}

.know-more-btn:active {
    transform: scale(0.98);
}

/* Focus States for Accessibility */
.service-item-new:focus,
.tag:focus,
.know-more-btn:focus,
.location-item:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Additional Service Icons (you can customize these) */
/* Service Icon Colors - Unified */
[data-service="home"] .service-icon { background: var(--primary-blue); }
[data-service="office"] .service-icon { background: var(--accent-blue); }
[data-service="car"] .service-icon { background: var(--success-green); }
[data-service="sofa"] .service-icon { background: var(--muted-purple); }
[data-service="carpet"] .service-icon { background: var(--muted-pink); }
[data-service="pest"] .service-icon { background: var(--accent-blue); }
[data-service="ac"] .service-icon { background: var(--info-teal); }
[data-service="kitchen"] .service-icon { background: var(--success-green); }
[data-service="bathroom"] .service-icon { background: var(--text-medium); }
[data-service="miniServices"] .service-icon { background: var(--accent-blue); }

/* Updated Mobile Service Card Styles */

/* Mobile devices (less than 768px) */
@media screen and (max-width: 768px) {
    main {
        padding-top: 80px;
    }

    .services-carousel-container {
        padding: 0.5rem;
    }

    .services-carousel {
        gap: 0.5rem;
    }
}

    .service-item img {
        width: 100%;
        height: 65%;
        object-fit: cover;
        display: block;
    }

    .service-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px;
        background: white;
        text-align: left;
        height: 35%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .service-content h2 {
        font-size: 1rem;
        margin: 0;
        color: var(--text-dark);
        font-weight: 600;
        line-height: 1.2;
    }

    .price-label {
        font-size: 0.7rem;
        color: var(--text-medium);
        margin: 0;
        line-height: 1;
    }

    .price {
        font-size: 0.95rem;
        font-weight: 600;
        margin: 0;
        color: var(--text-dark);
        line-height: 1.2;
    }

    .book-now {
        display: block;
        width: 100%;
        padding: 6px 0;
        color: white;
        text-align: center;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.8rem;
        margin-top: 4px;
    }

    .carousel-button {
        display: none;
    }

    .service-icon {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .service-icon i {
        font-size: 0.9rem;
    }


/* Additional mobile refinements */
/* Mobile Styles */
@media screen and (max-width: 768px) {
    .services-carousel-container {
        padding: 4px;
        margin: 1rem;
        margin-left: 0.55rem;
    }

    .services-carousel {
        gap: 0.8rem;
    }

    .service-item {
        width: calc((100%) / 2 ); /* Changed to show 2 items with gap */
        flex: 0 0 auto;
        height: 18rem;
        }

    .service-content {
        padding: 0.75rem;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
        background: var(--primary-blue);
        opacity: 1;
    }

    .carousel-button.prev {
        left: 10px;
    }

    .carousel-button.next {
        right: 10px;
    }
}

@media screen and (max-width: 486px){
    .service-item {
        width: calc((100% - 2rem) / 2); /* Show 2 items with gap */
        flex: 0 0 auto;
        height: 21rem;
    }
}


/* Ensure no horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    margin: 2rem auto;
    max-width: 1400px;
    border-radius: 16px;
}

.gallery-section .section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--primary-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content .service-icon {
    position: absolute;
    top: -25px;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gallery-content h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.gallery-cta {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

[data-service="home"] .gallery-cta, 
[data-service="home"] .service-icon { background: var(--primary-blue); }
[data-service="sofa"] .gallery-cta,
[data-service="sofa"] .service-icon { background: var(--muted-purple); }
[data-service="carpet"] .gallery-cta,
[data-service="carpet"] .service-icon { background: var(--muted-pink); }
[data-service="pest"] .gallery-cta,
[data-service="pest"] .service-icon { background: var(--accent-blue); }
[data-service="ac"] .gallery-cta,
[data-service="ac"] .service-icon { background: var(--info-teal); }
[data-service="kitchen"] .gallery-cta,
[data-service="kitchen"] .service-icon { background: var(--success-green); }
[data-service="bathroom"] .gallery-cta,
[data-service="bathroom"] .service-icon { background: var(--text-medium); }
[data-service="office"] .gallery-cta,
[data-service="office"] .service-icon { background: var(--accent-blue); }
[data-service="miniServices"] .gallery-cta,
[data-service="miniServices"] .service-icon { background: var(--accent-blue); }

.gallery-cta:hover {
    filter: brightness(1.1);
}

/* Modal/Popup Styles */
.popup {
    position: fixed;
    padding: 2rem;
    max-width: 1200px;
    width: 90%;
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    transition: opacity .5s, visibility 0s linear .5s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    height: 90vh;
    overflow: hidden;
}

.popup:target {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.close-popup {
    background: rgba(0,0,0,.8);
    backdrop-filter: blur(5px);
    cursor: default;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity .5s, visibility 0s linear .5s;
}

.popup:target + .close-popup {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Custom scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: 8px; /* Prevent layout shift when scrollbar disappears */
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}

.close-modal:hover {
    background: var(--primary-blue);
    color: white;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 1rem;
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.modal-details {
    padding-right: 1rem;
}

.modal-details h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.modal-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.modal-description h3 {
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.modal-description h4 {
    color: var(--text-dark);
    margin: 1.2rem 0 0.8rem;
    font-size: 1.2rem;
}

.modal-description h5 {
    color: var(--text-dark);
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.modal-description ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-description li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.modal-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.included-section {
    background: rgba(40, 167, 69, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.excluded-section {
    background: rgba(220, 53, 69, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.book-now-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.book-now-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Modal Responsive Styles */
@media (max-width: 968px) {
    .modal-content {
        width: 95%;
        margin: 1rem auto;
        padding: 1.5rem;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .modal-image {
        max-height: 300px;
    }

    .modal-image img {
        height: 100%;
        object-fit: cover;
    }

    .modal-details {
        padding-right: 0;
    }

    .modal-description {
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 0.5rem auto;
        padding: 1rem;
    }

    .close-modal {
        top: 0.5rem;
        right: 1rem;
    }

    .modal-details h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .modal-description {
        font-size: 0.9rem;
    }

    .included-section,
    .excluded-section {
        padding: 1rem;
    }
}

/* Responsive styles for gallery */
@media (max-width: 968px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-content {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6));
        padding: 1rem;
    }

    .gallery-content h3 {
        font-size: 1rem;
        margin-top: 0.5rem;
    }

    .gallery-content p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .gallery-cta {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .gallery-content .service-icon {
        width: 40px;
        height: 40px;
        top: -20px;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-section {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .gallery-section .section-title {
        font-size: 1.4rem;
    }
}



.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
/* Contact Page Styles */
.contact-main {
    padding-top: 120px;
    min-height: 100vh;
    background: transparent;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem;
    display: grid;
    grid-template-areas: 
        "info form";
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    grid-area: info;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info h1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.method-details p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-style: normal;
}

.contact-form-section {
    grid-area: form;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.google-form-container {
    width: 100%;
    height: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.google-form-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.map-section {
    width: 100%;
    height: 450px;
    overflow: hidden;
    grid-area: map;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .contact-main {
        padding-top: 80px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "form"
            "info";
        padding: 1rem;
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form-section {
        padding: 1rem;
    }

    .google-form-container {
        height: 600px;
    }

    .contact-info h1 {
        font-size: 1.5rem;
    }

    .map-section {
        height: 300px;
        margin-top: 1rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .contact-method {
        padding: 1.25rem;
        gap: 1rem;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .services-main {
        padding-top: 100px;
    }

    .services-header {
        padding: 1rem;
    }

    .services-header h1 {
        font-size: 1.5rem;
    }
    
    .services-grid {
        padding: 2rem  3rem;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        column-gap: 2rem;
    }

    /* Reset spans for smaller screens */
    .services-grid > * {
        grid-column: auto !important;
    }

   

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}