@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --green: #72A86A;
    --green-dark: #244A32;
    --green-deep: #183A27;
    --green-soft: #EAF3E8;
    --green-pale: #F5F9F3;
    --gold: #C8A84E;
    --red: #C92D32;
    --blue: #315B9A;
    --text: #242A25;
    --muted: #687169;
    --white: #fff;
    --cream: #F3F0E6;
    --shadow: 0 18px 50px rgba(36, 74, 50, .12);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--text);
    background: #fff;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    color: #fff;
    transition: .3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .96);
    color: var(--green-dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    backdrop-filter: blur(12px);
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.main-nav a {
    white-space: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-text strong {
    font-size: 18px;
    letter-spacing: .12em
}

.brand-text span {
    font-size: 9px;
    opacity: .8;
    margin-top: 5px;
    letter-spacing: .04em
}

.main-nav {
    display: flex;
    gap: 24px;
    align-items: center
}

.main-nav a {
    font-size: 13px;
    font-weight: 600;
    opacity: .92;
    position: relative;
    padding: 30px 0;
}

.main-nav a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 22px;
    height: 2px;
    background: var(--gold);
    transition: .25s;
}

.main-nav a:hover:after {
    right: 0
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px
}

.hero {
    height: 92vh;
    min-height: 640px;
    position: relative;
    overflow: hidden;
    background: var(--green-dark)
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease
}

.hero-slide.active {
    opacity: 1
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 48, 28, .82) 0%, rgba(28, 65, 39, .52) 44%, rgba(0, 0, 0, .12) 100%);
}

.hero-caption {
    position: absolute;
    left: max(20px, calc((100% - 1180px)/2));
    top: 50%;
    transform: translateY(-42%);
    width: min(620px, calc(100% - 40px));
    color: #fff;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.eyebrow.green {
    color: var(--green-dark)
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(45px, 6vw, 78px);
    line-height: .98;
    margin: 0 0 22px;
}

.hero h1 em {
    color: #d8e9d2;
    font-style: normal
}

.hero-caption p {
    font-size: 17px;
    max-width: 540px;
    line-height: 1.7;
    margin: 0 0 28px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .04em;
}

.btn-light {
    background: #fff;
    color: var(--green-dark)
}

.hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.dot {
    width: 34px;
    height: 4px;
    border: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer
}

.dot.active {
    background: #fff
}

.section {
    padding: 100px 0
}

.section-soft {
    background: var(--green-soft)
}

.section-heading {
    margin-bottom: 48px
}

.section-heading.center {
    text-align: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--green-dark)
}

.section-heading p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0
}

.section-heading.light h2 {
    color: #fff
}

.section-heading.light p {
    color: rgba(255, 255, 255, .7)
}

.leaders {
    background: #fff
}

.leader-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 550px;
    margin: 0 auto;
}

.leader-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.leader-photo {
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-info {
    padding: 20px;
    text-align: center;
}

.leader-info span {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #168a45;
}

.leader-info h3 {
    margin: 0;
    font-size: 26px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center
}

.about h2 {
    font-family: 'Playfair Display', serif;
    color: var(--green-dark);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
    margin: 0 0 20px
}

.about p {
    line-height: 1.85;
    color: #5c655e
}

.about .lead {
    font-size: 18px;
    color: var(--green-dark);
    font-weight: 500
}

.about-panel {
    background: var(--green-dark);
    color: #fff;
    padding: 45px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.about-panel:before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    right: -100px;
    top: -100px;
    border: 45px solid rgba(255, 255, 255, .06)
}

.about-number {
    font-size: 12px;
    color: #b9d4b1;
    font-weight: 700;
    letter-spacing: .15em
}

.about-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin: 30px 0 15px
}

.about-panel p {
    color: rgba(255, 255, 255, .78)
}

.mini-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 28px 0
}

.about-panel small {
    color: rgba(255, 255, 255, .55)
}

.haluan {
    background: #fff
}

.haluan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.haluan-card {
    padding: 38px;
    border: 1px solid #e4eae3;
    border-radius: 12px;
    min-height: 250px;
    transition: .3s;
    position: relative;
    background: #fff
}

.haluan-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow)
}

.haluan-card.featured {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark)
}

.card-icon {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .15em;
    margin-bottom: 55px
}

.haluan-card h3 {
    font-size: 28px;
    margin: 0 0 10px;
    letter-spacing: .04em
}

.haluan-card p {
    line-height: 1.7;
    color: var(--muted);
    margin: 0
}

.haluan-card.featured p {
    color: rgba(255, 255, 255, .72)
}

.section-dark {
    background: var(--green-dark)
}

.news-placeholder {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 28px;
    color: #fff
}

