:root {
    --brand-primary: #0f3d63;
    --brand-primary-dark: #0a2a45;
    --brand-accent: #f59e0b;
    --text-main: #102136;
    --text-muted: #5f6b7a;
    --bg-soft: #f3f7fb;
    --card-bg: #ffffff;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 14px 35px rgba(8, 27, 47, 0.12);
}

body {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
    font-size: 16px;
    font-family: "Manrope", sans-serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1180px;
}

.site-navbar {
    background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary));
    box-shadow: 0 10px 24px rgba(7, 20, 35, 0.22);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .navbar-nav .nav-link {
    color: #ecf4ff !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 0.92rem;
}

.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:hover {
    color: #ffffff !important;
}

.btn-donate {
    border: 1px solid #ffe3b2;
    background: linear-gradient(135deg, #ffca6f, var(--brand-accent));
    border-radius: 999px;
    padding: 8px 22px !important;
    color: #19233b !important;
    font-weight: 800;
}

.hero-section {
    padding: 0;
}

.hero-carousel,
.hero-carousel .carousel-item,
.hero-carousel img {
    min-height: 68vh;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    filter: brightness(0.72);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(100deg, rgba(7, 31, 56, 0.82) 20%, rgba(7, 31, 56, 0.25) 80%);
}

.hero-content {
    max-width: 690px;
    color: #f4f9ff;
    animation: fadeUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-content h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-content p {
    margin-top: 1rem;
    font-size: 1.04rem;
    color: #e6eef7;
    max-width: 620px;
}

.hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn {
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
}

.news-section,
.video-section {
    padding: 76px 0;
}

.news-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

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

.donate-banner {
    max-height: 84px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 2.3rem;
}

.section-heading-left {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.section-kicker {
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.77rem;
}

.section-heading h2,
.section-heading h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 0;
}

.news-card,
.video-card {
    height: 100%;
    display: block;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-card:hover,
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(8, 27, 47, 0.2);
}

.img-container {
    height: 220px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .img-container img {
    transform: scale(1.07);
}

.news-card-body,
.video-card-body {
    padding: 16px 16px 18px;
}

.title-berita,
.title-youtube {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.ratio iframe {
    border: 0;
}

.btn-primary,
.btn-outline-primary {
    border: 1px solid var(--brand-primary);
    background-color: var(--brand-primary);
    color: #fff;
    border-radius: 10px;
    padding: 10px 26px;
    font-weight: 700;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--brand-primary);
}

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

.site-footer {
    background: linear-gradient(180deg, #0e2136 0%, #0a1b2d 100%);
    color: #dbe8f8;
}

.footer-logo {
    max-width: 220px;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    font-size: 0.8rem;
    color: #f4bc65;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-text,
.footer-copy {
    color: #dbe8f8;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.isi-berita p {
    text-align: justify;
}

.isi-berita img {
    max-width: 100%;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border-radius: var(--radius-md);
        background: rgba(8, 29, 49, 0.92);
    }

    .btn-donate {
        display: inline-block;
        margin: 8px 0 10px;
    }

    .hero-carousel,
    .hero-carousel .carousel-item,
    .hero-carousel img {
        min-height: 75vh;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .news-section,
    .video-section {
        padding: 56px 0;
    }
}

.contact-section {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.contact-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.contact-header {
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.contact-title {
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: var(--radius-md);
    padding: 22px;
}

.contact-content {
    color: var(--text-main);
}

.contact-content p:last-child {
    margin-bottom: 0;
}

.contact-map {
    width: 100%;
    min-height: 420px;
    border: 0;
}

@media (max-width: 991.98px) {
    .contact-wrapper {
        padding: 18px;
    }

    .contact-map {
        min-height: 320px;
    }
}

.page-shell {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.page-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.page-content {
    color: var(--text-main);
    line-height: 1.75;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5 {
    color: var(--text-main);
    font-weight: 800;
}

.news-list-item {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: var(--radius-md);
    padding: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(8, 27, 47, 0.12);
    border-color: #d5e3f1;
}

.news-thumb {
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
}

.news-list-title {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.news-list-desc {
    color: var(--text-muted);
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--brand-primary);
    background: #eef5fd;
    border: 1px solid #d6e5f5;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.news-readmore span {
    transition: transform 0.25s ease;
}

.news-readmore:hover {
    color: #fff;
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateX(2px);
}

.news-readmore:hover span {
    transform: translateX(3px);
}

.modern-form .form-label {
    font-weight: 700;
    color: var(--text-main);
}

.modern-form .form-control {
    border: 1px solid #d8e3f0;
    border-radius: 10px;
    min-height: 46px;
}

.modern-form .form-control:focus {
    border-color: #7aa8d3;
    box-shadow: 0 0 0 0.2rem rgba(15, 61, 99, 0.15);
}

.pagination {
    gap: 6px;
}

.pagination .page-link {
    border-radius: 8px;
    border-color: #dbe6f3;
    color: var(--brand-primary) !important;
    background-color: #ffffff !important;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.pagination .active .page-link {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

.pagination .page-link:hover {
    background-color: #eef5fd !important;
    border-color: #cddff2 !important;
    color: var(--brand-primary) !important;
}

@media (max-width: 991.98px) {
    .page-card {
        padding: 18px;
    }
}

.login-shell {
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 61, 99, 0.15), transparent 36%),
        radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.16), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.login-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(8, 27, 47, 0.18);
    background: #fff;
}

.login-brand-panel {
    padding: 44px 36px;
    background: linear-gradient(145deg, #0d3557, #123f67);
    color: #eff6ff;
}

.login-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 16px;
}

.login-brand-panel h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.7rem;
    color: #fff;
}

.login-brand-panel p {
    color: #dbe7f6;
    margin-bottom: 1.1rem;
    line-height: 1.7;
}

.login-points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 0.55rem;
    color: #dbe7f6;
}

.login-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #f8be63;
}

.login-form-panel {
    padding: 42px 34px;
    background: #fff;
}

.login-form .form-control {
    padding-left: 44px;
}

.input-icon-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #5d748f;
    font-weight: 800;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .login-layout {
        grid-template-columns: 1fr;
    }

    .login-brand-panel,
    .login-form-panel {
        padding: 28px 20px;
    }
}
