/* ====== Design tokens ====== */
:root {
    --vz-primary: #0d6efd;
    --vz-primary-2: #2f8dff;
    --vz-primary-3: #66b4ff;

    --vz-text: #0b2a5a;
    --vz-muted: #6b7a90;

    --glass-bg: rgba(255, 255, 255, .72);
    --glass-brd: rgba(13, 110, 253, .12);
    --vz-shadow: 0 12px 30px rgba(13, 59, 137, .10);

    --vz-dark-bg: rgba(16, 22, 39, .55);
    --vz-dark-brd: rgba(127, 179, 255, .18);
    --vz-dark-shadow: 0 14px 36px rgba(0, 0, 0, .38);
}

html[data-theme="dark"] {
    color-scheme: dark;
}

/* ====== Glass helpers ====== */
.glass-lite, .glass-solid {
    border: 1px solid rgba(255, 255, 255, .32);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18)
}

.glass-lite {
    background: rgba(255, 255, 255, .16)
}

.glass-solid {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .36);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22)
}

/* ====== Hero ====== */
.hero-section {
    position: relative;
    padding: 6rem 0 8rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--vz-primary), var(--vz-primary-2) 45%, var(--vz-primary-3))
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Image URL is handled in HTML via inline style */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .18
}

.hero-inner {
    position: relative;
    z-index: 2
}

.hero-section h1 {
    font-weight: 900;
    font-size: 3rem;
    line-height: 1.35
}

.hero-section h1 .muted {
    color: #e8f2ff
}

.hero-section p {
    color: #eaf3ff;
    font-size: 1.15rem
}

.hero-search {
    max-width: 1000px;
    margin: 2.75rem auto 0;
    border-radius: 22px;
    padding: 1.5rem
}

.hero-search .search-row {
    gap: 12px
}

.hero-search .chunk {
    min-width: 260px;
    border-radius: 14px;
    padding: .85rem .9rem;
    border: 1px solid rgba(255, 255, 255, .35);
    display: flex;
    align-items: center;
    gap: .5rem
}

.hero-search .form-control {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 600;
    caret-color: #fff
}

.hero-search .form-control::placeholder {
    color: rgba(255, 255, 255, .85)
}

.hero-search .icon {
    font-size: 1.1rem;
    color: #002b4e;
    background: #fff;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.hero-search .quick {
    margin-top: 1.25rem;
    text-align: center
}

.hero-search .quick p {
    color: #eaf3ff;
    font-weight: 800
}

.hero-search .quick .btn {
    border-radius: 999px;
    padding: .4rem .9rem;
    font-weight: 700;
    border-color: rgba(255, 255, 255, .6);
    color: #0b2a5a;
    background: rgba(255, 255, 255, .9)
}

.hero-search .quick .btn:hover {
    background: #fff
}

/* ====== Sections ====== */
.content-section {
    padding: 5rem 0
}

.section-title {
    text-align: center;
    margin-bottom: 3rem
}

.section-title h2 {
    font-weight: 800
}

.feature-card, .testimonial-card, .cta-section {
    border-radius: 16px
}

.feature-card {
    padding: 2rem
}

.feature-icon {
    font-size: 3rem;
    color: var(--vz-primary);
    margin-bottom: 1rem
}

/* Specialist Tag Styling */
.specialist-tag {
    background: rgba(13, 110, 253, .12);
    color: var(--vz-primary);
    padding: .65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-block;
    border: 1px solid rgba(13, 110, 253, .25);
    text-decoration: none;
    transition: all 0.2s ease;
}

.specialist-tag:hover {
    background: rgba(13, 110, 253, .25);
    transform: translateY(-2px);
    color: var(--vz-primary);
    border-color: var(--vz-primary);
}

/* ====== Service + Step cards ====== */
.service-grid .service-card, .step-card {
    position: relative;
    border-radius: 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    box-shadow: var(--vz-shadow);
    padding: 1.4rem 1.2rem 1.2rem;
    transition: transform .16s, box-shadow .16s, border-color .16s;
    height: 100%
}

html[data-theme="dark"] .service-grid .service-card, html[data-theme="dark"] .step-card {
    background: var(--vz-dark-bg);
    border-color: var(--vz-dark-brd);
    box-shadow: var(--vz-dark-shadow)
}

.service-grid .service-card:hover, .spec-card:hover, .team-card:hover, .step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(13, 59, 137, .16);
    border-color: rgba(13, 110, 253, .28)
}

