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

/* =====================================================
   VARIABEL DAN DASAR
   ===================================================== */
:root {
    --ink: #132238;
    --muted: #64748b;
    --blue: #2563eb;
    --line: #e7edf5;
    --pale: #f5f8fc;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: #fff;
}

/* =====================================================
   NAVBAR DAN TOMBOL
   ===================================================== */
.navbar {
    padding: 16px 0;
}

.navbar-brand {
    font-family: Manrope, sans-serif;
    letter-spacing: -.6px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    border-radius: 12px;
    width: 34px;
    height: 34px;
    margin-right: 5px;
}

.nav-link {
    font-weight: 600;
    color: #46566d !important;
}

.nav-link:hover {
    color: var(--blue) !important;
}

.btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 8px 20px #2563eb25;
}

/* =====================================================
   HERO BERANDA
   ===================================================== */
.hero {
    padding: 88px 0 92px;
    background:
        radial-gradient(ellipse at 85% 25%, #eaf4ff 0, transparent 36%),
        linear-gradient(180deg, #fff, #f9fbff);
}

.eyebrow {
    font-size: .75rem;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--blue);
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 5px #dcfce7;
}

.hero h1,
.page-hero h1 {
    font-family: Manrope, sans-serif;
    letter-spacing: -2px;
    line-height: 1.12;
    color: #10213a;
}

.gradient-text {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lead {
    max-width: 610px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-stats strong {
    font-family: Manrope;
    font-size: 1rem;
}

.hero-stats span {
    font-size: .82rem;
    color: var(--muted);
}

/* ===== Kartu visual di hero ===== */
.visual-card {
    border: 1px solid #e3ebf5;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 80px #19365c17;
    overflow: visible;
    position: relative;
    margin: 10px;
}

.visual-top {
    height: 48px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dbe4ef;
}

.visual-content {
    padding: 45px 38px 52px;
    min-height: 350px;
    background: linear-gradient(145deg, #fff, #f4f9ff);
    border-radius: 0 0 26px 26px;
}

.visual-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 25px;
}

.visual-content h3 {
    font-family: Manrope;
    font-size: 2rem;
    letter-spacing: -1px;
}

.progress {
    height: 7px;
    background: #e3edf8;
}

.progress-bar {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.floating-note {
    position: absolute;
    bottom: -22px;
    left: -22px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 14px 35px #13223815;
}

.note-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #dcfce7;
    color: #15803d;
    font-size: 1.3rem;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note small {
    color: var(--muted);
    margin-top: 2px;
}

/* =====================================================
   SECTION UMUM
   ===================================================== */
.section-pad {
    padding: 82px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-family: Manrope;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -1.5px;
    margin-top: 14px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =====================================================
   KARTU LAYANAN
   ===================================================== */
.service-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    background: #fff;
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px #1322380c;
    border-color: #c8d9f5;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 1.7rem;
    margin-bottom: 24px;
}

.service-card h4 {
    font-family: Manrope;
    font-weight: 800;
    letter-spacing: -.5px;
}

.service-card p {
    line-height: 1.7;
    min-height: 70px;
}

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
    padding: 58px 0;
    background: linear-gradient(115deg, #142e56, #1d4ed8);
    position: relative;
    overflow: hidden;
}

.cta-band:after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid #ffffff20;
    border-radius: 50%;
    right: 8%;
    top: -240px;
    box-shadow:
        0 0 0 45px #ffffff08,
        0 0 0 90px #ffffff05;
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-family: Manrope;
    font-weight: 800;
    letter-spacing: -1px;
}

/* =====================================================
   KARTU ARTIKEL
   ===================================================== */
.article-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: .2s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px #13223810;
}

.article-card h5 {
    font-family: Manrope;
    font-weight: 800;
    line-height: 1.4;
}

.article-card p {
    line-height: 1.65;
}

.article-art {
    height: 210px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    overflow: hidden;
}

.article-art span {
    font-size: .7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    opacity: .8;
}

.article-art b {
    font-family: Manrope;
    font-size: 2rem;
    line-height: 1.1;
    max-width: 240px;
}

.art-1 {
    background: linear-gradient(135deg, #132e57, #3677d9);
}

.art-2 {
    background: linear-gradient(135deg, #0f766e, #38bdf8);
}

.art-3 {
    background: linear-gradient(135deg, #3730a3, #a78bfa);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: #101f34;
    color: white;
}

.footer h6 {
    font-weight: 700;
    margin-bottom: 16px;
}

.footer a:not(.navbar-brand) {
    display: block;
    color: #aebdd0;
    text-decoration: none;
    margin: 10px 0;
}

.footer a:hover {
    color: white;
}

/* =====================================================
   HERO HALAMAN DALAM
   ===================================================== */
.page-hero {
    padding: 76px 0 58px;
    background:
        radial-gradient(ellipse at 90% 10%, #eaf4ff, transparent 36%),
        #fbfdff;
}

.page-hero .container {
    max-width: 1100px;
}

.page-hero h1 {
    max-width: 900px;
}

/* =====================================================
   PANEL INFORMASI, KONTAK, DAN DETAIL
   ===================================================== */
.info-panel,
.contact-panel,
.detail-panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #f8fbff;
}

.info-panel h4,
.info-panel h5 {
    font-family: Manrope;
    font-weight: 800;
}

.info-panel p {
    color: var(--muted);
    line-height: 1.8;
}

.mission-text {
    white-space: pre-line;
}

.detail-panel {
    max-width: 850px;
    background: white;
    line-height: 1.9;
}

/* =====================================================
   GALERI
   ===================================================== */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #eaf1fb;
    min-height: 250px;
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-placeholder {
    height: 300px;
    display: grid;
    place-items: center;
    font-size: 4rem;
    color: #2563eb;
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
}

.gallery-caption {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 18px 18px;
}

.gallery-caption h5 {
    font-weight: 800;
    font-family: Manrope;
}

.gallery-caption p {
    color: var(--muted);
    margin-bottom: 0;
}

/* =====================================================
   KONDISI KOSONG DAN DETAIL ARTIKEL
   ===================================================== */
.empty-state {
    padding: 55px;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    color: var(--muted);
}

.article-detail {
    max-width: 850px;
}

.article-content {
    white-space: pre-line;
    line-height: 1.95;
    font-size: 1.1rem;
    color: #334155;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 767px) {
    .hero {
        padding: 55px 0 65px;
    }

    .hero h1,
    .page-hero h1 {
        letter-spacing: -1.2px;
    }

    .hero-stats {
        gap: 18px;
    }

    .visual-card {
        margin: 10px 8px 28px;
    }

    .floating-note {
        left: -8px;
    }

    .section-pad {
        padding: 58px 0;
    }

    .page-hero {
        padding: 55px 0 40px;
    }

    .cta-band {
        padding: 45px 0;
    }
}