/* ------------------------------------------------
   Global Color System
--------------------------------------------------- */
:root {
    --pz-primary: #0057B8; /* Rich blue */
    --pz-primary-light: #2E8CFF;
    --pz-accent: #00A8E8; /* Fresh cyan */
    --pz-dark: #0A1F44; /* Deep navy */
    --pz-light: #F4F9FF; /* Soft background */
    --pz-grey: #6C7A91;
    --pz-border: rgba(0,0,0,0.08);
}

/* ------------------------------------------------
   Global Base
--------------------------------------------------- */
body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--pz-light);
    color: var(--pz-dark);
    scroll-behavior: smooth;
}

.section {
    padding: 60px 0;
}

/* Smooth transitions */
* {
    transition: all 0.25s ease;
}

/* ------------------------------------------------
   Navbar
--------------------------------------------------- */
.qz-nav {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--pz-border);
    box-shadow: 0px 2px 15px rgba(0,0,0,0.05);
    z-index: 999;
}

.qz-brand {
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--pz-primary);
}

    .qz-brand i {
        font-size: 22px;
    }

.qz-menu .nav-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 18px !important;
    font-size: 16px;
    color: var(--pz-dark);
    font-weight: 500;
}

    .qz-menu .nav-link:hover {
        background: rgba(0,87,184,0.10);
        border-radius: 6px;
        color: var(--pz-primary);
    }

    .qz-menu .nav-link i {
        font-size: 16px;
        opacity: 0.85;
    }

    .qz-menu .nav-link:hover i {
        opacity: 1;
        transform: translateY(-2px);
    }

/* Mobile */
@media(max-width: 991px) {
    .qz-menu .nav-link {
        padding: 10px !important;
    }
}

/* ------------------------------------------------
   Hero Section
--------------------------------------------------- */
.pz-hero {
    background: linear-gradient(140deg, var(--pz-primary), var(--pz-accent));
    color: #fff;
    padding: 4rem 2rem;
    border-radius: 0px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pz-hero-img {
    background-image: url('/images/plumber.jpg'); /* your image path */
    background-size: cover; /* stretches to full area */
    min-height: 300px; /* adjust height as needed */
    width: 300px;
    /*padding: 4rem 2rem;*/
    border-radius: 12px;
    color: #fff;
    /*height: 100vh;*/ /* full viewport height */
    display: flex;
    align-items: center; /* center text vertically */
    justify-content: center; /* center text horizontally */
}

.pz-hero h1 {
    font-size: 48px;
    font-weight: 700;
}

.pz-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.pz-hero .btn-primary {
    background: #fff;
    color: var(--pz-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
}

    .pz-hero .btn-primary:hover {
        background: var(--pz-primary-light);
        color: #fff;
    }

/* ------------------------------------------------
   Buttons
--------------------------------------------------- */
.btn-primary {
    background: var(--pz-primary);
    border-color: var(--pz-primary);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
}

    .btn-primary:hover {
        background: var(--pz-primary-light);
        border-color: var(--pz-primary-light);
    }

.btn-outline-primary {
    border-color: var(--pz-primary);
    color: var(--pz-primary);
    border-radius: 8px;
}

    .btn-outline-primary:hover {
        background: var(--pz-primary);
        color: #fff;
    }

/* ------------------------------------------------
   Service Cards
--------------------------------------------------- */
.card {
    border: 1px solid var(--pz-border);
    border-radius: 14px;
    padding-bottom: 15px;
    background: #fff;
    overflow: hidden;
}

    .card:hover {
        box-shadow: 0px 8px 30px rgba(0,0,0,0.10);
        transform: translateY(-6px);
    }

    .card img {
        border-radius: 12px 12px 0 0;
    }

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--pz-dark);
}

.service-icon {
    font-size: 40px;
    color: var(--pz-primary);
    margin-bottom: 10px;
}

/* ------------------------------------------------
   Booking Form
--------------------------------------------------- */
.booking-box {
    background: #fff;
    padding: 35px;
    border: 1px solid var(--pz-border);
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.06);
}

    .booking-box h3 {
        font-weight: 700;
        margin-bottom: 20px;
    }

.form-control {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid var(--pz-border);
}

    .form-control:focus {
        border-color: var(--pz-primary);
        box-shadow: 0 0 0 0.15rem rgba(0,87,184,0.2);
    }

