/* =====================================================================
   Medical Tourism page (medical-tourism.php)
   Every rule is scoped under .mt-page, so no other page is affected.
   ===================================================================== */

.mt-page {
    --mt-navy: #0a2c3d;
    --mt-navy-deep: #06202d;
    --mt-teal: #17799f;
    --mt-blue: #2792c8;
    --mt-green: #81b13c;
    --mt-lime: #a9d65f;
    --mt-body: #40596a;
    --mt-line: #d7e4ea;
    --mt-mist: #eef6f9;
    --mt-radius: 16px;
    --mt-shadow: 0 22px 48px -26px rgba(10, 44, 61, .45);
    color: var(--mt-body);
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: clip;
}

.mt-page *,
.mt-page *::before,
.mt-page *::after {
    box-sizing: border-box;
}

.mt-page h1,
.mt-page h2,
.mt-page h3 {
    font-family: "Jost", sans-serif;
    font-weight: 600;
    color: var(--mt-navy);
    margin: 0;
    text-wrap: balance;
}

.mt-page p {
    margin: 0;
    text-wrap: pretty;
}

.mt-page ul,
.mt-page ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mt-page figure {
    margin: 0;
}

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

.mt-page strong {
    color: var(--mt-navy);
    font-weight: 600;
}

.mt-page a:focus-visible {
    outline: 3px solid var(--mt-lime);
    outline-offset: 3px;
}

.mt-page [id] {
    scroll-margin-top: 110px;
}

/* ---------- Sections and headings ---------- */
.mt-section {
    padding: clamp(64px, 7.4vw, 108px) 0;
}

.mt-section--first {
    padding-top: clamp(56px, 6vw, 88px);
}

.mt-section--mist {
    background: var(--mt-mist);
}

.mt-section--navy {
    background: var(--mt-navy);
    color: #d5e4eb;
}

.mt-page h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    line-height: 1.16;
    letter-spacing: -.01em;
}

/* Blue and green bars, as used under the headings across the site */
.mt-head h2::after,
.mt-copy h2::after,
.mt-city-copy h2::after {
    content: "";
    display: block;
    width: 108px;
    height: 4px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--mt-blue) 0 66%, transparent 66% 70%, var(--mt-green) 70%);
}

.mt-head {
    max-width: 780px;
    margin-bottom: clamp(30px, 3.4vw, 48px);
}

.mt-head p {
    margin-top: 20px;
}

.mt-head--row {
    max-width: none;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
}

/* ---------- Buttons ---------- */
.mt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.mt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.mt-btn--primary {
    background: var(--mt-lime);
    color: var(--mt-navy-deep);
}

.mt-btn--primary:hover {
    background: #fff;
    color: var(--mt-navy-deep);
}

.mt-btn--ghost {
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.mt-btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--mt-navy-deep);
}

.mt-btn--outline {
    border-color: var(--mt-teal);
    color: var(--mt-teal);
}

.mt-btn--outline:hover {
    background: var(--mt-teal);
    color: #fff;
}

/* ---------- Hero ---------- */
.mt-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(640px, calc(100vh - 40px), 880px);
    padding: 168px 0 128px;
    background: var(--mt-navy-deep);
    color: #fff;
    overflow: hidden;
}

.mt-hero-media {
    position: absolute;
    inset: 0 0 0 37%;
    z-index: -1;
}

.mt-hero-media img,
.mt-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mt-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--mt-navy-deep) 0, rgba(6, 32, 45, .82) 12%, rgba(6, 32, 45, .28) 30%, transparent 44%),
        linear-gradient(180deg, rgba(6, 32, 45, .92) 0, rgba(6, 32, 45, .58) 16%, transparent 32%),
        linear-gradient(0deg, rgba(6, 32, 45, .6) 0, transparent 26%);
}

.mt-hero-copy {
    max-width: 590px;
}

.mt-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 17px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 40px;
    background: rgba(255, 255, 255, .08);
    font-size: 15px;
    font-weight: 500;
}

.mt-tag i,
.mt-tag svg {
    color: var(--mt-lime);
}

.mt-page h1 {
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(42px, 5.1vw, 74px);
    line-height: 1.04;
    letter-spacing: -.02em;
}

.mt-hero-lead {
    max-width: 30em;
    color: #d8e7ee;
    font-size: clamp(18px, 1.5vw, 21px);
    line-height: 1.55;
}

.mt-nabh {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin: 26px 0 32px !important;
    font-family: "Jost", sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
}