.placeholder-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--green);
    font-family: 'Playfair Display', serif;
    font-size: 25px
}

.news-placeholder h3 {
    margin: 0 0 7px;
    font-size: 20px
}

.news-placeholder p {
    margin: 0;
    color: rgba(255, 255, 255, .62);
    line-height: 1.6
}

.activity-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 18px;
}

.gallery-item {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--green-soft)
}

.gallery-item.large {
    height: 380px;
    grid-row: span 2
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gallery-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    color: #fff;
    background: var(--green-dark)
}

.gallery-note span {
    font-size: 10px;
    letter-spacing: .18em;
    color: #b8d3b0
}

.gallery-note strong {
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    line-height: 1.1;
    margin: 15px 0
}

.gallery-note small {
    color: rgba(255, 255, 255, .55)
}

.closing {
    background: var(--cream);
    padding: 75px 0
}

.closing-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.closing h2 {
    font-family: 'Playfair Display', serif;
    color: var(--green-dark);
    font-size: 42px;
    margin: 0 0 10px
}

.closing p {
    color: var(--muted);
    margin: 0
}

.closing-mark {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--green);
    opacity: .35
}

.site-footer {
    background: #13291b;
    color: #fff;
    padding: 25px 0
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .55)
}

.footer-inner strong {
    display: block;
    color: #fff;
    letter-spacing: .08em
}

.footer-inner span {
    display: block;
    margin-top: 4px
}

@media(max-width:900px) {
    .main-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        background: #fff;
        color: var(--green-dark);
        padding: 15px;
        border-radius: 10px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 12px 10px
    }

    .main-nav a:after {
        display: none
    }

    .menu-toggle {
        display: block
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .leader-grid {
        gap: 20px
    }

    .leader-photo {
        height: 390px
    }

    .activity-gallery {
        grid-template-columns: 1fr 1fr
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: auto;
        height: 330px
    }
}

@media(max-width:600px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    .hero {
        min-height: 600px;
        height: 88vh
    }

    .hero-caption {
        left: 14px;
        width: calc(100% - 28px)
    }

    .hero h1 {
        font-size: 43px
    }

    .hero-caption p {
        font-size: 15px
    }

    .section {
        padding: 72px 0
    }

    .leader-grid,
    .haluan-grid {
        grid-template-columns: 1fr
    }

    .leader-photo {
        height: 420px
    }

    .two-col {
        gap: 25px
    }

    .about-panel {
        padding: 32px
    }

    .activity-gallery {
        grid-template-columns: 1fr
    }

    .gallery-item.large {
        grid-column: auto;
        height: 300px
    }

    .gallery-item {
        height: 260px
    }

    .closing-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .closing h2 {
        font-size: 34px
    }

    .closing-mark {
        font-size: 28px
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .leader-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        width: 100% !important;
        max-width: 550px !important;
        margin: 0 auto !important;
    }

    .leader-card {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .leader-photo {
        width: 100%;
        height: 420px;
        overflow: hidden;
    }

    .leader-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .read-more {
        display: inline-block;
        margin-top: 25px;
        color: var(--gold);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .05em;
    }

    .haluan-card {
        text-decoration: none;
        color: inherit;
    }

    .haluan-card {
        display: block;
        text-decoration: none;
        color: inherit;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .haluan-card:hover {
        transform: translateY(-6px);
    }

    .read-more {
        display: inline-block;
        margin-top: 20px;
        font-size: 13px;
        font-weight: 700;
        color: var(--gold);
        letter-spacing: .04em;
    }

    /* =====================================================
   GAMBAR TAMBAHAN HERO SEBELAH KANAN
===================================================== */

    .hero-side-image {
        position: absolute;

        right: 7%;
        top: 50%;

        width: 300px;

        transform:
            translateY(-50%) rotate(4deg);

        z-index: 3;
    }

    .hero-side-image img {
        width: 100%;
        display: block;

        border-radius: 8px;

        box-shadow:
            0 25px 50px rgba(0, 0, 0, .35);
    }

    /* =====================================================
   HERO IMAGE TAMBAHAN - KANAN
   ===================================================== */

    .hero-slide {
        position: relative;
        overflow: hidden;
    }


    /* BACKGROUND HERO */

    .hero-slide>.hero-bg {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        transform: scale(0.70);
        z-index: 1;
    }


    /* OVERLAY */

    .hero-slide>.hero-overlay {
        position: absolute;

        inset: 0;

        z-index: 2;
    }


    /* GAMBAR KECIL KANAN */

    .hero-side-image {
        position: absolute;

        z-index: 5;

        right: 7%;
        top: 50%;

        width: 280px;

        transform: translateY(-50%);

        display: block;
    }


    /* GAMBAR DI DALAMNYA */

    .hero-side-image img {
        display: block !important;

        position: static !important;

        width: 100% !important;
        height: auto !important;

        max-width: none !important;

        object-fit: contain !important;

        border-radius: 10px;

        box-shadow:
            0 20px 45px rgba(0, 0, 0, .35);
    }


    /* TEXT */

    .hero-slide>.hero-caption {
        position: relative;

        z-index: 6;
    }

    .ali-photo img {
        object-fit: contain !important;
        object-position: center;
        transform: scale(0.50);
    }
}

/* ================================
   MUSIC BUTTON
================================ */
#musicToggle {
    position: fixed;
    right: 20px;
    bottom: 20px;
    top: auto;
    left: auto;
    z-index: 99999;

    border: 1px solid rgba(255,255,255,.25);
    background: rgba(15,18,22,.88);
    color: #fff;

    padding: 10px 15px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
    cursor: pointer;

    backdrop-filter: blur(8px);
}

#musicToggle:hover {
    transform: translateY(-2px);
    background: rgba(30,35,40,.95);
}

