﻿[x-cloak] {
    display: none !important;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-on-scroll.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .reveal-on-scroll,
    .reveal-on-scroll.reveal-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

:root {
    --bs-primary: #0A6BC5;
    --bs-secondary: #FACC15;
    --scrollbar-thumb: #0A6BC5;
    --scrollbar-thumb-hover: #00BED0;
    --scrollbar-track: #f1f1f1;
    --scrollbar-width: 4px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html.offcanvas-scroll-lock {
    overflow-y: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    overflow-x: hidden;
    color: #1D1D1D;
}

.form-bg {
    border-radius: 40px;
    border: 1px solid #E7E7E7;
    background: linear-gradient(312deg, #042849 66.91%, #095FAF 100%);
    box-shadow: 0 402px 113px 0 rgba(18, 59, 140, 0.00), 0 257px 103px 0 rgba(18, 59, 140, 0.01), 0 145px 87px 0 rgba(18, 59, 140, 0.05), 0 64px 64px 0 rgba(18, 59, 140, 0.09), 0 16px 35px 0 rgba(18, 59, 140, 0.10);
}

.intake-title {
    font-size: 20px;
}

.intake-heading {
    color: var(--bs-secondary);
}

@media (min-width: 768px) {
    .intake-heading {
        color: #FFF;
    }
}


/* Firefox and modern browsers */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* WebKit browsers */
*::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 4px;
    border: 2px solid var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

.custom-input {
    border: 1px solid #0C3E6D;
    background-color: #042749;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: #FFF;
    box-shadow: none;
}

.header-bg {
    opacity: 0.71;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.00) 19.13%, #000 108.96%);
}

.custom-input::placeholder {
    color: #527494;
}

.custom-input:focus {
    border-color: var(--bs-primary);
    background-color: #0C3E6D;
    color: #FFF;
    box-shadow: none;
}

select.custom-input.empty {
    padding-right: 2.25rem;
    color: #527494 !important;
}

select.custom-input option,
.iti__selected-dial-code {
    color: #FFF;
}

select.custom-input option[value=""] {
    color: #527494 !important;
}

select.custom-input:invalid {
    color: #527494;
}

.iti {
    display: block;
    width: 100%;
}

.iti:has(.is-invalid)~.invalid-feedback {
    display: block;
}

.iti__search-input {
    padding: 0.5rem 0.75rem;
    font-size: 15px;
}

.auto-height .card {
    min-height: 240px;
}


select option:disabled {
    color: grey !important;
    opacity: 1 !important;
}

.custom-input::placeholder,
.custom-input::-webkit-input-placeholder,
.custom-input::-moz-placeholder,
.custom-input:-ms-input-placeholder,
.custom-input::-ms-input-placeholder {
    color: grey !important;
    opacity: 1 !important;
}

.custom-input2 {
    border: 1px solid #0C3E6D;
    background-color: #FFF;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: #000;
    box-shadow: none;
}

.custom-input2::placeholder {
    color: #527494;
}

.custom-input2:focus {
    border-color: var(--bs-primary);
    background-color: #FFF;
    color: #000;
    box-shadow: none;
}

select.custom-input2.empty {
    padding-right: 2.25rem;
    color: #527494 !important;
}

select.custom-input2 option {
    color: #000;
}

select.custom-input2 option[value=""] {
    color: #527494 !important;
}

select.custom-input2:invalid {
    color: #527494;
}

.custom-input2::placeholder,
.custom-input2::-webkit-input-placeholder,
.custom-input2::-moz-placeholder,
.custom-input2:-ms-input-placeholder,
.custom-input2::-ms-input-placeholder {
    color: grey !important;
    opacity: 1 !important;
}

.iti:has(.custom-input2) .iti__selected-dial-code {
    color: #000;
}

.intake-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intake-progress-track {
    flex: 1;
    display: flex;
    gap: 6px;
}

.intake-progress-bar {
    flex: 1;
    height: 6px;
    border-radius: 999px;
    background: #EDF2F7;
    transition: background-color .2s ease;
}

.intake-progress-bar.is-active {
    background: #11E6B1;
}

.intake-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E6FBF5;
    color: #11E6B1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intake-progress-label {
    font-size: 13px;
    white-space: nowrap;
}

.intake-mode-btn {
    width: max-content;
    border: 1px solid #0C3E6D;
    border-radius: 12px;
    background: #042749;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #527494;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.intake-mode-btn:hover {
    border-color: var(--bs-primary);
}

.intake-mode-btn.is-active {
    border-color: #FFF;
    background: #0C3E6D;
    color: #FFF;
    font-weight: 700;
}

.intake-mode-btn:disabled {
    border-color: #E7EEF6;
    background: #F5F6F8;
    color: #A7ACB3;
    cursor: not-allowed;
}

.intake-mode-btn:disabled:hover {
    border-color: #E7EEF6;
}

.btn-pink-pill,
.btn-pink-pill:focus,
.btn-pink-pill:active {
    background: #DDEDFF;
    color: #1D1D1D;
    border: none;
}

.btn-pink-pill:hover {
    background: #F8B9C0 !important;
    color: #1D1D1D;
}

.btn-outline-pill,
.btn-outline-pill:focus,
.btn-outline-pill:active {
    background: #0B477E;
    border: 1px solid #0B477E;
    color: #FFF;
}

.btn-outline-pill:hover {
    background: var(--bs-secondary) !important;
    color: #000 !important;
}

.title {
    font-size: 30px;
}

.strike-or {
    position: relative;
    display: inline-block;
}

.strike-or::after {
    content: '';
    position: absolute;
    left: -6%;
    right: -6%;
    top: 50%;
    height: 6px;
    background: #F97316;
    border-radius: 4px;
    transform: translateY(-50%) rotate(-25deg);
}

.thanks-card {
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    background: #FFF;
    box-shadow: 0 209px 59px 0 rgba(214, 235, 255, 0.00), 0 134px 54px 0 rgba(214, 235, 255, 0.01), 0 75px 45px 0 rgba(214, 235, 255, 0.05), 0 33px 33px 0 rgba(214, 235, 255, 0.09), 0 8px 18px 0 rgba(214, 235, 255, 0.10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.thanks-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px 0 rgba(13, 91, 169, 0.12);
}

.thanks-fade-up {
    opacity: 0;
    animation: thanks-fade-up .6s ease-out forwards;
}

@keyframes thanks-fade-up {
    from {
        transform: translateY(16px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.programme-tabs {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.programme-tabs::-webkit-scrollbar {
    display: none;
}

.programme-tab {
    flex-shrink: 0;
    border: 1px solid #DFE4EC;
    background: #FCFCFD;
    color: #1D1D1D;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 400;
    margin-right: 12px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.programme-tab.is-active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #FFF;
}

.programme-filter {
    border-radius: 12px;
    padding: 12px 8px;
    color: #1D1D1D;
    font-weight: 400;
}

.programme-filter-select {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #E3E3E3;
    background: transparent;
    color: #959595;
    font-weight: 400;
    padding: 6px 0px;
}

.programme-filter-select:focus {
    outline: none;
    box-shadow: none;
}

.programme-card {
    border-radius: 16px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.programme-card-img {
    aspect-ratio: 327 / 168;
    background: linear-gradient(135deg, #EAF2FF 0%, #F7FAFF 100%);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.apel-card {
    aspect-ratio: 489/592;
    transition: transform .3s ease, box-shadow .3s ease;
}

.apel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px 0 rgba(17, 78, 139, 0.12);
}

.apel-card-overlay {
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #013161 66.81%);
    min-height: 40%;
    padding-top: 20px;
}

.apel-card-overlay h5 {
    font-size: clamp(18px, 4vw, 24px);
}

.apel-card-overlay p {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 300;
}

.way-card {
    transition: transform .25s ease;
}

.way-card:hover {
    transform: translateY(-4px);
}

.way-card img {
    transition: transform .3s ease;
}

.way-card:hover img {
    transform: scale(1.08);
}

.connection-item {
    transition: transform .25s ease;
}

.connection-item:hover {
    transform: translateX(4px);
}

.work-slide:hover .work-logo {
    transform: scale(1.08);
}

.programme-card-img img {
    transition: all linear .8s;
}

.programme-card-img:hover img {
    transform: scale(1.2);
}

.programme-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.programme-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1D1D1D;
    margin: 0;
    flex: 1;
}

.programme-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF;
    border: 1px solid #E7EEF6;
    color: #1D1D1D;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .15s ease, color .15s ease;
}

.programme-nav-btn:hover:not(:disabled) {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #FFF;
}

.programme-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.worksSwiper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.worksSwiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.work-slide {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.work-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
    transition: transform .25s ease;
}

@media (min-width: 768px) {
    .work-slide {
        padding: 0 36px;
    }

    .work-logo {
        width: 120px;
    }
}

@media (min-width: 720px) {
    body {
        font-size: 16px;
    }

    .intake-title {
        font-size: 24px;
    }

    .auto-height .card {
        min-height: 280px;
    }

    .header-bg {
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0.00) 20.34%, #000 111.55%);
    }

}

@media (min-width: 1200px) {
    .container {
        max-width: 1360px;
    }
}

@media (min-width: 992px) {
    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 18px;
    }
    #site-header{
        min-height: calc(100vh - 30px);
    }
}

/* ---- MMU Intake page (page/index.php) ---- */

.navbar-nav .btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
}

.navbar-nav .btn:hover {
    background: var(--hover-color) !important;
    color: var(--hover-text-color);
    border-color: var(--hover-color);
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.hero-heading {
    font-size: 20px;
    font-weight: 700;
    color: #0F1729;
}

.hero-heading .accent {
    color: var(--bs-secondary);
}

.hero-subtitle {
    font-size: 16px;
}

.border-shadow {
    border-radius: 16px;
    border: 1px solid #F6F6F6;
    background: #FFF;
    box-shadow: 0 447px 125px 0 rgba(209, 209, 209, 0.00), 0 286px 114px 0 rgba(209, 209, 209, 0.01), 0 161px 97px 0 rgba(209, 209, 209, 0.05), 0 72px 72px 0 rgba(209, 209, 209, 0.09), 0 18px 39px 0 rgba(209, 209, 209, 0.10);
}

.w-sm-full {
    width: 100%;
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 20px;
    }
}

.hero-banner-wrap {
    position: relative;
}

.hero-chat-widget {
    position: absolute;
    right: 16px;
    bottom: -20px;
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
}

.test-card {
    max-width: 300px;
    aspect-ratio: 357/444;
    font-size: 13px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.test-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px 0 rgba(3, 66, 176, 0.15);
}

@media (min-width: 768px) {
    .hero-chat-widget {
        bottom: -24px;
        right: 32px;
        max-width: 220px;
    }

    .test-card {
        max-width: 350px;
        font-size: 14px;
    }
}

.hero-chat-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-chat-widget p {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    color: #0F1729;
}

.quicklink-card {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}


.quicklink-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quicklink-title {
    font-weight: 500;
    color: #1E1B4B;
    font-size: 18px;
}

.quicklink-desc {
    color: #5A5E65;
    font-size: 15px;
}

.quicklink-arrow {
    margin-left: auto;
    flex-shrink: 0;
}

.journey-card-dark {
    border-radius: 20px;
    color: #FFF;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
}

.journey-card-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
}

