/* ════════════════════════════════════════════════
   AppointHub — index2.css  (Figma-accurate styles)
════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #F8FAFC;
    color: #181F31;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    width: 100%;
    height: 63px;
    background: #FFFFFF;
    border-bottom: 1px solid #E8EDF3;
    box-shadow: 0 4px 8px rgba(0,0,0,.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
    gap: 28px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-logo-mark {
    width: 39px; height: 39px;
    background: #A6C0FF;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #283044;
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    color: #283044;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 17px;
    flex-shrink: 0;
    margin-right: auto;
}
.nav-links a {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: #283044;
    text-decoration: none;
    white-space: nowrap;
}
.nav-link-active { color: #2488FF !important; }

/* Active underline */
.nav-link-active {
    position: relative;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    left: 0; bottom: -26px;
    width: 100%; height: 2px;
    background: #2488FF;
    border-radius: 2px;
}

.vector{
  position: absolute;
left: 8.33%;
right: 4.17%;
top: 4.17%;
bottom: 8.33%;

background: #A6C0FF;
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.nav-actions span[style] {
    white-space: nowrap;
}

/* Notification bell */
.notif-badge {
    position: absolute;
    /* Move to the top-right corner point */
    top: 0; 
    right: 0;
    /* Pull it back by half its own width/height to perfectly straddle the corner */
    transform: translate(50%, -50%);
    
    background: #26C289;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Prevents the badge from blocking clicks to the link */
}

.notif-container {
    position: relative;
    display: inline-block;
}

.nav-notif-link {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #26C289;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.notif-popup {
    display: none;
    position: absolute;
    right: 0;
    top: 45px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    padding: 10px;
    z-index: 999;
}

.notif-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.notif-item:last-child {
    border-bottom: none;
}
/* Buttons */
.btn-primary-nav {
    display: flex; align-items: center; justify-content: center;
    padding: 6px 18px;
    background: #26C289;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
    transition: opacity .2s;
}
.btn-primary-nav:hover { opacity: .88; }

.btn-ghost {
    display: flex; align-items: center; justify-content: center;
    padding: 6px 14px;
    border: 1px solid #D0D5DD;
    color: #283044;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s;
}
.btn-ghost:hover { background: #F2F4F7; }

/* Avatar circle */
.nav-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #4D5D88;
    border: 2px solid #A6C0FF;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 717px;
    margin-top: 63px; /* navbar height */
    background: #F0F0F0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
}
.hero-bg-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .18;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(248,250,252,.98) 45%, rgba(248,250,252,.5) 75%, transparent 100%);
}

/* Decorative ring */
.hero::after {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    right: -60px;
    top: calc(50% - 400px);
    border: 50px solid #6175A7;
    border-radius: 50%;
    opacity: .35;
    pointer-events: none;
}

.hero-center {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 116px;
}

/* Trusted badge */
.hero-center::before {
    content: '✓  Trusted by 10,000+ Families';
    display: inline-flex;
    align-items: center;
    background: #C8D5FA;
    color: #6175A7;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 64px;
    line-height: 96px;
    color: #000;
    max-width: 818px;
    margin-bottom: 16px;
}

.hero > .hero-center > p,
.hero-center > p {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #6175A7;
    max-width: 691px;
    margin-bottom: 44px;
}

/* Search bar */
.hero-search-bar {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0 4px 8px 1px rgba(0,0,0,.25);
    border-radius: 15px;
    max-width: 1096px;
    height: 103px;
    overflow: hidden;
    padding: 0 16px;
    gap: 0;
}

.hero-search-field {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    padding: 0 16px;
    gap: 10px;
}
.hero-search-field .nav-search-icon {
    color: #D9D9D9;
    font-size: 28px;
}
.hero-search-field .nav-search-input {
    color: #181F31;
    font-size: 20px;
}
.hero-search-field .nav-search-input::placeholder { color: #D9D9D9; }

.hero-search-divider {
    width: 1px;
    height: 65px;
    background: #D9D9D9;
    flex-shrink: 0;
}

.hero-search-btn {
    flex-shrink: 0;
    width: 187px;
    height: 71px;
    background: #319D8A;
    border: none;
    border-radius: 15px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFFFFF;
    cursor: pointer;
    margin-right: 4px;
    transition: opacity .2s;
}
.hero-search-btn:hover { opacity: .88; }

/* ════════════════════════════════════════════════
   MARKETPLACE MAIN
════════════════════════════════════════════════ */
.marketplace-main {
    width: 100%;
    padding: 48px 0 80px;
}

.mp-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
}

/* ── Section head ─────────────────────────────── */


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

.mp-section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -.32px;
    color: #181F31;
    margin-bottom: 6px;
}

