/* LOGO PLUM VERSION */
nav.nav-on-light .nl-plum {
    display: block;
}


/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;

    padding: 18px 4rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #ffffff;

    border-bottom: 1px solid #e5e5e5;

    box-sizing: border-box;
}


/* LOGO AREA */
.nav-logo {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 45px;

    flex-shrink: 0;
}


/* BOTH LOGOS OCCUPY EXACTLY THE SAME SPACE */
.nav-logo .nav-lockup {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 130px;
    height: auto;

    transform: translate(-50%, -50%);

    margin: 0;
}


/* DARK LOGO */
.nav-logo .nl-light {
    display: block;
}


/* LIGHT/PLUM LOGO */
.nav-logo .nl-plum {
    display: block;
}


/* NAVIGATION LINKS */
.nav-links {
    display: flex;
    align-items: center;

    gap: 34px;

    margin: 0;
    padding: 0;

    list-style: none;

    flex: 1;
    justify-content: center;
}


/* EACH LINK */
.nav-links li {
    margin: 0;
    padding: 0;

    white-space: nowrap;
}


/* LINK TEXT */
.nav-links a {
    position: relative;

    display: inline-block;

    padding-bottom: 8px;

    color: #3d2a3d9e;

    text-decoration: none;

    font-size: 13.5px;
    font-weight: 400;

    letter-spacing: 1px;

    transition: color 0.3s;
}


/* HOVER + ACTIVE */
.nav-links a:hover,
.nav-links a.active {
    color: #333333;
}


/* GOLD LINE UNDER ACTIVE LINK */
.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1.5px;

    background-color: rgb(11, 11, 39);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.3s ease;
}


/* SHOW GOLD LINE */
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}


/* BEGIN YOUR JOURNEY BUTTON */
.nav-cta {
  background:#c9a227; color:#07302e;
  border: none; 
  padding: 0.65rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em; 
  text-transform: uppercase;
  cursor: none; 
  border-radius: 100px;
  transition:all 0.3s ease;
   
}
.nav-cta:hover {
  background:#e4c96a;
  box-shadow: 0 6px 24px rgba(15,118,110,0.3);
  transform: translateY(-1px);
}

/* =================================
   HAMBURGER BUTTON
================================= */

.nav-burger {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 202;
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background-color: #3d2a3d;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger changes into a cross */

.nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =================================
   TABLET RESPONSIVENESS
================================= */

@media (min-width: 769px) and (max-width: 1200px) {

    nav {
        padding: 14px 24px;
        gap: 18px;
    }

    .nav-logo {
        width: 125px;
    }

    .nav-logo .nav-lockup {
        width: 115px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .nav-cta {
        padding: 0.65rem 1rem;
        font-size: 0.68rem;
        letter-spacing: 0.05em;
    }
}


/* =================================
   MOBILE NAVIGATION
================================= */

@media (max-width: 768px) {

    nav {
        padding: 10px 18px;
        min-height: 68px;
        gap: 12px;
        justify-content: space-between;
    }

    .nav-logo {
        width: 130px;
        height: 45px;
    }

    .nav-logo .nav-lockup {
        width: 120px;
    }

    /* Show hamburger */

    .nav-burger {
        display: block;
        margin-left: auto;
    }

    /* Dropdown menu */

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        box-sizing: border-box;

        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;

        padding: 12px 22px 20px;
        margin: 0;

        background-color: #ffffff;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);

        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        white-space: normal;
    }

    .nav-links a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 14px 0;

        font-size: 13px;
        letter-spacing: 1px;
    }

    .nav-links a::after {
        width: 45px;
        transform-origin: left;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        transform: scaleX(1);
    }

    /* Keep CTA in the navbar */

    .nav-cta {
        padding: 0.7rem 0.9rem;
        font-size: 0.65rem;
        letter-spacing: 0.04em;
        text-align: center;
        white-space: nowrap;
    }
}


/* =================================
   SMALL MOBILE SCREENS
================================= */

