/* =========================
   ROOT
========================= */

:root {
    --primary: #119447;
    --primary-dark: #087438;
    --primary-light: #76bf35;

    --secondary: #a6ce39;

    --navy: #0c0c4c;

    --text: #183248;
    --text-muted: #687985;

    --white: #ffffff;

    --background: #ffffff;
    --background-soft: #f7fbf8;

    --border: #e3ece6;

    --shadow:
        0 16px 40px rgba(17, 74, 45, 0.08);

    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --container: 1200px;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins", sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}


img {
    width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
select,
textarea {
    font-family: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(92%, var(--container));
    margin-inline: auto;
}


/* =========================
   SECTION
========================= */

.section {
    padding: 100px 0;
}


.section-label {
    display: inline-block;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 4px;

    color: var(--primary);

    margin-bottom: 16px;
}


.section-heading {
    margin-bottom: 45px;
}


.section-heading.centered {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}


.section-heading h2,
.program-intro h2,
.center-content h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.2;

    color: var(--navy);

    margin-bottom: 18px;
}


.section-heading h2 span,
.program-intro h2 span,
.center-content h2 span {

    color: var(--primary);
}


.section-heading p,
.program-intro p,
.center-content p {

    color: var(--text-muted);

    font-size: 16px;

    max-width: 640px;
}


/* =========================
   BUTTON
========================= */

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 12px 24px;

    border-radius: 13px;

    font-size: 14px;
    font-weight: 600;

    border: 1.5px solid transparent;

    transition: 0.25s ease;

    cursor: pointer;
}


.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 10px 25px rgba(17, 148, 71, 0.18);
}


.btn-primary:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}


.btn-outline {
    background: var(--white);

    border-color: var(--primary);

    color: var(--primary);
}


.btn-outline:hover {
    background: var(--primary);

    color: var(--white);
}


.btn-white {
    background: var(--white);

    color: var(--primary);
}


.btn-whatsapp {
    color: var(--white);

    border-color: rgba(255,255,255,.7);

    background: transparent;
}


/* =========================
   TEXT LINK
========================= */

.text-link {
    color: var(--primary);

    font-size: 14px;
    font-weight: 600;
}
/* =========================================
   PAGE TRANSITION
========================================= */

body {
    opacity: 0;

    transition:
        opacity 0.35s ease;
}


/* SAAT HALAMAN SUDAH MASUK */

body.page-loaded {
    opacity: 1;
}


/* SAAT MAU PINDAH HALAMAN */

body.page-exit {
    opacity: 0;
}