.mp-section-sub {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #45464C;
}

.mp-browse-all {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #4D5D88;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: opacity .2s;
}
.mp-browse-all:hover { opacity: .7; }

/* ── Filter bar ───────────────────────────────── */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.filter-search-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    padding: 0 14px;
    height: 46px;
    gap: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.filter-search-wrap .material-symbols-outlined {
    font-size: 20px;
    color: #8492A6;
    flex-shrink: 0;
}
.filter-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #181F31;
    flex: 1;
}
.filter-search-input::placeholder { color: #B0BAC9; }

.filter-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex; align-items: center;
    color: #8492A6;
    padding: 2px;
}
.filter-clear-btn .material-symbols-outlined { font-size: 18px; }

/* ── Category pills ───────────────────────────── */
.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #45464C;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.cat-pill:hover {
    border-color: #6175A7;
    color: #6175A7;
    background: #EEF1FA;
}
.cat-pill.active {
    background: #283044;
    color: #FFFFFF;
    border-color: #283044;
}

/* ── Results meta ─────────────────────────────── */
.results-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.results-count {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #8492A6;
}
.results-count strong { color: #181F31; }

.results-active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #EEF1FA;
    border: 1px solid #C8D5FA;
    border-radius: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #4D5D88;
    cursor: pointer;
    transition: background .2s;
}
.filter-tag:hover { background: #C8D5FA; }
.filter-tag .material-symbols-outlined { font-size: 14px; }

/* ── Services grid ────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ── Service card ─────────────────────────────── */
.service-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.service-card-img-wrap {
    position: relative;
    width: 100%;
    height: 192px;
    background: #E2E8F0;
    overflow: hidden;
}
.service-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.service-card-fav {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,.9);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: #8492A6;
    cursor: pointer;
    transition: color .2s;
    z-index: 2;
}
.service-card-fav:hover { color: #E53E3E; }

.service-card-badge {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 4px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4D5D88;
    z-index: 2;
}

.service-card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 12px;
}

.service-card-left { flex: 1; }

.service-card-name {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #181F31;
    margin-bottom: 4px;
    line-height: 1.4;
}

.service-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
}
.service-card-star {
    font-size: 16px;
    color: #FB923C;
}
.service-card-rating-num {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #181F31;
}

.service-card-right {
    text-align: right;
    flex-shrink: 0;
}
.service-card-price {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #26C289;
    line-height: 1.2;
}
.service-card-price-unit {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #8492A6;
}

/* Stretched link */
.stretched-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ── Empty state ──────────────────────────────── */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: #8492A6;
}
.empty-state .material-symbols-outlined {
    font-size: 64px;
    color: #D9D9D9;
    margin-bottom: 16px;
    display: block;
}
.empty-state h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #181F31;
    margin-bottom: 8px;
}
.empty-state p { font-size: 14px; }
.empty-state a { color: #6175A7; text-decoration: underline; }

/* ════════════════════════════════════════════════
   BROWSE CATEGORIES SECTION
════════════════════════════════════════════════ */
#browse-categories {
    background: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
    border-radius: 15px;
    margin: 0 44px 32px;
    padding: 40px 48px;
}

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

.section-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -.32px;
    color: #181F31;
    margin-bottom: 6px;
}
.section-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #45464C;
}
.view-all-link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #4D5D88;
    display: flex;
    align-items: center;
    gap: 6px;
}
.view-all-link:hover { opacity: .7; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    gap: 14px;
    background: #F2F3F6;
    border-radius: 16px;
    cursor: pointer;
    transition: background .2s, transform .2s;
    text-decoration: none;
}
.category-card:hover {
    background: #E8EAF0;
    transform: translateY(-2px);
}

.category-icon-wrap {
    width: 64px; height: 64px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.category-icon-wrap .material-symbols-outlined {
    font-size: 28px;
    color: #4D5D88;
}

.category-label {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #181F31;
    text-align: center;
}

/* ════════════════════════════════════════════════
   TOP RATED PROVIDERS SECTION
════════════════════════════════════════════════ */
#top-providers {
    background: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
    border-radius: 15px;
    margin: 0 44px 32px;
    padding: 40px 48px;
    overflow: hidden;
}

