@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0f766e;
    --secondary-color: #f97316;
    --dark: #0f172a;
    --body: #475569;
    --soft: #f8fafc;
    --border: #e2e8f0;
    --radius: 24px;
    --radius-lg: 30px;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.06);
    --header-height: 88px;
    --admin-topbar-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: #fff;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
a:hover { color: #0b5f5a; }
img {
    max-width: 100%;
    display: block;
}
main {
    min-height: 55vh;
}

/* ===== PUBLIC HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
}
.header-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 34px);
    padding-right: clamp(16px, 3vw, 34px);
}
.navbar-modern {
    min-height: var(--header-height);
    padding-top: .85rem;
    padding-bottom: .85rem;
}
.navbar-toggler {
    border: 0;
    padding: .55rem .75rem;
    border-radius: 16px;
    background: rgba(15,118,110,.08);
    box-shadow: none !important;
}
.navbar-toggler-icon {
    width: 1.3em;
    height: 1.3em;
}
.site-logo {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 16px;
    background: #fff;
}
.brand-name {
    font-size: 1.06rem;
    line-height: 1.1;
}
.brand-tagline {
    display: block;
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-social {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}
.social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(15,118,110,.08);
    color: var(--primary-color);
    text-decoration: none;
}
.social-link:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(15,118,110,.18);
}
.navbar-nav {
    align-items: center;
}
.nav-link {
    color: #334155;
    font-weight: 600;
    padding: .78rem 1rem !important;
    border-radius: 999px;
    white-space: nowrap;
}
.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
    background: rgba(15,118,110,.08);
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.btn-brand,
.btn-outline-brand,
.btn-light-soft {
    border-radius: 999px;
    padding: .82rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}
.btn-brand {
    background: linear-gradient(135deg, var(--primary-color), #14b8a6);
    color: white;
    border: 0;
    box-shadow: 0 12px 26px rgba(15,118,110,.22);
}
.btn-brand:hover {
    color: white;
    opacity: .98;
    transform: translateY(-2px);
}
.btn-outline-brand {
    color: var(--primary-color);
    border: 1px solid rgba(15,118,110,.25);
    background: #fff;
}
.btn-outline-brand:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.btn-light-soft {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
    backdrop-filter: blur(10px);
}
.btn-light-soft:hover {
    color: #fff;
    background: rgba(255,255,255,.22);
}
.mobile-social-row {
    display: none;
}

/* ===== PUBLIC CONTENT ===== */
.hero-slide {
    background-size: cover;
    background-position: center;
    min-height: 720px;
}
.min-vh-60 { min-height: 60vh; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
    font-weight: 800;
}
.section-gap { padding: 96px 0; }
.section-title {
    font-size: clamp(2rem, 1.55rem + 1vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
}
.section-text {
    font-size: 1.05rem;
    color: var(--body);
    line-height: 1.8;
}
.hero-quick-panel-wrap {
    position: relative;
    margin-top: -90px;
    z-index: 10;
}
.hero-quick-panel {
    border: 1px solid rgba(255,255,255,.6);
}
.quick-link {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    background: var(--soft);
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
}
.quick-link i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.2rem;
    background: rgba(15,118,110,.1);
    color: var(--primary-color);
}
.quick-link:hover { transform: translateY(-3px); }

.stat-card,
.content-card,
.article-card,
.content-panel,
.bank-card,
.testimonial-card,
.admin-stat-card,
.footer-brand-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.stat-card,
.admin-stat-card,
.testimonial-card,
.bank-card,
.content-panel,
.footer-brand-card { padding: 1.75rem; }
.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,118,110,.1);
    color: var(--primary-color);
    font-size: 1.35rem;
}
.content-card,
.article-card {
    overflow: hidden;
    position: relative;
}
.content-thumb {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #dbeafe;
    transition: transform .65s ease, filter .35s ease;
}
.article-side-thumb {
    width: 230px;
    height: auto;
    object-fit: cover;
}
.content-body { padding: 1.5rem; }
.content-badge {
    display: inline-flex;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(249,115,22,.1);
    color: #c2410c;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}
.article-meta {
    color: #64748b;
    font-size: .88rem;
}
.bank-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--soft);
    transition: transform .4s ease;
}
.avatar {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    object-fit: cover;
}
.cta-banner {
    background: linear-gradient(135deg, #0f172a, var(--primary-color));
    box-shadow: var(--shadow);
}
.footer-section {
    background: #f8fafc;
    border-top: 1px solid var(--border);
}
.footer-title {
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .75rem; }
.footer-links a { text-decoration: none; color: #475569; }
.footer-links a:hover { color: var(--primary-color); }
.map-embed iframe { width: 100%; min-height: 230px; border: 0; }
.inner-hero {
    background-size: cover;
    background-position: center;
    padding: 90px 0;
}
.breadcrumbs a { color: white; text-decoration: none; }
.breadcrumbs span { color: rgba(255,255,255,.7); }
.login-page {
    background: radial-gradient(circle at top left, rgba(20,184,166,.15), transparent 30%), #f8fafc;
}
.preview-image {
    max-width: 200px;
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--border);
}
.editor-area { font-family: inherit; }
.table > :not(caption) > * > * { padding: 1rem .9rem; }
.donation-panel {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 2rem;
}
.text-brand { color: var(--primary-color); }
.bg-light-subtle { background: linear-gradient(180deg, #fff, #f8fafc); }
.form-control,
.form-select {
    border-radius: 16px;
    border-color: #cbd5e1;
    padding: .85rem 1rem;
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 .2rem rgba(15,118,110,.15);
    border-color: rgba(15,118,110,.4);
}
.content-card:hover,
.article-card:hover,
.bank-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.content-panel:hover,
.footer-brand-card:hover,
.admin-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}
.content-card:hover .content-thumb,
.article-card:hover .content-thumb,
.content-panel:hover img,
.map-embed:hover iframe {
    transform: scale(1.05);
}
.bank-card:hover .bank-logo {
    transform: scale(1.08);
}

/* ===== REVEAL ANIMATION ===== */
.reveal-up,
.reveal-card {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .65s ease, transform .65s ease;
    will-change: opacity, transform;
}
.reveal-up.is-visible,
.reveal-card.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ===== ADMIN LAYOUT ===== */
.admin-body {
    background: #f6f8fb;
    color: var(--dark);
}
.admin-shell {
    min-height: 100vh;
    display: flex;
    position: relative;
}
.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
    z-index: 1060;
}
.admin-sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}
.admin-sidebar {
    width: 290px;
    padding: 1.1rem 1rem 1rem;
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    transition: width .28s ease, transform .28s ease;
    z-index: 1070;
}
.admin-brand {
    color: var(--dark);
    padding: .7rem .75rem;
    border-radius: 22px;
}
.admin-brand:hover {
    background: rgba(15,118,110,.06);
}
.admin-brand-meta {
    min-width: 0;
}
.admin-brand-meta strong,
.admin-brand-meta .small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.admin-sidebar-close,
.admin-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(15,118,110,.12);
    border-radius: 14px;
    background: #fff;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}