/* ------------------------------------------------
   Footer
--------------------------------------------------- */
.pz-footer {
    background: var(--pz-dark);
    color: #fff;
    padding: 50px 0;
    margin-top: 40px;
}

    .pz-footer h5 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .pz-footer a {
        color: #AECBFF;
    }

        .pz-footer a:hover {
            color: #fff;
        }

    .pz-footer .social-icons i {
        font-size: 22px;
        margin-right: 15px;
        cursor: pointer;
        opacity: 0.85;
    }

        .pz-footer .social-icons i:hover {
            opacity: 1;
            color: var(--pz-primary-light);
        }

.icon-card {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(13,110,253,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #212529;
    transition: .2s;
}

    .icon-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 22px rgba(13,110,253,.2);
    }

    .icon-card .icon {
        font-size: 34px;
    }

    .icon-card .title {
        font-size: 13px;
        margin-top: 6px;
        font-weight: 600;
        text-align: center;
    }
.services {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}

/* Breadcrumb */
.booking-breadcrumb {
    font-size: 0.9rem;
}

    .booking-breadcrumb .crumb {
        cursor: pointer;
        color: #6c757d;
    }

        .booking-breadcrumb .crumb.active {
            color: #6c757d;
            font-weight: 600;
        }

    .booking-breadcrumb .crumb-sep {
        margin: 0 6px;
        color: #adb5bd;
    }

/* Service Card */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    height: 100%;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: #212529;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .icon-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    }

    /* Icon */
    .icon-card .icon img {
        width: 48px;
        height: 48px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    /* Title */
    .icon-card .title {
        font-weight: 500;
        text-align: center;
        line-height: 1.2;
        font-family: 'Roboto', system-ui, sans-serif;
        font-size: 0.85rem;
    }

/* Mobile tweaks */
@@media (max-width: 576px) {
    .icon-card {
        padding: 14px 8px;
    }

        .icon-card .title {
            font-size: 0.85rem;
        }
}
.btn-light-blue {
    background-color: #e7f1ff; /* light blue */
    color: #0d6efd; /* bootstrap primary blue */
    border: 1.5px solid #0d6efd;
    font-weight: 500;
    border-radius: 10px;
    padding: 6px 14px;
}

    .btn-light-blue:hover {
        background-color: #0d6efd;
        color: #fff;
    }

.floating-cart {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0d6efd, #2f89ff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 22px;
    z-index: 1000;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3d3d;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cart-wrapper {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 2000;
}

.mini-cart {
    position: absolute;
    top: 64px;
    right: 0;
    width: 260px;
    background: white;
    border-radius: 14px;
    padding: 12px;
    display: none;
}

    .mini-cart h6 {
        font-weight: 600;
        margin-bottom: 10px;
    }

.mini-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
}

.cart-bounce {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.3);
    }

    60% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}


.page-layout {
    display: flex;
    gap: 1rem;
    align-items: flex-start; /* top-align both panels */
}

/* Cart panel */
.cart-panel {
    width: 350px; /* fixed width */
    position: sticky; /* stick on scroll */
    top: 1rem;
}

/* Service panel takes remaining space */
.service-panel {
    flex: 1;
}

/* Mobile: stack vertically */
@media (max-width: 991px) {
    .page-layout {
        flex-direction: column;
    }

    .cart-panel {
        position: static;
        width: 100%;
        margin-top: 1rem;
    }
}

/* === Cart Panel Animation === */
.cart-panel {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .cart-panel.updated {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(13,110,253,.25);
    }

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    right: 16px;
    bottom: 20px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1100;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.qty-btn {
    transition: transform .2s ease;
}

    .qty-btn:active {
        transform: scale(.85);
    }
/* =========================
           SEARCH
           ========================= */
.search-box {
    max-width: 360px;
    margin: 0 auto 24px;
}

.search-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all .2s ease;
}

    .search-input:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 4px rgba(13,110,253,.15);
    }

    .search-input input {
        border: none;
        outline: none;
        width: 100%;
        font-size: .95rem;
        font-weight: 500;
    }
.search-wrapper {
    width: 100%;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* SAME WIDTH AS INPUT */
    max-width: 100%;
    background: #fff;
    border-radius: 8px;
    margin-top: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
}

    .search-results .result-item {
        padding: 10px 14px;
        cursor: pointer;
        border-bottom: 1px solid #f1f1f1;
        font-size: 14px;
    }

        .search-results .result-item:hover {
            background-color: #f8f9fa;
        }

    .search-results .type {
        font-size: 12px;
        color: #888;
    }
