:root {
    --blue-950: #061b4a;
    --blue-900: #092766;
    --blue-700: #0a67d1;
    --blue-500: #08a9f4;
    --cyan: #22d3ee;
    --ink: #102033;
    --muted: #5f6d7e;
    --line: #dce8f7;
    --paper: #f7fbff;
    --white: #ffffff; 
    --shadow: 0 24px 70px rgba(6, 27, 74, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.2), transparent 34rem),
        linear-gradient(180deg, #eef8ff 0%, #ffffff 38%, #f4f9ff 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1120px, calc(100% - 32px));
    margin: 16px auto 0;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 36px rgba(6, 27, 74, 0.08);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: inset 0 -10px 22px rgba(6, 27, 74, 0.24);
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

/* TOMBOL HAMBURGER DEFAULT DISEMBUNYIKAN DI LAPTOP */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--blue-950);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}
.menu-toggle:hover {
    background: #e8f5ff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #24445f;
    transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
    background: #e8f5ff;
    color: var(--blue-700);
}

.btn-login-nav {
        margin-left: 0 !important;
        margin-top: 6px;
        background: var(--blue-700) !important; /* Memaksa warna tetap biru */
        color: var(--white) !important; /* Memaksa tulisan tetap putih */
    
}

.btn-login-nav:hover {
    background: var(--blue-900) !important;
    color: var(--white) !important;
}

main {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 42px;
    align-items: center;
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100vh - 96px);
    margin: 0 auto;
    padding: 60px 0 52px;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    color: var(--blue-950);
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.98;
}

.hero-text {
    max-width: 640px;
    color: #39516a;
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
}

.button.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 14px 28px rgba(10, 103, 209, 0.24);
}

.button.ghost {
    color: var(--blue-900);
    border-color: #b9daf7;
    background: rgba(255, 255, 255, 0.66);
}

.hero-panel {
    position: relative;
    min-height: 510px;
    padding: 34px;
    border-radius: 8px;
    color: var(--white);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 40%),
        linear-gradient(145deg, var(--blue-950), var(--blue-700) 52%, var(--blue-500));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
}

.hero-panel::after {
    content: "SERAYU";
    position: absolute;
    right: -14px;
    bottom: 92px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 78px;
    font-weight: 900;
    transform: rotate(-90deg);
    transform-origin: center;
}

.panel-glow {
    position: absolute;
    top: 42px;
    right: 38px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    filter: blur(28px);
}