.mt-page .mt-nabh img {
    width: 52px;
    height: 52px;
    padding: 2px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

/* Flight route drawn over the photo */
.mt-route {
    overflow: visible;
}

.mt-route path,
.mt-route circle {
    vector-effect: none;
}

.mt-route-reveal {
    fill: none;
    stroke: #fff;
    stroke-width: 26;
}

.mt-route-under,
.mt-route-line {
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 3 17;
}

.mt-route-under {
    stroke: rgba(6, 32, 45, .6);
    stroke-width: 12;
}

.mt-route-line {
    stroke: #fff;
    stroke-width: 6;
}

.mt-route-pin {
    fill: var(--mt-green);
    stroke: #fff;
    stroke-width: 4;
}

.mt-route-pin-dot {
    fill: #fff;
}

.mt-route-pulse {
    fill: rgba(169, 214, 95, .5);
    transform-box: fill-box;
    transform-origin: center;
}

.mt-route-plane circle {
    fill: #fff;
    filter: drop-shadow(0 6px 10px rgba(6, 32, 45, .45));
}

.mt-route-plane path {
    fill: var(--mt-teal);
}

@media (prefers-reduced-motion: no-preference) {
    .mt-route--fly .mt-route-reveal {
        stroke-dasharray: 1;
        animation: mt-draw 2.6s cubic-bezier(.22, .61, .36, 1) both;
    }

    .mt-route-pulse {
        animation: mt-pulse 2.4s ease-out 1.6s infinite;
    }

    .mt-page {
        scroll-behavior: smooth;
    }
}

@keyframes mt-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

@keyframes mt-pulse {
    from { transform: scale(.6); opacity: 1; }
    to { transform: scale(3.4); opacity: 0; }
}

/* ---------- Key facts ---------- */
.mt-facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -62px !important;
    border-radius: var(--mt-radius);
    background: #fff;
    box-shadow: var(--mt-shadow);
}

.mt-facts li {
    padding: 28px 28px 26px;
    border-left: 1px solid var(--mt-line);
}

.mt-facts li:first-child {
    border-left: 0;
}

.mt-facts strong {
    display: block;
    font-family: "Jost", sans-serif;
    font-size: 29px;
    line-height: 1.15;
    color: var(--mt-teal);
}

.mt-facts span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- Welcome and who we are ---------- */
.mt-question {
    max-width: 1010px;
    margin-bottom: clamp(40px, 4.8vw, 68px) !important;
    font-family: "Jost", sans-serif;
    font-size: clamp(25px, 2.75vw, 38px);
    font-weight: 500;
    line-height: 1.34;
    letter-spacing: -.01em;
    color: var(--mt-navy);
}

.mt-question em {
    font-style: normal;
    color: var(--mt-teal);
}

.mt-split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: clamp(32px, 4.6vw, 68px);
}

.mt-split--reverse .mt-copy {
    max-width: 640px;
}

.mt-copy p {
    margin-top: 24px;
}

.mt-photo {
    overflow: hidden;
    border-radius: var(--mt-radius);
    box-shadow: var(--mt-shadow);
}

.mt-photo--wide {
    aspect-ratio: 16 / 10;
}

.mt-photo--doctors {
    aspect-ratio: 8 / 7;
}

.mt-page .mt-photo--doctors img {
    object-position: 50% 58%;
}

.mt-always {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: clamp(36px, 4.2vw, 60px) !important;
}

.mt-always li {
    overflow: hidden;
    border-radius: var(--mt-radius);
    background: #fff;
    box-shadow: var(--mt-shadow);
}

.mt-page .mt-always img {
    height: auto;
    aspect-ratio: 16 / 9;
}

.mt-always span {
    display: block;
    padding: 15px 22px 17px;
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mt-navy);
}

/* ---------- Specialised services ---------- */
.mt-specs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.mt-spec {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 5 / 7;
    border-radius: 14px;
    background: var(--mt-navy);
}

.mt-page .mt-spec img,
.mt-spec h3 {
    grid-area: 1 / 1;
}

.mt-page .mt-spec img {
    min-height: 0;
    transition: transform .6s ease;
}

.mt-page .mt-spec h3 {
    z-index: 1;
    align-self: end;
    padding: 56px 14px 16px;
    background: linear-gradient(0deg, rgba(6, 32, 45, .95) 0, rgba(6, 32, 45, .84) calc(100% - 76px), transparent 100%);
    font-size: 17.500px;
    font-weight: 500;
    line-height: 1.28;
    color: #fff;
    text-wrap: pretty;
}

.mt-spec a {
    color: inherit;
    text-decoration: none;
}

/* The first link covers the whole card; any other links stay clickable on top of it */
.mt-spec a:first-of-type::after {
    content: "";
    position: absolute;
    inset: 0;
}

.mt-spec a:not(:first-of-type) {
    position: relative;
    z-index: 1;
}

.mt-spec a:hover,
.mt-spec a:focus-visible {
    color: var(--mt-lime);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mt-page .mt-spec:hover img {
    transform: scale(1.06);
}

/* ---------- Why Bengaluru ---------- */
.mt-city {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 76px);
}