.admin-icon-btn:hover,
.admin-sidebar-close:hover {
    background: rgba(15,118,110,.08);
    color: var(--primary-color);
}
.admin-sidebar-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    min-height: 0;
}
.admin-group-title {
    padding: 0 .8rem;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #94a3b8;
    font-weight: 800;
}
.sidebar-menu {
    display: grid;
    gap: .3rem;
}
.sidebar-menu a {
    text-decoration: none;
    color: #475569;
    padding: .82rem .9rem;
    border-radius: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}
.sidebar-menu a:hover,
.sidebar-menu a:focus,
.sidebar-menu a.active {
    background: linear-gradient(135deg, rgba(15,118,110,.12), rgba(20,184,166,.07));
    color: var(--primary-color);
}
.sidebar-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    min-height: var(--admin-topbar-height);
    padding: 1rem clamp(16px, 2.5vw, 28px);
    background: rgba(246,248,251,.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: .95rem;
    min-width: 0;
}
.admin-topbar-title {
    min-width: 0;
}
.admin-topbar-title h1 {
    font-size: 1.55rem;
    margin: 0;
    line-height: 1.1;
}
.admin-topbar-title p,
.admin-topbar-title small {
    margin: .2rem 0 0;
    color: #64748b;
}
.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.admin-content {
    padding: clamp(16px, 2.5vw, 28px);
    min-width: 0;
}
.admin-content > *:last-child {
    margin-bottom: 0 !important;
}
.admin-panel,
.admin-stat-card,
.admin-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.admin-panel { padding: 1.5rem; }
.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
}
.admin-table-wrap .table {
    min-width: 760px;
}
.admin-shell.sidebar-collapsed .admin-sidebar {
    width: 94px;
}
.admin-shell.sidebar-collapsed .admin-brand {
    justify-content: center;
}
.admin-shell.sidebar-collapsed .admin-brand-meta,
.admin-shell.sidebar-collapsed .sidebar-label,
.admin-shell.sidebar-collapsed .admin-group-title,
.admin-shell.sidebar-collapsed .admin-sidebar-close {
    display: none !important;
}
.admin-shell.sidebar-collapsed .sidebar-menu a {
    justify-content: center;
    padding-left: .7rem;
    padding-right: .7rem;
}
.admin-shell.sidebar-collapsed .sidebar-menu a i {
    margin: 0 !important;
    width: auto;
}

