:root {
    --primary-colour: #4b0983;
    --primary-colour-hover: #6a0fb8;
    --secondary-colour: #ff43bf;
    --secondary-colour-hover: #f46fc8;
    --neutral-colour: #aaaaaa;
    --light-purple: #f1e0ff;
    --default-font-size: 16px;
    --light-gray: #4c4c4c;
    --success-colour: #55d638;
    --success-colour-hover: #58e438;
    --green-colour: #008000;
    --green-colour-hover: #009e00;

    /* ✨ RGB-only versions (no alpha yet) */
    --primary-rgb: 75, 9, 131;
    --primary-hover-rgb: 106, 15, 184;
    --secondary-rgb: 255, 67, 191;
    --secondary-hover-rgb: 244, 111, 200;
    --neutral-rgb: 170, 170, 170;
    --light-purple-rgb: 241, 224, 255;
    --light-gray-rgb: 76, 76, 76;
    --success-rgb: 85, 214, 56;
    --success-hover-rgb: 88, 228, 56;
    --green-rgb: 0, 128, 0;
    --green-hover-rgb: 0, 158, 0;

    --swiper-navigation-size: 20px;
    --swiper-navigation-padding: 18px;
    --swiper-navigation-total-width: calc(
        var(--swiper-navigation-size) +
            calc(var(--swiper-navigation-padding) * 2)
    );
    --swiper-pagination-color: #c6c6c6;
    --swiper-pagination-bullet-inactive-color: #d4d4d480;
    --swiper-pagination-bullet-inactive-opacity: 1;

    --progress-step-width: 35px;
    --bs-border-width: 2px;

    /* font size (default: 16px) */
    --fs-default: 1rem;
    --fs-900: 4.5rem;
    /* 72px */
    --fs-800: 3.5rem;
    /* 56px */
    --fs-700: 2rem;
    /* 32px */
    --fs-600: 1.75rem;
    /* 28px */
    --fs-550: 1.5rem;
    /* 24px */
    --fs-500: 1.25rem;
    /* 20px */
    --fs-400: 1.125rem;
    /* 18px */
    --fs-300: 1rem;
    /* 16px */
    --fs-200: 0.875rem;
    /* 14px */
    --fs-100: 0.75rem;
    /* 12px */
    --fs-000: 0.75rem;
    /* 9px */

    /* font weight */
    --fw-900: 900;
    --fw-700: 700;
    --fw-600: 600;
    --fw-normal: normal;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-Regular.woff2")
        format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-Italic.woff2")
        format("woff2");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-BoldItalic.woff2")
        format("woff2");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-Medium.woff2")
        format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-MediumItalic.woff2")
        format("woff2");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-SemiBold.woff2")
        format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Instrument Sans";
    src: url("/fonts/InstrumentSans/InstrumentSans-SemiBoldItalic.woff2")
        format("woff2");
    font-weight: 600;
    font-style: italic;
}

/* ============================= */
/* ========== GENERAL ========== */
/* ============================= */

body {
    font-size: var(--default-font-size) !important;
    font-family: "Instrument Sans", sans-serif !important;
}

.w-60 {
    width: 60% !important;
}

.text-justify {
    text-align: justify !important;
}

.cursor-pointer {
    cursor: pointer;
}

.form-select {
    font-size: var(--default-font-size) !important;
}

.fs-7 {
    font-size: 0.75rem !important;
}

.fs-sm {
    font-size: 0.875rem !important;
}

/* Background Colors */
.bg-primary-app {
    background: var(--primary-colour) !important;
}

.bg-secondary-app {
    background: var(--secondary-colour) !important;
}

.bg-app {
    background-color: #f1f3fa;
}

