/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #17201a;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --primary: #087443;
    --primary-dark: #055a34;
    --primary-light: #e9f7ef;

    --secondary: #d6a528;
    --dark: #17201a;
    --gray: #657069;
    --light: #f7faf8;
    --border: #e4ebe6;

    --container: 1180px;

    --shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);
}


/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(92%, var(--container));
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-label {
    display: inline-block;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: var(--primary);

    margin-bottom: 15px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 60px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.section-top h2 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.2;

    margin-bottom: 18px;
}

.section-heading h2 span,
.section-top h2 span {
    color: var(--primary);
}

.section-heading p {
    color: var(--gray);
    font-size: 16px;
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--dark);
    background: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.95);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border);
}

.nav-container {
    height: 76px;

    display: flex;
    align-items: center;

    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    width: 200px;
    height: 150px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: white;

    border-radius: 10px;

    font-weight: 800;
    font-size: 13px;
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.logo-text strong {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 15px;
}

.logo-text span {
    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-top: 4px;
}

.nav-menu {
    display: flex;

    align-items: center;

    gap: 32px;

    margin-left: auto;
    margin-right: 30px;
}

.nav-menu a {
    font-size: 14px;

    font-weight: 600;

    color: #4c5750;

    transition: 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;

    border: 0;

    background: transparent;

    font-size: 25px;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            #e5f7ed 0,
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #f8fcf9,
            #ffffff
        );

    padding: 100px 0 120px;
}

.hero-container {
    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 80px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 13px;

    border-radius: 50px;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 22px;
}

.hero-badge span {
    color: var(--secondary);
}

.hero h1 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(42px, 5vw, 66px);

    line-height: 1.1;

    letter-spacing: -2px;

    max-width: 700px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;

    color: var(--primary);
}

.hero-content > p {
    color: var(--gray);

    max-width: 600px;

    font-size: 16px;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-bottom: 45px;
}

.hero-info {
    display: flex;

    gap: 40px;
}

.info-item {
    display: flex;

    flex-direction: column;

    border-left: 2px solid var(--secondary);

    padding-left: 12px;
}

.info-item strong {
    font-size: 15px;
}

.info-item span {
    color: var(--gray);

    font-size: 11px;

    margin-top: 2px;
}


/* =========================================
   HERO IMAGE
========================================= */

.hero-image {
    position: relative;

    min-height: 510px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.image-card {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    background: white;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transform: rotate(2deg);
    overflow: hidden;
}

.school-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.image-placeholder {
    min-height: 480px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            #dcefe3,
            #b7d8c4
        );

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: #37604a;
}

.image-placeholder span {
    font-size: 60px;

    display: block;

    margin-bottom: 10px;
}

.image-placeholder p {
    font-weight: 800;

    font-size: 18px;
}

.image-placeholder small {
    display: block;

    margin-top: 5px;

    opacity: 0.7;
}

.floating-card {
    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    background: white;

    padding: 14px 18px;

    border-radius: 12px;

    box-shadow: var(--shadow);

    z-index: 3;
}

.floating-card strong {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    border-radius: 10px;

    font-size: 20px;
}

.floating-card div {
    display: flex;

    flex-direction: column;
}

.floating-card b {
    font-size: 13px;
}

.floating-card span {
    color: var(--gray);

    font-size: 10px;
}

.floating-card-1 {
    top: 55px;
    left: -20px;
}

.floating-card-2 {
    bottom: 55px;
    right: -20px;
}


/* =========================================
   PROFIL
========================================= */

.profil {
    background: white;
}

.profil-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;
}

.profil-image .image-placeholder {
    min-height: 400px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #edf7f0,
            #c9e5d2
        );
}

.profil-image .image-placeholder span {
    font-size: 50px;
}

.profil-content h3 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 30px;

    line-height: 1.3;

    margin-bottom: 20px;
}

.profil-content p {
    color: var(--gray);

    margin-bottom: 18px;
}

.text-link {
    display: inline-block;

    margin-top: 10px;

    color: var(--primary);

    font-size: 14px;

    font-weight: 700;
}


/* =========================================
   STATS
========================================= */

.stats {
    background: var(--primary);

    color: white;

    padding: 55px 0;
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

    text-align: center;
}

.stat {
    display: flex;

    flex-direction: column;

    border-right: 1px solid rgba(255,255,255,.2);
}