/* ===== MOBILE / PWA ===== */
.pwa-safe {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}
@media (display-mode: standalone) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }
    .admin-topbar {
        padding-top: calc(1rem + env(safe-area-inset-top));
    }
}

@media (max-width: 1399.98px) {
    .header-social {
        margin-left: .5rem;
        margin-right: .5rem;
    }
    .brand-tagline {
        max-width: 280px;
    }
}

@media (max-width: 1199.98px) {
    .site-header {
        background: rgba(255,255,255,.98);
    }
    .navbar-modern {
        min-height: 78px;
    }
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: #fff;
        border: 1px solid rgba(226,232,240,.9);
        border-radius: 24px;
        box-shadow: var(--shadow-soft);
    }
    .navbar-nav {
        align-items: stretch;
    }
    .nav-link {
        width: 100%;
        border-radius: 16px;
    }
    .nav-cta {
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    .mobile-social-row {
        display: flex;
        gap: .65rem;
        margin-top: 1rem;
        justify-content: center;
    }
    .header-social {
        display: none !important;
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        transform: translateX(-104%);
        width: min(290px, 88vw);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    }
    .admin-shell.sidebar-open .admin-sidebar {
        transform: translateX(0);
    }
    .admin-shell.sidebar-collapsed .admin-sidebar {
        width: min(290px, 88vw);
    }
    .admin-shell.sidebar-collapsed .admin-brand-meta,
    .admin-shell.sidebar-collapsed .sidebar-label,
    .admin-shell.sidebar-collapsed .admin-group-title {
        display: block !important;
    }
    .admin-shell.sidebar-collapsed .sidebar-menu a {
        justify-content: flex-start;
    }
    .admin-topbar {
        min-height: 76px;
    }
}

@media (max-width: 991.98px) {
    .hero-slide { min-height: 640px; }
    .section-gap { padding: 72px 0; }
    .hero-quick-panel-wrap { margin-top: -40px; }
    .brand-tagline {
        max-width: 210px;
    }
}

@media (max-width: 767.98px) {
    .article-side-thumb {
        width: 100%;
        height: 230px;
    }
    .section-gap { padding: 60px 0; }
    .content-thumb { height: 220px; }
    .site-logo {
        width: 48px;
        height: 48px;
    }
    .brand-name {
        font-size: 1rem;
    }
    .brand-tagline {
        display: none;
    }
    .header-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }
    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .admin-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    .admin-topbar-actions .btn {
        flex: 1 1 auto;
    }
    .admin-content {
        padding: 14px;
    }
    .admin-panel {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .btn-brand,
    .btn-outline-brand,
    .btn-light-soft {
        width: 100%;
    }
    .nav-cta {
        width: 100%;
    }
    .footer-section .btn-outline-brand {
        width: auto;
    }
    .quick-link {
        padding: 1rem;
    }
}
/* ===== FOOTER FULL WIDTH UPDATE ===== */
.footer-section.footer-full {
    background: linear-gradient(180deg, #f8fafc 0%, #eef4f7 100%);
    border-top: 1px solid var(--border);
    overflow: hidden;
}
.footer-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: clamp(16px, 3vw, 34px);
    padding-right: clamp(16px, 3vw, 34px);
}
.footer-shell {
    width: 100%;
}
.footer-cta-wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.footer-brand-card,
.footer-map-card {
    height: 100%;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .25rem;
}
.footer-bottom-row {
    align-items: center;
}

