/* ===== RESET & VARIABEL ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --pama-blue: #0e3f85;
    --pama-blue-dark: #082a5c;
    --pama-yellow: #FEBE00;
    --pama-light: #f4f6fb;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.navbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar__logo-img {
    height: 48px;
    object-fit: contain;
    display: block;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.navbar__menu > li { position: relative; }

.navbar__menu > li > a {
    text-decoration: none;
    color: var(--pama-blue);
    font-weight: 600;
    font-size: 13.5px;
    transition: color 0.3s;
    padding: 8px 2px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.navbar__menu > li > a:hover { color: var(--pama-yellow); }

.navbar__menu a i { font-size: 10px; }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    transform: translateY(10px);
    margin-top: 8px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pama-blue);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown li a:hover {
    background: #f4f6fb;
    color: var(--pama-blue-dark);
}

.btn-karir {
    background: var(--pama-yellow);
    padding: 9px 22px !important;
    border-radius: 25px;
    color: var(--pama-blue) !important;
    font-weight: 700 !important;
}

.btn-karir:hover {
    background: var(--pama-blue) !important;
    color: var(--pama-yellow) !important;
}

.navbar__lang {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
}

.navbar__lang a {
    color: var(--pama-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar__lang a img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar__lang a:not(.active) { opacity: 0.45; }
.navbar__lang span { color: #ccc; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 620px;
    padding: 140px 0 160px;
    overflow: hidden;
    background: #e8f0fe;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay putih agar teks terbaca */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 45%, rgba(255,255,255,0.2) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 640px;
}

.hero h1 {
    font-size: 44px;
    color: var(--pama-blue);
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 17px;
    color: var(--pama-blue);
    margin-bottom: 32px;
    font-weight: 500;
    opacity: 0.85;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn--yellow {
    background: var(--pama-yellow);
    color: var(--pama-blue);
}

.btn--yellow:hover {
    background: var(--pama-blue);
    color: var(--pama-yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14,63,133,0.25);
}

.btn--blue {
    background: var(--pama-blue);
    color: #fff;
    padding: 10px 22px;
    font-size: 13px;
}

.btn--blue:hover { background: var(--pama-blue-dark); }

/* Widget Harga - posisi di bawah hero, tidak menumpuk */
.hero__widget {
    position: relative;
    margin: -70px auto 0;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(14,63,133,0.12);
    display: flex;
    padding: 28px 50px;
    gap: 50px;
    align-items: center;
    justify-content: center;
    z-index: 10;
    max-width: 720px;
    border: 1px solid #eef1f7;
}

.widget__item {
    text-align: center;
    flex: 1;
}

.widget__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--pama-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.widget__header i { color: var(--pama-yellow); }

.widget__unit {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

.widget__value {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--pama-blue);
    margin-bottom: 4px;
    line-height: 1;
}

.widget__change {
    font-size: 12px;
    font-weight: 700;
}

.widget__change--up { color: #27ae60; }
.widget__change--down { color: #e74c3c; }

.widget__divider {
    width: 1px;
    height: 60px;
    background: #eef1f7;
}

/* ===== SECTION ===== */
.section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.section__content {
    position: relative;
    z-index: 3;
}

.section h2 {
    font-size: 34px;
    color: var(--pama-blue);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section__desc {
    max-width: 700px;
    margin: 0 auto 28px;
    color: var(--pama-blue);
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
}

/* ===== BERITA ===== */
.section--berita {
    background: #fff;
    padding-top: 80px;
}

.berita__header {
    text-align: center;
    margin-bottom: 55px;
}

.berita__header p {
    max-width: 680px;
    margin: 12px auto 0;
    color: var(--text-light);
    font-size: 14.5px;
    line-height: 1.7;
}

.berita__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.berita__card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(14,63,133,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid #eef1f7;
}

.berita__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14,63,133,0.15);
}

.berita__card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.berita__card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.berita__card-body h3 {
    font-size: 15.5px;
    color: var(--pama-blue);
    margin-bottom: 12px;
    line-height: 1.45;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita__card-body p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f2f7;
}

.berita__link {
    color: var(--pama-blue);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.berita__link:hover { color: var(--pama-yellow); }

.berita__date {
    background: var(--pama-blue);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 600;
}

/* ===== ABOUT ===== */
.section--about {
    background: var(--pama-light);
    padding-bottom: 100px;
}

.section--about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(244,246,251,0.95), rgba(244,246,251,1));
    z-index: 1;
}

.section--about .section__content,
.section--about .video-wrapper {
    position: relative;
    z-index: 3;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.video-thumbnail {
    position: relative;
    max-width: 820px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(14,63,133,0.2);
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--pama-yellow);
    border: none;
    cursor: pointer;
    font-size: 26px;
    color: var(--pama-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 0 0 14px rgba(254,190,0,0.35);
}

.video-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 18px rgba(254,190,0,0.45);
}

/* ===== SUSTAINABILITY ===== */
.section--sustainability {
    background: #fff;
    padding-bottom: 100px;
}

.sustainability__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 55px;
    position: relative;
    z-index: 3;
}

.sustainability__card {
    background: #fff;
    border-radius: 16px;
    padding: 38px 32px;
    box-shadow: 0 4px 20px rgba(14,63,133,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eef1f7;
    border-top: 4px solid var(--pama-yellow);
}

.sustainability__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(14,63,133,0.15);
}

.sustainability__card h3 {
    color: var(--pama-blue);
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 800;
}

.sustainability__card h4 {
    color: var(--pama-blue);
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.sustainability__card p {
    font-size: 13.5px;
    color: var(--text-light);
    margin-bottom: 22px;
    line-height: 1.65;
}

/* ===== JOURNEY ===== */
.section--journey {
    background: var(--pama-light);
    padding-bottom: 100px;
}

.journey__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    text-align: center;
    position: relative;
    z-index: 3;
}

.stat {
    background: #fff;
    padding: 40px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(14,63,133,0.08);
    transition: transform 0.3s;
}

.stat:hover { transform: translateY(-5px); }

.stat i {
    font-size: 42px;
    color: var(--pama-yellow);
    margin-bottom: 18px;
}

.stat__number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--pama-blue);
    margin-bottom: 8px;
    line-height: 1;
}

.stat__label {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--pama-blue);
    color: #fff;
    padding: 65px 0 20px;
    position: relative;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 45px;
}

.footer__logo {
    width: 90px;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
}

.footer__col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer__col p, .footer__col li {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.9;
}

.footer__col ul { list-style: none; }

.footer__col a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__col a:hover { color: var(--pama-yellow); }

.footer__table { margin-top: 12px; }

.footer__table td {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    padding: 3px 10px 3px 0;
    border: none;
    vertical-align: top;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 6px;
}

.social-links a {
    color: #fff;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--pama-yellow);
    transform: translateY(-3px);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 22px;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .berita__grid, .sustainability__grid, .journey__stats {
        grid-template-columns: 1fr;
    }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .hero__widget {
        flex-direction: column;
        gap: 24px;
        padding: 28px;
        margin-top: -40px;
        max-width: 90%;
    }
    .widget__divider { width: 80px; height: 1px; }
    .navbar__menu { display: none; }
    .hero h1 { font-size: 30px; }
    .hero { padding: 80px 0 100px; min-height: auto; }
    .section h2 { font-size: 26px; }
    .section { padding: 70px 0 50px; }
    .stat__number { font-size: 34px; }
    .navbar__lang { display: none; }
    .hero::before {
        background: linear-gradient(to bottom, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 26px; }
    .widget__value { font-size: 24px; }
    .container { padding: 0 16px; }
}