.stat:last-child {
    border: none;
}

.stat strong {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 34px;
}

.stat span {
    opacity: .8;

    font-size: 13px;
}


/* =========================================
   PROGRAM
========================================= */

.program {
    background: var(--light);
}

.program-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.program-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 30px;

    transition: .3s;
}

.program-card:hover {
    transform: translateY(-7px);

    box-shadow: var(--shadow);
}

.program-card.featured {
    border-color: var(--primary);

    box-shadow:
        0 10px 35px rgba(8,116,67,.10);
}

.program-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    border-radius: 12px;

    font-size: 23px;

    margin-bottom: 22px;
}

.program-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 19px;

    margin-bottom: 12px;
}

.program-card p {
    color: var(--gray);

    font-size: 13px;

    margin-bottom: 22px;
}

.program-card a {
    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================
   BERITA
========================================= */

.berita {
    background: white;
}

.section-top {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 50px;
}

.section-top h2 {
    margin: 0;
}

.berita-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.berita-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: white;

    transition: .3s;
}

.berita-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.berita-image {
    height: 220px;

    background:
        linear-gradient(
            135deg,
            #dcefe3,
            #b8d9c5
        );

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 45px;
}

.berita-body {
    padding: 25px;
}

.berita-date {
    color: var(--primary);

    font-size: 11px;

    font-weight: 700;
}

.berita-body h3 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: 18px;

    line-height: 1.4;

    margin: 10px 0;
}

.berita-body p {
    color: var(--gray);

    font-size: 13px;

    margin-bottom: 18px;
}

.berita-body a {
    color: var(--primary);

    font-size: 13px;

    font-weight: 700;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 80px 0;

    background:
        linear-gradient(
            120deg,
            var(--primary),
            #0a8c52
        );

    color: white;
}

.cta-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}

.cta .section-label {
    color: #c8f0d9;
}

.cta h2 {
    font-family: "Plus Jakarta Sans", sans-serif;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.2;

    max-width: 700px;

    margin-bottom: 15px;
}

.cta p {
    opacity: .85;

    max-width: 600px;
}


/* =========================================
   CONTACT
========================================= */

.kontak {
    background: var(--light);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.contact-card {
    display: flex;

    gap: 16px;

    background: white;

    padding: 25px;

    border-radius: 14px;

    border: 1px solid var(--border);
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    border-radius: 10px;

    font-size: 20px;
}

.contact-card h3 {
    font-size: 15px;

    margin-bottom: 5px;
}

.contact-card p {
    color: var(--gray);

    font-size: 13px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #102019;

    color: white;

    padding-top: 70px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand p {
    color: #a9b6ae;

    max-width: 350px;

    font-size: 13px;

    margin-top: 20px;
}

.footer-logo {
    width: 160px;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-column {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;
}

.footer-column a {
    color: #a9b6ae;

    font-size: 13px;

    transition: .2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);

    padding: 20px 0;

    color: #87958d;

    font-size: 12px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-info {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;

        width: 100%;

        margin: auto;
    }

    .program-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .profil-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            2fr 1fr 1fr;
    }

}


@media (max-width: 750px) {

    .section {
        padding: 70px 0;
    }

    .nav-menu {
        position: absolute;

        top: 76px;

        left: 0;
        right: 0;

        background: white;

        border-bottom: 1px solid var(--border);

        display: none;

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;

        gap: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-info {
        gap: 20px;

        flex-wrap: wrap;
    }

    .hero-image {
        min-height: 400px;
    }

    .image-placeholder {
        min-height: 380px;
    }

    .floating-card-1 {
        left: -5px;
    }

    .floating-card-2 {
        right: -5px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .berita-grid {
        grid-template-columns: 1fr;
    }

    .section-top {
        align-items: flex-start;

        flex-direction: column;

        gap: 20px;
    }

    .cta-container {
        align-items: flex-start;

        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }

}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 36px;
    }

    .hero-info {
        flex-direction: column;

        align-items: flex-start;

        margin-left: 20px;
    }

    .hero-image {
        min-height: 330px;
    }

    .image-placeholder {
        min-height: 320px;
    }

    .floating-card {
        padding: 10px;

        gap: 8px;
    }

    .floating-card-1 {
        top: 15px;
    }

    .floating-card-2 {
        bottom: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none;

        border-bottom: 1px solid rgba(255,255,255,.2);

        padding-bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}