/**
 * Refresh visual untuk landing page publik (portal/welcome::index, layout
 * portal_home.php SAJA — tidak dipakai halaman portal lain yang memakai
 * layout 'portal' biasa). Warna tetap memakai warna template bawaan situs:
 *   - Teal utama  : #40ada6 (dipakai di assets/css/portal/skin.css)
 *   - Teal gelap  : #328882 (dipakai di skin.css sbg border gradient)
 *   - Biru aksen  : #00b0f0 (dipakai di layout portal_home.php - hr.tall & link login)
 * Semua style di file ini di-scope di bawah .skp-navbar / .skp-home supaya
 * tidak "bocor" ke halaman lain yang kebetulan memakai class umum (row/col/card dsb).
 */
:root {
    --skp-teal: #40ada6;
    --skp-teal-dark: #328882;
    --skp-teal-light: #e9f6f5;
    --skp-blue: #00b0f0;
    --skp-blue-dark: #0089bd;
    --skp-blue-light: #e5f7fd;
    --skp-ink: #2d3436;
    --skp-footer: #282d36;
}

/* ============ NAVBAR ============ */
.skp-navbar {
    background: #ffffff;
    border-bottom: 1px solid #eef1f1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 20;
}
.skp-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
}
.skp-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.skp-navbar-brand img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}
.skp-navbar-brand-text {
    line-height: 1.15;
}
.skp-navbar-brand-text strong {
    display: block;
    color: var(--skp-ink);
    font-size: 16px;
    letter-spacing: 0.5px;
}
.skp-navbar-brand-text span {
    display: block;
    color: #8a9494;
    font-size: 11px;
}
.skp-navbar-toggle {
    display: none;
    border: 1px solid #e2e6e6;
    border-radius: 4px;
    background: #fff;
    padding: 7px 10px;
}
.skp-navbar-toggle .fa {
    color: var(--skp-teal);
    font-size: 18px;
}
.skp-navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.skp-navbar-nav {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0 0 0 10px;
    padding: 0;
    flex: 1 1 auto;
    justify-content: center;
}
.skp-navbar-nav > li {
    position: relative;
    margin: 0 2px;
}
.skp-navbar-nav > li > a {
    display: block;
    padding: 10px 14px;
    color: var(--skp-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    white-space: nowrap;
}
.skp-navbar-nav > li > a .fa-caret-down {
    margin-left: 4px;
    font-size: 11px;
    color: #9aa5a5;
}
.skp-navbar-nav > li > a:hover,
.skp-navbar-nav > li.open > a {
    color: var(--skp-teal);
    background: var(--skp-teal-light);
}
.skp-navbar-nav .dropdown-menu {
    border-radius: 8px;
    border: 1px solid #eef1f1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 6px;
    margin-top: 6px;
    max-height: 380px;
    overflow-y: auto;
}
.skp-navbar-nav .dropdown-menu > li > a {
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--skp-ink);
}
.skp-navbar-nav .dropdown-menu > li > a:hover {
    background: var(--skp-teal-light);
    color: var(--skp-teal-dark);
}
.skp-btn-search {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e6e6;
    background: #fff;
    color: var(--skp-teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.skp-btn-search:hover {
    background: var(--skp-teal-light);
    color: var(--skp-teal-dark);
}
.skp-btn-login {
    background: var(--skp-teal);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.skp-btn-login:hover {
    background: var(--skp-teal-dark);
    color: #fff !important;
}

@media (max-width: 991px) {
    .skp-navbar-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
        margin: 8px 0 4px;
    }
    .skp-navbar-nav.skp-open { display: flex; }
    .skp-navbar-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        margin: 0 0 0 12px;
    }
    .skp-navbar-nav li.open .dropdown-menu { display: block; }
    .skp-navbar-toggle { display: inline-block; }
    .skp-navbar-brand img { height: 34px; }
}

/* ============ HERO ============ */
.skp-hero {
    background-image:
        linear-gradient(100deg, rgba(50, 136, 130, 0.94) 0%, rgba(50, 136, 130, 0.82) 26%, rgba(0, 137, 189, 0.4) 52%, rgba(0, 137, 189, 0.08) 72%, rgba(0, 137, 189, 0) 88%),
        url('../../img/hero-karantina.jpg');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 40px 0 34px;
}
.skp-hero::before,
.skp-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.skp-hero::before { width: 320px; height: 320px; right: -90px; top: -110px; }
.skp-hero::after { width: 220px; height: 220px; right: 120px; bottom: -120px; }
.skp-hero-inner {
    position: relative;
    z-index: 2;
}
.skp-hero-text { max-width: 560px; }
.skp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.16);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
}
.skp-hero-text h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 10px;
}
.skp-hero-text p {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    max-width: 480px;
    margin: 0;
}
.skp-hero-card {
    max-width: 560px;
    margin-top: 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    padding: 18px 20px;
    color: var(--skp-ink);
    display: flex;
    gap: 14px;
}
.skp-hero-card-icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--skp-teal-light);
    color: var(--skp-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.skp-hero-card-body h3 {
    font-size: 15.5px;
    font-weight: 700;
    margin: 0 0 4px;
}
.skp-hero-card-body p {
    font-size: 12.5px;
    color: #6b7676;
    margin: 0 0 12px;
    line-height: 1.5;
}
.skp-hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.skp-btn-primary {
    background: var(--skp-teal);
    color: #fff !important;
    border: none;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.skp-btn-primary:hover { background: var(--skp-teal-dark); color: #fff !important; }
.skp-hero-card-stat { text-align: right; }
.skp-hero-card-stat strong {
    display: block;
    font-size: 20px;
    color: var(--skp-teal-dark);
    line-height: 1;
}
.skp-hero-card-stat span {
    font-size: 10.5px;
    color: #93a0a0;
}

/* ============ SECTION WRAPPER ============ */
.skp-home { background: #f7f9f9; }
.skp-section { padding: 46px 0; }
.skp-section-head { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.skp-section-head h2 { font-size: 20px; font-weight: 800; color: var(--skp-ink); margin: 0; }
.skp-link-more { color: var(--skp-teal); font-weight: 700; font-size: 13px; text-decoration: none; }
.skp-link-more:hover { color: var(--skp-teal-dark); }

/* ============ SERVICE CARDS ============ */
.skp-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 991px) { .skp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .skp-cards { grid-template-columns: 1fr; } }

.skp-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #edf1f1;
    padding: 22px 18px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.skp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(40, 70, 70, 0.1);
    text-decoration: none;
}
.skp-card-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #fff;
}
.skp-card h3 { font-size: 15px; font-weight: 700; color: var(--skp-ink); margin: 0 0 6px; }
.skp-card p { font-size: 12.5px; color: #7c8686; margin: 0 0 10px; line-height: 1.5; min-height: 54px; }
.skp-card .skp-card-cta { font-size: 12.5px; font-weight: 700; color: var(--skp-teal); }

/* ============ CTA STRIP ============ */
.skp-cta-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 767px) { .skp-cta-strip { grid-template-columns: 1fr; } }
.skp-cta-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 12px;
    text-decoration: none;
}
.skp-cta-box:hover { text-decoration: none; opacity: 0.94; }
.skp-cta-box.skp-cta-teal { background: var(--skp-teal-light); }
.skp-cta-box.skp-cta-blue { background: var(--skp-blue-light); }
.skp-cta-icon {
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}
.skp-cta-teal .skp-cta-icon { background: var(--skp-teal); }
.skp-cta-blue .skp-cta-icon { background: var(--skp-blue); }
.skp-cta-box h4 { font-size: 14.5px; font-weight: 700; color: var(--skp-ink); margin: 0 0 3px; }
.skp-cta-box p { font-size: 12px; color: #6b7676; margin: 0; line-height: 1.4; }
.skp-cta-box .fa-arrow-circle-right { margin-left: auto; color: var(--skp-teal-dark); font-size: 18px; flex: none; }

/* ============ NEWS + QUICK ACCESS ============ */
.skp-two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .skp-two-col { grid-template-columns: 1fr; } }
.skp-panel {
    background: #fff;
    border: 1px solid #edf1f1;
    border-radius: 12px;
    padding: 20px;
}
.skp-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--skp-ink);
    margin: 0 0 14px;
}
.skp-panel-title .fa { color: var(--skp-teal); }
.skp-news-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f4f4; text-decoration: none; }
.skp-news-item:last-child { border-bottom: none; padding-bottom: 0; }
.skp-news-item:hover { text-decoration: none; }
.skp-news-thumb { flex: none; width: 78px; height: 58px; border-radius: 8px; overflow: hidden; background: var(--skp-teal-light); }
.skp-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skp-news-thumb .fa { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--skp-teal); font-size: 20px; }
.skp-news-body span { display: block; font-size: 11px; color: #9aa5a5; margin-bottom: 3px; }
.skp-news-body strong { display: block; font-size: 13.5px; color: var(--skp-ink); line-height: 1.35; margin-bottom: 3px; }
.skp-news-body p { font-size: 12px; color: #7c8686; margin: 0; line-height: 1.4; }
.skp-news-empty { font-size: 13px; color: #8a9494; padding: 10px 0; }

.skp-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .skp-quick-grid { grid-template-columns: repeat(2, 1fr); } }
.skp-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    padding: 14px 6px;
    border-radius: 10px;
    border: 1px solid #edf1f1;
}
.skp-quick-item:hover { background: var(--skp-teal-light); text-decoration: none; }
.skp-quick-item .skp-quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
}
.skp-quick-item span { font-size: 11.5px; font-weight: 600; color: var(--skp-ink); line-height: 1.3; }

/* ============ PARTNER STRIP ============ */
.skp-partners {
    background: #eef6f6;
    border-radius: 12px;
    padding: 26px 24px;
    text-align: center;
}
.skp-partners-title { font-size: 12.5px; font-weight: 700; letter-spacing: 0.4px; color: #6b7676; text-transform: uppercase; margin-bottom: 16px; }
.skp-partners-row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.skp-partners-row img { height: 46px; width: auto; opacity: 0.9; filter: grayscale(15%); }
.skp-partners-row a { display: inline-flex; align-items: center; text-decoration: none; }
.skp-partners-row a img { transition: opacity 0.15s ease, filter 0.15s ease; }
.skp-partners-row a:hover img { opacity: 1; filter: grayscale(0%); }
.skp-partner-icon {
    flex-direction: column;
    gap: 6px;
    color: var(--skp-teal-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.skp-partner-icon span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--skp-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: background 0.15s ease;
}
.skp-partner-icon:hover span { background: var(--skp-teal-dark); }