.card-header-app {
    background: #f0f4f8 !important;
    font-size: 18px !important;
    padding: 15px !important;
    font-weight: 600 !important;
    border: 0 !important;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lottie-container {
    width: 450px;
    /* Adjust as needed */
    height: 450px;
    /* Adjust as needed */
}

#lottie-container svg {
    width: 100% !important;
    height: 100% !important;
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.vh-inner {
    height: calc(var(--vh, 1vh) * 100);
    height: 100dvh;
}

/* ========================== */
/* ========== FONT ========== */
/* ========================== */

.fs-900 {
    font-size: var(--fs-900);
}

.fs-800 {
    font-size: var(--fs-800);
}

.fs-700 {
    font-size: var(--fs-700);
}

.fs-600 {
    font-size: var(--fs-600);
}

.fs-550 {
    font-size: var(--fs-550);
}

.fs-500 {
    font-size: var(--fs-500);
}

.fs-400 {
    font-size: var(--fs-400);
}

.fs-300 {
    font-size: var(--fs-300);
}

.fs-200 {
    font-size: var(--fs-200);
}

.fs-100 {
    font-size: var(--fs-100);
}

.fw-900 {
    font-weight: var(--fw-900);
}

.fw-700 {
    font-weight: var(--fw-700);
}

.fw-600 {
    font-weight: var(--fw-600);
}

.fw-normal {
    font-weight: var(--fw-normal);
}

.fc-p-color {
    color: var(--primary-colour);
}

.fc-s-color {
    color: var(--secondary-colour);
}

/* ========================== */
/* ========== NAV ========== */
/* ========================== */

.img-logo {
    max-width: 120px;
}

.custom-lang-select {
    border-radius: 50px;
    border: 1px solid var(--primary-colour);
    color: var(--primary-colour);
}

.custom-vh {
    min-height: calc(100vh - 199px);
}

/* ================================================== */
/* ========== Header Policy Expiry Styling ========== */
/* ================================================== */

#countdown-expiry-sticky {
    top: 70px;
    z-index: 1020;
    background-color: #f0f4f8 !important;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quotation-alert-image {
    max-width: 30px;
    margin-right: 0.7rem;
    animation: pulse-scale 1.5s infinite ease-in-out;
}

/* Animation keyframes */
@keyframes pulse-scale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    } /* bigger */
    100% {
        transform: scale(1);
    } /* back to normal */
}

.countdown-expiry-content {
    display: flex;
    padding: 0.75rem 0 !important;
    background-color: #f0f4f8 !important;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90%;
    margin: 0 auto;
}

.countdown-boxes {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.countdown-item {
    display: block;
    align-items: center;
    gap: 5px; /* space between box and label */
}

.countdown-box {
    background: var(--secondary-colour);
    border-radius: 4px;
    height: 30px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--light-purple);
}

.countdown-label {
    font-size: 0.6rem;
    color: #666;
    margin-top: 0.3rem;
    text-transform: uppercase;
    font-weight: 600;
}

.countdown-seperator {
    font-size: 20px;
}

/* ============================== */
/* ========== CHECKBOX ========== */
/* ============================== */

.checkbox-mark {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #cccccc;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.checkbox-input {
    display: none;
}

label.checkbox-box {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    cursor: pointer;
    user-select: none;
    margin-top: 9px;
    align-items: center;
}

.checkbox-mark::after {
    content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20style%3D%22fill%3A%20rgba(255%2C%20255%2C%20255%2C%201)%3Btransform%3A%20%3BmsFilter%3A%3B%22%3E%3Cpath%20d%3D%22m10%2015.586-3.293-3.293-1.414%201.414L10%2018.414l9.707-9.707-1.414-1.414z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
    color: #ffffff;
    height: 1.5rem;
    transform: scale(0);
    transition: transform 0.15s;
}

.checkbox-input {
    display: none;
}

.checkbox-input:checked + .checkbox-mark {
    background: var(--secondary-colour);
    border-color: var(--secondary-colour);
}

.checkbox-input:checked + .checkbox-mark::after {
    transform: scale(1);
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f7f9 100%);
    color: #0f172a;
}

.group-label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 14px;
}

/* Each label acts as a single selectable control */
.nat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    padding: 20px 12px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, transform 0.12s;
    margin-bottom: 8px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    font-weight: medium;
}

