/**
 * Service Page Template Styles
 *
 * @package Visa_Matters
 */

/* =========================
   SHARED
========================= */
.vsp-subtitle {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-20);
    font-weight: var(--vm-fw-500);
    color: var(--vm-blue-dark, #4db1d8);
    display: block;
    margin-bottom: 12px;
}

/* =========================
   SECTION 1 — INTRO
========================= */
.vsp-intro {
    padding: 80px 0;
}

.vsp-intro__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-46);
    font-weight: var(--vm-fw-500);
    line-height: 52px;
    letter-spacing: -0.03em;
    color: var(--vm-heading, #28264e);
    margin-bottom: 20px;
}

.vsp-intro__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-20);
    line-height: 26px;
    letter-spacing: -0.02em;
    color: var(--vm-text-body, #3e3e3e);
    margin-bottom: 30px;
}

.vsp-intro__image {
    width: 100%;
    max-width: 590px;
    height: 475px;
    object-fit: cover;
    border-radius: 6px;
}

/* =========================
   SECTION 2 — INTRODUCTION
========================= */
.vsp-introduction {
    padding: 80px 0;
    background: var(--vm-grey-light, #f5f5f5);
}

.vsp-introduction__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-46);
    font-weight: var(--vm-fw-500);
    line-height: 52px;
    letter-spacing: -0.03em;
    color: var(--vm-heading, #28264e);
    margin-bottom: 20px;
}

.vsp-introduction__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-20);
    line-height: 26px;
    letter-spacing: -0.02em;
    color: var(--vm-text-body, #3e3e3e);
    margin-bottom: 30px;
}

.vsp-introduction__image {
    width: 100%;
    max-width: 590px;
    height: 475px;
    object-fit: cover;
    border-radius: 6px;
}

/* =========================
   SECTION 3 — SERVICE DIRECTORY
========================= */
.vsp-problems {
    padding: 80px 0;
    background: var(--vm-white, #ffffff);
}

.vsp-problems__header {
    margin-bottom: 50px;
}

.vsp-problems__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-32);
    font-weight: var(--vm-fw-600);
    color: var(--vm-heading, #28264e);
    margin-top: 10px;
    margin-bottom: 16px;
}

.vsp-problems__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-18);
    line-height: 26px;
    color: var(--vm-text-body, #3e3e3e);
    max-width: 820px;
    margin: 0 auto;
}

