@import url('');

/* =========================================
   1. GLOBAL & DESIGN TOKENS
========================================= */

:root {
    --brown: var(--color-brown);
    --cream: var(--color-cream);
    --gold: var(--color-gold);
    --olive: var(--color-olive);
    --red: var(--color-red);
    --white: var(--color-white);

    --heading-font: var(--font-display);
    --body-font: var(--font-body);

    --container-width: 1264px;
    --container-padding: 32px;

    --shadow-green: 4px 4px 0 var(--olive);
    --shadow-yellow: 4px 4px 0 var(--gold);
    --shadow-red: 4px 4px 0 var(--red);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--brown);
    color: var(--brown);
    font-family: var(--body-font);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================
   2. HERO SECTION
========================================= */

.hero {
    display: flex;
    align-items: center;
    min-height: 328px;
    background: var(--brown);
    color: var(--cream);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 48px var(--container-padding);
}

.eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.hero-content h1 {
    margin-bottom: 14px;
    color: var(--cream);
    font-family: var(--heading-font);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.1;
}

.hero-content p {
    max-width: 440px;
    color: rgba(254, 255, 196, 0.85);
    font-size: 13px;
    line-height: 1.8;
}

.alumni-text {
    font-family: 'Plus Jakarta Sans', serif;
    font-weight: 700;
    font-size: 24px;
    color: #FFBC4C !important;
    border-top: 1px solid #ffbc4c;
    padding-top: 12px;
    margin-top: 18px;
    display: inline-block;
}

/* Hero Buttons */

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: 3px solid var(--cream);
    outline-offset: 3px;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--brown);
}

.btn-gold:hover {
    background: var(--cream);
    border-color: var(--cream);
}

.btn-cream {
    background: transparent;
    border-color: rgba(254, 255, 196, 0.6);
    color: var(--cream);
}

.btn-cream:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--brown);
}

.btn-outline {
    background: transparent;
    border-color: rgba(254, 255, 196, 0.6);
    color: var(--cream);
}

.btn-outline:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--brown);
}


/* Hero Image */

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 390px;
    height: 290px;
    object-fit: contain;
}


/* =========================================
   3. PROGRAM SECTION
========================================= */

.program-section,
.booking-section {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
}

.program-section {
    padding: 43px 0 35px;
    background: var(--cream);
}

.section-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* Section Heading */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 23px;
}

.red-text {
    color: var(--red);
}

.section-heading h2 {
    color: var(--brown);
    font-family: var(--heading-font);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
}

.see-all {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--red);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}


/* Program Grid */

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}


/* Program Cards */

.program-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--brown);
    box-shadow: var(--shadow-green);
}

/* Warna card bergantian */
.program-card:nth-child(3n + 2) {
    box-shadow: var(--shadow-yellow);
}

.program-card:nth-child(3n + 3) {
    box-shadow: var(--shadow-red);
}


/* Program Image */

.program-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    overflow: hidden;
    background: rgba(145, 160, 82, 0.35);
    border-bottom: 1px solid var(--brown);
}

.program-card:nth-child(3n + 2) .program-image {
    background: rgba(255, 188, 76, 0.4);
}

.program-card:nth-child(3n + 3) .program-image {
    background: rgba(193, 39, 45, 0.22);
}

.program-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-image span {
    color: rgba(60, 24, 8, 0.55);
    font-size: 10px;
}


/* Program Content */

.program-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 14px 15px;
}

.program-tag {
    margin-bottom: 8px;
    padding: 4px 10px;
    color: var(--brown);
    font-size: 8px;
    font-weight: 600;
    background: var(--olive);
}

.program-card:nth-child(3n + 2) .program-tag {
    background: var(--gold);
}

.program-card:nth-child(3n + 3) .program-tag {
    background: var(--red);
    color: var(--white);
}

.program-content h3 {
    margin-bottom: 9px;
    color: var(--brown);
    font-family: var(--heading-font);
    font-size: 18px;
    line-height: 1.15;
}

.program-content p {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.7;
}

.program-content a {
    margin-top: auto;
    font-size: 10px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.program-content a:hover {
    color: var(--red);
}


/* =========================================
   4. OTHER PROGRAM CARD
========================================= */

.other-program {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: var(--brown);
    color: var(--cream);
}

.other-program > span {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 9px;
}

.other-program h3 {
    margin-bottom: 10px;
    font-family: var(--heading-font);
    font-size: 20px;
    line-height: 1.15;
}

.other-program p {
    color: rgba(254, 255, 196, 0.8);
    font-size: 11px;
    line-height: 1.7;
}

.other-program .btn {
    margin-top: auto;
}


/* =========================================
   5. BOOKING SECTION
========================================= */

.booking-section {
    padding: 32px 0;
    background: var(--olive);
    border-top: 2px solid var(--brown);
    border-bottom: 2px solid var(--brown);
}

.booking-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.booking-content {
    max-width: 570px;
}

.booking-content .eyebrow {
    color: var(--brown);
}

.booking-content h2 {
    margin-bottom: 12px;
    color: var(--brown);
    font-family: var(--heading-font);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.15;
}

.booking-content p {
    max-width: 470px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.7;
}

.booking-link {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--brown);
    font-size: 11px;
    font-weight: 600;
}


/* Booking Button */

.booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--brown);
    color: var(--cream);
    border-radius: 50px;
    box-shadow: 3px 3px 0 var(--cream);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.booking-button:hover {
    background: var(--gold);
    color: var(--brown);
}


/* =========================================
   6. TABLET
========================================= */

@media (max-width: 900px) {
    .hero-container {
        gap: 20px;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .program-image {
        height: 170px;
    }

    .other-program {
        min-height: 300px;
    }
}


/* =========================================
   7. MOBILE
========================================= */

@media (max-width: 650px) {
    .hero {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 55px 24px 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        margin: 0 auto;
        font-size: 12px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        font-size: 11px;
    }

    .hero-image img {
        max-width: 250px;
        height: 210px;
    }

    .program-section {
        padding: 40px 0;
    }

    .section-container {
        padding: 0 24px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .see-all {
        font-size: 11px;
    }

    .program-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .program-card {
        width: 100%;
    }

    .program-image {
        height: 190px;
    }

    .program-content {
        padding: 16px;
    }

    .program-content h3 {
        font-size: 21px;
    }

    .program-content p {
        font-size: 12px;
    }

    .program-content a {
        font-size: 11px;
    }

    .other-program {
        min-height: 230px;
        padding: 23px;
    }

    .other-program h3 {
        font-size: 24px;
    }

    .other-program p {
        margin-bottom: 20px;
        font-size: 12px;
    }

    .booking-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 0 24px;
    }

    .booking-content h2 {
        font-size: 27px;
    }

    .booking-content p {
        font-size: 12px;
    }

    .desktop-break {
        display: none;
    }

    .booking-button {
        align-self: flex-start;
    }
}


/* =========================================
   8. SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        gap: 7px;
    }

    .hero-buttons .btn {
        padding: 9px 12px;
        font-size: 10px;
    }
}


/* =========================================
   9. REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}