.mt-city-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(300px, 1fr) auto;
    gap: 14px;
}

.mt-page .mt-city-main img {
    position: absolute;
    inset: 0;
}

.mt-city-photos figure {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
}

.mt-city-photos .mt-city-main {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    min-height: 0;
}

.mt-city-photos figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 16px 12px;
    background: linear-gradient(0deg, rgba(6, 32, 45, .88), transparent);
    font-size: 14.500px;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
}

.mt-section--navy h2 {
    color: #fff;
}

.mt-reasons {
    margin-top: 26px !important;
}

.mt-reasons li {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: center;
    gap: 18px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    line-height: 1.5;
    color: #eaf3f7;
}

.mt-reasons li:first-child {
    border-top: 0;
}

.mt-reason-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(169, 214, 95, .14);
    font-size: 18px;
    color: var(--mt-lime);
}

/* ---------- Journey ---------- */
.mt-steps {
    --mt-gap: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 var(--mt-gap);
    margin-bottom: -48px !important;
}

.mt-step {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    align-content: start;
}

.mt-step-photo {
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
}

/* Numbered stop, with the same dotted route as the hero running to the next one */
.mt-step-mark {
    position: relative;
    margin: -23px 0 14px 18px;
}

.mt-step-mark span {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--mt-teal);
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
}

.mt-step:last-child .mt-step-mark span {
    background: #4f7d1c;
}

.mt-step-mark::after {
    content: "";
    position: absolute;
    top: 33px;
    left: 58px;
    right: calc(-1 * var(--mt-gap) - 10px);
    height: 5px;
    background: radial-gradient(circle, var(--mt-blue) 2.200px, transparent 2.700px) 0 50% / 13px 5px repeat-x;
}

.mt-step:nth-child(4n) .mt-step-mark::after {
    right: 0;
}

.mt-step:last-child .mt-step-mark::after {
    content: none;
}

.mt-page .mt-step h3 {
    font-size: 21px;
    line-height: 1.25;
}

.mt-page .mt-step p {
    margin: 8px 0 48px;
    font-size: 16px;
    line-height: 1.62;
}

/* ---------- First step ---------- */
.mt-start {
    display: grid;
    grid-template-columns: 7fr 5fr;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--mt-shadow);
}

.mt-start-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 4.6vw, 64px);
    background: linear-gradient(135deg, var(--mt-navy) 0, #0f5a78 100%);
    color: #dceaf1;
}

.mt-start-copy h2,
.mt-start-copy strong {
    color: #fff;
}

.mt-start-copy p {
    margin-top: 16px;
}

.mt-start-copy .mt-start-lead {
    font-size: 20px;
    line-height: 1.5;
    color: #fff;
}

.mt-start-copy .mt-actions {
    margin-top: 32px;
}

.mt-contact {
    padding: clamp(28px, 3.6vw, 48px);
}

.mt-page .mt-contact h3 {
    font-size: 24px;
    line-height: 1.25;
}

.mt-contact ul {
    margin-top: 14px !important;
}

.mt-contact li {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: start;
    gap: 16px;
    padding: 15px 0;
    border-top: 1px solid var(--mt-line);
    line-height: 1.55;
}

.mt-contact li:first-child {
    border-top: 0;
}

.mt-contact-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--mt-mist);
    font-size: 17px;
    color: var(--mt-teal);
}

.mt-contact b {
    display: block;
    font-size: 14.500px;
    font-weight: 500;
    color: var(--mt-body);
}

.mt-contact li > span:last-child {
    color: var(--mt-navy);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.mt-contact a {
    color: var(--mt-teal);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.mt-contact a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ---------- Closing ---------- */
.mt-closing {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding: clamp(72px, 8vw, 120px) 0;
    overflow: hidden;
    background: var(--mt-navy);
    color: #e4f0f5;
}

.mt-page .mt-closing-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.mt-closing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6, 32, 45, .94) 0, rgba(8, 48, 67, .86) 40%, rgba(10, 60, 84, .3) 66%, transparent 84%);
}

.mt-route--closing {
    inset: 0 0 0 auto;
    z-index: -1;
    width: min(54%, 900px);
}

.mt-closing-copy {
    max-width: 650px;
}