@media (min-width: 1400px) {
    .footer-fluid {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@media (max-width: 991.98px) {
    .footer-cta-wide {
        border-radius: 32px !important;
    }
}

@media (max-width: 767.98px) {
    .footer-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }
    .footer-cta-wide {
        border-radius: 28px !important;
        padding: 1.5rem !important;
    }
    .footer-bottom-row {
        align-items: flex-start;
    }
}


/* ===== HERO FIX + TEXT COLOR SETTINGS ===== */
:root {
    --hero-title-color: #ffffff;
    --hero-text-color: #eef6f5;
}
.hero-section {
    position: relative;
    background: #fff;
    padding-bottom: 18px;
}
.hero-slide {
    position: relative;
    min-height: clamp(560px, 74vh, 760px);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 16, 30, 0.78) 0%, rgba(8, 25, 39, 0.56) 44%, rgba(7, 20, 33, 0.28) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.30) 100%);
}
.hero-stage,
.hero-slide .container {
    position: relative;
    z-index: 2;
}
.hero-copy {
    max-width: min(760px, 100%);
    padding: clamp(22px, 3vw, 34px);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(8, 22, 36, 0.48), rgba(7, 28, 42, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--hero-title-color);
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.hero-lead {
    max-width: 56ch;
    font-size: clamp(1.02rem, 1rem + .25vw, 1.2rem);
    line-height: 1.7;
    color: var(--hero-text-color) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1.2rem;
}
.metric-chip {
    padding: .95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--hero-text-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.metric-chip strong {
    display: block;
    margin-bottom: .25rem;
    color: var(--hero-title-color);
    font-size: .98rem;
    line-height: 1.3;
}
.metric-chip span {
    display: block;
    color: var(--hero-text-color);
    font-size: .92rem;
    line-height: 1.5;
}
.eyebrow {
    color: var(--hero-title-color);
}
.hero-quick-panel-wrap {
    position: relative;
    margin-top: 20px;
    z-index: 12;
}
.hero-quick-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 1rem;
    border: 1px solid var(--border);
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.08);
}
.quick-link {
    height: 100%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.quick-link > div {
    min-width: 0;
}
.quick-link small {
    display: block;
    margin-top: .2rem;
    font-size: .88rem;
    line-height: 1.45;
    color: #64748b;
    font-weight: 500;
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
}
.section-kicker::before {
    content: "";
    width: 14px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), #5eead4);
}
.page-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.card-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 700;
    text-decoration: none;
}
.card-soft-bg {
    background: linear-gradient(180deg, #ffffff, #f9fbfd);
}
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
}
.reveal-left { transform: translate3d(-28px, 0, 0); }
.reveal-right { transform: translate3d(28px, 0, 0); }
.reveal-scale { transform: scale(.96); }
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.stagger-children > * {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition: opacity .55s ease, transform .55s ease;
}
.stagger-children > *.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1199.98px) {
    .hero-copy {
        max-width: 100%;
    }
    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 520px;
    }
    .hero-copy {
        padding: 20px;
        border-radius: 26px;
    }
    .hero-quick-panel-wrap {
        margin-top: 16px;
    }
    .page-section-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 500px;
    }
    .hero-title {
        font-size: clamp(1.9rem, 9vw, 2.7rem);
    }
    .hero-metrics {
        grid-template-columns: 1fr;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-quick-panel {
        border-radius: 22px;
        padding: .85rem;
    }
    .quick-link {
        padding: .95rem 1rem;
    }
}
/* ===== HEADER POLISH (FULL WIDTH + MORE MODERN) ===== */
.topbar{
  background: rgba(248,250,252,.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.topbar-chip{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.42rem .8rem;
  border-radius:999px;
  background: rgba(15,118,110,.06);
  color:#334155;
  font-weight:600;
  font-size:.86rem;
  text-decoration:none;
}
.topbar-chip i{ color: var(--primary-color); }
.topbar-chip:hover{
  background: rgba(15,118,110,.10);
  color:#0f172a;
  transform: translateY(-1px);
}

.nav-shell{
  width:100%;
  border-radius: 26px;
}

@media (min-width: 1200px){
  .nav-shell{
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  }
  .navbar-modern{
    padding-left: 10px;
    padding-right: 10px;
  }
}

.navbar-brand{ min-width: 240px; }
.nav-cta .btn{ white-space: nowrap; }
/* ===== TAGLINE MARQUEE (FIX, ANTI-NABRAK MENU) ===== */
.brand-tagline.marquee{
  display:block;
  max-width: 360px;            /* bisa kamu ubah 320-420 */
  overflow:hidden;
  white-space:nowrap;
  position:relative;
  line-height: 1.2;
  font-size: .9rem;
  margin-top: .15rem;
}

/* efek fade kiri-kanan biar premium */
.brand-tagline.marquee::before,
.brand-tagline.marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 26px;
  z-index: 2;
  pointer-events:none;
}
.brand-tagline.marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.brand-tagline.marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}