/* Card styles — mirrors vm-service-card from home.css */
.vsp-problems .vm-service-card {
    border-radius: var(--vm-radius-6);
    background: var(--vm-white, #ffffff);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.vsp-problems .vm-service-card img {
    width: 100%;
    height: var(--vm-size-256);
    min-height: var(--vm-size-256);
    max-height: var(--vm-size-256);
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 400 / 256;
    border-radius: var(--vm-radius-6) var(--vm-radius-6) 0 0;
}

.vsp-problems .vm-card-body {
    padding: var(--vm-space-24) 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vsp-problems .vm-h4 {
    font-size: var(--vm-fs-24);
    line-height: var(--vm-lh-28);
    letter-spacing: var(--vm-ls--048);
    font-weight: var(--vm-fw-600);
    color: var(--vm-heading, #28264e);
    margin-bottom: var(--vm-space-5-11);
}

.vsp-problems .vm-divider {
    height: 1px;
    background: var(--vm-black, #0f0f0f);
    margin-bottom: var(--vm-space-17-57);
    margin-top: 0;
    flex-shrink: 0;
}

.vsp-problems .vm-tile-body {
    font-size: var(--vm-fs-16);
    line-height: var(--vm-lh-20);
    letter-spacing: var(--vm-ls--016);
    color: var(--vm-text-body, #3e3e3e);
    margin-bottom: var(--vm-space-17);
    flex-grow: 1;
}

.vsp-problems .vm-link-blog {
    display: inline-block;
    font-size: var(--vm-fs-16);
    line-height: var(--vm-lh-24);
    letter-spacing: var(--vm-ls--016);
    font-weight: var(--vm-fw-600);
    color: var(--vm-blue-dark, #4db1d8);
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
}

.vsp-problems .vm-link-blog:hover {
    text-decoration: underline;
}

/* =========================
   SECTION 4 — WRITTEN IMMIGRATION ASSESSMENT
========================= */
.vsp-ready-bar__content .vm-btn-white:hover {
    background: var(--vm-heading, #28264e);
    border-color: var(--vm-white, #ffffff);
    color: var(--vm-white, #ffffff);
}
.vsp-ready-wrapper {
    padding: 80px 0;
    background-color: var(--vm-grey-light, #f5f5f5);
}

.vsp-ready-bar {
    background: var(--vm-heading, #28264e);
    border-radius: 6px;
    overflow: hidden;
}

.vsp-ready-bar__img-col {
    position: relative;
    min-height: 400px;
}

.vsp-ready-bar__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vsp-ready-bar__content {
    padding: 50px 50px 50px 40px;
}

.vsp-ready-bar__subtitle {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-20);
    font-weight: var(--vm-fw-500);
    color: var(--vm-blue-dark, #4db1d8);
    display: block;
    margin-bottom: 12px;
}

.vsp-ready-bar__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-46);
    font-weight: var(--vm-fw-500);
    line-height: 52px;
    letter-spacing: -0.03em;
    color: var(--vm-white, #ffffff);
    margin-bottom: 20px;
}

.vsp-ready-bar__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-18);
    line-height: 26px;
    color: var(--vm-white, #ffffff);
}

.vsp-ready-bar__desc p {
    color: var(--vm-white, #ffffff);
    margin-bottom: 0;
}

/* =========================
   SECTION 5 — IMMIGRATION GUIDES
========================= */
.vsp-guides {
    background: #d6eaf2;
    padding: 80px 0;
}

.vsp-guides__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-46);
    font-weight: var(--vm-fw-500);
    line-height: 52px;
    letter-spacing: -0.03em;
    color: var(--vm-heading, #28264e);
    margin-top: 12px;
    margin-bottom: 20px;
}

.vsp-guides__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-18);
    line-height: 26px;
    color: var(--vm-text-body, #3e3e3e);
}

/* =========================
   SECTION 6 — WHY CHOOSE
========================= */
.vsp-why {
    padding: 80px 0;
    background: var(--vm-white, #ffffff);
}

.vsp-why__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-32);
    font-weight: var(--vm-fw-700);
    color: var(--vm-heading, #28264e);
}

.vsp-why__row {
    margin-top: 50px;
}

.vsp-why__item-title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-24);
    font-weight: var(--vm-fw-600);
    color: var(--vm-heading, #28264e);
    margin-top: 20px;
}

/* Reset Bootstrap row > * column behaviour on the desc wrapper */
.vsp-why__item-desc {
    width: auto;
    flex: none;
    padding: 0;
    font-family: var(--vm-font);
    font-size: var(--vm-fs-16);
    color: var(--vm-text-body, #3e3e3e);
}

.vsp-why__item-desc p {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-16);
    color: var(--vm-text-body, #3e3e3e);
    margin-bottom: 0;
}

/* =========================
   SECTION 7 — HOW WE HELP
========================= */
.vsp-help {
    padding: 80px 0;
    background: var(--vm-grey-light, #f5f5f5);
}

.vsp-help__image {
    width: 100%;
    max-width: 590px;
    height: 475px;
    object-fit: cover;
    border-radius: 6px;
}

.vsp-help__title {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-46);
    font-weight: var(--vm-fw-500);
    line-height: 52px;
    letter-spacing: -0.03em;
    color: var(--vm-heading, #28264e);
    margin-bottom: 16px;
}

.vsp-help__desc {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-18);
    line-height: 26px;
    color: var(--vm-text-body, #3e3e3e);
}

/* =========================
   SECTION 8 — CONTACT
========================= */
.vsp-contact {
    padding: 80px 0;
    background: var(--vm-blue-dark, #4db1d8);
    color: var(--vm-white, #ffffff);
}

.vsp-contact h2 {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-57);
    font-weight: var(--vm-fw-500);
    line-height: 63px;
    letter-spacing: -0.03em;
}

.vsp-contact p {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-18);
}

.vsp-contact__row {
    align-items: center;
}

.vsp-contact .col-lg-4 {
    display: flex;
    justify-content: flex-end;
}

.vsp-contact__bottom-text {
    font-family: var(--vm-font);
    font-size: var(--vm-fs-32);
    font-weight: var(--vm-fw-600);
    color: var(--vm-purple-dark, #262262);
}

/* =========================
   RESPONSIVE — TABLET
========================= */
@media (max-width: 991px) {

    .vsp-intro,
    .vsp-introduction,
    .vsp-problems,
    .vsp-ready-wrapper,
    .vsp-guides,
    .vsp-why,
    .vsp-help,
    .vsp-contact {
        padding: 60px 0;
    }

    .vsp-problems__header {
        margin-bottom: 35px;
    }

    .vsp-intro__title,
    .vsp-introduction__title,
    .vsp-help__title,
    .vsp-ready-bar__title,
    .vsp-guides__title {
        font-size: var(--vm-fs-32);
        line-height: 40px;
    }

    .vsp-intro__image,
    .vsp-introduction__image,
    .vsp-help__image {
        height: auto;
        max-height: 400px;
    }

    .vsp-ready-bar__img-col {
        min-height: 300px;
    }

    .vsp-ready-bar__content {
        padding: 40px 30px;
    }

    .vsp-contact h2 {
        font-size: var(--vm-fs-40);
        line-height: 46px;
    }

    .vsp-contact .col-lg-4 {
        justify-content: flex-start;
        margin-top: 25px;
    }
}

/* =========================
   RESPONSIVE — MOBILE
========================= */
@media (max-width: 767px) {

    .vsp-intro,
    .vsp-introduction,
    .vsp-problems,
    .vsp-ready-wrapper,
    .vsp-guides,
    .vsp-why,
    .vsp-help,
    .vsp-contact {
        padding: 40px 0;
    }

    .vsp-intro__title,
    .vsp-introduction__title,
    .vsp-help__title,
    .vsp-ready-bar__title,
    .vsp-guides__title {
        font-size: var(--vm-fs-27);
        line-height: 34px;
    }

    .vsp-intro__image,
    .vsp-introduction__image,
    .vsp-help__image {
        max-height: 280px;
    }

    .vsp-problem-box {
        height: auto;
        min-height: 220px;
    }

    .vsp-ready-bar__img-col {
        min-height: 250px;
    }

    .vsp-ready-bar__content {
        padding: 30px 20px;
    }

    .vsp-contact h2 {
        font-size: var(--vm-fs-30);
        line-height: 36px;
    }

    .vsp-contact__bottom-text {
        font-size: var(--vm-fs-24);
    }
}
