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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: midnightblue;
    background: whitesmoke;
    line-height: 1.6;
}

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

.container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}


/* =========================================
   NAVBAR
   ========================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    background: midnightblue;

    border-bottom: 1px solid darkslateblue;
}

.nav-content {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;

    gap: 11px;

    color: white;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: 0.2px;
}

.logo-mark {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: orange;

    color: midnightblue;

    font-size: 12px;
    font-weight: 800;
}


/* Menu */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 30px;

    list-style: none;
}

.nav-menu a {
    position: relative;

    color: lightgray;

    font-size: 14px;

    transition: color 0.25s ease;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: orange;

    transition: width 0.25s ease;
}

.nav-menu a:hover {
    color: white;
}

.nav-menu a:hover::after {
    width: 100%;
}


/* =========================================
   HEADER / BERANDA
   ========================================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    background: midnightblue;

    color: white;
}


/* Dekorasi Lingkaran */

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -160px;
    top: -190px;

    border: 1px solid darkslateblue;

    border-radius: 50%;
}

.hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    top: -240px;

    border: 1px solid slateblue;

    border-radius: 50%;
}


/* Isi Hero */

.hero-content {
    display: grid;

    grid-template-columns: 1.35fr 0.65fr;

    align-items: center;

    gap: 80px;

    position: relative;

    z-index: 2;

    padding: 90px 0;
}


/* Tulisan kecil */

.eyebrow {
    margin-bottom: 14px;

    color: orange;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2.2px;
}


/* Judul */

.hero h1 {
    max-width: 700px;

    margin-bottom: 22px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(48px, 7vw, 78px);

    font-weight: 500;

    line-height: 0.98;

    letter-spacing: -2.5px;
}


/* Deskripsi */

.hero-description {
    max-width: 610px;

    color: whitesmoke;

    font-size: 17px;

    line-height: 1.8;
}


/* Tombol */

.hero-actions {
    display: flex;

    gap: 12px;

    margin-top: 34px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 21px;

    border-radius: 6px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.25s ease;
}


/* Tombol Utama */

.btn-primary {
    background: orange;

    color: midnightblue;
}

.btn-primary:hover {
    background: gold;

    transform: translateY(-2px);
}


/* Tombol Kedua */

.btn-secondary {
    border: 1px solid lightgray;

    color: white;
}

.btn-secondary:hover {
    background: darkslateblue;
}


/* Card pada Beranda */

.hero-card {
    padding: 30px;

    border: 1px solid slateblue;

    border-radius: 10px;

    background: darkslateblue;
}

.hero-card-label {
    color: lightgray;

    font-size: 11px;

    letter-spacing: 1.5px;
}

.hero-line {
    width: 100%;

    height: 1px;

    margin: 22px 0 26px;

    background: slateblue;
}

.hero-card h2 {
    margin-bottom: 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 27px;

    font-weight: 500;

    line-height: 1.25;
}

.hero-card p {
    color: lightgray;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================
   SECTION UMUM
   ========================================= */

.section {
    padding: 105px 0;
}

.section-heading {
    max-width: 650px;

    margin-bottom: 52px;
}

.section-heading h2 {
    color: midnightblue;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(35px, 4vw, 48px);

    font-weight: 500;

    line-height: 1.1;
}

.section-heading.centered {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading.centered > p:last-child {
    margin-top: 16px;

    color: slategray;
}


/* =========================================
   PROFIL
   ========================================= */

.profile-section {
    background: whitesmoke;
}

.profile-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 90px;

    align-items: start;
}

.profile-intro {
    max-width: 620px;
}

.profile-intro p {
    color: slategray;

    font-size: 16px;
}

.profile-intro .lead {
    margin-bottom: 20px;

    color: midnightblue;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;

    line-height: 1.55;
}


/* Fakta */

.profile-facts {
    border-top: 1px solid lightgray;
}

.fact {
    display: grid;

    grid-template-columns: 48px 1fr;

    gap: 20px;

    padding: 23px 0;

    border-bottom: 1px solid lightgray;
}

.fact-number {
    color: orange;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}

.fact h3 {
    margin-bottom: 5px;

    color: midnightblue;

    font-size: 16px;
}

.fact p {
    color: slategray;

    font-size: 14px;
}


/* =========================================
   CARD KEUNGGULAN
   ========================================= */

.advantage-section {
    background: gainsboro;
}

.card-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.study-card {
    min-height: 330px;

    padding: 29px;

    display: flex;

    flex-direction: column;

    border: 1px solid lightgray;

    border-radius: 10px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.study-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 14px 35px lightgray;
}


/* Card Tengah */

.featured-card {
    background: midnightblue;

    border-color: midnightblue;

    color: white;
}


/* Bagian Atas Card */

.card-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 62px;
}

.card-number {
    color: gray;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;
}

.featured-card .card-number {
    color: orange;
}

.card-symbol {
    color: orange;

    font-size: 27px;

    line-height: 1;
}


/* Judul Card */

.study-card h3 {
    margin-bottom: 12px;

    color: midnightblue;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 26px;

    font-weight: 500;
}

.featured-card h3 {
    color: white;
}


/* Isi Card */

.study-card p {
    color: slategray;

    font-size: 14px;

    line-height: 1.75;
}

.featured-card p {
    color: lightgray;
}


/* Tag */

.card-tag {
    align-self: flex-start;

    margin-top: auto;

    padding-top: 22px;

    color: orange;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.featured-card .card-tag {
    color: orange;
}


/* =========================================
   PENUTUP
   ========================================= */

.closing-section {
    padding: 100px 0;

    background: lightgray;
}

.closing-content {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    gap: 100px;

    align-items: end;
}

.closing-content h2 {
    color: midnightblue;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 5vw, 60px);

    font-weight: 500;

    line-height: 1.08;
}

.closing-content > p {
    color: dimgray;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    padding: 55px 0 28px;

    background: midnightblue;

    color: lightgray;
}

.footer-content {
    display: grid;

    grid-template-columns: 1fr 1fr auto;

    gap: 35px;

    align-items: end;
}

.footer-logo {
    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 23px;
}

.footer p {
    margin-top: 6px;

    color: silver;

    font-size: 13px;
}

.footer-info {
    display: flex;

    flex-direction: column;

    gap: 5px;

    font-size: 13px;
}

.copyright {
    margin-top: 0;

    text-align: right;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 850px) {

    .nav-menu {
        gap: 16px;
    }

    .hero-content,
    .profile-grid,
    .closing-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero {
        min-height: auto;
    }

    .hero-card {
        max-width: 520px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .study-card {
        min-height: 280px;
    }

    .closing-content {
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .copyright {
        grid-column: 1 / -1;

        text-align: left;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .nav-content {
        min-height: 64px;
    }

    .nav-menu {
        display: none;
    }

    .section {
        padding: 75px 0;
    }

    .hero-content {
        padding: 75px 0;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}