.brand-tagline.marquee .marquee-track{
  display:inline-flex;
  align-items:center;
  width: max-content;
  will-change: transform;
  animation: marquee 14s linear infinite; /* kecepatan (lebih besar = lebih lambat) */
}

.brand-tagline.marquee .marquee-item{
  padding-right: 2rem;
}

@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce){
  .brand-tagline.marquee .marquee-track{ animation: none; }
}
/* ===== HEADER: HILANGKAN KOTAK / CARD DI NAVBAR (FULL WIDTH) ===== */
.nav-shell{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* style card nav-shell yang muncul di layar besar -> matikan */
@media (min-width: 1200px){
  .nav-shell{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  .navbar-modern{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* biar pemisah header tetap elegan (tanpa kotak) */
.site-header{
  border-bottom: 1px solid rgba(226,232,240,.92);
}

/* ===== INNER HERO: KONTRAS + TEKS LEBIH TERBACA (OVERRIDE) ===== */
.inner-hero{
  position: relative;
  isolation: isolate;
  color: #ffffff;
}

.inner-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index: 0;
  /* overlay gelap + gradasi supaya teks selalu terbaca */
  background:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.25), rgba(0,0,0,.55) 55%, rgba(0,0,0,.70) 100%),
    linear-gradient(90deg, rgba(2,12,24,.78) 0%, rgba(2,12,24,.55) 45%, rgba(2,12,24,.38) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%);
}

.inner-hero > .container{
  position: relative;
  z-index: 1;
}

/* hapus breadcrumbs (kalau masih ada di halaman lain) */
.breadcrumbs{ display:none !important; }

/* card teks di hero */
.page-hero-card{
  max-width: min(980px, 100%);
  padding: clamp(18px, 3vw, 34px);
  border-radius: 34px;
  background: rgba(2, 12, 24, 0.48);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* judul + teks */
.page-hero-card h1,
.page-hero-card .display-5,
.page-hero-card .display-6{
  color:#fff !important;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 26px rgba(0,0,0,.35);
}

.page-hero-card .lead,
.page-hero-card p{
  color: rgba(255,255,255,.86) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.25);
}

/* kicker di hero biar jelas */
.inner-hero .section-kicker{
  color:#fff !important;
  opacity: 1 !important;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: .55rem .95rem;
  border-radius: 999px;
}

/* meta di hero */
.page-hero-meta{
  display:flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.2rem;
}

.page-hero-meta span{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-weight: 650;
}

.page-hero-meta i{
  color:#fff;
  opacity:.92;
}

/* responsif */
@media (max-width: 767.98px){
  .inner-hero{ padding: 70px 0; }
  .page-hero-card{ border-radius: 26px; }
}
/* ===== INNER HERO: KONTRAS TETAP KEBACA TAPI BACKGROUND TIDAK GELAP ===== */
.inner-hero{
  position: relative;
  color: #fff;
}

/* Overlay lebih tipis (background tetap terlihat) */
.inner-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.16) 45%,
      rgba(0,0,0,.10) 100%),
    linear-gradient(180deg,
      rgba(0,0,0,.10) 0%,
      rgba(0,0,0,.18) 100%);
}

/* Pastikan konten di atas overlay */
.inner-hero > .container{
  position: relative;
  z-index: 2;
}

