/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --dark: #111827;
    --text-dark: #111827;
    --gray: #6b7280;
    --text-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --border-color: #e5e7eb;
    --bg-offset: #f9fafb;
    --bg-overlay: rgba(0, 0, 0, 0.6);

    /* Specific Section Colors */
    --box-bg: #0f172a;
    /* Pro Section Black */
    --icon-bg: #e0f2fe;
    /* Why Choose Blue Circle */
    --icon-color: #0ea5e9;
    /* Why Choose Blue Icon */

    /* Radius & Shadows */
    --radius: 12px;
    --radius-pill: 9999px;
    --radius-card: 16px;
    --radius-box: 24px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

header.scrolled {
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Sticky Header Search (Hidden initially) */
.header-search-wrapper {
    position: absolute;
    left: 45%;
    transform: translate(-50%, -20px);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    padding: 5px;
    border-radius: var(--radius-pill);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    width: min(550px, calc(100vw - 650px));
    border: 1px solid transparent;
}

header.show-compact-search .header-search-wrapper {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    border-color: var(--border);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.header-input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    font-size: 0.9rem;
    outline: none;
}

@media (max-width: 1202px) {
    .header-search-wrapper {
        position: absolute;
        left: 45%;
        transform: translate(-50%, -20px);
        opacity: 0;
        visibility: hidden;
        display: flex;
        align-items: center;
        background: var(--light-gray);
        padding: 5px;
        border-radius: var(--radius-pill);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        width: 400px;
        border: 1px solid transparent;
    }
}

.header-input.svc {
    flex: 1;
    border-right: 1px solid var(--border);
}

.header-input.zip {
    width: 100px;
    text-align: center;
}

.header-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Nav Right & Explore Dropdown */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.explore-wrapper {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.explore-btn {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background 0.2s;
}

.explore-btn:hover {
    background: #f3f4f6;
}

.explore-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.explore-wrapper.open .explore-btn i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 140%;
    right: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    left: 0%;
    transform: translateX(0%);
}

.explore-wrapper.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-category {
    border-bottom: 1px solid #f9fafb;
}

.menu-category:last-child {
    border-bottom: none;
}

.category-header {
    padding: 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.category-header:hover {
    background: #f9fafb;
    color: var(--primary);
}

.category-header i.fa-chevron-right {
    font-size: 0.75rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.category-header span i {
    width: 20px;
    color: var(--primary);
    margin-right: 8px;
}

.menu-category.active .category-header i.fa-chevron-right {
    transform: rotate(90deg);
    color: var(--primary);
}

.sub-menu-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: #f8fafc;
}

.sub-menu-items a {
    display: block;
    padding: 10px 20px 10px 16px;
    font-size: 0.9rem;
    color: #6b7280;
}

.sub-menu-items a:hover {
    color: var(--primary);
    background: #eff6ff;
}

.menu-category.active .sub-menu-items {
    max-height: 300px;
}

.btn-text {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.btn-primary {
    background: #002c72;
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

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

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    padding: 125px 0 80px;
    text-align: center;
    background: #fcfdfd;
}

.hero h1 {
    font-size: 3.0rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 40px;
    /* Desktop margin */
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .hero h1 {
        margin-top: 20px;
        /* Mobile margin */
    }
}

.hero p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.hero-p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;

}

.hero-service {
    padding: 60px 0 80px;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-service h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.search-pill-container {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 8px;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 750px;
    transition: 0.3s;
}

.search-pill-container:hover,
.search-pill-container:focus-within {
    box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
}

.search-group {
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.search-group.main {
    flex: 1;
}

.search-group.zip {
    width: 180px;
    border-left: 1px solid var(--border);
}

.search-group i {
    color: var(--gray);
    font-size: 1.1rem;
    margin-right: 12px;
}

.hero-input {
    width: 100%;
    padding: 16px 0;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: var(--dark);
}

.search-circle-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: 0.2s;
}

.search-circle-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    color: var(--gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.trust-badges i {
    color: #10b981;
    margin-right: 8px;
}

.trust-badges1 {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    color: var(--white);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.trust-badges1 i {
    color: #fcfcfc;
    margin-right: 8px;
}

.quick-tags {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: #002c72;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
}

.tag:hover {
    border-color: var(--dark);
    background: var(--light-gray);
}

/* =========================================
   4. SECTIONS COMMON
   ========================================= */
.section {
    padding: 60px 0;
}

.bg-offset {
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.0rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px 0;
}

.section-header p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
}

/* =========================================
   5. POPULAR SERVICES (Grid)
   ========================================= */
.popular-services-section {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.card-image {
    width: 100%;
    height: 200px;
    background-color: #f3f4f6;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    align-items: center;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
}

.card-content span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
    display: flex;
    justify-content: center;
    background: #E7F0FB;
    color: #1D4FD7;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 10px;
    border-radius: 999px;
    width: 125px;
}

/* =========================================
   6. WHY CHOOSE ZOOPGO
   ========================================= */
.why-choose-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;

}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--icon-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--icon-color);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* =========================================
   7. HOW IT WORKS
   ========================================= */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-box {
    padding: 20px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.step-box h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* =========================================
   8. CLIENT EXPERIENCES (Slider)
   ========================================= */
.review-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.review-slider::-webkit-scrollbar {
    height: 6px;
}

.review-slider::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.review-card {
    min-width: 350px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: #e5e7eb;
    border-radius: 50%;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

/* =========================================
   9. FAQ
   ========================================= */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    color: var(--gray);
    padding-right: 40px;
}

.faq-item.active .faq-answer {
    padding-top: 15px;
    max-height: 200px;
}

.faq-toggle {
    transition: 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* =========================================
   10. PRO PROMO SECTION
   ========================================= */
.pro-section-wrapper {
    padding: 60px 20px;
}

.pro-promo-box {
    max-width: auto;
    margin: 0 auto;
    background-color: #053074;
    border-radius: var(--radius-box);
    padding: 60px 40px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.pro-promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.pro-box-title {
    font-size: 2.0rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
}

.pro-box-subtitle {
    font-size: 1.0rem;
    opacity: 0.8;
    margin: 0 0 50px 0;
    color: #e2e8f0;
    position: relative;
}

.pro-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.minimal-card {
    padding: 20px;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.minimal-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.minimal-card i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
    display: inline-block;
}

.minimal-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.minimal-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

.btn-pill-white {
    display: inline-block;
    background-color: var(--white);
    color: var(--box-bg);
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.btn-pill-white:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* =========================================
   11. ADVICE & TOOLS
   ========================================= */
.advice-tools-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.tool-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.card-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 8px;
}

/* =========================================
   12. NEARBY CITIES & CONTENT CARD
   ========================================= */
.city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.city-chip {
    font-size: 0.9rem;
    color: var(--primary);
    background: #eff6ff;
    padding: 6px 15px;
    border-radius: 20px;
}

.content-card-section {
    margin: 30px auto 0;
    max-width: 1200px;
    padding: 0 20px;
}

.content-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
}

.text-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
    max-height: 80px;
}

.text-wrapper.expanded {
    max-height: 150000px;
}

.content-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
    padding-bottom: 20px;
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    transition: opacity 0.3s;
}

.text-wrapper.expanded .fade-overlay {
    opacity: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.read-more-btn:hover {
    color: var(--primary-hover);
    gap: 10px;
}

.read-more-btn.active .arrow-icon {
    transform: rotate(180deg);
}

/* =========================================
   13. SPOTLIGHT SECTION
   ========================================= */
.spotlight-section {
    margin: 40px 0;
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.spotlight-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
}

.spotlight-badge {
    background: #111827;
    color: #fff;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px 20px 20px 0;
    font-size: 0.85rem;
    font-weight: 700;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.spotlight-img {
    width: 40%;
    min-height: 250px;
}

.spotlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.spotlight-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
}

.verified-tag {
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 600;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 20px;
}

.spotlight-role {
    color: #6b7280;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.spotlight-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

.spotlight-bio {
    font-style: italic;
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.spotlight-btn {
    align-self: flex-start;
    background: #111827;
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.spotlight-btn:hover {
    background: #2563eb;
}

/* =========================================
   14. SERVICE DIRECTORY
   ========================================= */
.service-directory-section {
    padding: 60px 20px;
    background: #f9fafb;
}

.directory-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.directory-item {
    background: transparent;
}

.dir-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.dir-icon {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.4rem;
    margin-bottom: 0px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.dir-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0px;
    line-height: 1.2;
    transform: translateY(-3px);
}

.dir-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dir-list li {
    margin-bottom: 10px;
    padding: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.dir-list a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.dir-list a:hover {
    color: #2563eb;
    padding-left: 5px;
}

.dir-more {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 5px;
}

.dir-list .dir-more:hover {
    text-decoration: underline;
    padding-left: 0;
}

/* =========================================
   15. CONTINUE SEARCH CARD
   ========================================= */
.continue-search-card {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 900;
    max-width: 350px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.continue-icon {
    background: #eff6ff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
}

.continue-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.continue-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 600;
}

.continue-link {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: block;
}

.continue-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1f1d1d;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 24px;
}

/* =========================================
   16. SHINE SERVICES SECTION
   ========================================= */
.shine-section {
    padding: 60px 0;
    text-align: center;
}

/* ==============================
   SHINE GRID
============================== */
/* Grid */
.shine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 35px;
}

/* Card */
.shine-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 16px;
    max-width: 240px;   /* Reduced card width */
    width: 100%;
    margin: 0 auto;
    text-align: center;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.shine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
}

/* Icon */
.shine-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 12px;
    background: rgba(37,99,235,.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Heading */
.shine-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

/* Paragraph */
.shine-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Mobile */
@media (max-width: 576px) {
    .shine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .shine-card {
        max-width: 100%;
        padding: 16px 12px;
    }

    .shine-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .shine-card h3 {
        font-size: 15px;
    }

    .shine-card p {
        font-size: 12px;
    }
}
/* =========================================
   17. SUB-SERVICES PILLS
   ========================================= */
.sub-services-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 5px;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sub-services-bar::-webkit-scrollbar {
    display: none;
}

.sub-pill {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sub-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f8fafc;
}

.sub-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* =========================================
   18. PRO CARDS (Service Page) - UPDATED
   ========================================= */
.pro-card-horizontal {
    display: flex;
    gap: 25px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    width: 95%;
    /* Added to align items at top */
}

.pro-card-horizontal:hover {
    box-shadow: var(--shadow-soft);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* FIX: Side by side layout for image and heading */
.pro-img-wrap {
    width: auto;
    /* Changed from 120px to auto */
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    /* Align with heading */
}

.pro-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.online-status {
    font-size: 0.7rem;
    color: #10b981;
    font-weight: 700;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

.pro-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* FIX: Header container for side-by-side alignment */
.pro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 20px;
    /* Added gap for better spacing */
}

/* FIX: Name and rating container */
.pro-name-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pro-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    /* Removed margin-top/margin-bottom */
}

.pro-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    align-items: center;
    gap: 5px;
}

.pro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.pro-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-meta i {
    color: var(--primary);
}

.pro-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* CTA Area inside Card */
.pro-cta {
    width: 160px;
    flex-shrink: 0;
    text-align: right;
    border-left: 1px solid #f0f0f0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-display {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
    text-align: center;
}

.price-label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 2px;
}

.btn-view-profile {
    background: white;
    border: 1px solid #ddd;
    color: var(--dark);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    width: 100%;
    margin-bottom: 8px;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-view-profile:hover {
    border-color: var(--dark);
    background: #f9fafb;
}

.btn-get-quote {
    background: var(--primary);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
}

.btn-get-quote:hover {
    background: var(--primary-hover);
}

.top-rated-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f59e0b;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-bottom-left-radius: 10px;
}

/* Mobile adjustments for side-by-side layout */
@media (max-width: 900px) {
    .pro-card-horizontal {
        flex-direction: row;
        /* Keep as row on tablets */
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .pro-img-wrap {
        width: 100px;
        margin-right: 20px;
        margin-bottom: 0;
    }

    .pro-details {
        flex: 1;
        min-width: 200px;
    }

    .pro-cta {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 15px 0 0 0;
        margin-top: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .btn-view-profile,
    .btn-get-quote {
        width: auto;
        margin: 0;
        margin-left: 10px;
    }
}

@media (max-width: 600px) {
    .pro-card-horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pro-img-wrap {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .pro-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .pro-name-container {
        align-items: center;
    }

    .pro-meta {
        justify-content: center;
    }

    .pro-cta {
        flex-direction: column;
        gap: 10px;
    }

    .btn-view-profile,
    .btn-get-quote {
        width: 100%;
        margin: 5px 0;
    }
}

/* =========================================
   19. SERVICE PAGE SPECIFIC STYLES
   ========================================= */

/* Breadcrumbs */
.breadcrumbs-section {
    padding: 20px 20px 0;
    margin-top: 80px;
    background: var(--white);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--gray);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs i {
    font-size: 0.6rem;
    opacity: 0.5;
}

.breadcrumbs span.current {
    color: var(--dark);
    font-weight: 600;
}

/* Service Hero Adjustments */
.service-hero {
    padding: 60px 0 60px;
    text-align: center;
}

.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

/* Pricing Table */
.pricing-section {
    background: var(--white);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    padding: 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    text-align: left;
    background: var(--light-gray);
    padding: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-gray);
    font-size: 0.95rem;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.price-tag {
    font-weight: 700;
    color: var(--primary);
}

/* Layout Grid */
.service-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
}

/* Sidebar Filter */
.sidebar-filter {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-soft);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.filter-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.reset-link {
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Inputs */
.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: 0.2s;
    background: #fcfcfc;
}

.filter-input:focus {
    border-color: var(--primary);
    background: #fff;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Checkbox/Radio Labels */
.filter-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    color: #555;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.filter-label:hover {
    color: var(--primary);
}

.filter-label input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    border-color: #ddd;
}

/* Filter Button */
.btn-apply {
    width: 100%;
    background: var(--dark);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.2s;
}

.btn-apply:hover {
    background: var(--primary);
}

/* =========================================
   20. CITY PAGE STYLES
   ========================================= */
.city-hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.city-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.city-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category Grid */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.2s;
}

.cat-card:hover .cat-icon {
    background: var(--primary);
    color: white;
}

.cat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* City Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.city-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--dark);
}

.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.city-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.city-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.city-arrow {
    color: var(--border);
    transition: 0.2s;
}

.city-card:hover .city-arrow {
    color: var(--primary);
}

/* Activity Grid */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.2s;
}