.mt-closing-copy .mt-closing-lead {
    margin-bottom: 8px;
    font-family: "Jost", sans-serif;
    font-size: clamp(21px, 1.9vw, 26px);
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.mt-page .mt-closing h2 {
    margin: 30px 0 14px;
    font-size: clamp(38px, 4.700vw, 66px);
    line-height: 1.06;
    letter-spacing: -.02em;
    color: var(--mt-lime);
}

.mt-closing-tagline {
    font-size: 19px;
    color: #fff;
}

.mt-closing-copy .mt-closing-brand {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    font-size: 15px;
}

/* ---------- Large tablets and small laptops ---------- */
@media (max-width: 1199px) {
    .mt-specs {
        grid-template-columns: repeat(3, 1fr);
    }

    .mt-spec {
        aspect-ratio: 1 / 1;
    }

    .mt-page .mt-spec img {
        object-position: 50% 22%;
    }

    .mt-page .mt-spec h3 {
        padding: 60px 18px 18px;
        font-size: 19px;
    }

    .mt-facts li {
        padding: 24px 20px;
    }

    .mt-facts strong {
        font-size: 25px;
    }
}

/* ---------- Tablets ---------- */
@media (max-width: 991px) {
    .mt-hero {
        display: block;
        min-height: 0;
        padding: 0 0 112px;
    }

    .mt-hero-media {
        position: relative;
        inset: auto;
        z-index: auto;
        height: clamp(400px, 56vw, 560px);
        margin-top: 40px;
    }

    .mt-hero-shade {
        background:
            linear-gradient(0deg, var(--mt-navy-deep) 0, rgba(6, 32, 45, .5) 16%, transparent 40%),
            linear-gradient(180deg, rgba(6, 32, 45, .9) 0, rgba(6, 32, 45, .45) 18%, transparent 34%);
    }

    .mt-hero-copy {
        position: relative;
        max-width: 640px;
        margin-top: -34px;
    }

    .mt-split,
    .mt-city,
    .mt-start {
        grid-template-columns: 1fr;
    }

    .mt-split--reverse .mt-copy {
        max-width: none;
    }

    .mt-photo--doctors {
        aspect-ratio: 16 / 11;
    }

    .mt-facts {
        grid-template-columns: 1fr 1fr;
    }

    .mt-facts li:nth-child(odd) {
        border-left: 0;
    }

    .mt-facts li:nth-child(n + 3) {
        border-top: 1px solid var(--mt-line);
    }

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

    .mt-step:nth-child(2n) .mt-step-mark::after {
        right: 0;
    }

    .mt-always {
        gap: 14px;
    }

    .mt-always span {
        padding: 12px 14px 14px;
        font-size: 17px;
    }

    .mt-closing::before {
        background: linear-gradient(90deg, rgba(6, 32, 45, .92) 0, rgba(8, 48, 67, .8) 62%, rgba(10, 60, 84, .45) 100%);
    }

    .mt-route--closing {
        display: none;
    }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
    .mt-page {
        font-size: 16px;
    }

    .mt-hero-media {
        height: 420px;
        margin-top: 34px;
    }

    .mt-nabh {
        margin: 20px 0 26px !important;
        font-size: 18px;
    }

    .mt-actions {
        flex-direction: column;
    }

    .mt-btn {
        width: 100%;
    }

    .mt-head--row {
        align-items: stretch;
    }

    .mt-facts li {
        padding: 18px 16px;
    }

    .mt-facts strong {
        font-size: 22px;
    }

    .mt-facts span {
        font-size: 14px;
    }

    .mt-photo--doctors {
        aspect-ratio: 1 / 1;
    }

    .mt-always {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mt-specs {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .mt-page .mt-spec h3 {
        padding: 48px 12px 12px;
        font-size: 16px;
    }

    .mt-city-photos figcaption {
        padding: 30px 12px 10px;
        font-size: 13.500px;
    }

    /* Steps become compact rows joined by a vertical route */
    .mt-steps {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 0 !important;
    }

    .mt-step {
        position: relative;
        grid-row: auto;
        grid-template-rows: auto 1fr;
        grid-template-columns: 112px 1fr;
        column-gap: 18px;
    }

    .mt-step-photo {
        grid-area: 1 / 1 / 3 / 2;
        width: 112px;
        height: 112px;
        aspect-ratio: auto;
    }

    .mt-step-mark {
        position: absolute;
        top: -10px;
        left: -8px;
        margin: 0;
    }

    .mt-step-mark span {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .mt-step-mark::after {
        content: none;
    }

    .mt-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 118px;
        bottom: -20px;
        left: 53px;
        width: 5px;
        background: radial-gradient(circle, var(--mt-blue) 2.200px, transparent 2.700px) 50% 0 / 5px 13px repeat-y;
    }

    .mt-page .mt-step h3 {
        grid-column: 2;
        font-size: 19px;
    }

    .mt-page .mt-step p {
        grid-column: 2;
        margin: 5px 0 0;
        font-size: 15.500px;
        line-height: 1.55;
    }

    .mt-start {
        border-radius: var(--mt-radius);
    }

    .mt-closing {
        min-height: 0;
    }

    .mt-page .mt-closing-photo {
        object-position: 60% 50%;
    }

    .mt-closing::before {
        background: linear-gradient(180deg, rgba(6, 32, 45, .82) 0, rgba(6, 32, 45, .92) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mt-page .mt-spec img,
    .mt-btn {
        transition: none;
    }
}
