body {
    font-family: "Nunito", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Plus Jakarta Sans", sans-serif;
}

main {
    flex: 1;
}

footer,
section {
    position: relative;
    padding-block: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
    position: relative;
    color: #34495e;
}

.section-title.section-title-light {
    color: #f5f5f5 !important;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4e73df;
    height: 4px;
    width: 70px;
    border-radius: 5px;
}
.section-title.section-title-light:after {
    background-color: #fff6f6 !important;
}

.section-title.text-left:after {
    left: 0;
    transform: translateX(0) !important;
}

.bg-image {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
}

.bg-parallax {
    background-attachment: fixed;
}

.bg-image.overlay:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: linear-gradient(to bottom, #374050 0%, #434d58 100%);
    opacity: 0.9;
}

#home.hero-area {
    height: 110vh;
    padding-top: 0px;
    padding-bottom: 0px;
}

@media screen and (min-width: 720px) {
    #home.hero-area {
        height: 82vh;
    }
}

.home-wrapper {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
}

.home-wrapper h1 {
    font-weight: 600;
}

a.link-dokumen {
    text-decoration: underline;
}

#dokumen-spmi .card a.link-dokumen {
    text-decoration: none;
    font-weight: 600;
}

#dokumen-spmi .card a.link-dokumen:hover {
    text-decoration: underline;
}

footer {
    background-color: #222f3e !important;
}

#visi-misi {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #eef3fd 0%, #e3f2fd 100%);
}

#visi-misi::before,
#visi-misi::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(78, 115, 223, 0.08);
    z-index: 0;
    pointer-events: none;
}

#visi-misi::before {
    width: 320px;
    height: 320px;
    top: -140px;
    right: -100px;
}

#visi-misi::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -70px;
}

#visi-misi .container {
    position: relative;
    z-index: 1;
}

.section-kicker {
    display: block;
    color: #4e73df;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

#visi-misi .card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#visi-misi .card:hover {
    transform: translateY(-6px);
}

.card-visi {
    background: linear-gradient(135deg, #4e73df 0%, #7c98ea 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.card-visi::after {
    content: "\f10e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    bottom: -25px;
    right: 15px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.card-visi .icon-circle {
    background-color: rgba(255, 255, 255, 0.18);
}

.card-visi .icon-circle i {
    color: #fff !important;
}

.card-visi .card-title {
    color: #fff;
}

.card-visi .card-text {
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(78, 115, 223, 0.1);
}

.icon-circle.icon-circle-sm {
    width: 56px;
    height: 56px;
}

.misi-item {
    border-radius: 0.6rem;
    padding: 0.65rem 0.75rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    transition: background-color 0.2s ease;
}

.misi-item:hover {
    background-color: rgba(78, 115, 223, 0.06);
}

.misi-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #4e73df;
    color: #4e73df;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.misi-item:hover .misi-number {
    background-color: #4e73df;
    color: #fff;
}

#prosedur-manual .bg-image.overlay:after {
    background-image: radial-gradient(circle at 80% 30%, rgba(78, 115, 223, 0.55) 0%, rgba(20, 32, 58, 0.95) 55%),
        linear-gradient(120deg, rgba(15, 23, 42, 0.96) 0%, rgba(37, 56, 107, 0.92) 100%);
}

.section-kicker-light {
    display: inline-flex;
    align-items: center;
    color: #cfe0ff;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.section-kicker-light::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background-color: #7c98ea;
    margin-right: 10px;
}

#prosedur-manual .section-title {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

#prosedur-manual .section-title .text-accent {
    color: #7c98ea;
}

#prosedur-manual .lead-light {
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 50rem;
}

#prosedur-manual .btn-primary {
    box-shadow: 0 12px 24px -6px rgba(46, 89, 217, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#prosedur-manual .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -6px rgba(46, 89, 217, 0.75);
}

.doc-preview-wrap {
    position: relative;
}

.doc-preview-wrap::before,
.doc-preview-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease;
}

.doc-preview-wrap::before {
    transform: rotate(-6deg);
}

.doc-preview-wrap::after {
    transform: rotate(6deg);
}

.doc-preview-wrap:hover::before {
    transform: rotate(-9deg);
}

.doc-preview-wrap:hover::after {
    transform: rotate(9deg);
}

.doc-preview-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease;
}

.doc-preview-wrap:hover .doc-preview-card {
    transform: translateY(-6px);
}

.doc-preview-card .doc-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.doc-preview-card .doc-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}

.doc-ribbon {
    position: absolute;
    z-index: 2;
    top: -12px;
    right: 18px;
    background: linear-gradient(135deg, #4e73df, #2e59d9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    border-radius: 0.35rem;
    box-shadow: 0 8px 16px rgba(46, 89, 217, 0.5);
}

/* News detail */

.hero-breadcrumb {
    font-size: 0.85rem;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumb a:hover {
    color: #fff;
}

.hero-breadcrumb i {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.6rem;
}

.article-card {
    border-radius: 1rem;
}

.article-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.article-meta i {
    width: 18px;
    text-align: center;
}

.article-cover {
    border-radius: 0.75rem;
    max-height: 480px;
    width: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    gap: 0.5rem;
}

.gallery-thumb {
    width: 84px;
    height: 84px;
    border-radius: 0.6rem;
    overflow: hidden;
    display: block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.08);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #3d4852;
    text-align: justify;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.6rem;
    margin: 1rem 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #eef1f8;
    color: #4e73df;
    margin-right: 0.4rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

.share-facebook:hover {
    background-color: #3b5998;
}

.share-twitter:hover {
    background-color: #1da1f2;
}

.share-whatsapp:hover {
    background-color: #25d366;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    background-color: #4e73df;
    border-radius: 5px;
}

.related-news-item {
    transition: transform 0.2s ease;
}

.related-news-item:hover {
    transform: translateX(4px);
}

.related-news-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 0.6rem;
    flex-shrink: 0;
}

.related-news-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #34495e;
    line-height: 1.4;
}

.related-news-item:hover .related-news-title {
    color: #4e73df;
}
