/* Kwik Klin Smart Services - Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0EA5E9;
    /* Sky Blue */
    --primary-dark: #0284C7;
    --secondary: #0F172A;
    /* Slate 900 */
    --accent: #F43F5E;
    /* Rose for CTAs/Alerts */
    --light: #F8FAFC;
    --dark: #1E293B;
    --gray: #64748B;
    --white: #ffffff;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --radius: 0.75rem;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    /* Pill shape */
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Header --- */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

/* Page Header */
.page-header-section {
    background: var(--light);
    padding: 2rem 0;
    text-align: center;
}

.page-header-section h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.page-header-section p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Sticky Filters */
.sticky-filter-section {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 66px;
    z-index: 999;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.filter-inner-grid {
    display: grid;
    gap: 1.25rem;
    width: 100%;
}


.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.cart-icon span:not(#cart-count) {
    display: none;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
    cursor: pointer;
}

#cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    /* Hidden by JS initially */
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary);
    z-index: 1001;
}

/* --- Hero (Auto Slider) --- */
.hero {
    position: relative;
    height: 80vh;
    /* Premium large hero */
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
    color: white;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    /* Overlay removed */
}

.slide.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 400px;
        padding: 4rem 1rem;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
        padding: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    /* Responsive font size */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray);
    max-width: 600px;
}

/* --- Premium Services Scroll Layout --- */
.services-container-wrapper {
    position: relative;
    padding: 1rem 0;
}

.services-scroller {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0.5rem 3rem 0.5rem;
    /* Bottom padding for hover ease */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -webkit-overflow-scrolling: touch;
}

.services-scroller::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}


/* --- Services Grid (Page Layout) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

/* --- Service Card Base --- */
.service-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Specific for Home Scroller */
.services-scroller .service-card {
    flex: 0 0 300px;
    /* Fixed width only for carousel */
    scroll-snap-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(14, 165, 233, 0.15), 0 10px 10px -5px rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
}

.service-img-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.services-grid .service-img-wrapper {
    height: 200px;
    /* Slightly smaller for grid */
}

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

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

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.service-info {
    padding: 1.5rem;
    background: white;
    position: relative;
    z-index: 5;
}

.service-cat-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.add-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: var(--secondary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Home Page Carousel Button Override */
.services-scroller .add-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    font-size: 1.25rem;
}

.services-scroller .add-btn:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Quantity Controls */
.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: white;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.25rem;
    font-weight: 600;
    color: var(--secondary);
    outline: none;
    /* Hide arrows */
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Why Choose Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    height: 60px;
    width: 60px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

/* --- Footer --- */
.footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 2rem;
    color: #94a3b8;
}

/* --- Service List Enhancements --- */
.service-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-list-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    position: relative;
}

.service-list-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.list-card-img-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

.list-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card-info {
    flex: 1;
}

.list-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.list-card-price {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 800;
}

.list-card-action {
    flex-shrink: 0;
}

/* Add Button Styling */
.add-btn-orange {
    background: #FFEDD5;
    color: #EA580C;
    border: 1px solid #FED7AA;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s;
}

.add-btn-orange:hover {
    background: #EA580C;
    color: white;
}

/* Qty Selector Styling */
.qty-selector {
    display: flex;
    align-items: center;
    background: #EA580C;
    color: white;
    border-radius: 0.75rem;
    overflow: hidden;
}

.qty-selector button {
    background: transparent;
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-weight: bold;
}

.qty-selector button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.qty-val {
    padding: 0 0.5rem;
    font-weight: 800;
    min-width: 25px;
    text-align: center;
}

/* Filter Improvements */
.filter-pill {
    white-space: nowrap;
    padding: 0.6rem 1.25rem;
    border-radius: 99px;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--gray);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.filter-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.4);
}

.filter-chip {
    padding: 0.4rem 1rem;
    border-radius: 99px;
    background: #f1f5f9;
    color: var(--gray);
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-chip.active {
    background: var(--secondary);
    color: white;
}

.search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 99px;
    border: 1px solid #e2e8f0;
    outline: none;
    transition: all 0.2s;
}

.search-container input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .service-list-container {
        grid-template-columns: 1fr;
    }

    .service-list-card {
        padding: 0.75rem;
    }

    .list-card-img-wrapper {
        width: 60px;
        height: 60px;
    }

    .list-card-title {
        font-size: 1rem;
    }
}

/* --- Google Reviews Section --- */
.testimonials-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.google-rating-badge {
    background: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    font-weight: 600;
    color: #374151;
}