@media (max-width: 420px) {

    nav {
        padding: 10px 12px;
        gap: 8px;
    }

    .nav-logo {
        width: 105px;
    }

    .nav-logo .nav-lockup {
        width: 100px;
    }

    .nav-burger {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .nav-cta {
        padding: 0.65rem 0.7rem;
        font-size: 0.58rem;
        letter-spacing: 0.02em;
    }
}






/* =========================================
   MAGIKLIFE - CANCELLATION & REFUND POLICY
   ========================================= */

/* GOOGLE FONT PAIRING
   Cormorant Garamond = elegant headings
   Inter = body text
*/

:root {
    --policy-bg: #ffffff;
    --white: #ffffff;
    --text-dark: #29251f;
    --text-body: #625d55;
    --accent: #8a6b49;
    --accent-dark: #62482f;
    --accent-light: #eee5d9;
    --border-color: #e5ded4;
    --soft-bg: #f4efe8;
    --danger: #9a443c;
    --success: #47684e;
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--policy-bg);
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.85;
    overflow-x: hidden;
}

p {
    margin-bottom: 18px;
}

a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-decoration-color: #c9b49b;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent);
}

strong {
    color: var(--text-dark);
    font-weight: 600;
}




/* =========================================
   MAIN POLICY CONTAINER
   ========================================= */

.policy-container {
    max-width: 1000px;
    padding-top: 35px;
    padding-bottom: 70px;
    margin-top: 100px;
}

.policy-section {
    padding: 38px 0;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 25px;
}

.policy-section:last-of-type {
    border-bottom: none;
}


/* SECTION HEADINGS */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.section-number {
    display: inline-flex;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8c6b0;
    border-radius: 50%;
    background-color: #f4eee6;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-heading h2 {
    margin: 0;
    padding-top: 2px;
    color: var(--text-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(28px, 3.5vw, 37px);
    font-weight: 600;
    line-height: 1.2;
}

.heading-note {
    color: var(--text-body);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
}


/* =========================================
   GENERAL TERMS
   ========================================= */

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 0;
    border-bottom: 1px solid #ece6de;
}

.term-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.term-marker {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 50%;
    background-color: var(--accent);
}

.term-item h3 {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
}

.term-item p {
    margin-bottom: 0;
}


/* =========================================
   PROGRAMME HEADINGS
   ========================================= */

.programme-section {
    padding-top: 42px;
}

.programme-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.programme-heading .section-heading {
    margin-bottom: 0;
}

.level-label {
    flex-shrink: 0;
    margin-top: 6px;
    padding: 7px 12px;
    border: 1px solid #d9c6af;
    border-radius: 2px;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
}


/* =========================================
   POLICY LISTS
   ========================================= */

.policy-list {
    padding-left: 23px;
    margin-bottom: 0;
}

.policy-list li {
    padding-left: 7px;
    margin-bottom: 13px;
}

.policy-list li:last-child {
    margin-bottom: 0;
}

.policy-list li::marker {
    color: var(--accent);
}

.policy-list strong {
    color: var(--text-dark);
}


/* =========================================
   QTT SUBSECTIONS
   ========================================= */

.subsection {
    margin-top: 35px;
}

.subsection:first-of-type {
    margin-top: 0;
}