#musicToggle.music-on {
    border-color: rgba(255,255,255,.55);
}

/* ================================
   Running Text
================================ */
.running-text {
    display: inline-block;
    padding-left: 100%;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    animation: runningText 18s linear infinite;
}

@keyframes runningText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================
   LEADERSHIP - MERAH PUTIH
   ========================================== */

.leaders {
    position: relative;
    background:
        linear-gradient(
            to bottom,
            #c8102e 0%,
            #c8102e 48%,
            #ffffff 48%,
            #ffffff 100%
        );
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Judul Leadership */
.leaders .section-heading {
    position: relative;
    z-index: 2;
}

.leaders .section-heading h2 {
    color: #111;
}

.leaders .section-heading .eyebrow {
    color: #ffffff;
}

/* Card pimpinan */
.leaders .leader-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(200, 16, 46, 0.15);
}

/* Sedikit aksen merah */
.leaders .leader-info {
    border-top: 4px solid #c8102e;
}

/* ==========================================
   LEADERSHIP - BACKGROUND MERAH PUTIH
   ========================================== */

section.leaders {
    background: linear-gradient(
        to bottom,
        #c8102e 0,
        #c8102e 220px,
        #ffffff 220px,
        #ffffff 100%
    ) !important;
}

/* Judul di area merah */
section.leaders .section-heading {
    position: relative;
    z-index: 2;
}

section.leaders .section-heading .eyebrow {
    color: #ffffff !important;
}

section.leaders .section-heading h2 {
    color: #ffffff !important;
}

/* Grid pimpinan */
section.leaders .leader-grid {
    position: relative;
    z-index: 2;
}

/* Card */
section.leaders .leader-card {
    background: #ffffff !important;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    border: none;
}

/* Foto */
section.leaders .ali-photo {
    background: #ffffff;
}

/* Informasi pimpinan */
section.leaders .leader-info {
    background: #ffffff;
    border-top: 4px solid #c8102e;
}

/* Jabatan */
section.leaders .leader-info span {
    color: #c8102e;
}

/* Nama */
section.leaders .leader-info h3 {
    color: #222;
}
.flag-icon {
    width: 22px;
    height: 15px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 4px;
    border-radius: 2px;
}
/* LANGUAGE SWITCH - HORIZONTAL */
.lang-switch {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.lang-switch a {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap;
    gap: 4px;
    text-decoration: none;
}

.lang-switch .flag-icon {
    display: inline-block !important;
    width: 22px;
    height: 15px;
    object-fit: cover;
    margin: 0;
    vertical-align: middle;
    border-radius: 2px;
}

.lang-switch > span {
    display: inline-block !important;
    white-space: nowrap;
}

/* ==========================================
   LANGUAGE SWITCH - FORCE HORIZONTAL
   ========================================== */

.main-nav .lang-switch {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: max-content !important;
    min-width: max-content !important;
    height: auto !important;
}

.main-nav .lang-switch a {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: auto !important;
}

.main-nav .lang-switch .flag-icon {
    display: inline-block !important;
    width: 22px !important;
    height: 15px !important;
    flex: 0 0 22px !important;
    object-fit: cover;
    margin: 0 4px 0 0 !important;
}

.main-nav .lang-switch > span {
    display: inline-block !important;
    width: auto !important;
    white-space: nowrap !important;
}
.hero-slide .hero-bg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 65% !important;
    transform: none !important;
}
.leader-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.leader-card {
    display: block;
    text-align: center;
}

.leader-featured {
    grid-column: 1 / -1;
    width: 320px;
    max-width: 100%;
    justify-self: center;
}

.leader-card .ali-photo img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 560px) {
    .leader-grid {
        gap: 30px 20px;
    }
}