.google-logo {
    height: 24px;
}

.stars {
    color: #FBBF24;
}

.reviews-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 3rem 0.5rem;
    /* Bottom padding for shadow/scroll */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.reviews-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.review-card {
    flex: 0 0 320px;
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    scroll-snap-align: center;
    position: relative;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.reviewer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-initial {
    width: 45px;
    height: 45px;
    background: var(--primary);
    /* Using existing variable */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: #1f2937;
}

.verified-badge {
    font-size: 0.75rem;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-text {
    color: #4b5563;
    line-height: 1.6;
    font-style: italic;
    font-size: 0.95rem;
}

.review-date {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* =========================================
   Price Estimator UI (New Services Design)
   ========================================= */

/* --- Category Slider --- */
.category-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center them if few, or flex-start if scrolling */
    gap: 1.5rem;
    /* Space between icons */
    overflow-x: auto;
    padding: 1rem 0 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex-wrap: wrap;
    /* Default desktop */
}

@media (max-width: 768px) {
    .category-slider {
        flex-wrap: nowrap;
        /* Force scroll on mobile */
        justify-content: flex-start;
        padding-left: 1rem;
        /* Start padding */
        padding-right: 1rem;
    }
}

/* Hide scrollbar */
.category-slider::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    gap: 0.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    min-width: 80px;
    /* Touch target */
}

.cat-item:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.cat-item.active {
    opacity: 1;
}

.cat-icon {
    font-size: 1.8rem;
    /* Icon size */
    color: var(--secondary);
    /* Default Gray/Dark */
    transition: color 0.3s;
}

.cat-item.active .cat-icon {
    color: #F97316;
    /* Orange Active Color */
}

.cat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cat-item.active .cat-label {
    color: #F97316;
    /* Orange Text */
}


/* --- Service List Layout (Horizontal Cards) --- */
.service-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    padding-bottom: 4rem;
    width: 100%;
}

@media (max-width: 900px) {
    .service-list-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    /* Mobile Card Optimization */
    .service-list-card {
        padding: 0.6rem;
        gap: 0.6rem;
        width: 100%;
        border-radius: 0.75rem;
    }

    .service-list-card .list-card-img-wrapper {
        width: 60px;
        height: 60px;
    }

    .service-list-card .list-card-title {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }

    .service-list-card .list-card-price {
        font-size: 0.9rem;
    }

    .service-list-card .add-btn-orange {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.service-list-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    /* Rounded corners */
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.service-list-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Left: Image Circle */
.list-card-img-wrapper {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 50%;
    /* Circle */
    overflow: hidden;
    background: #f8fafc;
}

.list-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Middle: Info */
.list-card-info {
    flex-grow: 1;
    min-width: 0;
    /* Important for shrinking text */
}

.list-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.2rem;
    line-height: 1.25;
}

.list-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: #F97316;
    /* Orange Price */
}

/* Right: Add Button */
.list-card-action {
    flex-shrink: 0;
}

.add-btn-orange {
    background: #F97316;
    /* Orange */
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.add-btn-orange:hover {
    background: #ea580c;
    /* Darker Orange */
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.3);
}

/* Quantity Selector for Service List */
.qty-selector {
    display: flex;
    align-items: center;
    background: #F97316;
    border-radius: 0.5rem;
    color: white;
    padding: 0.25rem;
    gap: 0.5rem;
    min-width: 90px;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2);
}

.qty-selector button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 0.4rem;
    transition: all 0.2s;
}

.qty-selector button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.qty-val {
    font-weight: 800;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
}

@media (max-width: 480px) {
    .service-list-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .list-card-img-wrapper {
        width: 50px;
        height: 50px;
    }

    .list-card-title {
        font-size: 0.9rem;
    }

    .qty-selector {
        min-width: 80px;
        gap: 0.25rem;
        padding: 0.2rem;
    }

    .qty-selector button {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
    }
}

/* --- Video Section --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: black;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: white;
    text-align: center;
}

/* --- Laundry Theme: Bubbles & Waves --- */
.bubbles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    /* Behind content but above bg */
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: rise 8s infinite ease-in;
    opacity: 0;
}

@keyframes rise {
    0% {
        bottom: -50px;
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
        transform: translateX(20px);
    }

    100% {
        bottom: 120%;
        transform: translateX(-20px);
        opacity: 0;
    }
}

.custom-shape-divider-bottom-1 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.custom-shape-divider-bottom-1 svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1 .shape-fill {
    fill: #FFFFFF;
}

