:root {
    --primary: #0b5d3b;
    --primary-dark: #073f2a;
    --accent: #f4b400;
    --soft: #f7fbf8;
    --text: #1e293b;
    --muted: #64748b;
    --radius: 22px;
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #fff;
}

.topbar {
    background: var(--primary-dark);
    color: #e7fff4;
    font-size: 0.88rem;
}

.navbar {
    backdrop-filter: blur(12px);
}

.navbar-brand {
    letter-spacing: -0.03em;
}

.btn-brand {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
}

.btn-brand:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
}

.section {
    padding: 84px 0;
}

.section-soft {
    background: var(--soft);
}

.section-title {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-label::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
}

.hero {
    position: relative;
    min-height: 620px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(244, 180, 0, 0.23), transparent 28%),
        linear-gradient(
            90deg,
            rgba(7, 63, 42, 0.88),
            rgba(7, 63, 42, 0.54),
            rgba(7, 63, 42, 0.15)
        );
    z-index: 1;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 110px 0;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.hero p {
    max-width: 720px;
    font-size: 1.2rem;
    color: #e8fff4;
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.25rem;
    backdrop-filter: blur(12px);
}

.stat-card,
.feature-card,
.unit-card,
.post-card,
.gallery-card,
.contact-card {
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.stat-card {
    padding: 1.5rem;
    background: #fff;
}

.stat-card strong {
    font-size: 2rem;
    color: var(--primary);
}

.feature-card {
    height: 100%;
    padding: 1.7rem;
    background: #fff;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #e8f6ef;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 900;
}

.unit-card img,
.post-card img,
.gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.post-card .badge {
    background: #e8f6ef;
    color: var(--primary);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 88px 0;
    color: #fff;
}

.prose {
    font-size: 1.05rem;
    line-height: 1.85;
}

.prose img {
    max-width: 100%;
    border-radius: 18px;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 0.78rem 0.9rem;
    border-color: #dbe3df;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(11, 93, 59, 0.12);
}

.footer {
    background: #071f16;
    color: #d7eadf;
}

.footer a {
    color: #d7eadf;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

.admin-shell {
    background: #f5f7fb;
}

.admin-sidebar {
    min-height: 100vh;
    background: #071f16;
}

.admin-sidebar a {
    display: block;
    margin-bottom: 4px;
    padding: 11px 14px;
    border-radius: 12px;
    color: #d7eadf;
    text-decoration: none;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.table {
    vertical-align: middle;
}

.table img {
    border-radius: 10px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .section {
        padding: 62px 0;
    }

    .hero {
        min-height: 560px;
    }

    .topbar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .hero-content {
        padding: 86px 0;
    }

    .footer-map-section {
        background: #ffffff;
        padding: 60px 0 44px;
    }

    .stat-number {
        font-size: 56px;
        line-height: 1;
        font-weight: 800;
        color: #66bde2;
    }

    .stat-label {
        margin-top: 10px;
        font-size: 20px;
        color: #333;
        font-family: Georgia, 'Times New Roman', serif;
    }

    .footer-map-wrapper {
        width: 100%;
        height: 430px;
        overflow: hidden;
        border-radius: 0;
        background: #f3f3f3;
    }

    .footer-map-wrapper iframe {
        width: 100% !important;
        height: 430px !important;
        border: 0 !important;
        display: block;
    }

    @media (max-width: 768px) {
        .footer-map-section {
            padding: 40px 0 32px;
        }

        .stat-number {
            font-size: 38px;
        }

        .stat-label {
            font-size: 16px;
        }

    }

    .home-map-section {
        background: #ffffff;
        padding: 60px 0;
    }

    .home-map-box {
        width: 100%;
        height: 450px;
        overflow: hidden;
        background: #f5f5f5;
    }

    .home-map-box iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 450px;
        border: 0 !important;
        display: block;
    }

    @media (max-width: 768px) {
        .home-map-section {
            padding: 40px 0;
        }

        .home-map-box {
            height: 330px;
        }

        .home-map-box iframe {
            min-height: 330px;
        }
    }
}