#top-providers .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.carousel-btns {
    display: flex;
    gap: 8px;
}
.carousel-btn {
    width: 40px; height: 40px;
    border: 1px solid #76777D;
    border-radius: 50%;
    background: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s;
    color: #181F31;
}
.carousel-btn:hover { background: #F2F3F6; }
.carousel-btn .material-symbols-outlined { font-size: 18px; }

.providers-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.provider-card {
    background: #FFFFFF;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 8px rgba(0,0,0,.08);
    border-radius: 16px;
    overflow: hidden;
}

.provider-img-wrap {
    position: relative;
    height: 192px;
    background: #E2E8F0;
    overflow: hidden;
}
.provider-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.provider-rating-badge {
    position: absolute;
    top: 14px; left: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(4px);
    border-radius: 9999px;
    padding: 4px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #181F31;
}
.provider-rating-badge .star-icon {
    font-size: 13px;
    color: #FB923C;
}

.provider-body {
    padding: 20px 24px;
}
.provider-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}
.provider-name {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #181F31;
    line-height: 1.4;
    flex: 1;
}
.provider-verified {
    font-size: 20px;
    color: #4F46E5;
    flex-shrink: 0;
    margin-left: 8px;
}
.provider-category {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #4D5D88;
    margin-bottom: 12px;
}

.provider-location {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    border: 1px solid #F1F5F9;
}
.provider-location .material-symbols-outlined {
    font-size: 18px;
    color: #76777D;
    flex-shrink: 0;
}
.provider-loc-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #45464C;
    display: block;
    line-height: 1;
}
.provider-loc-city {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #181F31;
    display: block;
    line-height: 1;
    margin-top: 3px;
}

.btn-book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #26C289;
    border: none;
    border-radius: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #FFFFFF;
    cursor: pointer;
    transition: opacity .2s;
    text-decoration: none;
}
.btn-book:hover { opacity: .88; }

/* ════════════════════════════════════════════════
   HOW IT WORKS SECTION
════════════════════════════════════════════════ */
#how-it-works {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: #181F31;
    overflow: hidden;
}

#how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(101.82% 531.53% at 100% 0%, rgba(49,46,129,.4) 0%, transparent 50%);
    pointer-events: none;
}

.how-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.how-heading {
    text-align: center;
}
.how-heading h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -.32px;
    color: #FFFFFF;
    margin-bottom: 10px;
}
.how-heading p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #C7D2FE;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    position: relative;
}

/* dashed connector lines */
.how-steps::before,
.how-steps::after {
    content: '';
    position: absolute;
    top: 40px;
    height: 1px;
    border-top: 1px dashed rgba(99,102,241,.5);
    pointer-events: none;
}
.how-steps::before {
    left: calc(33.33% / 2 + 40px);
    width: calc(33.33% - 80px);
}
.how-steps::after {
    left: calc(66.66% / 2 + 73.33% / 2 - 0px);
    width: calc(33.33% - 80px);
    left: 50%;
    width: calc(33.33% - 80px);
    left: calc(33.33% + 33.33%/2 - 10px);
    width: calc(33.33% - 80px);
}

.how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}

.how-step-icon {
    width: 80px; height: 80px;
    background: rgba(99,102,241,.2);
    border: 1px solid rgba(129,140,248,.3);
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}
.how-step-icon .material-symbols-outlined {
    font-size: 32px;
    color: #818CF8;
}

.how-step h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.how-step p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #E0E7FF;
    opacity: .8;
    max-width: 340px;
}

/* ════════════════════════════════════════════════
   FAQ SECTION
════════════════════════════════════════════════ */
#faq {
    max-width: 860px;
    margin: 60px auto;
    padding: 0 44px;
}

#faq h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #181F31;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #181F31;
    user-select: none;
}
.faq-question .material-symbols-outlined {
    font-size: 20px;
    color: #4D5D88;
    transition: transform .3s;
}
.faq-item.open .faq-question .material-symbols-outlined {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #45464C;
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 24px 20px; }

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.site-footer {
    background: #283044;
    box-shadow: 0 -4px 8px rgba(0,0,0,.08);
    padding: 50px 50px 36px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
}

.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-tagline {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #FFFFFF;
    max-width: 260px;
}

.footer-links {
    display: flex;
    gap: 166px;
    margin-left: auto;
    align-items: flex-start;
}

.footer-col h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #FFFFFF;
    margin-bottom: 10px;
    transition: opacity .2s;
}
.footer-col a:hover { opacity: .7; }

.footer-bottom {
    max-width: 1440px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    text-align: center;
}

/* ════════════════════════════════════════════════
   RESPONSIVE TWEAKS
════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .providers-row { grid-template-columns: repeat(2, 1fr); }
    .footer-links { gap: 60px; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 38px; line-height: 52px; }
    .hero-center { padding: 0 24px; }
    .hero-search-bar { flex-direction: column; height: auto; padding: 16px; }
    .hero-search-divider { display: none; }
    .hero-search-btn { width: 100%; }
    .nav-links { display: none; }
    .nav-search { display: none; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .providers-row { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 32px; }
    #browse-categories, #top-providers { margin: 0 16px 24px; }
    .mp-content { padding: 0 16px; }
}