/* Card hero jangan gelap: jadi “glass” transparan */
.page-hero-card{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Judul + deskripsi lebih jelas */
.page-hero-card h1,
.page-hero-card .display-5,
.page-hero-card .display-6{
  color: #fff !important;
  text-shadow: 0 10px 26px rgba(0,0,0,.28);
}

.page-hero-card p,
.page-hero-card .lead{
  color: rgba(255,255,255,.90) !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}

/* Chip meta biar kebaca tapi tetap soft */
.page-hero-meta span{
  background: rgba(0,0,0,.16) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: rgba(255,255,255,.92) !important;
}

/* ======================================================================
   HOME SLIDERS (PROGRAM / PUBLIKASI / MEDIA)
   - Auto-scroll handled by assets/js/main.js
   ====================================================================== */
.hscroll-wrap{
  position: relative;
}

.hscroll{
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .25rem .1rem .65rem;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  -webkit-overflow-scrolling: touch;
}
.hscroll::-webkit-scrollbar{ height: 0; }
.hscroll{ scrollbar-width: none; }

.hscroll > *{
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ===== PROGRAM MINI CARD (GREEN BAR) ===== */
.program-mini-card{
  width: 260px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: var(--dark);
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-mini-thumb{
  padding: .9rem .9rem 0;
}
.program-mini-thumb img{
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 18px;
  background: #e2e8f0;
}
.program-mini-label{
  margin-top: .9rem;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: .85rem 1rem;
  letter-spacing: .01em;
}
.program-mini-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}
.program-mini-card:active{ transform: translateY(-2px); }

/* ===== PUBLIKASI MINI CARD ===== */
.article-mini-card{
  width: 310px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.article-mini-link{
  display: block;
  text-decoration: none;
  color: inherit;
}
.article-mini-thumb img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e2e8f0;
}
.article-mini-body{
  padding: 1rem 1.05rem 1.1rem;
}
.article-mini-meta{
  font-size: .85rem;
  color: #64748b;
  margin-bottom: .55rem;
}
.article-mini-title{
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 .75rem;
  color: #0f172a;
}
.article-mini-more{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  color: var(--primary-color);
}
.article-mini-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}
.article-mini-card{
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ===== VIDEO MINI CARD (PLAYABLE) ===== */
.video-mini-card{
  width: 340px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-mini-thumb{
  position: relative;
}
.video-mini-thumb img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e2e8f0;
}
.video-play{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.35));
}
.video-play i{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  transition: transform .25s ease, background .25s ease;
}
.video-mini-card:hover .video-play i{
  transform: scale(1.06);
  background: rgba(255,255,255,.24);
}

.video-mini-body{
  padding: 1rem 1.05rem 1.1rem;
}
.video-mini-title{
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
  margin: .55rem 0 .75rem;
  color: #0f172a;
}
.video-mini-more{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 800;
  color: var(--primary-color);
}
.video-mini-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

/* ===== VIDEO MODAL ===== */
.video-modal-content{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.9);
}
.video-modal-content .modal-header{
  padding: .9rem 1rem;
  background: #fff;
}
.video-modal-content .modal-title{
  font-weight: 800;
}

/* Responsive tweaks */
@media (max-width: 575.98px){
  .program-mini-card{ width: 78vw; }
  .article-mini-card{ width: 84vw; }
  .video-mini-card{ width: 86vw; }
}


/* ======================================================================
   PATCH: HOME UI (WHITE HERO BOX + QUICK BAR + PROGRAM LABEL WHITE + STATS ROW + TESTIMONI SLIDER)
   ====================================================================== */

/* 1) HERO: tampilkan gambar asli (hapus overlay hitam) */
.hero-slide::before{
  background: none !important;
}

