/* =========================
   PENGATURAN DASAR
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    background-color: #f5f7fb;
    line-height: 1.6;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 85%;
    max-width: 1100px;
    margin: auto;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background-color: #0b1f3a;

    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 7%;

    position: sticky;
    top: 0;

    z-index: 1000;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;

    list-style: none;

    gap: 28px;
}

.nav-menu a {
    color: white;

    text-decoration: none;

    font-size: 15px;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: #7db7ff;
}


/* =========================
   HERO / BERANDA
========================= */

.hero {
    min-height: 560px;

    padding: 70px 7%;

    display: flex;
    align-items: center;

    gap: 60px;

    background: linear-gradient(
        135deg,
        #0b1f3a,
        #174f8c
    );

    color: white;
}

.hero-content {
    flex: 1;
}

.hero-label {
    color: #9fc9ff;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.hero h1 {
    font-size: 58px;

    line-height: 1.1;

    margin-bottom: 25px;
}

.hero-description {
    font-size: 18px;

    max-width: 600px;

    margin-bottom: 30px;
}

.button {
    display: inline-block;

    padding: 13px 25px;

    background-color: white;

    color: #0b1f3a;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.button:hover {
    background-color: #dcecff;

    transform: translateY(-2px);
}


/* =========================
   GAMBAR HERO
========================= */

.hero-image {
    flex: 0 0 43%;

    height: 360px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================
   JUDUL SECTION
========================= */

.section-title {
    margin-bottom: 40px;
}

.section-title.center {
    text-align: center;
}

.label {
    color: #1769aa;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 34px;

    color: #0b1f3a;

    margin-bottom: 10px;
}

.section-title.center > p:last-child {
    color: #666;

    max-width: 650px;

    margin: auto;
}


/* =========================
   PROFIL
========================= */

.profil {
    padding: 90px 0;

    background-color: white;
}

.profil-content {
    display: flex;

    align-items: center;

    gap: 60px;
}

.profil-text {
    flex: 1;
}

.profil-text h3 {
    color: #0b1f3a;

    font-size: 27px;

    margin-bottom: 18px;
}

.profil-text p {
    color: #555;

    margin-bottom: 15px;
}

.profil-image {
    width: 45%;

    height: 330px;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
}

.profil-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.4s;
}

.profil-image:hover img {
    transform: scale(1.05);
}


/* =========================
   BIDANG PEMBELAJARAN
========================= */

.bidang {
    padding: 90px 0;

    background-color: #f5f7fb;
}

.card-container {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}

.card {
    background-color: white;

    padding: 28px;

    border-radius: 12px;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);

    transition: 0.3s;
}

.card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 38px;

    margin-bottom: 15px;
}

.card h3 {
    color: #0b1f3a;

    font-size: 20px;

    margin-bottom: 12px;
}

.card p {
    color: #666;

    font-size: 14px;
}


/* =========================
   KEGIATAN
========================= */

.kegiatan {
    padding: 90px 0;

    background-color: white;
}

.kegiatan-content {
    display: flex;

    align-items: center;

    gap: 60px;
}

.kegiatan-image {
    width: 48%;

    height: 350px;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);
}

.kegiatan-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.kegiatan-text {
    flex: 1;
}

.kegiatan-text h3 {
    color: #0b1f3a;

    font-size: 27px;

    margin-bottom: 18px;
}

.kegiatan-text p {
    color: #555;

    margin-bottom: 15px;
}

.activity-list {
    margin-top: 20px;
}

.activity-list div {
    margin-bottom: 10px;

    color: #444;
}

.activity-list span {
    color: #1769aa;

    font-weight: bold;

    margin-right: 8px;
}


/* =========================
   KEUNGGULAN
========================= */

.keunggulan {
    padding: 90px 0;

    background-color: #f5f7fb;
}

.keunggulan-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.keunggulan-item {
    background-color: white;

    padding: 30px;

    border-radius: 12px;

    border-top: 4px solid #1769aa;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);
}

.keunggulan-item h3 {
    color: #0b1f3a;

    font-size: 21px;

    margin-bottom: 12px;
}

.keunggulan-item p {
    color: #666;
}


/* =========================
   KONTAK
========================= */

.kontak {
    padding: 70px 0;

    background-color: white;
}

.kontak h2 {
    color: #0b1f3a;

    font-size: 32px;

    margin-bottom: 30px;
}

.kontak-box {
    border-left: 5px solid #1769aa;

    padding-left: 20px;
}

.kontak-box p {
    color: #555;

    margin-bottom: 12px;
}


/* =========================
   FOOTER
========================= */

.footer {
    background-color: #0b1f3a;

    color: white;

    text-align: center;

    padding: 30px;
}

.footer h3 {
    margin-bottom: 5px;
}

.footer p {
    font-size: 14px;

    color: #d5e4f7;
}

.footer p:last-child {
    margin-top: 10px;

    color: #9fb6d1;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        width: 100%;

        flex-basis: auto;
    }

    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .keunggulan-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .navbar {
        flex-direction: column;

        gap: 15px;
    }

    .nav-menu {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero {
        min-height: auto;

        padding: 60px 7%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .profil-content,
    .kegiatan-content {
        flex-direction: column;
    }

    .profil-image,
    .kegiatan-image {
        width: 100%;

        height: 280px;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 28px;
    }

}