.activity-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: #cbd5e1;
}

.act-icon {
    width: 45px;
    height: 45px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.act-icon.review {
    background: #fffbeb;
    color: #f59e0b;
}

.act-icon.hired {
    background: #eff6ff;
    color: #2563eb;
}

.act-content p {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    color: var(--dark);
    line-height: 1.5;
}

.act-content strong {
    font-weight: 600;
}

.act-meta {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
    margin-top: 5px;
}

/* City Content */
.city-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hood-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.hood-tag {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: none;
    transition: 0.2s;
}

.hood-tag:hover {
    border-color: var(--dark);
    color: var(--dark);
    background: #f8fafc;
}

/* Alphabetical List */
.alpha-list-section {
    padding: 60px 0;
}

.alpha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.alpha-link {
    color: var(--gray);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 5px 0;
    display: inline-block;
}

.alpha-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* State Promo */
.state-promo {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin: 60px 0;
}

/* =========================================
   21. ADMIN PROFILE PAGE STYLES
   ========================================= */
/* Core Variables for Admin */
.admin-root {
    --admin-primary: #0066FF;
    --admin-primary-light: #EFF6FF;
    --admin-text-main: #111827;
    --admin-text-body: #6B7280;
    --admin-bg-body: #F3F4F6;
    --admin-bg-white: #ffffff;
    --admin-border: #E5E7EB;
    --admin-success: #10B981;
    --admin-warning: #F59E0B;
    --admin-danger: #EF4444;
    --admin-purple: #8B5CF6;
    --admin-gold: #FBBF24;
    --admin-radius-card: 16px;
    --admin-radius-pill: 100px;
    --admin-sidebar-width: 280px;
}

.admin-body {
    font-family: 'Inter', sans-serif;
    background: var(--admin-bg-body);
    color: var(--admin-text-main);
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
.admin-aside {
    width: var(--admin-sidebar-width);
    background: var(--admin-bg-white);
    border-right: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.logo-area {
    padding: 24px;
    border-bottom: 1px solid var(--admin-border);
}

.admin-logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--admin-text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-logo span {
    color: var(--admin-primary);
}

.nav-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.menu-label {
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    margin: 24px 0 8px 12px;
    letter-spacing: 0.5px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--admin-text-body);
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: 0.2s;
}

.admin-nav-item:hover {
    background: var(--admin-bg-body);
    color: var(--admin-text-main);
}

.admin-nav-item.active {
    background: var(--admin-primary-light);
    color: var(--admin-primary);
    font-weight: 600;
}

.admin-nav-item i {
    width: 18px;
    text-align: center;
}

/* Main Area */
.admin-main {
    margin-left: var(--admin-sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: calc(100% - var(--admin-sidebar-width));
    overflow-y: auto;
}

.admin-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 90;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
}

.content-wrapper {
    padding: 32px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Metrics Strip */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: var(--admin-radius-card);
    border: 1px solid var(--admin-border);
}

.mc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mc-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--admin-text-main);
}

.mc-label {
    font-size: 12px;
    color: var(--admin-text-body);
}

.mc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* Split Layout */
.split-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    height: 100%;
    overflow: hidden;
}

