/* --- RESET & BASIC --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #1e3a5f;
    --golden-yellow: #f1b434;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* --- NAVIGATION --- */
nav {
    background: var(--navy-blue);
    height: 80px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .logo {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

nav .logo img {
    height: 110px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 30px; }
nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 0; left: 0;
    background-color: var(--golden-yellow);
    transition: var(--transition);
}

nav ul li a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--white);
    font-size: 1.8rem;
    z-index: 1010; /* Di atas full screen menu overlay */
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(30, 58, 95, 0.75), rgba(30, 58, 95, 0.75)), 
            url('assets/hero.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: heroFade 1.2s ease-out;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 { font-size: 2.8rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }

.btn-cta {
    background: var(--golden-yellow);
    color: var(--navy-blue);
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 25px;
    transition: var(--transition);
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(241, 180, 52, 0.4); }

/* --- Tab System --- */
.tab-content, .partner-content { display: none; animation: fadeIn 0.6s ease; }
.active-content { display: block; }

.tab-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
}

.tab-container-inner {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    background: #eee;
    padding: 10px;
    border-radius: 12px;
}

.p-bg { background: #f9f9f9; border: 1px solid #eee; }

.tab-btn, .p-tab-btn {
    padding: 12px 28px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
    background: transparent;
    color: #666;
}

.tab-btn.active, .p-tab-btn.active { 
    background: var(--golden-yellow); 
    color: var(--navy-blue); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@keyframes fadeIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

/* --- ABOUT SECTION FIX --- */
.intro-text {
    text-align: center;
    margin: 0 auto 40px auto;
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- GRID SYSTEM --- */
section { padding: 80px 10%; }

/* --- PARTNER SECTION FIX --- */
#partners {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-title {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--navy-blue);
}

.grid-container {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

@media (min-width: 1024px) {
    .grid-3-col { grid-template-columns: repeat(3, 1fr); }
    .grid-4-col { grid-template-columns: repeat(4, 1fr); }
}

/* --- PARTNER LOGO GRID --- */
.logo-grid {
    display: grid;
    gap: 20px;
    padding: 30px 0;
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

@media (min-width: 1024px) {
    .grid-3-logo { grid-template-columns: repeat(3, 1fr); }
    .grid-4-logo { grid-template-columns: repeat(4, 1fr); }
}

.logo-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    width: 100%;
    max-width: 280px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--golden-yellow);
    transform: scale(1.05);
}

.logo-item img { max-width: 90%; max-height: 80px; object-fit: contain; }

/* --- CARD STYLING --- */
.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(30, 58, 95, 0.1); }
.card i, .value-icon { font-size: 3rem; color: var(--navy-blue); margin-bottom: 20px; }
.card:hover i { color: var(--golden-yellow); }

.border-yellow-bottom:hover { border-bottom: 4px solid var(--golden-yellow); }
.border-yellow-top:hover { border-top: 4px solid var(--golden-yellow); }

/* --- FOOTER --- */
footer { background: #111; color: #a1a1a1; padding: 70px 10% 40px; font-size: 0.85rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col { flex: 1; min-width: 280px; }
.footer-col.left { text-align: left; }
.footer-col.right { text-align: right; }

footer a { color: #a1a1a1; text-decoration: none; }
footer a:hover { color: var(--golden-yellow); }
.permit-text { font-size: 0.75rem; color: #666; margin-top: 10px; }

/* --- RESPONSIVE MOBILE FIX (FULL SCREEN BURGER) --- */
@media (max-width: 768px) {
    nav {
        height: 70px;
        padding: 0 5%;
        justify-content: space-between;
    }

    nav .logo {
        position: static;
        transform: none;
        z-index: 1011; 
    }

    nav .logo img { height: 50px; }

    .menu-toggle { 
        display: block; 
        z-index: 1011; 
    }

    /* FULL SCREEN OVERLAY MENU */
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--navy-blue);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease-in-out;
        z-index: 1005;
        padding-top: 0;
    }

    nav ul.active { right: 0; }
    nav ul li { margin: 25px 0; }
    nav ul li a { font-size: 2rem; }

    .hero { height: auto; padding: 100px 20px; }
    .hero h1 { font-size: 1.8rem; }

    .tab-wrapper { padding: 0 10px; }
    .tab-container-inner {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn, .p-tab-btn { width: 100%; }

    .logo-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 15px;
    }
    
    .logo-item { height: 100px; padding: 10px; }

    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-col.left, .footer-col.right { text-align: center; }
}