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

body {
    font-family: 'Poppins', sans-serif;
    background: #faf7f2;
    color: #444;
    line-height: 1.6;
}

.navbar {
    position: fixed;
    width: 100%;
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.nav-container {
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo img {
    width: 48px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #088C61;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #4a4a4a;
    transition: 0.25s;
}

.nav-menu a:hover {
    color: #5a5a5a;
    letter-spacing: 0.5px;
}

main {
    width: 100%;
}

.hero {
    padding-top: 110px;
    background: linear-gradient(to right, green, #088C61);
    border-bottom: 1px solid #f1e5c8;
}

.hero-container {
    margin: auto;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 46px;
    font-weight: 800;
    color: white;
}

.hero-text p {
    margin: 20px 0 30px;
    font-size: 18px;
    color: white;
}

.btn-primary {
    padding: 13px 28px;
    background: blue;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: rgb(2, 2, 199);
    transform: translateY(-2px);
}

.hero-img {
    flex: 1;
    text-align: center;
}

.hero-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section {
    max-width: 1250px;
    margin: auto;
    padding: 80px 20px;
}

.section h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: #088C61;
}

.section-row {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.img-box {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.sejarah {
    background: #fff8e2;
    padding: 80px 20px;
    border-top: 1px solid #f0ead5;
}

.sejarah-text {
    max-width: 900px;
    margin: auto;
    font-size: 17px;
    color: #4a4a4a;
    line-height: 1.8;
    text-align: justify;
}

.section h3 {
    font-size: 24px;
    color: #088C61;
    margin-bottom: 15px;
}

.section ul li {
    list-style: none;
    margin: 10px 0;
    color: #444;
    font-weight: 500;
}

.footer {
    background: #088C61;
    color: #fff;
    text-align: center;
    padding: 35px 20px;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
    font-size: 15px;
    opacity: 0.9;
}

.section,
.hero,
.sejarah {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease-out forwards;
}

.section:nth-child(2) {
    animation-delay: .2s;
}

.section:nth-child(3) {
    animation-delay: .4s;
}

.section:nth-child(4) {
    animation-delay: .6s;
}

.hero-text {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideLeft .9s ease-out forwards;
}

.hero-img {
    opacity: 0;
    transform: translateX(40px);
    animation: slideRight .9s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-primary {
    transition: .3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.img-box,
.hero-img img {
    transition: transform .45s ease, box-shadow .45s ease;
}

.img-box:hover,
.hero-img img:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #c28b37;
    bottom: -4px;
    left: 0;
    transition: .3s;
}

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

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: #088C61;
}

@media (max-width: 768px) {

    main {
        overflow-x: hidden;
    }

    .menu-toggle {
        display: block;
    }
    
    .nav-logo span{
      font-size: 13px;
    font-weight: 700;
    color: #088C61;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #eee;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 14px 0;
        text-align: center;
        border-bottom: 1px solid #f1f1f1;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-container {
        padding: 50px 16px;
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-img img {
        max-width: 300px;
        margin-top: 25px;
    }

    /* SECTION */
    .section {
        padding: 60px 16px;
    }

    .section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .section h3 {
        font-size: 20px;
    }

    .section-row {
        flex-direction: column;
       text-align: justify;
    }

    .section ul li {
        font-size: 15px;
    }

    .img-box {
        max-width: 320px;
        margin: auto;
    }

    /* SEJARAH */
    .sejarah {
        padding: 60px 16px;
    }

    .sejarah-text {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    /* FOOTER */
    .footer p {
        font-size: 14px;
    }
}