.journey-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.journey-card-dark .btn {
    align-self: flex-start;
}

.journey-card-light {
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid #F7F7F7;
    background: #FFF;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
}

.journey-intake-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.journey-intake-row+.journey-intake-row {
    margin-top: 18px;
}

.journey-intake-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.journey-intake-label {
    font-weight: 700;
    margin-bottom: 6px;
    color: #0342B0;
}

.journey-intake-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.journey-divider {
    height: 1px;
    background: #EDEDED;
    margin: 22px 0;
}

.journey-offer-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.journey-offer-link {
    font-weight: 600;
    color: var(--bs-primary);
    border: 1px solid #F4F5FA;
    text-decoration: none;
    white-space: nowrap;
}

.journey-offer-link:hover {
    color: #FFF;
    background-color: var(--bs-primary);
}

.event-card {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}

.ecard1 {
    border-radius: 24px;
    border: 1px solid #C5DCFF;
    background: #F1F6FD;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
}

.ecard2 {
    border-radius: 24px;
    border: 1px solid #FFCBD0;
    background: #FFF3F3;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
}

.ecard3 {
    border-radius: 24px;
    border: 1px solid #DEDEDE;
    background: #F7F7F7;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
}

.ecard4 {
    border-radius: 24px;
    border: 1px solid #C5DCFF;
    background: #F1F6FD;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
}