/* --- Service List Layout --- */
.service-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding-bottom: 5rem;
}

.service-list-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.list-card-img-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 1.25rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8fafc;
}

.list-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-list-card:hover .list-card-img-wrapper img {
    transform: scale(1.15);
}

.list-card-info {
    flex: 1;
}

.list-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.list-card-price {
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.list-card-action {
    flex-shrink: 0;
}

/* Service Add/Quantity UI */
.add-btn-orange {
    background: #fff7ed;
    color: #ea580c;
    border: 1.5px solid #fdba74;
    padding: 0.6rem 1.25rem;
    border-radius: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-btn-orange:hover {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
}

.qty-selector {
    display: flex;
    align-items: center;
    background: #ea580c;
    color: white;
    border-radius: 0.85rem;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
    padding: 0.2rem;
}

.qty-selector button {
    background: transparent;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 0.5rem;
}

.qty-selector button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.qty-val {
    padding: 0 0.75rem;
    font-weight: 800;
    min-width: 30px;
    text-align: center;
    font-size: 1rem;
}

/* Filter Controls */
.sticky-filter-section {
    position: sticky;
    top: 70px;
    z-index: 99;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.filter-header-flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-container i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

#search-input {
    width: 100%;
    padding: 0.85rem 1.5rem 0.85rem 3.25rem;
    border-radius: 1.25rem;
    border: 1.5px solid #e2e8f0;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 1rem;
    background: #f8fafc;
}

#search-input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.1);
}


@media (min-width: 1024px) {
    #category-filters {
        justify-content: center;
        border-bottom: none;
        padding: 0.5rem 0;
    }
}

#category-filters {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.25rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid #f1f5f9;
}

#category-filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.filter-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.25);
}

.filter-pill i {
    font-size: 1.1rem;
}

.filter-sub-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 1rem 0;
}

.filter-sub-row::-webkit-scrollbar {
    display: none;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.filter-chip {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.filter-chip:hover {
    background: #e2e8f0;
}

.filter-chip.active {
    background: #e0f2fe;
    color: var(--primary-dark);
    border-color: #bae6fd;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile & Tablet Adjustments - Triggering earlier for safety */
@media (max-width: 1100px) {
    .header {
        height: 70px;
        padding: 0.5rem 0;
        z-index: 2500;
        /* Header stays above menu and backdrop */
    }

    .logo img {
        height: 32px;
    }

    .logo span {
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        /* Below header */
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 2rem;
        gap: 0.5rem;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    /* Menu Backdrop overlay */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        backdrop-filter: blur(2px);
    }

    .nav-link {
        font-size: 1.1rem;
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #f1f5f9;
        color: var(--secondary) !important;
        font-weight: 700;
        display: block !important;
    }

    .nav-link.cart-icon {
        border-bottom: none;
        margin-top: 1rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.1rem;
    }

    .nav-link.cart-icon span:not(#cart-count) {
        display: inline-block;
        /* Show "My Cart" label */
    }

    .nav-links .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }

    .hero {
        height: auto;
        min-height: 450px;
        padding: 7rem 1rem 4rem;
        /* More top padding for header */
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .sticky-filter-section {
        top: 70px;
        padding: 0.75rem 0;
    }

    .filter-header-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .search-container {
        max-width: 100% !important;
    }

    #category-filters {
        padding: 0.5rem 0 !important;
        border: none !important;
    }

    .filter-sub-row {
        display: none !important;
        /* Simplified for mobile as requested */
    }

    .section {
        padding: 3rem 0;
    }

    .service-list-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .list-card-img-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.4rem !important;
        border-radius: 1rem;
    }

    .list-card-title {
        font-size: 1rem;
    }

    .add-btn-orange {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 0.6rem;
    }

    .qty-selector {
        border-radius: 0.6rem;
    }

    .qty-selector button {
        width: 28px;
        height: 28px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        height: 64px;
    }

    .logo span {
        display: none;
        /* Only Show Icon on tiny phones */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .page-header-section {
        padding: 2rem 0 1rem;
    }

    .page-header-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .page-header-section p {
        font-size: 0.85rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .service-list-container {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        gap: 0.75rem;
    }

    .filter-pill {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .filter-inner-grid {
        gap: 0.75rem;
    }

    #search-input {
        padding: 0.65rem 1rem 0.65rem 2.5rem;
        font-size: 0.85rem;
    }

    .sticky-filter-section {
        top: 64px;
        padding: 0.5rem 0;
    }

    .filter-sub-row {
        display: none !important;
    }
}