/* subtle hover/focus states */
.nat:hover {
    background: rgba(var(--secondary-rgb), 0.06);
    transform: translateY(-1px);
}
.nat:focus-within {
    box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), 0.08);
}

/* Hide the native radio/checkbox but keep it accessible */
.nat input[type="radio"],
.nat input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: auto;
}

/* Style the whole card when either radio OR checkbox is checked */
.nat:has(input[type="radio"]:checked),
.nat:has(input[type="checkbox"]:checked) {
    background: rgba(var(--secondary-rgb), 0.1);
    border: 2px solid var(--secondary-colour);
    color: var(--secondary-colour);
    font-weight: 600;
}

/* check icon container — positioned above the control */
.check-icon {
    position: absolute;
    top: -10px; /* lifts it above the control */
    left: 50%; /* align center */
    transform: translate(-50%, -2px) scale(0);
    transform-origin: center;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--secondary-colour);
    color: white;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(var(--secondary-rgb), 0.18);
    transition: transform 0.16s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.12s;
    opacity: 0;
    pointer-events: none;
}

/* Label text styling */
.label-text {
    font-size: 14px;
    color: var(--light-gray);
}

/* When radio/checkbox is checked: show check icon + change border */
.nat input[type="radio"]:checked + .check-icon,
.nat input[type="checkbox"]:checked + .check-icon {
    transform: translate(-50%, -2px) scale(1);
    opacity: 1;
}

.nat input[type="radio"]:checked + .check-icon + .custom-radio,
.nat input[type="checkbox"]:checked + .check-icon + .custom-radio {
    border-color: rgba(var(--secondary-rgb), 0.95);
    box-shadow: 0 4px 18px rgba(var(--secondary-rgb), 0.07);
}

.nat input[type="radio"]:checked + .check-icon + .custom-radio::after,
.nat input[type="checkbox"]:checked + .check-icon + .custom-radio::after {
    transform: scale(1);
}

/* =================================== */
/* ========== BUTTON / LINK ========== */
/* =================================== */

.modal-link {
    font-weight: 700;
    color: var(--primary-colour);
    cursor: pointer;
}

.modal-link:hover {
    color: var(--secondary-colour);
}

.btn.btn-primary-app {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-colour);
    --bs-btn-border-color: var(--primary-colour);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-colour-hover);
    --bs-btn-hover-border-color: var(--primary-colour-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-colour-hover);
    --bs-btn-active-border-color: var(--primary-colour-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-colour);
    --bs-btn-disabled-border-color: var(--primary-colour);
}

.btn.btn-secondary-app {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--secondary-colour);
    --bs-btn-border-color: var(--secondary-colour);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--secondary-colour-hover);
    --bs-btn-hover-border-color: var(--secondary-colour-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--secondary-colour-hover);
    --bs-btn-active-border-color: var(--secondary-colour-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--secondary-colour);
    --bs-btn-disabled-border-color: var(--secondary-colour);
}

.btn.btn-green-app {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--green-colour);
    --bs-btn-border-color: var(--green-colour);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--green-colour-hover);
    --bs-btn-hover-border-color: var(--green-colour-hover);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--green-colour-hover);
    --bs-btn-active-border-color: var(--green-colour-hover);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--green-colour);
    --bs-btn-disabled-border-color: var(--green-colour);
}