.service-grid .svc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: .45rem
}

.service-grid .badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75));
    border: 1px solid rgba(13, 110, 253, .25);
    box-shadow: 0 6px 18px rgba(13, 59, 137, .12), inset 0 0 0 6px rgba(13, 110, 253, .06);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    color: var(--vz-primary);
    font-size: 1.25rem
}

.service-title {
    font-weight: 800;
    font-size: 1.06rem;
    margin: 0
}

.service-desc {
    color: var(--vz-muted);
    font-size: .93rem;
    line-height: 1.85;
    min-height: 64px
}

.service-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed rgba(13, 110, 253, .22);
    margin-top: .9rem;
    padding-top: .7rem
}

.service-cta .btn {
    border-radius: 999px;
    padding: .38rem .8rem;
    font-weight: 800;
    font-size: .9rem
}

.left-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--vz-primary);
    font-weight: 800;
    font-size: .9rem
}

html[data-theme="dark"] .left-chip {
    color: #9fc5ff
}

.svc-illus {
    position: absolute;
    inset-block-end: 6px;
    inset-inline-end: 8px;
    font-size: 72px;
    opacity: .06;
    pointer-events: none;
    line-height: 1;
    color: var(--vz-primary)
}

html[data-theme="dark"] .svc-illus {
    color: #9fc5ff
}

/* ====== Steps ====== */
.steps-wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto
}

.steps-track {
    position: absolute;
    inset-inline: 6%;
    top: 58px;
    height: 6px;
    background: linear-gradient(90deg, rgba(13, 110, 253, .18), rgba(13, 110, 253, .45), rgba(13, 110, 253, .18));
    border-radius: 999px;
    pointer-events: none
}

@media (max-width: 991.98px) {
    .steps-track {
        display: none
    }
}

.step-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .35rem
}

.step-no {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .82));
    border: 1px solid rgba(13, 110, 253, .28);
    box-shadow: 0 6px 18px rgba(13, 59, 137, .12), inset 0 0 0 6px rgba(13, 110, 253, .06);
    color: var(--vz-primary);
    font-weight: 900;
    font-size: 1.1rem
}

html[data-theme="dark"] .step-no {
    background: linear-gradient(135deg, rgba(16, 22, 39, .95), rgba(16, 22, 39, .82));
    color: #cfe0ff
}

.step-title {
    margin: 0;
    font-weight: 900;
    font-size: 1.05rem
}

.step-desc {
    color: var(--vz-muted);
    line-height: 1.9;
    min-height: 56px
}

.step-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px dashed rgba(13, 110, 253, .24)
}

.step-cta .btn {
    border-radius: 999px;
    font-weight: 800;
    padding: .4rem .9rem
}

.step-illus {
    position: absolute;
    inset-inline-end: 10px;
    inset-block-end: 8px;
    font-size: 56px;
    opacity: .08;
    color: var(--vz-primary);
    line-height: 1
}

html[data-theme="dark"] .step-illus {
    color: #9fc5ff
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--vz-primary);
    box-shadow: 0 0 0 6px rgba(13, 110, 253, .12);
    margin: .75rem auto
}

@media (min-width: 992px) {
    .step-dot {
        display: none
    }
}

.approach-lead {
    max-width: 720px;
    margin-top: .5rem
}

.approach-badges {
    gap: .5rem .6rem
}

.approach-photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(13, 59, 137, .16)
}

.team-grid {
    margin-top: 2rem
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--vz-shadow);
    height: 100%;
    transition: transform .16s, box-shadow .16s
}

.team-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .6rem;
    box-shadow: 0 8px 22px rgba(13, 59, 137, .18)
}

.team-name {
    font-weight: 900;
    margin: 0
}

.team-role {
    color: var(--vz-muted);
    font-size: .9rem
}

/* ====== Popular Specialties ====== */
#popular-specialties .section-title .more-link {
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .35rem
}

#popular-specialties .spec-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: var(--vz-shadow);
    transition: transform .16s, box-shadow .16s, border-color .16s;
    height: 100%;
    text-decoration: none;
    color: inherit
}

#popular-specialties .spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(13, 59, 137, .16);
    border-color: rgba(13, 110, 253, .28)
}

html[data-theme="dark"] #popular-specialties .spec-card {
    background: var(--vz-dark-bg);
    border-color: var(--vz-dark-brd);
    box-shadow: var(--vz-dark-shadow)
}