/* 2) HERO: teks di kotak putih (modern & profesional) */
.hero-copy{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(226,232,240,.92) !important;
  box-shadow: 0 26px 70px rgba(15,23,42,.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.eyebrow{
  background: rgba(15,118,110,.10) !important;
  border: 1px solid rgba(15,118,110,.12) !important;
  color: var(--primary-color) !important;
  text-shadow: none !important;
}

.hero-title{
  color: #0f172a !important;
  text-shadow: none !important;
}

.hero-lead{
  color: #475569 !important;
  text-shadow: none !important;
}

.hero-actions .btn-light-soft{
  background: #ffffff !important;
  border: 1px solid rgba(15,118,110,.25) !important;
  color: var(--primary-color) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.hero-actions .btn-light-soft:hover{
  background: rgba(15,118,110,.08) !important;
}

.metric-chip{
  background: #f8fafc !important;
  border: 1px solid rgba(226,232,240,.92) !important;
  color: #0f172a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.metric-chip strong{ color: #0f172a !important; }
.metric-chip span{ color: #475569 !important; }

/* 3) QUICK BAR: seperti contoh (ikon bulat + teks rata tengah) */
.hero-quick-panel{
  border-radius: 24px !important;
  padding: .35rem !important;
}
.hero-quick-panel .quick-link{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 18px !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.1rem .9rem !important;
}
.hero-quick-panel .quick-link i{
  width: 56px !important;
  height: 56px !important;
  border-radius: 999px !important;
  background: rgba(15,118,110,.10) !important;
}
.hero-quick-panel .quick-link small{
  margin-top: .35rem !important;
}

/* separator antar menu (desktop) */
@media (min-width: 1200px){
  .hero-quick-panel .row > div:not(:last-child){
    border-right: 1px solid rgba(226,232,240,.9);
  }
}
@media (max-width: 1199.98px){
  .hero-quick-panel .row > div{
    border-right: 0;
  }
}

/* 4) PROGRAM MINI: label jadi kotak putih bawah gambar & center */
.program-mini-label{
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(226,232,240,.92) !important;
  border-radius: 18px !important;
  margin: .9rem 1rem 1rem !important;
  padding: .85rem 1rem !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
}

/* 5) STATISTIK: tampil seperti contoh (angka besar + label, tanpa kotak) */
.home-stats{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap: clamp(18px, 4vw, 64px);
  padding: 1.2rem 0;
  flex-wrap: wrap;
}
.home-stat{
  text-align:center;
  min-width: 160px;
}
.home-stat-number{
  font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.05;
}
.home-stat-label{
  margin-top: .4rem;
  color: #64748b;
  font-weight: 600;
}

/* 6) TESTIMONI: slider horizontal + tombol navigasi */
.hscroll-wrap[data-hscroll-wrap]{
  position: relative;
}
.hscroll-testimonial{
  padding: .5rem .25rem 1rem;
}
.testimonial-mini-card{
  width: 420px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15,23,42,.08);
  padding: 1.4rem 1.4rem 1.2rem;
}
.testimonial-mini-head{
  display:flex;
  align-items:center;
  gap: .9rem;
  margin-bottom: .9rem;
}
.testimonial-mini-avatar{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
}
.testimonial-mini-name{
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.testimonial-mini-role{
  color:#64748b;
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.testimonial-mini-quote{
  margin-left:auto;
  color: rgba(15,118,110,.25);
  font-size: 1.6rem;
}
.testimonial-mini-text{
  color:#475569;
  line-height: 1.75;
  font-style: italic;
}

.hscroll-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 34px rgba(15,23,42,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: #0f172a;
  z-index: 5;
}
.hscroll-btn:hover{
  transform: translateY(-50%) scale(1.03);
}
.hscroll-btn[disabled]{
  opacity: .45;
  cursor: not-allowed;
}
.hscroll-wrap[data-hscroll-wrap] [data-hscroll-prev]{
  left: -10px;
}
.hscroll-wrap[data-hscroll-wrap] [data-hscroll-next]{
  right: -10px;
}

/* Responsive: tombol slider hilang di mobile (cukup swipe) */
@media (max-width: 767.98px){
  .testimonial-mini-card{ width: 84vw; }
  .hscroll-btn{ display:none; }
}
/* ===== HEADER FULL WIDTH (khusus area header saja) ===== */
.site-header .container { max-width: 100% !important; } /* jaga-jaga kalau masih ada container di header */
.topbar .header-fluid,
.site-header > .header-fluid{
  width: 100%;
  max-width: 100%;
}

/* ===== TAGLINE MARQUEE (teks berjalan) ===== */
.brand-tagline.marquee{
  display:block;
  max-width: 360px;            /* atur 300-420 sesuai selera */
  overflow:hidden;
  white-space:nowrap;
  position:relative;
  line-height: 1.2;
  font-size: .92rem;
  margin-top: .15rem;
}

/* fade kiri-kanan biar premium */
.brand-tagline.marquee::before,
.brand-tagline.marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 26px;
  z-index: 2;
  pointer-events:none;
}
.brand-tagline.marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,0));
}
.brand-tagline.marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,.92), rgba(255,255,255,0));
}

.brand-tagline.marquee .marquee-track{
  display:inline-flex;
  align-items:center;
  width:max-content;
  will-change: transform;
  animation: brandMarquee 14s linear infinite;
}
.brand-tagline.marquee:hover .marquee-track{ animation-play-state: paused; } /* pause saat hover */

.brand-tagline.marquee .marquee-item{
  padding-right: 2rem;
}

@keyframes brandMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* mobile: tetap ikut aturan kamu (tagline disembunyikan) */
@media (max-width: 767.98px){
  .brand-tagline{ display:none !important; }
}

@media (prefers-reduced-motion: reduce){
  .brand-tagline.marquee .marquee-track{ animation: none; }
}