/* Outline variant */
.btn-outline-primary-app {
    color: var(--primary-colour);
    border: 2px solid var(--primary-colour);
    background-color: transparent;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-outline-primary-app:hover,
.btn-outline-primary-app:focus {
    color: #fff;
    background-color: var(--primary-colour-hover);
    border-color: var(--primary-colour-hover);
    box-shadow: 0 0 0 0.2rem rgba(75, 9, 131, 0.15);
}

.btn-outline-primary-app:active {
    background-color: var(--primary-colour);
    border-color: var(--primary-colour);
    color: #fff;
}

.btn-outline-primary-app:disabled {
    color: #999;
    border-color: #ccc;
    background-color: transparent;
    opacity: 0.6;
}

.eye-icon {
    width: 15px;
    height: 15px;
    margin-bottom: 5px;
}

.radio-box {
    border-radius: 0.7rem !important;
    cursor: pointer !important;
}

.radio-box .d-flex {
    gap: 0.8rem;
}

.radio-box input {
    margin-top: 0px;
}

.radio-box > label {
    padding: 16px;
    margin-top: 0px;
}

.radio-box * {
    cursor: pointer !important;
}

.payment-logos {
    max-width: 80px !important;
}

/* =================================== */
/* ========== HERO SECTION ========== */
/* =================================== */

.starter-section {
    background: linear-gradient(180deg, #ffecf9 0%, #fff 100%);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 0 0 8rem 0;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem 2rem 1rem;
}

.hero-title {
    font-size: var(--fs-700);
    font-weight: 700;
    color: #2d1654;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Background Circle Image - Moves Left to Right */
.bg-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 35%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation: naturalFloat 20s ease-in-out infinite;
}

.bg-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    max-width: 350px;
}

@keyframes naturalFloat {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    15% {
        transform: translate(-35%, -52%) rotate(3deg) scale(1.04);
    }
    30% {
        transform: translate(-60%, -48%) rotate(-2deg) scale(1.02);
    }
    45% {
        transform: translate(-40%, -54%) rotate(4deg) scale(1.06);
    }
    60% {
        transform: translate(-65%, -50%) rotate(-3deg) scale(1.03);
    }
    75% {
        transform: translate(-45%, -52%) rotate(2deg) scale(1.05);
    }
    90% {
        transform: translate(-55%, -48%) rotate(-1deg) scale(1.02);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
}

/* Sparkle effect for star image */
.sparkle {
    position: absolute;
    z-index: 5;
    top: 75%;
    left: 67.5%;
    animation: sparkle 10s ease-in-out infinite;
}

.sparkle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Sparkle animation with rotation and glow */
@keyframes sparkle {
    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* =================================== */
/* ========== CARD SECTION ========== */
/* =================================== */

.card-section {
    margin-top: -110px;
}

.section-title {
    font-size: var(--fs-550);
}

.item-card {
    width: 100%;
    height: auto;
    border-radius: 15px;
    position: relative;
    z-index: 9999;
}

.card-lines {
    border: 0.5px solid grey;
}

/* Extra Extra Large (XXL) */
@media (max-width: 1400px) {
}

/* Extra Large (XL) */
@media (max-width: 1200px) {
    .sparkle {
        top: 95%;
        left: 77.5%;
    }
}

/* Large (LG) */
@media (max-width: 992px) {
}

/* Medium (MD) */
@media (max-width: 768px) {
    .item-card {
        max-width: 370px;
    }
}

/* Extra Small (XS) */
@media (max-width: 575px) {
    .hero-title {
        margin-top: 2rem;
        font-size: var(--fs-500);
    }

    .section-title {
        font-size: var(--fs-400);
    }

    .item-card {
        max-width: 300px;
    }

    .bg-circle {
        width: 250px;
        height: 250px;
    }

    .bg-circle img {
        max-width: 250px;
    }

    .hero-section {
        padding: 0 0 6rem 0;
    }

    .sparkle {
        left: 80%;
    }

    .healthfair-size {
        font-size: var(--fs-200);
    }
}

.payment-details {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* smoother iOS scroll */
}

/* ======================== */
/* ======== LISTING ======= */
/* ======================== */
.styled-list {
    counter-reset: main-counter;
    list-style: none;
    padding-left: 0;
}

.styled-list > li {
    counter-increment: main-counter;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.styled-list > li::before {
    content: counter(main-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.styled-list ol {
    counter-reset: sub-counter;
    list-style: none;
    padding-left: 1.8rem;
    margin-top: 0.4rem;
}

.styled-list ol > li {
    counter-increment: sub-counter;
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.4rem;
}

.styled-list ol > li::before {
    content: "(" counter(sub-counter, lower-alpha) ")";
    position: absolute;
    left: 0;
    font-weight: 700;
}