.event-card.is-highlight {
    background: #FDF1F1;
    border-color: #FBD3D7;
}

.event-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid #E8ECF3;
}

.event-card.is-highlight .event-icon {
    background: #FBD3D7;
    color: var(--bs-secondary);
}

.event-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
    color: #0F1729;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 6px;
}

.event-dates {
    font-size: 12px;
    margin: 0px 0 18px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
}


.event-btn {
    margin-top: auto;
    background: var(--bs-primary);
    color: #FFF;
    border: none;
    border-radius: 999px;
    padding: 10px 0;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
}

.event-btn:hover {
    background: #C42E3D;
    color: #FFF;
}

.appointment-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: start;
    background-size: cover;
    background-position: center;
}

.appointment-content {
    position: relative;
    z-index: 1;
    padding: 12px 24px;
    color: #FFF;
}

.appointment-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.appointment-desc {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-size: 17px;
}

.font-small {
    font-size: 12px;
}

.fs-16 {
    font-size: 14px;
}

.fs-17 {
    font-size: 14px;
}

@media (min-width: 768px) {
    .fs-16 {
        font-size: 16px;
    }

    .fs-17 {
        font-size: 17px;
    }

    .appointment-banner {
        min-height: 320px;
        align-items: center;
    }

    .appointment-content {
        padding: 48px;
    }

    .appointment-title {
        font-size: 32px;
    }

    .journey-card-title {
        line-height: normal;
    }

    .font-small {
        font-size: 16px;
    }

    .int-title {
        font-size: 14px !important;
    }
}