/* Review List */
.list-panel {
    background: white;
    border-radius: var(--admin-radius-card);
    border: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-filters {
    padding: 16px;
    border-bottom: 1px solid var(--admin-border);
    background: #F9FAFB;
}

.search-box {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 10px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.ft-item {
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: white;
    border: 1px solid var(--admin-border);
    cursor: pointer;
    color: var(--admin-text-body);
}

.ft-item.active {
    background: var(--admin-text-main);
    color: white;
    border-color: var(--admin-text-main);
}

.ft-item.badge-pending {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FCD34D;
}

.review-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.review-item {
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.2s;
    background: white;
    position: relative;
}

.review-item:hover {
    border-color: var(--admin-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.review-item.selected {
    border-color: var(--admin-primary);
    background: #EFF6FF;
}

.ri-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ri-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.ri-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ddd;
    object-fit: cover;
}

.ri-date {
    font-size: 11px;
    color: var(--admin-text-body);
}

.ri-stars {
    color: var(--admin-gold);
    font-size: 12px;
    margin-bottom: 6px;
}

.ri-text {
    font-size: 12px;
    color: var(--admin-text-body);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ri-status {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.st-pending {
    background: #FFFBEB;
    color: #B45309;
}

.st-flagged {
    background: #FEF2F2;
    color: var(--admin-danger);
}

/* Moderation Console */
.detail-panel {
    background: white;
    border-radius: var(--admin-radius-card);
    border: 1px solid var(--admin-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dp-head {
    padding: 20px 32px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F9FAFB;
}

.dp-info h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.dp-info p {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: var(--admin-text-body);
}

/* =========================================
   27. JOIN PRO PAGE STYLES
   ========================================= */
.hero-dark {
    background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-dark h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-dark p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.stat-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-badge strong {
    font-size: 2rem;
    color: #60a5fa;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-badge span {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.cta-box-blue {
    background: var(--primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: var(--radius-box);
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-box-blue h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box-blue p {
    color: white;
    opacity: 0.9;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 40px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .hero-dark h1 {
        font-size: 2.5rem;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 15px;
    }

    .stat-badge {
        width: 100%;
    }
}

.dp-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* Review Content Box */
.review-full {
    margin-bottom: 32px;
}

.rf-card {
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

/* Fraud Alert */
.fraud-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: var(--admin-danger);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rf-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--admin-text-main);
    margin: 16px 0;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px dashed var(--admin-border);
}

.rf-text[contenteditable="true"]:focus {
    background: white;
    border-color: var(--admin-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.meta-row {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--admin-text-body);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #9CA3AF;
}

/* Vendor Reply Section */
.reply-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--admin-border);
}

.reply-box {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.reply-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #1E40AF;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
}

.template-picker {
    margin-bottom: 10px;
}

.tp-select {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid #BFDBFE;
    font-size: 12px;
    width: 100%;
    max-width: 250px;
}

/* SEO Preview */
.seo-preview {
    background: #F8F9FA;
    border: 1px solid var(--admin-border);
    padding: 16px;
    border-radius: 8px;
    margin-top: 32px;
}

.sp-title {
    color: #1a0dab;
    font-size: 16px;
    font-family: arial, sans-serif;
    cursor: pointer;
    text-decoration: underline;
}

.sp-url {
    color: #006621;
    font-size: 12px;
    font-family: arial, sans-serif;
    margin-bottom: 2px;
}

.sp-desc {
    color: #545454;
    font-size: 13px;
    font-family: arial, sans-serif;
    line-height: 1.4;
}

.sp-stars {
    color: #F59E0B;
    font-size: 11px;
}

/* Actions Footer */
.dp-foot {
    padding: 20px 32px;
    border-top: 1px solid var(--admin-border);
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-approve {
    background: var(--admin-success);
    color: white;
}

.btn-reject {
    background: #FEF2F2;
    color: var(--admin-danger);
    border-color: #FECACA;
}

.btn-outline {
    background: white;
    border-color: var(--admin-border);
    color: var(--admin-text-main);
}

.btn-purple {
    background: #F3E8FF;
    color: var(--admin-purple);
    border-color: #E9D5FF;
}

/* =========================================
   22. FOOTER
   ========================================= */
footer {
    background: #f8fafc;
    padding: 15px 0px 2px 15px;
    margin-top: 10px;
    border-top: 1px solid var(--border);
}

.footer-cols {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.95rem;
}

.footer-col ul li:hover {
    color: var(--primary);
}

.footer-btm {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

/* =========================================
   23. MOBILE BOTTOM NAV
   ========================================= */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: 1fr 1fr 1.4fr;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        z-index: 9999;
        padding: 0 10px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #9ca3af;
        font-size: 0.75rem;
        font-weight: 500;
        gap: 4px;
        transition: color 0.3s ease;
    }

    .nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .nav-item.active {
        color: var(--primary);
    }

    .nav-cta-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-quote-btn {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 12px 24px;
        font-size: 0.95rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        cursor: pointer;
        width: 100%;
        max-width: 160px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .nav-quote-btn:active {
        transform: scale(0.96);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    }
}

@media (max-width: 992px) {
    body {
        padding-bottom: 80px;
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: 1fr 1fr 1.4fr;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        z-index: 9999;
        padding: 0 10px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #9ca3af;
        font-size: 0.75rem;
        font-weight: 500;
        gap: 4px;
        transition: color 0.3s ease;
    }

    .nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .nav-item.active {
        color: var(--primary);
    }

    .nav-cta-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-quote-btn {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: white;
        border: none;
        border-radius: 50px;
        padding: 12px 24px;
        font-size: 0.95rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        cursor: pointer;
        width: 100%;
        max-width: 160px;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .nav-quote-btn:active {
        transform: scale(0.96);
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    }
}

/* =========================================
   24. POPUP FORM
   ========================================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #9ca3af;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #f3f4f6;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    width: 33%;
    transition: width 0.3s ease;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.step-question {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 20px;
    transition: all 0.2s;
    background: #fff;
}

.option-card:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: #4b5563;
}

.option-content i {
    font-size: 1.1rem;
    color: #9ca3af;
    transition: color 0.2s;
}

.option-card input:checked+.option-content {
    color: var(--primary);
    font-weight: 600;
}

.option-card input:checked+.option-content i {
    color: var(--primary);
}

.option-card:has(input:checked) {
    border-color: var(--primary);
    background: #eff6ff;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.1);
}

.check-icon {
    margin-left: auto;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}

.option-card input:checked+.option-content .check-icon {
    opacity: 1;
    transform: scale(1);
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.popup-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}

.popup-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.popup-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-back {
    background: none;
    border: none;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
}

.btn-back:hover {
    color: var(--text-dark);
}

.btn-next,
.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-next:hover,
.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* =========================================
   25. MEDIA QUERIES (General)
   ========================================= */
@media (max-width: 1100px) {
    .header-search-wrapper {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .search-pill-container {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
    }

    .search-group {
        width: 100%;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .search-group.zip {
        border-left: none;
        width: 100%;
    }

    .search-circle-btn {
        width: 100%;
        border-radius: 12px;
        margin-top: 10px;
        height: 45px;
    }

    .steps-wrapper,
    .footer-cols {
        grid-template-columns: 1fr;
    }

    .nav-right .btn-text {
        display: none;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filter {
        display: none;
    }

    .pro-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .pro-img-wrap {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
        margin-bottom: 10px;
    }

    .pro-img {
        width: 60px;
        height: 60px;
        margin: 0;
    }

    .pro-cta {
        width: 100%;
        border-left: none;
        border-top: 1px solid #eee;
        padding: 15px 0 0 0;
        margin-top: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .btn-view-profile,
    .btn-get-quote {
        width: auto;
        margin: 0;
        margin-left: 10px;
    }

    .split-container {
        grid-template-columns: 320px 1fr;
    }

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

@media (max-width: 768px) {
    .pro-promo-box {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .pro-box-title {
        font-size: 1.3rem;
    }

    .pro-box-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .city-hero h1 {
        font-size: 2.2rem;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .continue-search-card {
        bottom: 90px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .spotlight-card {
        flex-direction: column;
    }

    .spotlight-img {
        width: 100%;
        height: 200px;
    }

    .spotlight-header {
        flex-direction: column;
        gap: 10px;
    }

    /* Directory Mobile Rules */
    .dir-list a {
        background: #f8fafc;
        padding: 12px 15px;
        border-radius: 8px;
        border: 1px solid #f1f5f9;
        font-weight: 500;
    }

    .dir-list a:active {
        background: #eff6ff;
        border-color: var(--primary);
    }

    .view-all-li {
        margin-top: 5px;
    }

    .dir-more {
        display: block;
        width: 100%;
        text-align: center;
        background: transparent;
        border: 1px dashed var(--primary);
        padding: 12px;
        border-radius: 8px;
    }

    /* Button mobile fix */
    .btn-primary {
        padding: 8px 18px;
        font-size: 0.85rem;
        height: auto;
    }

    .logo img {
        height: 35px;
    }
}

@media (max-width: 600px) {
    .popup-container {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 20px;
        max-width: 100%;
    }

    .content-card {
        padding: 25px;
    }

    .content-card h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .split-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .pro-card-horizontal {
        padding: 15px;
        gap: 12px;
    }

    .pro-img-wrap {
        gap: 8px;
    }

    .pro-img {
        width: 70px;
        height: 70px;
    }

    .pro-name {
        font-size: 1.1rem;
    }

    .pro-meta {
        gap: 8px;
    }

    .pro-meta span {
        font-size: 0.75rem;
    }

    .pro-desc {
        font-size: 0.85rem;
    }

    .btn-view-profile,
    .btn-get-quote {
        padding: 9px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .pro-card-horizontal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pro-img-wrap {
        width: 100%;
        margin-bottom: 15px;
    }

    .pro-details {
        width: 100%;
        text-align: center;
    }

    .pro-header {
        align-items: center;
    }

    .pro-meta {
        justify-content: center;
    }
}

/* Prevent horizontal scrolling */
@media (max-width: 768px) {

    html,
    body,
    main,
    .service-layout,
    .pro-card-horizontal {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .spotlight-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .pro-meta {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pricing-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-pill-container {
        flex-direction: column;
        gap: 10px;
    }

    .search-group.main,
    .search-group.zip {
        width: 100%;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- MOBILE FILTER BUTTON & MODAL --- */
.mobile-filter-btn-wrapper {
    display: none;
    /* Hidden on desktop */
}

.mobile-filter-modal {
    display: none;
    /* Hidden by default */
}

@media (max-width: 900px) {

    /* 1. The Fixed Floating Button */
    .mobile-filter-btn-wrapper {
        display: flex;
        position: fixed;
        bottom: 85px;
        /* Above the bottom nav (70px + gap) */
        left: 50%;
        transform: translateX(-50%);
        z-index: 990;
        animation: slideUpFade 0.5s ease;
    }

    .btn-mobile-filter {
        background: #111827;
        color: #ffffff;
        border: none;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .btn-mobile-filter:active {
        transform: scale(0.95);
    }

    /* 2. The Mobile Filter Modal (Popup) */
    .mobile-filter-modal {
        display: none;
        /* Toggled via JS class 'active' */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 2000;
        align-items: flex-end;
        /* Sheet slides up from bottom */
    }

    .mobile-filter-modal.active {
        display: flex;
    }

    .mobile-filter-content {
        background: #ffffff;
        width: 100%;
        height: 85vh;
        /* Takes up 85% of screen height */
        border-radius: 20px 20px 0 0;
        display: flex;
        flex-direction: column;
        animation: slideUp 0.3s ease;
    }

    .mf-header {
        padding: 20px;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mf-header h3 {
        margin: 0;
        font-size: 1.2rem;
    }

    .mf-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
    }

    .mf-footer {
        padding: 15px 20px;
        border-top: 1px solid #e5e7eb;
        display: flex;
        gap: 15px;
    }

    .btn-mf-reset {
        background: none;
        border: none;
        color: #6b7280;
        font-weight: 600;
    }

    .btn-mf-apply {
        background: #2563eb;
        color: white;
        border: none;
        flex: 1;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
    }
}

@keyframes slideUpFade {
    from {
        transform: translate(-50%, 20px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* --- MODERN SPOTLIGHT PROS SECTION --- */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pro-card {
    background: white;
    border: 1px solid #F3F4F6;
    border-radius: 24px;
    /* Softer, modern radius */
    padding: 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Badge (Top Left) */
.pc-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Verified Icon (Top Right) */
.pc-verified {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #10B981;
    /* Success Green */
    font-size: 18px;
    background: #ECFDF5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar with Ring */
.pc-avatar-wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
}

.pc-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Status Dot */
.pc-status {
    width: 14px;
    height: 14px;
    background: #10B981;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

/* Content */
.pc-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.pc-job {
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
    margin-bottom: 12px;
}

/* Rating Pill */
.pc-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.pc-rating i {
    color: #FBBF24;
}

/* Star Color */

/* Stats Row */
.pc-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    border-top: 1px solid #F3F4F6;
    padding-top: 20px;
    margin-bottom: 20px;
}

.pc-stat-item {
    text-align: center;
}

.pc-stat-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    display: block;
}

.pc-stat-label {
    font-size: 11px;
    color: #9CA3AF;
    text-transform: uppercase;
    font-weight: 600;
}

/* Action Button */
.pc-btn {
    width: 100%;
    background: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px;
    border-radius: 12px;
    /* Smooth rect */
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pro-card:hover .pc-btn {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .spotlight-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 25px;
        /* Scrollbar space */
    }

    .pro-card {
        min-width: 280px;
        /* Fixed width cards on mobile */
        scroll-snap-align: center;
    }
}

/* --- 1. CORE VARIABLES (USA THEME) --- */
:root {
    --primary: #0066FF;
    /* Trust Blue */
    --primary-dark: #0052cc;
    --text-main: #111827;
    /* Near Black */
    --text-body: #6B7280;
    /* Cool Grey */
    --bg-light: #F9FAFB;
    /* Subtle background */
    --bg-white: #ffffff;
    --border: #F3F4F6;
    /* Very subtle borders */
    --radius-pill: 100px;
    /* The "USA" look */
    --radius-card: 16px;
    --container: 1200px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-float: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-white);
    color: var(--text-main);
    margin: 0;
    line-height: 1.5;
    /* padding-bottom: 80px; */
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section-padding {
    padding: 80px 0;
}

.bg-subtle {
    background: var(--bg-light);
}

.section-head {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-head p {
    margin: 0;
    font-size: 1rem;
}

/* --- NEW: PRO SPOTLIGHT (Ad Banner for Pros) 
        .spotlight-section { margin: 60px 0; }
        .spotlight-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
        .ad-label { background: #eee; padding: 4px 8px; font-size: 11px; border-radius: 4px; color: #666; font-weight: 700; text-transform: uppercase; }
        
        .spotlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
        .pro-ad-card {
            border: 1px solid var(--border); border-radius: 12px; padding: 20px;
            background: white; transition: 0.3s; position: relative;
        }
        .pro-ad-card:hover { box-shadow: var(--shadow-hover); border-color: var(--primary); }
        .pac-header { display: flex; gap: 15px; margin-bottom: 15px; }
        .pac-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
        .pac-info h4 { margin: 0; font-size: 16px; }
        .pac-info span { font-size: 13px; color: var(--text-light); }
        .pac-rating { color: var(--secondary); font-weight: 700; font-size: 14px; margin-top: 5px; }
        .pac-tag { 
            position: absolute; top: 15px; right: 15px; background: #e7f3ff; color: var(--primary); 
            padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; 
        }--- */
/* =========================================
   SCROLLABLE PRO CARD CONTAINER
   ========================================= */
.pro-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.pro-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.pro-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pro-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.pro-scroll-container .pro-card-horizontal {
    flex: 0 0 100%;
    min-width: 280px;
    margin-bottom: 0;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .pro-scroll-container .pro-card-horizontal {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (min-width: 1024px) {
    .pro-scroll-container .pro-card-horizontal {
        flex: 0 0 calc(33.333% - 14px);
    }
}



/* =========================================
   NEAR ME PAGE STYLES (Thumbtack Replica)
   ========================================= */

/* 1. HERO SECTION */
.near-me-hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 80px 0 60px;
    border-bottom: 1px solid #e5e7eb;
}

.near-me-hero::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* Light overlay for readability */
}

.nm-hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.nm-crumbs {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.nm-crumbs a {
    text-decoration: underline;
}

.nm-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #1e293b;
    line-height: 1.2;
}

.nm-subtitle {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 30px;
}

/* 2. TOP 3 PROS (Lead Gen Box) */
.top-3-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 50px;
}

.top-3-header {
    margin-bottom: 20px;
}

.top-3-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.top-3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.top-pro-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
}

.top-pro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.tpc-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.tpc-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: block;
}

.tpc-rating {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 15px;
}

.btn-tpc-view {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: white;
    color: #334155;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-tpc-view:hover {
    background: #f1f5f9;
}

.btn-get-quotes-highlight {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-get-quotes-highlight:hover {
    background: #1d4ed8;
}

/* 3. COST GUIDE (Graph) */
.cost-section {
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
}

.cost-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.cost-graph {
    height: 150px;
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.bar {
    width: 40px;
    background: #e2e8f0;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.bar.highlight {
    background: #93c5fd;
    height: 80% !important;
}

.bar-val {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

/* 4. REVIEWS SCROLL */
.review-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    margin-top: 20px;
}

.review-card-lg {
    min-width: 300px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    scroll-snap-align: start;
}

.rc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .top-3-grid {
        grid-template-columns: 1fr;
    }

    .nm-title {
        font-size: 2rem;
    }
}

.scroll-pills {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.pill {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.pill.active {
    background: var(--primary);
    width: 24px;
    border-radius: 12px;
}

/* --- SPONSORED BADGE --- */
.sponsored-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    letter-spacing: 0.5px;
    z-index: 5;
}

/* --- FADE ANIMATION FOR SHUFFLE --- */
.fade-in {
    animation: fadeInEffect 0.5s ease-in-out;
}

@keyframes fadeInEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* --- SPONSORED TAG --- */
.sponsored-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-bottom-left-radius: 10px;
    letter-spacing: 0.5px;
    z-index: 5;
    border-left: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* --- SHUFFLE ANIMATION --- */
.fade-in {
    animation: fadeInEffect 0.5s ease-in-out;
}

@keyframes fadeInEffect {
    from {
        opacity: 0.4;
        transform: translateY(2px);
    }

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

/* --- PILLS (DOTS) --- */
.shuffle-pills {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.s-pill {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #e5e7eb;
    transition: all 0.3s ease;
}

.s-pill.active {
    background-color: #2563eb;
    width: 18px;
    border-radius: 10px;
}

/* --- SPOTLIGHT PROGRESS BAR (Global) --- */
.spotlight-prog {
    display: none;
    /* hidden on desktop */
}

@media (max-width: 900px) {
    .spotlight-prog {
        display: block;
        width: 100%;
        height: 4px;
        background: #e2e8f0;
        margin-top: 15px;
        border-radius: 4px;
        overflow: hidden;
    }

    .spotlight-prog .scroll-progress-bar {
        height: 100%;
        width: 0%;
        background: #2563eb;
        transition: width 0.3s ease-out;
    }
}

/* =========================================
   SHARED PREMIUM STYLES (from search3.html)
   ========================================= */

/* Top Matches / Top 3 Container */
.top-matches-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
}

.matches-header {
    margin-bottom: 20px;
}

.matches-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.matches-header p {
    font-size: 0.9rem;
    color: #64748b;
}

.top-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Premium Card Style (.match-card) */
.match-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    position: relative;
    text-align: center;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.badge-match {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.mc-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mc-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
}

.mc-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
    padding-top: 5px;
    color: var(--text-dark);
}

.mc-rating {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 5px;
}

.mc-body {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.mc-price {
    font-weight: 500;
    color: #0f172a;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.btn-view {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: white;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    transition: 0.2s;
}

.btn-view:hover {
    background: #f1f5f9;
}

/* =====================================================


/* =========================================
   IMPROVED SPOTLIGHT PROFESSIONALS SECTION
   ========================================= */

/* Sponsored Label */
.sponsored-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 1px;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f9fafb;
    white-space: nowrap;
}

/* Section Head */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    align-content: space-around;
}

.section-head h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.section-head p {
    font-size: 1rem;
    color: var(--text-gray);
    margin: 0;
}

/* Wrapper */
.spotlight-wrapper {
    position: relative;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    justify-items: center;
    justify-content: center;
}

@media (min-width: 1200px) {
    .spotlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        max-width: 1280px;
        margin: 0 auto;
    }
}

/* Tablet - Auto-adjusting */
@media (min-width: 768px) and (max-width: 1199px) {
    .spotlight-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
}

/* Mobile - Horizontal Scrolling */
@media (max-width: 767px) {
    .spotlight-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 20px;
        scroll-padding: 20px;
    }

    /* Custom Scrollbar */
    .spotlight-grid::-webkit-scrollbar {
        height: 6px;
    }

    .spotlight-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .spotlight-grid::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }

    .spotlight-grid::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .spotlight-grid .pro-card {
        flex: 0 0 calc(100% - 40px);
        max-width: 320px;
        scroll-snap-align: center;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

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

    .section-head p {
        font-size: 0.9rem;
    }
}

/* =========================================
   PRO CARD COMPONENT
   ========================================= */

.pro-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.pro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Badge Styling */
.pc-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Badge Variations */
.pc-badge.top-rated {
    background: #f59e0b;
}

.pc-badge.elite {
    background: #7c3aed;
}

.pc-badge.premium {
    background: #0ea5e9;
}

.pc-badge.rising {
    background: #10b981;
}

/* Verified Badge */
.pc-verified {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #10b981;
    font-size: 1.1rem;
    z-index: 2;
}

/* Avatar */
.pc-avatar-wrapper {
    position: relative;
    margin: 30px 0 20px;
}

.pc-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.15);
}

.pc-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 3px solid var(--white);
    border-radius: 50%;
}

/* Name & Job */
.pc-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.pc-job {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 12px;
}

/* Rating */
.pc-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.pc-rating i {
    color: #FCD34D;
    font-size: 1rem;
}

.pc-rating .review-count {
    color: #9CA3AF;
    font-weight: 400;
    font-size: 0.85rem;
}

/* Stats Section */
.pc-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pc-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pc-stat-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.pc-stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button */
.pc-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pc-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

/* =========================================
   ADDITIONAL RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 1024px) {
    .pro-card {
        padding: 20px;
    }

    .pc-img {
        width: 80px;
        height: 80px;
    }

    .section-head h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 40px 0;
    }

    .pc-name {
        font-size: 1rem;
    }

    .pc-job {
        font-size: 0.85rem;
    }
}

/* =========================================
   26. SPOTLIGHT SECTION RESPONSIVENESS
   ========================================= */

.spotlight-wrapper {
    width: 100%;
    padding: 10px 0;
    position: relative;
    /* overflow-x: hidden;  Default hidden, layout handled by grid */
}

/* Base Grid - Centered & Flexible */
.spotlight-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    flex-direction: row;
}

/* Pro Card Styles */
.pro-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;

    /* Flex sizing logic */
    flex: 1 1 240px;
    /* Base width 240px, allow shrinking/growing */
    min-width: 240px;
    /* Don't get too small */
    max-width: 320px;
    /* Don't get too wide */

    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Slight shadow by default */
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
    /* Darker border on hover */
}

/* Standard Badges */
.pc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pc-badge.top-rated {
    background: #f59e0b;
}

.pc-badge.elite {
    background: #7c3aed;
}

.pc-badge.premium {
    background: #0ea5e9;
}

.pc-badge.rising {
    background: #10b981;
}

/* Verified Shield */
.pc-verified {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #2563eb;
    font-size: 1.1rem;
    z-index: 2;
}

/* Avatar Badge */
.pc-avatar-wrapper {
    position: relative;
    margin-bottom: 12px;
    width: 80px;
    height: 80px;
}

.pc-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f9fafb;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pc-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
}

/* Text Content */
.pc-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.pc-job {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Rating */
.pc-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.review-count {
    color: #9ca3af;
    font-weight: 400;
    font-size: 0.85rem;
}

/* Stats Row */
.pc-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
    margin-bottom: 15px;
}

.pc-stat-item {
    text-align: center;
    width: 33%;
    position: relative;
}

.pc-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: #e5e7eb;
}

.pc-stat-val {
    display: block;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.pc-stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
}

/* Action Button */
.pc-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

.pc-btn:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}


/* MOBILE OPTIMIZATIONS */
@media (max-width: 768px) {
    .spotlight-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
        padding: 0 20px;
    }

    .spotlight-grid {
        flex-wrap: nowrap;
        /* Disable wrapping for horizontal scroll */
        justify-content: flex-start;
        /* Ensure items start from left */
        overflow-x: auto;
        padding-bottom: 25px;
        /* Space for scrollbar if visible, or touch area */
        gap: 16px;

        /* Smooth scrolling */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;

        /* Hide scrollbar visually but keep functionality */
        scrollbar-width: none;
        /* Firefox */
    }

    .spotlight-grid::-webkit-scrollbar {
        display: none;
    }

    /* Chrome/Safari */

    .pro-card {
        scroll-snap-align: center;
        flex: 0 0 280px;
        /* Fixed width on mobile to ensure consistency */
        min-width: 280px;
        margin-bottom: 5px;
        /* Avoid shadow clipping */
    }

    /* Optional: Add padding to ends of list */
    .spotlight-grid::after {
        content: '';
        flex: 0 0 20px;
    }
}

/* =========================================
   HEADER MOBILE REFINEMENTS
   ========================================= */
@media (max-width: 600px) {

    header,
    .header-inner {
        height: 65px;
    }

    .logo img {
        height: 38px;
    }

    .nav-right {
        gap: 12px;
    }

    header .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    header .explore-btn {
        padding: 6px 10px;
        font-size: 0.85rem;
        gap: 4px;
        border-radius: 50px;
    }

    header .btn-text {
        font-size: 0.85rem;
    }
}

/* =========================================
   BULK QUOTE BOX (Added for Service Page)
   ========================================= */
.bulk-quote-box {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.bq-text {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.btn-bulk {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: background 0.2s;
}

.btn-bulk:hover {
    background: #1d4ed8;
}

@media (max-width: 900px) {
    .bulk-quote-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-bulk {
        width: 100%;
    }
}

/* =========================================
   UTILITY & SUPPORT PAGES Responsive Styles
   ========================================= */
.util-main {
    min-height: 60vh;
    background: #f8fafc;
    padding-top: 100px;
}

.util-main.bg-white {
    background: #fff;
}

.util-container {
    max-width: 800px;
    margin: 0 auto;
}

.util-header {
    text-align: center;
    margin-bottom: 40px;
}

.util-header.left-align {
    text-align: left;
}

.util-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

.util-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.util-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.util-card-alt {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    margin-top: 30px;
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    margin-top: 100px;
}

.auth-card.text-center {
    text-align: center;
}

.support-grid,
.about-stats {
    display: grid;
    gap: 20px;
}

.support-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 50px;
}

.about-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 50px;
    text-align: center;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.otp-inputs input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .util-card,
    .util-card-alt,
    .auth-card {
        padding: 24px;
    }

    .util-header h2 {
        font-size: 1.6rem;
    }

    .util-header p {
        font-size: 0.95rem;
    }

    .util-header {
        margin-bottom: 25px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .otp-inputs input {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        gap: 10px;
    }

    .otp-inputs {
        gap: 10px;
    }
}

/* =========================================
   APP DOWNLOAD SECTION
   ========================================= */
.app-download-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eef2ff;
    border-radius: 24px;
    padding: 50px 60px;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.app-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.app-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.app-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-btn {
    background: #111827;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

.store-btn:hover {
    transform: translateY(-3px);
    background: #000;
}

.store-btn i {
    font-size: 1.8rem;
}

.store-btn div {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.store-btn span {
    font-size: 0.7rem;
    line-height: 1;
    color: #cbd5e1;
}

.store-btn strong {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.app-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.app-mockup {
    max-width: 100%;
    width: 320px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(5deg);
    transition: transform 0.3s;
}

.app-download-wrapper:hover .app-mockup {
    transform: rotate(0deg) scale(1.05);
}

@media (max-width: 900px) {
    .app-download-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .app-content {
        margin-bottom: 30px;
    }

    .app-buttons {
        justify-content: center;
    }

    .app-mockup {
        transform: rotate(0deg);
        width: 280px;
    }
}



/* ==========================================================================
   MODULE: ISOLATED PAGE STYLES (Namespaced)
   ========================================================================== */
/* --- Styles for blog-detail.html --- */
.article-header {
    padding: 80px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2563eb;
    margin-bottom: 15px;
    display: inline-block;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #64748b;
    font-size: 0.95rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author-info {
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: #1e293b;
    display: block;
}

.article-hero-img-container {
    padding: 0 20px;
}

.article-hero-img {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto 50px;
    display: block;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article-body-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    max-width: 720px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: #1e293b;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
}

.article-tags {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}



.share-bar {
    position: absolute;
    left: 0;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 40px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 1.1rem;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.share-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

/* Author Card */
.author-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    border: 1px solid #e2e8f0;
}

.author-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-card h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 5px;
}

.author-card p {
    color: #475569;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .share-bar {
        position: static;
        flex-direction: row;
        margin-bottom: 30px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2.2rem;
    }

    .article-hero-img-container {
        padding: 0;
    }

    .article-hero-img {
        height: 300px;
        border-radius: 0;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }
}



/* --- Styles for blog.html --- */
/* Blog Specific Styles */
body.page-blog {
    background-color: #f8fafc;
    padding: 0px 12px 0px 12px;
}

.blog-hero {
    background-color: #ffffff;
    padding: 80px 20px 100px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.blog-hero h1 {
    font-size: 3rem;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.1rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

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

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f1f5f9;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    display: inline-block;
}

.cat-home {
    color: #2563eb;
}

.cat-cleaning {
    color: #10b981;
}

.cat-moving {
    color: #f59e0b;
}

.cat-repair {
    color: #ef4444;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover .blog-title {
    color: #2563eb;
}

.blog-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #94a3b8;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #475569;
}

/* Category Filter */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: -25px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 80px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover,
.page-link.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero {
        padding: 50px 20px 80px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}



/* --- Styles for city.html --- */
/* --- CITY PAGE SPECIFIC STYLES --- */

/* 1. MATCHING HERO (White & Clean) */
.city-hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.city-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.city-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 2. BROWSE SERVICES (Clean Grid) */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.cat-icon {
    width: 60px;
    height: 60px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: 0.2s;
}

.cat-card:hover .cat-icon {
    background: var(--primary);
    color: white;
}

.cat-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* 3. RECENT ACTIVITY */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.activity-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: 0.2s;
}

.activity-card:hover {
    box-shadow: var(--shadow-soft);
    border-color: #cbd5e1;
}

.act-icon {
    width: 45px;
    height: 45px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.act-icon.review {
    background: #fffbeb;
    color: #f59e0b;
}

.act-icon.hired {
    background: #eff6ff;
    color: #2563eb;
}

.act-content p {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    color: var(--dark);
    line-height: 1.5;
}

.act-content strong {
    font-weight: 600;
}

.act-meta {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
    margin-top: 5px;
}

/* 4. CONTENT AREA (SEO + Neighborhoods) */
.city-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hood-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.hood-tag {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: none;
    transition: 0.2s;
}

.hood-tag:hover {
    border-color: var(--dark);
    color: var(--dark);
    background: #f8fafc;
}

@media (max-width: 768px) {
    .city-hero h1 {
        font-size: 2.5rem;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* --- Styles for join-pro.html --- */
/* ========== JOIN PRO PAGE SPECIFIC ========== */

/* 1. HERO — Clean White, matching index.html hero */
.join-hero {
    padding: 60px 0 80px;
    text-align: center;
    background: #fcfdfd;
}

.join-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.03em;
}

.join-hero h1 span {
    color: var(--primary);
}

.join-hero .hero-sub {
    color: var(--gray);
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.join-hero .hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.join-hero .hero-btns .btn-primary {
    padding: 14px 36px;
    font-size: 1.05rem;
}

.join-hero .hero-btns .btn-outline-dark {
    padding: 14px 36px;
    font-size: 1.05rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-weight: 600;
    color: var(--dark);
    background: white;
}

.join-hero .hero-btns .btn-outline-dark:hover {
    border-color: var(--dark);
    background: var(--light-gray);
}

/* Stats bar — matching city.html */
.join-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    max-width: 700px;
    margin: 0 auto;
}

.join-stat {
    text-align: center;
}

.join-stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.join-stat .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NEW: COMPARISON TABLE STYLES --- */
.comparison-section {
    background: #fdfdfd;
}

.comparison-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    color: var(--dark);
}

.comparison-table th {
    background: #f8fafc;
    font-weight: 700;
    font-size: 1.1rem;
    color: #475569;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight-col {
    background-color: #f0f7ff;
    border-left: 2px solid #bfdbfe;
    border-right: 2px solid #bfdbfe;
    font-weight: 500;
}

.comparison-table th.highlight-col {
    background-color: #e0f2fe;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    text-align: center;
}

.text-success {
    color: #10b981;
    margin-right: 8px;
}

.text-danger {
    color: #ef4444;
    margin-right: 8px;
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow: hidden;
    }

    .comparison-table,
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table th,
    .comparison-table td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .comparison-table thead {
        display: none;
    }

    .comparison-table tr {
        margin-bottom: 20px;
        background: white;
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-card);
        border: 1px solid var(--border);
        overflow: hidden;
    }

    .comparison-table td {
        position: relative;
        padding: 15px 15px 15px 140px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
    }

    .comparison-table tbody tr:last-child td {
        border-bottom: 1px solid #f1f5f9;
    }

    .comparison-table tbody tr td:last-child {
        border-bottom: none;
    }

    .comparison-table .highlight-col {
        background-color: #f0f7ff;
        border-left: none;
        border-right: none;
    }

    .comparison-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 15px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #475569;
        width: 110px;
    }

    /* Make the logo look good as a data-label simulation */
    .comparison-table td:nth-child(2)::before {
        content: 'ZoopGo';
        color: var(--primary);
    }
}

/* ----------------------------------- */

/* 2. BENEFITS — matching features-grid from index.html */
/* Uses existing .features-grid, .feature-card, .icon-wrapper */

/* 3. HOW IT WORKS — 4-step process (matching reference) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    counter-reset: step;
}

.process-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 35px 25px;
    transition: 0.3s;
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.process-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--border);
}

.process-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

/* 4. WHY CHOOSE — Uses existing pro-promo-box (dark section) */

/* 5. TESTIMONIALS — matching review-slider from index.html */
/* Uses existing .review-slider, .review-card, .user-profile, .avatar */

/* 6. FAQ — matching index.html FAQ */
/* Uses existing .faq-item, .faq-question, .faq-answer */

/* 7. SERVICE CATEGORIES — horizontal pills */
.service-cat-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.service-cat-pill {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-cat-pill i {
    color: var(--primary);
}

.service-cat-pill:hover {
    border-color: var(--primary);
    background: #eff6ff;
    color: var(--primary);
}

/* ZIP CODE INPUT */
.zip-search-group {
    display: flex;
    align-items: center;
    max-width: 420px;
    margin: 0 auto 30px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 5px 5px 5px 20px;
    transition: border-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.zip-search-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.zip-search-group .zip-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.zip-search-group input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    font-weight: 500;
}

.zip-search-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.zip-search-group .zip-detect-btn {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    transition: 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zip-search-group .zip-detect-btn:hover {
    color: var(--primary);
    background: #eff6ff;
}

.zip-search-group .zip-detect-btn i {
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .join-hero h1 {
        font-size: 2.5rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .join-stats {
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .join-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .join-hero h1 {
        font-size: 2rem;
    }
}



/* --- Styles for near-me.html --- */
/* --- 1. NEW HERO SECTION (Thumbtack Style) --- */
.near-me-hero {
    background-color: #ffffff;
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

/* Big Search Bar */
.big-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    padding: 8px;
    transition: all 0.2s ease;
}

.big-search-bar:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 24px;
    position: relative;
    text-align: left;
}

.search-field:first-child {
    border-right: 1px solid #e2e8f0;
}

.field-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.field-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    padding: 0;
}

.hero-search-btn {
    background: #2563eb;
    color: white;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.2s;
    margin-left: 10px;
}

.hero-search-btn:hover {
    background: #1d4ed8;
}

/* --- BULK QUOTE CTA (From search3.html) --- */
.bulk-quote-box {
    margin-top: 25px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bq-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.btn-bulk {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-bulk:hover {
    background: #1d4ed8;
}

/* --- SEARCH PILL STYLES (New) --- */


.search-group.main {
    border-right: 1px solid #e2e8f0;
    flex: 1.5;
}

.search-group i {
    color: #94a3b8;
    margin-right: 10px;
}

.hero-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

.search-circle-btn {
    background: #2563eb;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.search-circle-btn:hover {
    background: #1d4ed8;
}

/* --- 2. BREADCRUMBS --- */
.breadcrumbs-section {
    padding: 15px 0;
    margin-top: 80px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* --- 3. IMPROVED RELATED SERVICES SECTION --- */
.related-section {
    margin-top: 60px;
    padding: 60px 0;

}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.related-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.90rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.related-card:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.related-card i {
    color: #94a3b8;
    transition: color 0.2s;
}

.related-card:hover i {
    color: #2563eb;
}

/* --- OTHER TWEAKS --- */

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .big-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
        gap: 10px;
    }

    .search-field {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding: 10px 5px;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .hero-search-btn {
        width: 100%;
        border-radius: 12px;
        margin: 5px 0 0 0;
    }

    /* --- NEW MOBILE RULES --- */

    /* Search Pill Mobile */
    .search-pill-container {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
        gap: 10px;
    }

    .search-group.main {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        padding-bottom: 10px;
        margin-bottom: 5px;
    }

    .search-group.zip {
        width: 100%;
        margin-bottom: 5px;
    }

    .search-circle-btn {
        width: 100%;
        border-radius: 12px;
        height: 45px;
    }

    /* Stack Main Layout */
    .service-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px;
        display: none;
        /* Optionally hide sidebar on mobile to save space, or keep it */
    }

    /* Stack Top 3 Cards - Now handled by auto-fit grid */


    /* Bulk Quote Mobile */
    .bulk-quote-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-bulk {
        width: 100%;
    }

    /* Stack All Pros List */
    .pro-card-horizontal {
        flex-direction: column;
        align-items: flex-start;
    }

    .pro-cta {
        width: 100%;
        padding-left: 0;
        border-left: none;
        padding-top: 15px;
        border-top: 1px solid #f1f5f9;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .pro-cta button {
        flex: 1;
    }

    /* Related Services Mobile Grid */
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
    }
}



/* --- Styles for OTP-email.html --- */
body.page-OTP-email {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.auth-wrapper {
    width: 100%;
    background-color: #f8fafc;
    padding: 40px 0;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Header */
.auth-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.auth-logo {
    width: 140px;
    height: auto;
}

/* Content */
.auth-content {
    padding: 40px 35px;
    color: #1e293b;
    text-align: center;
}

.auth-h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-text {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* OTP Box */
.otp-wrapper {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.otp-code {
    font-size: 36px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 8px;
    margin: 0;
}

.expiry-text {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Security Note */
.security-note {
    font-size: 13px;
    color: #ef4444;
    background-color: #fef2f2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 30px;
    display: inline-block;
}

/* Footer */
.auth-footer {
    padding: 30px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

@media screen and (max-width: 600px) {
    .auth-content {
        padding: 30px 20px;
    }

    .otp-code {
        font-size: 32px;
    }
}



/* --- Styles for otp2.html --- */
/* CSS Variables based on your website style */
body.page-otp2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
    color: #1e293b;
}

.auth-wrapper {
    width: 100%;
    background-color: #f8fafc;
    padding: 40px 0;
}

.auth-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header */
.auth-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.auth-logo {
    width: 140px;
    height: auto;
}

/* Hero Section */
.auth-hero {
    padding: 40px 30px 20px 30px;
    text-align: center;
}

.auth-hero h1 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
}

.auth-hero p {
    color: #64748b;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* The "3 Pros" Visual Grid */
.match-grid {
    display: table;
    width: 100%;
    padding: 0 20px 20px 20px;
}

.match-card {
    display: inline-block;
    width: 100%;
    margin: 1%;
    vertical-align: top;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    box-sizing: border-box;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background-color: #f1f5f9;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 20px;
}

.match-status {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5px;
}

.pro-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* Request Details Box */
.details-box {
    margin: 20px 30px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-label {
    color: #64748b;
}

.detail-value {
    font-weight: 600;
    color: #1e293b;
}

/* CTA Button */
.cta-container {
    text-align: center;
    margin: 30px 0;
}

.button {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

/* Trust Footer */
.trust-section {
    background-color: #f0f9ff;
    padding: 20px;
    margin: 0 30px 30px 30px;
    border-radius: 8px;
    border: 1px dashed #bae6fd;
    text-align: center;
}

.trust-title {
    color: #0369a1;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.trust-text {
    color: #0c4a6e;
    font-size: 12px;
    margin: 0;
}

.auth-footer {
    background-color: #1e293b;
    padding: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

.auth-footer a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 10px;
}

@media screen and (max-width: 600px) {
    .match-card {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        text-align: left;
        padding: 15px;
    }

    .avatar-placeholder {
        margin: 0 15px 0 0;
    }

    .auth-hero h1 {
        font-size: 22px;
    }
}



/* --- Styles for otp22.html --- */
body.page-otp22 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.auth-wrapper {
    width: 100%;
    background-color: #f1f5f9;
    padding: 40px 0;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Header */
.auth-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.auth-logo {
    width: 140px;
    height: auto;
}

/* Content Body */
.auth-content {
    padding: 40px 35px;
    color: #1e293b;
}

.auth-h1 {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.auth-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Bullet Points for Clarity */
.bullet-list {
    padding: 0;
    margin: 20px 0;
    list-style: none;
}

.bullet-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    color: #475569;
}

.bullet-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* OTP Display Box */
.otp-container {
    background-color: #f8fafc;
    border: 1px dashed #3b82f6;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin: 25px 0;
}

.otp-code {
    font-size: 38px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 6px;
    margin: 0;
}

.otp-expiry {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Security Alert Box */
.security-alert {
    background-color: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 15px;
    margin-top: 25px;
    font-size: 13px;
    color: #9a3412;
}

/* Footer */
.auth-footer {
    padding: 30px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

@media screen and (max-width: 600px) {
    .auth-content {
        padding: 30px 20px;
    }

    .otp-code {
        font-size: 32px;
        letter-spacing: 4px;
    }
}



/* --- Styles for pro-profile.html --- */
/* --- THEME VARIABLES --- */
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #6c757d;
    --success: #28a745;
    --success-bg: #e7fcf0;
    --warning: #ffc107;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --border: #dee2e6;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.page-pro-profile {
    font-family: 'Inter', sans-serif;
    background: #fdfdfd;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
    padding-bottom: 80px;
}


.breadcrumbs {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* --- LAYOUT --- */
.pro-container {
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    padding: 0 20px;
}

.pro-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 20px;
    position: relative;
}

/* --- CARDS & TYPOGRAPHY --- */
.profile-main-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}



/* --- HERO SECTION --- */
.pro-hero-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pro-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.pro-info h1 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.badge-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
}

.badge-verified {
    background: var(--success-bg);
    color: var(--success);
}

.badge-top {
    background: #fff3cd;
    color: #856404;
}

/* --- ACTION BUTTONS --- */
.action-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.btn-action-outline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-action-outline i {
    color: #007bff;
}

.btn-share-square {
    width: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    color: #007bff;
    font-size: 1.1rem;
}

/* --- OVERVIEW GRID (Desktop Default) --- */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.overview-item i {
    width: 20px;
    text-align: center;
    color: var(--gray);
}

/* --- BUSINESS INFO --- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.info-col h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.payment-icons i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--primary);
}

.pet-friendly-box {
    background: #f0f7ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
    font-size: 14px;
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cred-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* --- SERVICES SECTION --- */
.service-category {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.service-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    color: var(--dark);
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.service-item i {
    color: var(--success);
    font-size: 14px;
}

/* --- PROJECTS SECTION --- */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.photo-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.2s;
}

.photo-grid img:hover {
    opacity: 0.9;
}

/* --- LIGHTBOX --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

/* --- SIDEBAR --- */
.pro-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.booking-widget {
    padding: 25px;
}

.price-area {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.price-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.price-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}

.btn-request {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-request:hover {
    background: var(--primary-dark);
}

.btn-message-outline {
    width: 100%;
    background: white;
    color: var(--dark);
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.guarantee {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

/* --- MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    z-index: 9999;
    grid-template-columns: 1fr 1fr 1.4fr;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

/*.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 4px;
}

.nav-item.active {
    color: #2563eb;
}

.nav-item i {
    font-size: 1.3rem;
}

.nav-quote-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
} */

/* --- HEADER STYLES --- 
        header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); height: 80px; display: flex; align-items: center; z-index: 1000; border-bottom: 1px solid #e5e7eb; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
        .logo img { height: 45px; width: auto; }
        .header-search-wrapper { display: flex; align-items: center; background: #f3f4f6; padding: 5px; border-radius: 50px; width: 400px; }
        .header-input { border: none; background: transparent; padding: 8px 15px; font-size: 0.9rem; outline: none; }
        .header-input.svc { flex: 1; border-right: 1px solid #e5e7eb; }
        .header-input.zip { width: 100px; text-align: center; }
        .header-btn { background: var(--primary); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .nav-right { display: flex; align-items: center; gap: 20px; }
        .explore-wrapper { position: relative; }
        .explore-btn { font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; font-size: 0.9rem; }
        .explore-btn:hover { background: #f3f4f6; }
        .dropdown-menu { position: absolute; top: 140%; right: 0; width: 260px; background: white; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); padding: 10px 0; display: none; }
        .explore-wrapper.open .dropdown-menu { display: block; }
        .menu-category { border-bottom: 1px solid #f9fafb; padding: 10px 20px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; }*/

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .pro-main-wrapper {
        grid-template-columns: 1fr;
    }

    .pro-sidebar-sticky {
        position: static;
        order: 2;
        margin-top: 20px;
    }

    .header-search-wrapper,
    .nav-right .btn-text {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }


}

/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 600px) {
    .pro-hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rating-row,
    .badges {
        justify-content: center;
    }

    .action-buttons-row {
        flex-wrap: wrap;
    }

    .btn-action-outline {
        min-width: 45%;
    }

    .sub-services-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    /* FORCE OVERVIEW TO STACK */
    .overview-grid {
        grid-template-columns: 1fr;
        /* One column only */
    }
}



/* --- Styles for search.html --- */
/* --- PAGE SPECIFIC STYLES (Add to style2.css later if you want) --- */

/* 1. LAYOUT TWEAKS */
.service-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 25px;
}

/* 2. TOP MATCHES SECTION (Scrollable on Mobile) */
.top-matches-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
}

.matches-header {
    margin-bottom: 20px;
}

.matches-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.matches-header p {
    font-size: 0.9rem;
    color: #64748b;
}

/* The Grid/Scroll Wrapper */
.top-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Card Style */
.match-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    position: relative;
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Badges */
.badge-match {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.mc-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.mc-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
}

.mc-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
    padding-top: 5px;
}

.mc-rating {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f59e0b;
    margin-top: 10px;
}

.mc-body {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mc-price {
    font-weight: 200;
    color: #0f172a;
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
}

.btn-view {
    width: 100%;
    border: 1px solid #cbd5e1;
    background: white;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
    transition: 0.2s;
}

.btn-view:hover {
    background: #f1f5f9;
}

/* 3. RESPONSIVENESS for Top Matches Grid */
/* Removed fixed grid columns for responsiveness */


@media (max-width: 650px) {
    .top-cards-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        /* scrollbar offset */
        -webkit-overflow-scrolling: touch;
    }

    .match-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 15px;
    }

    .match-card:last-child {
        margin-right: 0;
    }

    /* Hide scrollbar for a cleaner look */
    .top-cards-wrapper::-webkit-scrollbar {
        display: none;
    }

    .top-cards-wrapper {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .scroll-progress-container {
        display: block;
        width: 100%;
        height: 4px;
        background: #e2e8f0;
        margin-top: 15px;
        border-radius: 4px;
        overflow: hidden;
    }

    .scroll-progress-bar {
        height: 100%;
        width: 0%;
        background: #2563eb;
        transition: width 0.3s ease-out;
    }
}

@media (min-width: 651px) {
    .scroll-progress-container {
        display: none;
    }
}

/* 3. BULK QUOTE CTA */
.bulk-quote-box {
    margin-top: 25px;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bq-text {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

.btn-bulk {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-bulk:hover {
    background: #1d4ed8;
}

/* 4. TRUST & RELATED SECTIONS (Thumbtack Style) */
.trust-section {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-item h4 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.trust-item p {
    font-size: 0.9rem;
    color: #666;
}

.trust-icon {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 10px;
}

.related-section {
    margin-bottom: 60px;
    margin-top: 60px;
    /* Added spacing to resolve overlap */
}

.related-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.r-chip {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #475569;
    transition: 0.2s;
    cursor: pointer;
}

.r-chip:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .service-layout {
        display: block;
    }

    .sidebar {
        display: none;
    }

    /* Hide sidebar on mobile as requested in designs usually, or keep if crucial */

    /* SCROLLABLE TOP MATCHES */
    .top-cards-wrapper {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        /* Space for scrollbar */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .match-card {
        min-width: 260px;
        /* Fixed width for scroll */
        scroll-snap-align: center;
    }

    .bulk-quote-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .btn-bulk {
        width: 100%;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}



/* --- Styles for state.html --- */
/* --- STATE PAGE SPECIFIC STYLES --- */

/* Hero */
.state-hero {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

/* City Cards Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.city-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--dark);
}

.city-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.city-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.city-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.city-arrow {
    color: var(--border);
    transition: 0.2s;
}

.city-card:hover .city-arrow {
    color: var(--primary);
}

/* Alphabetical List */
.alpha-list-section {
    padding: 60px 0;
}

.alpha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.alpha-link {
    color: var(--gray);
    font-size: 0.95rem;
    text-decoration: none;
    padding: 5px 0;
    display: inline-block;
    border-bottom: 1px solid var(--border);
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: #eff6ff;
    box-shadow: var(--shadow-soft);
}

.alpha-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .city-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PRO PROFILE STYLES RESTORED --- */
.page-pro-profile {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #6c757d;
    --success: #28a745;
    --success-bg: #e7fcf0;
    --warning: #ffc107;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --border: #dee2e6;
    --white: #ffffff;
    --radius: 12px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background: #fdfdfd;
    color: var(--dark);
    line-height: 1.6;
    padding-bottom: 80px;
}


.breadcrumbs {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-left: 45px;
}

.breadcrumbs a:hover {
    color: var(--primary);
}



.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    padding-top: 20px;
    align-items: start;
}

.profile-main-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}



.pro-hero-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pro-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.pro-info h1 {
    margin: 0 0 5px 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.badge-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
}

.badge-verified {
    background: var(--success-bg);
    color: var(--success);
}

.badge-top {
    background: #fff3cd;
    color: #856404;
}

.action-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.btn-action-outline {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-action-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-action-outline i {
    color: var(--primary);
}

.btn-share-square {
    width: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary);
    font-size: 1.1rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

.overview-item i {
    width: 20px;
    text-align: center;
    color: var(--gray);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.info-col h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.payment-icons i {
    font-size: 24px;
    margin-right: 10px;
    color: var(--primary);
}

.pet-friendly-box {
    background: #f0f7ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
    font-size: 14px;
}

.service-category {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.service-category:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cat-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    color: var(--dark);
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.service-item i {
    color: var(--success);
    font-size: 14px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.photo-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: 0.2s;
}

.photo-grid img:hover {
    opacity: 0.9;
}

.pro-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.booking-widget {
    padding: 25px;
}

.price-area {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.price-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.price-val {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: white;
    box-sizing: border-box;
}

.btn-request {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-request:hover {
    background: var(--primary-dark);
}

.btn-message-outline {
    width: 100%;
    background: white;
    color: var(--dark);
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.guarantee {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.cred-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.cred-icon {
    margin-top: 3px;
}

@media (max-width: 992px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }

    .pro-sidebar-sticky {
        position: static;
        order: 2;
        margin-top: 20px;
    }


}

@media (max-width: 600px) {
    .pro-hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rating-row,
    .badges {
        justify-content: center;
    }

    .action-buttons-row {
        flex-wrap: wrap;
    }

    .btn-action-outline {
        min-width: 45%;
    }

    .sub-services-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* --- MOBILE SEARCH MODAL --- */
.mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-modal.active {
    transform: translateY(0);
}

.ms-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    gap: 15px;
}

.ms-back,
.ms-clear {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

.ms-input {
    flex: 1;
    border: none;
    font-size: 1.1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.ms-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.ms-section {
    margin-bottom: 25px;
}

.ms-section h4 {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ms-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ms-tags span {
    background: #f1f5f9;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark);
    cursor: pointer;
}

.ms-locations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ms-loc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 1rem;
    cursor: pointer;
}

.ms-loc-item i {
    color: var(--gray);
}