#popular-specialties .spec-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(245, 250, 255, .9));
    border: 1px solid rgba(13, 110, 253, .2)
}

#popular-specialties .spec-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

#popular-specialties .spec-text {
    min-width: 0
}

#popular-specialties .spec-name {
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0
}

#popular-specialties .spec-meta {
    color: var(--vz-muted);
    font-size: .9rem;
    margin: 0
}

#popular-specialties .row {
    row-gap: 16px
}

/* ====== Theme toggle ====== */
.theme-toggle {
    position: fixed;
    inset-inline-end: 16px;
    inset-block-end: 16px;
    z-index: 50;
    border-radius: 999px;
    border: 1px solid rgba(13, 110, 253, .25);
    background: #fff;
    padding: .55rem .8rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700
}

html[data-theme="dark"] .theme-toggle {
    background: #0f162b;
    color: #eaf2ff;
    border-color: rgba(127, 179, 255, .25)
}

/* ====== FAQ Accordion ====== */
.faq-accordion .accordion-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-brd);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--vz-shadow);
    overflow: hidden;
}

html[data-theme="dark"] .faq-accordion .accordion-item {
    background: var(--vz-dark-bg);
    border-color: var(--vz-dark-brd);
    box-shadow: var(--vz-dark-shadow);
}

.faq-accordion .accordion-header .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--vz-text);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 1.25rem 1.5rem;
}

html[data-theme="dark"] .faq-accordion .accordion-header .accordion-button {
    color: #eaf2ff;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(13, 110, 253, 0.05);
    color: var(--vz-primary);
    box-shadow: none;
}

html[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(13, 110, 253, 0.1);
    color: #cde0ff;
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--vz-muted);
    line-height: 1.8;
}

html[data-theme="dark"] .faq-accordion .accordion-body {
    color: #b0c4de;
}

.faq-accordion .accordion-button::after {
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-weight: 900;
    background-image: none;
    color: var(--vz-primary);
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: scale(1.1) rotate(-180deg);
    background-image: none;
}

/* ====== Review Section ====== */
.review-section-bg {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(45, 126, 247, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 150, 0.05) 0%, transparent 40%);
}

.glass-review-card-small {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    padding: 0.8rem 1rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    gap: 8px;
}

html[data-theme="dark"] .glass-review-card-small {
    background: rgba(17, 25, 40, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-review-card-small:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(45, 126, 247, 0.15);
    border-color: rgba(45, 126, 247, 0.3);
}

.reviewer-avatar-small {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-swiper {
    padding: 20px 10px 40px 10px !important;
}

.swiper-pagination-bullet {
    background: var(--vz-primary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 4px;
    transition: width .3s;
}

/* Modal Styles */
.modal-glass-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .modal-glass-content {
    background: rgba(22, 28, 45, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-header-custom {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding: 1.5rem 2rem;
}

.form-control-glass {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 1rem;
    transition: 0.3s;
}

.form-control-glass:focus {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(45, 126, 247, 0.15);
    border-color: var(--vz-primary);
}

.star-rating-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
}

.star-rating-group input {
    display: none;
}

.star-rating-group label {
    cursor: pointer;
    font-size: 2.5rem;
    color: #ddd;
    transition: transform 0.2s, color 0.2s;
}

.star-rating-group input:checked ~ label,
.star-rating-group label:hover,
.star-rating-group label:hover ~ label {
    color: #ffc107;
    transform: scale(1.1);
}

.btn-submit-review {
    background: linear-gradient(135deg, var(--vz-primary), var(--vz-primary-2));
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    transition: 0.3s;
    color: white;
}

.btn-submit-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4);
}

/* All Reviews List Modal */
.reviews-list-container {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 5px;
}

.reviews-list-container::-webkit-scrollbar {
    width: 6px;
}

.reviews-list-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.reviews-list-container::-webkit-scrollbar-thumb {
    background: rgba(13, 110, 253, 0.3);
    border-radius: 10px;
}

.review-list-item {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

html[data-theme="dark"] .review-list-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Performance fallbacks */
@media (max-width: 576px) {
    .glass-lite, .glass-solid {
        backdrop-filter: blur(8px) saturate(130%);
        -webkit-backdrop-filter: blur(8px) saturate(130%);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    }

    .hero-section {
        padding: 4rem 0 5rem
    }

    .hero-section h1 {
        font-size: 2.2rem
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important
    }
}