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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f9c13db0;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(135deg, rgba(254,176,8,0.87) 0%, #ffc78f 100%);
    position: sticky;
    width: 100%;
    padding: 0 1rem;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(246,137,58,0.2);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo img {
    width: 170px;
    height: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    font-size: 19px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: color 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* Hamburger selalu tampil */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0a0808;
    border-radius: 3px;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.25s ease,
                background-color 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav menu — smooth slide + fade */
.nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(254,176,8,0.97), #ffc78f);
    padding: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    gap: 0;
    z-index: 999;

    /* animasi tertutup */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.35s ease,
                transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                padding 0.3s ease;
}

.nav-menu.active {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: 8px 0 16px;
}

/* Staggered animation untuk tiap item */
.nav-menu li {
    width: 100%;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu.active li:nth-child(1) { opacity: 1; transform: translateX(0); transition-delay: 0.05s; }
.nav-menu.active li:nth-child(2) { opacity: 1; transform: translateX(0); transition-delay: 0.10s; }
.nav-menu.active li:nth-child(3) { opacity: 1; transform: translateX(0); transition-delay: 0.15s; }
.nav-menu.active li:nth-child(4) { opacity: 1; transform: translateX(0); transition-delay: 0.20s; }
.nav-menu.active li:nth-child(5) { opacity: 1; transform: translateX(0); transition-delay: 0.25s; }
.nav-menu.active li:nth-child(6) { opacity: 1; transform: translateX(0); transition-delay: 0.30s; }
.nav-menu.active li:nth-child(7) { opacity: 1; transform: translateX(0); transition-delay: 0.35s; }

.nav-menu a {
    display: block;
    padding: 12px 2rem;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.18);
    padding-left: 2.5rem;
    opacity: 1;
}




/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, #ada3a35f 0%, #f6893a 100%);
    color: white;
    padding: 100px 0 70px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ── VISION & MISSION ── */
.visi-misi {
    padding: 80px 0;
    background: #fef5e7;
}

.visi-misi h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #2d3748;
}

.section-underline {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f6893a, #fed7aa);
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(246,137,58,0.1);
    border: 1px solid rgba(246,137,58,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6893a, #fed7aa);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(246,137,58,0.18);
}

.vm-card i {
    font-size: 3rem;
    color: rgba(239,182,60,0.8);
    margin-bottom: 1.2rem;
}

.vm-card h3 {
    color: #2d3748;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.vm-card p {
    color: #4a5568;
    font-size: 0.97rem;
    line-height: 1.85;
    text-align: justify;
}

/* ── FOOTER ── */
.footer {
    background-color: #222;
    padding: 15px 0;
}

.footer .footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer .footer-content p {
    margin: 0;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
}

.footer .footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer .footer-content .divider {
    color: #aaa;
    font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    

    

    

    

    

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

    .footer .footer-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .footer .footer-content .divider { display: none; }
}