* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#nav-container {
    width: 100%;
    height: 60px;
    background-color: gold;
    padding: 12px;

    position: fixed;
    top: 0;
    z-index: 1000;
}
.nav-flex {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px 20px;
    height: 100%;
}
.nav-text a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-weight: bold;
}
.nav-text a:hover {
    color: darkred;
}
.container-title {
    background-image: url(../Picture/Site.jpeg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.container-title .text{
    text-align: center;
    font-size: 18px;
    color: white;
    text-shadow: -1px -1px 0 #000,  1px -1px 0 #000, -1px  1px 0 #000, 1px  1px 0 #000;;
}

.container-info-panel {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 30px;
}
.info-panel {
    margin-top: 50px;
    padding: 5px;
    text-align: center;
}
.judul-info-panel {
    font-size: 16px;
    font-weight: bold;
}
.info-panel p {
    font-size: 14px;
    color: rgb(255, 174, 0);
}
.info-panel .fas {
    font-size: 25px;
    color: rgb(255, 174, 0);
    margin-bottom: 20px;
}

.container-ringkasan {
    margin-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}
.header-ringkasan h3 {
    padding-top: 50px;
    text-align: center;
}
.ringkasan-flex {
    width: 100%;
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 30px;
}
.ringkasan-items {
    width: 20%;
    background-color: gold;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0px 0px 20px -10px;
    border-radius: 10px;
}
.ringkasan-items:hover {
     transform: scale(1.1);
    transition: 1s;
}
.ringkasan-items .fas {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    width: 100%;
}
.ringkasan-items h4 {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}
.ringkasan-items p {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.container-roadmap {
    max-width: 100%;
    margin: 50px;
    padding: 20px;
    font-family: sans-serif;
    box-sizing: border-box;
}
.header-roadmap {
    padding-top: 30px;
    text-align: center;
}
.roadmap-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 40px;
    position: relative;
}
.roadmap-items {
    background-color: gold;
    margin-top: 50px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.roadmap-step-number {
    width: 35px;
    height: 35px;
    background: #333;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 10px auto;
    border: 3px solid #fff;
    font-size: 14px;
}
.roadmap-items h6 {
    margin-top: 20px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}
.roadmap-items:nth-child(1)::after, .roadmap-items:nth-child(2)::after, .roadmap-items:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -42px;
    width: 42px;
    height: 4px;
    background: gold;
    z-index: -1;
}
 .roadmap-items:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 4px;
    height: 120px;
    background: gold;
    z-index: -1;
}
.roadmap-items:nth-child(5)::after, .roadmap-items:nth-child(6)::after, .roadmap-items:nth-child(7)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -42px;
    width: 42px;
    height: 4px;
    background: gold;
    z-index: -1;
}
.roadmap-items:nth-child(5) { grid-order: 8; order: 8; }
.roadmap-items:nth-child(6) { grid-order: 7; order: 7; }
.roadmap-items:nth-child(7) { grid-order: 6; order: 6; }
.roadmap-items:nth-child(8) { grid-order: 5; order: 5; }

.container-button-belajar {
    margin-top: 50px;
    width: 100%;
}
.container-button-belajar a {
     text-decoration: none;
     display: flex;
    justify-content: center;
    align-items: center;
}
.container-button-belajar a button {
    width: 90%;
    background-color: azure;
    border: 1px solid gold;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
}
.container-button-belajar a button:hover {
    background-color: gray;
    color: white;
    cursor: pointer;
    border: none;
}

.container-institusi {
    margin-top: 50px;
    box-sizing: border-box;
}
.header-institusi h3 {
    padding-top: 50px;
    text-align: center;
}
.institusi-flex {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px;
}
.institusi-image {
    display: flex;
    align-items: center;
}
.institusi-image p {
    margin: 0;
}
.institusi-image img {
    width: 240px;
    height: auto;
    transform: translateY(-20px);
}
.institusi-image p img {
    width: 190px;
    transform: translateY(2px);
}

.container-footer {
    margin-top: 50px;
    background-color: gold;
}
.footer-flex {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}
.footer-items-logo {
    width: 300px;
}
.footer-items-logo img {
    width: 200px;
    border-radius: 10%;
}
.footer-items-text {
    width: 600px;
    text-align: right;
}
.footer-items-text p {
    color: black;
    font-size: 14px;
    line-height: 20px;
}
.footer-items-text .fab {
    color: black;
    font-size: 20px;
    margin-top: 20px;
}
.footer-items-text .fab:hover {
    color: darkred;
    cursor: pointer;
}


/* ==========================================================================
   SETTINGAN BERSIH KHUSUS LAYAR HP (MAKSIMAL LEBAR 768PX)
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    /* 1. Aturan Dasar Font & Lebar Layar */
    body, html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    body * {
        font-size: 12px;
    }

    /* 2. Navigasi Atas Kuning */
    body #nav-container {
        width: 100%;
        height: 50px;
        padding: 5px 15px;
        position: fixed;
        left: 0;
        right: 0;
    }
    body .nav-flex {
        padding: 0;
        width: 100%;
        justify-content: flex-end;
    }
    body .nav-text a {
        font-size: 11px;
        color: darkred;
    }

    /* 3. Banner Utama (Hero Section Penuh) */
    body .container-title {
        width: 100%;
        height: 60vh;
        background-position: center center;
        background-size: cover;
        background-attachment: scroll;
        padding: 60px 15px 20px 15px;
    }
    body .container-title .text h1 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    body .container-info-panel, 
    body .ringkasan-flex {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 20px;
    }
    body .info-panel, 
    body .ringkasan-items {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }

    /* 5. Perbaikan Jalur Kebawah Roadmap */
    body .container-roadmap {
        width: 100%;
        max-width: 100%;
        margin: 30px 0;
        padding: 0 20px;
    }
    body .roadmap-flex {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    body .roadmap-items {
        width: 100%;
        max-width: 100%;
        margin-top: 25px;
        padding: 15px;
    }
    body .roadmap-items::after {
        display: none;
    }

    /* 6. Tombol Belajar */
    body .container-button-belajar a button {
        width: 100%;
        padding: 12px;
    }

    /* 7. Penyelarasan Logo Instansi */
    body .container-institusi {
        width: 100%;
        padding: 0 20px;
    }
    body .institusi-image {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    body .institusi-image img {
        width: 95px;
        height: auto;
        transform: none;
    }
    body .institusi-image p img {
        width: 75px;
        margin-top: 20px;
        transform: none;
    }

    /* 8. Pembongkaran Ukuran Lebar Tetap Kaku Pada Footer */
    body .container-footer {
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
    }
    body .footer-flex {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    body .footer-items-logo, 
    body .footer-items-text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    body .footer-items-logo img {
        width: 80px;
    }
    body .footer-items-text p {
        text-align: center;
        line-height: 1.5;
    }
    body .footer-items-text .fab {
        font-size: 20px;
        margin: 10px 10px 0 10px;
    }
}