.hero-panel p {
    position: relative;
    margin-bottom: 16px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-panel strong {
    position: relative;
    display: block;
    max-width: 260px;
    margin-top: 76px;
    font-family: "Plus Jakarta Sans", Inter, Arial, sans-serif;
    font-size: 58px;
    line-height: 0.96;
}

.hero-panel > span {
    position: relative;
    display: inline-block;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #dff8ff;
    background: rgba(255, 255, 255, 0.13);
}

.mini-grid {
    position: absolute;
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-grid div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.mini-grid b,
.mini-grid small {
    display: block;
}

.mini-grid b {
    font-size: 28px;
}

.mini-grid small {
    color: #d7f7ff;
}

.section {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 76px 0;
}

.intro {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
    border-top: 1px solid var(--line);
}

h2 {
    margin-bottom: 16px;
    color: var(--blue-950);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.intro p,
.student-copy p,
.contact p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 26px;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.org-card {
    min-height: 170px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 16px 40px rgba(6, 27, 74, 0.07);
}

.org-card span {
    display: inline-flex;
    margin-bottom: 28px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--blue-700);
    font-size: 13px;
    font-weight: 800;
    background: #e5f5ff;
}

.org-card h3 {
    margin-bottom: 10px;
    color: var(--blue-950);
    font-size: 24px;
}

.org-card p {
    margin: 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.student-copy img {
    display: block;
    width: 100%;
    margin-top: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(6, 27, 74, 0.1);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

th,
td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid #e7eff8;
}

th {
    color: var(--white);
    font-size: 13px;
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
}

td {
    color: #263c53;
}

tbody tr:hover {
    background: #f1f9ff;
}

.photo-section {
    padding-top: 32px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.photo-card {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
    padding: 36px;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
}

.contact h2,
.contact p,
.contact .section-kicker {
    color: var(--white);
}

.contact p {
    margin-bottom: 0;
    opacity: 0.78;
}

.contact .button.primary {
    background: var(--white);
    color: var(--blue-900);
}

.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 28px;
}

.footer-inner {
    position: relative;
    padding: 46px 36px 28px;
    border-radius: 8px;
    color: #f7efe6;
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.26), transparent 20rem),
        linear-gradient(135deg, var(--blue-950), var(--blue-900) 52%, #0a4ca4);
    box-shadow: 0 24px 70px rgba(6, 27, 74, 0.24);
    overflow: hidden;
}

.footer-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.footer-brand,
.footer-description,
.footer-links,
.footer-bottom,
.back-to-top {
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(135deg, #1f7d65, #0a67d1);
}

.footer-brand h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(26px, 4vw, 36px);
}

.footer-description {
    max-width: 650px;
    margin-bottom: 42px;
    color: #d7f7ff;
    font-size: 18px;
    line-height: 1.75;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 34px;
    max-width: 620px;
    margin-bottom: 34px;
}

.footer-links h3 {
    margin-bottom: 20px;
    color: #67e8f9;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin-bottom: 16px;
    color: #effbff;
    font-size: 18px;
    font-weight: 600;
}

.footer-links a:hover {
    color: #67e8f9;
}

.footer-bottom {
    display: grid;
    gap: 10px;
    padding-top: 26px;
    border-top: 1px solid rgba(215, 247, 255, 0.22);
}

.footer-bottom p {
    margin: 0;
    color: #c5e8f6;
}

.back-to-top {
    position: absolute;
    right: 32px;
    bottom: 30px;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

/* =========================================
   PENGATURAN LAYAR HP (MOBILE RESPONSIVE DENGAN 3 GARIS) 
   ========================================= */
@media (max-width: 880px) {
    .site-header,
    .hero,
    .section,
    .site-footer {
        width: min(100% - 24px, 680px);
    }

    .intro,
    .split,
    .contact {
        display: block;
    }

    /* DESAIN KHUSUS HEADER DI HP (LOGO KIRI, 3 GARIS KANAN) */
    .site-header {
        flex-wrap: wrap; 
        flex-direction: row; 
        justify-content: space-between;
        padding: 12px 18px;
    }

    /* MUNCULKAN TOMBOL 3 GARIS DI HP */
    .menu-toggle {
        display: block; 
    }

    /* SEMBUNYIKAN MENU AWALNYA */
    .site-nav {
        display: none; 
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
        gap: 6px;
    }

    /* INI AKAN JALAN KETIKA 3 GARIS DIKLIK (MUNCULKAN MENU) */
    .site-nav.show-menu {
        display: flex; 
        animation: fadeIn 0.2s ease-in-out;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .site-nav a {
        width: 100%;
        text-align: center;
        padding: 14px;
        background: #f4f9ff;
        border-radius: 6px;
    }
    
    .btn-login-nav {
        margin-left: 0 !important;
        margin-top: 6px;
    }
    /* ---------------------------------------------------- */

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    .hero-panel {
        min-height: 420px;
    }

    .org-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .table-wrap {
        margin-top: 24px;
    }

    .contact .button {
        margin-top: 22px;
    }

    .footer-inner {
        padding: 36px 28px 26px;
    }
}

@media (max-width: 560px) {
    h1 {
        font-size: 38px;
    }

    .hero-panel strong {
        margin-top: 54px;
        font-size: 40px;
    }

    .mini-grid,
    .org-grid {
        grid-template-columns: 1fr;
    }

    .mini-grid {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 40px;
    }

    .hero-panel {
        min-height: auto;
    }

    .section {
        padding: 54px 0;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-bottom {
        padding-right: 76px;
    }

    .back-to-top {
        right: 24px;
        bottom: 24px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}