/* ================= GLOBAL ================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* ================= NAVBAR ================= */
.menu {
    background-color: #0a2540;
    padding: 15px 40px;
}

.menu a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: bold;
}

.menu a:hover {
    text-decoration: underline;
}

/* ================= HERO ================= */
.hero {
    background-color: #f4f4f4;
    padding: 80px 40px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* BUTTON */
.hero a {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #0a2540;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.hero a:hover {
    background-color: #133b5c;
    transform: translateY(-2px);
}

/* ================= TENTANG SINGKAT ================= */
.tentang-singkat {
    padding: 50px 40px;
    background-color: white;
}

.tentang-singkat h2 {
    margin-bottom: 15px;
}

.tentang-singkat p {
    max-width: 700px;
    line-height: 1.6;
}

/* ================= LAYANAN ================= */
.layanan {
    padding: 50px 40px;
}

.layanan h2 {
    margin-bottom: 20px;
}

.layanan-box {
    display: flex;
    gap: 20px;
}

/* BOX */
.box {
    flex: 1;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    background-color: white;
    transition: 0.3s;
}

.box h3 {
    margin-bottom: 10px;
}

.box:hover {
    transform: translateY(-5px);
}

/* ================= FOOTER ================= */
.footer {
    background-color: #0a2540;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

.footer p {
    margin: 5px 0;
}

/* ================= RESPONSIVE (HP) ================= */
@media (max-width: 768px) {
    .menu {
        padding: 15px;
    }

    .hero {
        padding: 40px 20px;
    }

    .layanan-box {
        flex-direction: column;
    }

    .tentang-singkat {
        padding: 30px 20px;
    }
}

.tentang-singkat {
    padding: 50px 40px;
    background-color: white;
    max-width: 900px;
    margin: auto;
}

.tentang-singkat p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.tentang-singkat h2 {
    margin-top: 25px;
}

.tentang-singkat ul {
    margin-top: 10px;
    padding-left: 20px;
}

.tentang-singkat {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.tentang-singkat h1 {
    font-size: 32px;
}

.tentang-singkat h2 {
    color: #0a2540;
}

.tentang-singkat {
    border: 1px solid #eee;
}

/* LAYANAN DETAIL */
.layanan-detail {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
}

.layanan-detail h2 {
    color: #0a2540;
    margin-bottom: 10px;
}

.layanan-detail ul {
    margin-top: 10px;
    padding-left: 20px;
}

.layanan-detail li {
    margin-bottom: 5px;
}

.layanan-detail a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #0a2540;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.layanan-detail a:hover {
    background-color: #133b5c;
}

.layanan-detail {
    transition: 0.3s;
}

.layanan-detail:hover {
    transform: translateY(-5px);
}

.layanan-detail a {
    font-weight: bold;
}

.layanan-detail {
    margin-bottom: 20px;
}

/* KONTAK */
.kontak-box {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
}

form input,
form textarea {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form textarea {
    height: 100px;
}

form button {
    padding: 10px;
    background-color: #0a2540;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #133b5c;
}

/* WA BUTTON */
.kontak-box a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.kontak-box a:hover {
    background-color: #1ebe5d;
}

.cta-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    background-color: #0a2540;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #133b5c;
}

.menu {
    position: sticky;
    top: 0;
    background: #0a2540;
    padding: 15px 40px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-weight: bold;
}

.nav-links a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* HERO */
.center {
    text-align: center;
}

.hero {
    padding: 100px 20px;
}

.hero h1 {
    font-size: 42px;
    max-width: 800px;
    margin: auto;
}

.hero p {
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.6;
}

.hero-btn a {
    padding: 12px 20px;
    margin: 5px;
    background: #0a2540;
    color: white;
    text-decoration: none;
    border-radius: 6px;
}

.hero-btn .outline {
    background: transparent;
    border: 1px solid #0a2540;
    color: #0a2540;
}

/* SECTION */
.section {
    padding: 70px 20px;
}

.white {
    background: white;
}

.dark {
    background: #0a2540;
    color: white;
}

/* GRID */
.grid-3 {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.grid-2 {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* CARD */
.card {
    flex: 1;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card.big a {
    display: inline-block;
    margin-top: 10px;
    color: #0a2540;
    font-weight: bold;
}

/* CTA */
.cta {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: white;
    color: #0a2540;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* FOOTER */
.footer {
    background: #0a2540;
    color: white;
    text-align: center;
    padding: 30px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .grid-3,
    .grid-2 {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 28px;
    }
}

.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
}

a, .card, .cta {
    transition: all 0.3s ease;
}

.menu.scrolled {
    background: rgba(10, 37, 64, 0.9);
    backdrop-filter: blur(5px);
}

.counter {
    font-size: 32px;
    font-weight: bold;
    color: #0a2540;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
}

.hero-btn a:hover,
.cta:hover {
    transform: scale(1.05);
}

.counter {
    font-size: 40px;
    font-weight: bold;
    color: #0a2540;
}

/* STATS */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item p {
    margin-top: 5px;
    color: #555;
}

.counter {
    font-size: 40px;
    font-weight: bold;
    color: #0a2540;
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

.stat-item:not(:last-child) {
    border-right: 1px solid #eee;
    padding-right: 40px;
}

.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-links a.active {
    border-bottom: 2px solid white;
}

#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
}

.logo img {
    height: 100px;
}

.container {
    max-width: 900px;
    margin: auto;
}

.subtitle {
    color: #555;
    margin-top: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 12px;
    background: #0a2540;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    opacity: 0.9;
}

.container p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.container h2 {
    margin-top: 25px;
    color: #0a2540;
}

.card a {
    display: inline-block;
    margin-top: 10px;
    color: #0a2540;
    font-weight: bold;
}

/* GRID BLOG */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD BLOG */
.blog-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* HOVER EFFECT */
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* JUDUL */
.blog-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* PARAGRAF */
.blog-card p {
    font-size: 14px;
    color: #555;
}

/* LINK */
.blog-card a {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #0a2540;
    text-decoration: none;
}

.blog-card a:hover {
    text-decoration: underline;
}

/* GRID */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* IMAGE */
.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* CONTENT */
.news-content {
    padding: 20px;
}

/* CATEGORY */
.category {
    font-size: 12px;
    background: #0a2540;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

/* TITLE */
.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* TEXT */
.news-content p {
    font-size: 14px;
    color: #555;
}

/* META */
.meta {
    font-size: 12px;
    color: #999;
    margin: 10px 0;
}

/* LINK */
.news-content a {
    font-weight: bold;
    color: #0a2540;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