.gallery-placeholder {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: linear-gradient(135deg, #EAF2FF 0%, #F7FAFF 100%);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmuland-step-circle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #FFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mmuland-step-circle.is-blue {
    background: var(--bs-primary);
}

.mmuland-step-circle.is-red {
    background: var(--bs-secondary);
}

.mmuland-step-line {
    height: 2px;
    background: #DFE4EC;
}

.mmuland-step-title {
    font-size: 18px;
}

.mmu-card {
    border-radius: 16px;
    border: 1px solid #FFCED2;
    background: #FFF;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
    height: auto;
    aspect-ratio: 357/406;
}

.mmuland-step-img {
    aspect-ratio: 337 / 217;
    border-radius: 16px;
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    overflow: hidden;
}

.site-footer {
    background: #061A3E;
    color: #FFF;
}

.site-footer h5 {
    color: #FFF;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    transition: background-color .15s ease, border-color .15s ease;
}

.footer-social-icon:hover {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #FFF;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-legal-links a {
    color: #FFF;
}

/* ---- Download Brochure page ---- */

.brochure-card {
    border-radius: 16px;
    border: 1px solid #F7F7F7;
    background: #FFF;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brochure-icon {
    color: var(--bs-primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.brochure-card-title {
    font-weight: 600;
    color: #0F1729;
    min-height: 48px;
    margin-bottom: 16px;
}

.brochure-divider {
    width: 28px;
    height: 2px;
    background: var(--bs-secondary);
    margin-bottom: 12px;
}

.brochure-download-link {
    color: #1D1D1D;
    font-weight: 500;
    text-decoration: none;
}

.brochure-download-link:hover {
    color: var(--bs-primary);
}

.brochure-flex-item {
    flex: 0 0 25%;
    max-width: 25%;
}

@media (min-width: 992px) {
    .brochure-flex-item {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.brochure-accordion-item {
    border-radius: 8px;
    border: 1px solid #F7F7F7;
    background: #FFF;
    box-shadow: 0 417px 117px 0 rgba(214, 214, 214, 0.00), 0 267px 107px 0 rgba(214, 214, 214, 0.01), 0 150px 90px 0 rgba(214, 214, 214, 0.05), 0 67px 67px 0 rgba(214, 214, 214, 0.09), 0 17px 37px 0 rgba(214, 214, 214, 0.10);
    overflow: hidden;
}

.brochure-accordion-button {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    font-weight: 500;
    color: #1D1D1D;
    text-align: left;
}

.brochure-accordion-button .brochure-icon {
    margin-bottom: 0;
}

/* ---- Eligibility offcanvas ---- */

.eligibility-offcanvas {
    max-width: 100%;
    width: 450px !important;
}

.eligibility-offcanvas-header {
    position: relative;
    padding: 32px 28px;
    color: #FFF;
    background: linear-gradient(104deg, #064177 70.2%, #FACC15 111.82%);
}

.eligibility-offcanvas-header h4 {
    font-size: 24px;
    font-weight: 700;
}

.eligibility-offcanvas-header p {
    font-size: 15px;
    opacity: 0.9;
}

.eligibility-offcanvas-header .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.position-sticky {
    position: sticky;
    top: 0px;
}

.apel-result-card {
    background: #EAF2FF;
    border: 2px solid var(--bs-primary);
    border-radius: 18px;
    padding: 20px;
}

.eligibility-reset-btn {
    position: absolute;
    top: -24px;
    right: -10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #063f75;
    border-radius: 999px;
    background: #FFF !important;
    color: #000;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    transition: background-color .15s ease;
}

.eligibility-reset-btn:hover {
    background: #042849 !important;
    color: #FFF;
}

.eligibility-reset-btn:disabled {
    background: #FFF !important;
    color: #959595 !important;
    border: 1px solid #959595 !important;
}

.eligibility-offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 40px 20px 24px;
    background: #FFF;
    overflow-y: auto;
    position: relative;
}

.eligibility-chat-bubble {
    max-width: 90%;
    padding: 16px 18px;
    border-radius: 16px;
    background: #EAF2FF;
    color: #1D1D1D;
}

.eligibility-reply-bubble {
    align-self: flex-end;
    max-width: 90%;
    padding: 12px 18px;
    border-radius: 16px;
    background: var(--bs-primary);
    color: #FFF;
    font-weight: 500;
}

.eligibility-chat-input {
    flex: 1;
}

.eligibility-chat-bubble .form-range::-webkit-slider-runnable-track {
    background-color: var(--bs-primary);
}

.eligibility-chat-bubble .form-range::-moz-range-track {
    background-color: var(--bs-primary);
}

.eligibility-chat-bubble .form-range::-webkit-slider-thumb {
    background-color: #0C3E6D;
    border: 3px solid #072644;
}

.eligibility-chat-bubble .form-range::-moz-range-thumb {
    background-color: #0C3E6D;
    border: 3px solid #072644;
}

.eligibility-change-btn {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 0;
    margin-top: -8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--bs-primary);
    text-decoration: underline;
}

.eligibility-change-btn:hover {
    color: #063f75;
}

.eligibility-bubble-enter {
    transition: opacity .3s ease, transform .3s ease;
}

.eligibility-bubble-enter-start {
    opacity: 0;
    transform: translateY(10px);
}

.eligibility-bubble-enter-end {
    opacity: 1;
    transform: translateY(0);
}

.eligibility-option-btn {
    border: 1px solid var(--bs-primary);
    border-radius: 999px;
    background: #FFF;
    color: var(--bs-primary);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}

.eligibility-option-btn:hover {
    background: var(--bs-primary);
    color: #FFF;
}

.eligibility-programme-btn {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

.eligibility-submit-btn {
    border: 1px solid #072644;
    border-radius: 999px;
    background: #072644;
    color: #FFF;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}

.eligibility-submit-btn:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    color: #FFF;
}

.chatbar {
    background: rgb(0, 81, 156);
    position: fixed;
    font-size: 14px;
    bottom: 0px;
    right: 0px;
    animation: chatbar-slide-in .5s ease-out;
    z-index: 10;
}

@keyframes chatbar-slide-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.chatbar .btn {
    background-color: #DDEDFF;
    font-size: 12px;
}

.chatbar .btn:hover {
    background-color: var(--bs-primary);
    color: #FFF;
    font-size: 12px;
}

.chatbar-close-btn {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    color: #FFF;
    opacity: 0.8;
    line-height: 0;
    transition: opacity .15s ease;
}

.chatbar-close-btn:hover {
    opacity: 1;
}

@media screen and (max-width: 620px) {
    .chatbar-close-btn {
        top: 10px;
        right: 0px;
    }

    .chatbar .btn {
        width: 60%;
    }
}