.subsection h3 {
    display: flex;
    align-items: baseline;
    gap: 11px;
    margin-bottom: 17px;
    color: var(--text-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.subsection h3 span {
    color: var(--accent);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================
   TABLES
   ========================================= */

.policy-table-wrap {
    margin-top: 23px;
    margin-bottom: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--white);
}

.policy-table {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-body);
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.75;
    vertical-align: middle;
}

.policy-table thead th {
    padding: 16px 18px;
    border-bottom: 1px solid #dcd0c0;
    background-color: #eee6db;
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.policy-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid #eee9e2;
    background-color: var(--white);
}

.policy-table tbody tr:last-child td {
    border-bottom: none;
}

.policy-table tbody tr:hover td {
    background-color: #fcfaf7;
}

.policy-table .amount {
    color: var(--accent-dark);
    font-weight: 700;
    white-space: nowrap;
}

.refund-status {
    color: var(--success);
    font-weight: 600;
}

.no-refund {
    color: var(--danger);
    font-weight: 700;
}


/* =========================================
   POLICY NOTE
   ========================================= */

.policy-note {
    margin-top: 22px;
    padding: 19px 22px;
    border-left: 3px solid var(--accent);
    background-color: var(--soft-bg);
    color: #62584d;
    font-size: 13px;
    line-height: 1.9;
}

.policy-note strong {
    color: var(--accent-dark);
}


/* =========================================
   COMPANY DETAILS
   ========================================= */

.company-details {
    margin-top: 35px;
    padding: 30px 25px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #f3ede5;
    text-align: center;
}

.company-name {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.company-details p:not(.company-name) {
    margin-bottom: 12px;
    font-size: 13px;
}

.company-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
}

.company-links a {
    overflow-wrap: anywhere;
}

.link-divider {
    color: #a89b8b;
}


/* =========================================
   FOOTER
   ========================================= */

.policy-footer {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
    background-color: #f0e9df;
}

.policy-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.policy-footer p {
    margin: 0;
    color: #776e63;
    font-size: 11px;
    line-height: 1.8;
}

.footer-divider {
    padding: 0 5px;
    color: var(--accent);
}

.policy-footer a {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}


/* =========================================
   TABLET RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .policy-header {
        padding: 60px 0 45px;
    }

    .policy-container {
        max-width: 800px;
        padding-top: 20px;
    }

    .policy-section {
        padding: 32px 0;
    }

    .policy-table thead th,
    .policy-table tbody td {
        padding: 14px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
   ========================================= */

@media (max-width: 767px) {

    body {
        font-size: 14px;
        line-height: 1.8;
    }

    .policy-header {
        padding: 48px 0 35px;
    }

    .brand-name {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 4px;
    }

    .policy-header h1 {
        font-size: clamp(39px, 10vw, 54px);
        line-height: 1.05;
        letter-spacing: -0.5px;
    }

    .policy-subtitle {
        margin-bottom: 25px;
        font-size: 12px;
    }

    .policy-meta {
        flex-direction: column;
        gap: 5px;
        padding-top: 18px;
        font-size: 10px;
    }

    .policy-container {
        padding: 10px 22px 45px;
    }

    .policy-section {
        padding: 28px 0;
    }

    .section-heading {
        gap: 12px;
        margin-bottom: 20px;
    }

    .section-number {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 10px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .heading-note {
        display: block;
        margin-top: 5px;
        font-size: 11px;
    }

    .programme-heading {
        flex-direction: column;
        gap: 10px;
    }

    .programme-heading .section-heading {
        margin-bottom: 0;
    }

    .level-label {
        margin-top: 0;
        margin-left: 46px;
    }

    .term-item {
        gap: 12px;
        padding: 16px 0;
    }

    .term-item h3 {
        font-size: 13px;
    }

    .policy-list {
        padding-left: 20px;
    }

    .policy-list li {
        padding-left: 4px;
        margin-bottom: 12px;
    }

    .subsection {
        margin-top: 28px;
    }

    .subsection h3 {
        gap: 8px;
        font-size: 24px;
    }

    .policy-table {
        font-size: 12px;
        min-width: 500px;
    }

    .policy-table thead th {
        font-size: 10px;
    }

    .policy-table thead th,
    .policy-table tbody td {
        padding: 12px;
    }

    .policy-note {
        padding: 16px;
        font-size: 12px;
    }

    .company-details {
        margin-top: 25px;
        padding: 25px 17px;
    }

    .company-name {
        font-size: 22px;
    }

    .company-details p:not(.company-name) {
        font-size: 12px;
    }

    .company-links {
        flex-direction: column;
        gap: 8px;
    }

    .link-divider {
        display: none;
    }

    .policy-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .policy-footer p {
        font-size: 10px;
    }

}


/* =========================================
   SMALL MOBILE SCREENS
   ========================================= */

@media (max-width: 380px) {

    .policy-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .policy-header h1 {
        font-size: 38px;
    }

    .section-number {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
    }

    .level-label {
        margin-left: 43px;
    }

}
