
@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');


/* ==================================================
   1. ROOT VARIABLES & GLOBAL STYLES
================================================== */

:root {
    --green: #14532d;
    --green2: #198754;
    --yellow: #facc15;
    --ink: #202923;
    --muted: #69736d;
    --soft: #f6f8f6;
    --line: #e6ebe7;
}

* {
    box-sizing: border-box;
}

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

h1,
h2,
h3,
h4,
.brand-name {
    font-family: Manrope, sans-serif;
    letter-spacing: -.035em;
}

a {
    text-decoration: none;
}


/* ==================================================
   2. NAVIGATION & BRAND
================================================== */

.navbar {
    z-index: 1030;
}

.navbar-brand {
    font-weight: 800;
}

.brand-name {
    display: flex;
    flex-direction: column;
    color: var(--green);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.brand-name small {
    margin-top: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: 0;
    color: #758078;
}

.nav-link {
    color: #39443d !important;
    font-size: .93rem;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green) !important;
}


/* ==================================================
   3. BUTTONS
================================================== */

.btn {
    padding: .72rem 1.1rem;
    border-radius: 9px;
    font-weight: 700;
}

.btn-school {
    color: #fff;
    background: var(--green);
    border: 1px solid var(--green);
}

.btn-school:hover {
    color: #fff;
    background: #0e3e21;
}

.btn-yellow {
    color: #1c2b20;
    background: var(--yellow);
    border: 1px solid var(--yellow);
}

.btn-yellow:hover {
    color: #1c2b20;
    background: #e8b900;
}

.btn-outline-school {
    color: var(--green);
    background: transparent;
    border: 1px solid var(--green);
}

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


/* ==================================================
   4. HERO SECTION
================================================== */

.hero-section {
    padding: 28px 0 16px;
}

.hero-slide {
    display: flex;
    align-items: center;
    min-height: 490px;
    padding: clamp(28px, 6vw, 76px);
    color: #fff;
    background-position: center;
    background-size: cover;
}

.hero-copy {
    max-width: 690px;
    padding-bottom: 16px;
}

.hero-copy h1,
.welcome-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.5vw, 3.65rem);
    font-weight: 800;
    line-height: 1.13;
}

.hero-copy p,
.welcome-hero p {
    max-width: 600px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
}

.badge-yellow {
    padding: .55rem .75rem;
    color: #1c2b20;
    background: var(--yellow);
    font-weight: 700;
}

.carousel-indicators {
    margin-bottom: 22px;
}

.welcome-hero {
    min-height: 450px;
    padding: clamp(36px, 7vw, 88px);
    color: white;
    background: linear-gradient(120deg, #0b321b, #17643a);
}

.welcome-hero h1 {
    max-width: 780px;
    margin-top: 18px;
}

.welcome-hero h1 span,
.section-heading h2 span,
.page-banner h1 span {
    color: #d8ad00;
}


/* ==================================================
   5. SECTION HEADINGS & GENERAL SECTIONS
================================================== */

.eyebrow {
    display: inline-block;
    color: var(--green2);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.welcome-hero .eyebrow {
    color: var(--yellow);
}

.section-space {
    padding: 78px 0;
}

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

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading.text-center {
    margin-right: auto;
    margin-left: auto;
}

.section-heading h2,
.page-banner h1 {
    margin: .45rem 0 .65rem;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
}

.section-heading p,
.page-banner p {
    margin: 0;
    color: var(--muted);
}


.program-section {
    background-color: #f1f3f5;
    padding: 60px 0;
}

.vision-card,
.mission-card,
.program-card {
    padding: 30px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.vision-card {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}

.vision-card h3,
.mission-card h3,
.program-card h3 {
    margin: 15px 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.vision-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .86);
}

.feature-icon,
.program-symbol {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--green);
    background: var(--yellow);
    border-radius: 14px;
    font-size: 1.35rem;
    font-weight: 800;
}

.mission-list {
    display: grid;
    gap: 12px;
}

.mission-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.mission-item:last-child {
    border: 0;
}

.mission-item span {
    padding: 5px 8px;
    color: var(--green2);
    background: #eaf5ed;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 800;
}

.mission-item p {
    margin: 0;
    color: #4e5952;
}


/* ==================================================
   7. PROGRAM KEAHLIAN
================================================== */

.program-card {
    height: 100%;
    transition: transform .2s, box-shadow .2s;
}

.program-card:hover,
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px #183b2510;
}

.program-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.program-symbol {
    width: 58px;
    height: 58px;
    font-size: 1.8rem;
}


/* ==================================================
   8. NEWS / BERITA
================================================== */

.news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .2s, box-shadow .2s;
}

.news-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e8eee9;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.news-card:hover .news-image img {
    transform: scale(1.035);
}

.news-body {
    padding: 22px;
}

.news-category {
    color: var(--green2);
    font-size: .73rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.news-date {
    margin: .35rem 0 .65rem;
    color: #879189;
    font-size: .82rem;
}

.news-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
}

.news-body h3 a {
    color: var(--ink);
}

.news-body h3 a:hover {
    color: var(--green2);
}

.news-body p {
    color: var(--muted);
    font-size: .94rem;
}

.read-more {
    color: var(--green);
    font-size: .9rem;
    font-weight: 800;
}

.read-more span {
    color: #c4a000;
}

.empty-state {
    padding: 55px 20px;
    text-align: center;
    background: #fbfcfb;
    border: 1px dashed #cbd6ce;
    border-radius: 16px;
}

.empty-state h3 {
    font-weight: 800;
}

.empty-state p {
    color: var(--muted);
}


/* ==================================================
   9. STUDENT STATISTICS / JUMLAH SISWA
================================================== */

.student-stat-section {
    position: relative;
    overflow: hidden;
    padding: 65px 0;
    background: #e9ecef !important;
    color: #f1f3f5;
}

.student-stat-section::before,
.student-stat-section::after {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.student-stat-section::before {
    top: -180px;
    right: -80px;
    width: 350px;
    height: 350px;
}

.student-stat-section::after {
    bottom: -150px;
    left: -70px;
    width: 250px;
    height: 250px;
}

.student-stat-item {
    position: relative;
    z-index: 1;
    padding: 15px 10px;
}

.student-stat-number {
    color: #176b45 !important;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.student-stat-label {
    margin-top: 12px;
    color: #555 !important;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .5px;
}

.plus-sign {
    color: #176b45 !important;
    font-size: 2rem;
    vertical-align: top;
}


/* ==================================================
   10. CTA SECTION
================================================== */

.cta-section {
    padding: 0 0 78px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: clamp(28px, 5vw, 52px);
    background: #edf5ef;
    border-radius: 20px;
}

.cta-box h2 {
    margin: .5rem 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
}

.cta-box p {
    margin: 0;
    color: var(--muted);
}


/* ==================================================
   11. FOOTER
================================================== */

.site-footer {
    padding: 52px 0 18px;
    color: #fff;
    background: #102b1b;
}

.site-footer h4 {
    margin-bottom: 18px;
    font-size: 1rem;
    font-weight: 800;
}

.site-footer a:not(.navbar-brand) {
    display: block;
    margin-bottom: 10px;
    color: #cbd7ce;
    font-size: .93rem;
}

.site-footer a:hover {
    color: var(--yellow);
}

.footer-desc {
    max-width: 360px;
    color: #bdcabe;
}

.site-footer p {
    color: #cbd7ce;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 35px;
    padding-top: 18px;
    color: #cbd7ce;
    border-top: 1px solid #ffffff20;
    font-size: .85rem;
}

.footer-bottom a {
    margin: 0 !important;
}


/* ==================================================
   12. PAGE BANNER & SEARCH
================================================== */

.page-banner {
    padding: 55px 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 560px;
}

.search-form .form-control {
    min-height: 48px;
}

.pagination .page-link {
    color: var(--green);
}

.pagination .active .page-link {
    color: #fff;
    background: var(--green);
    border-color: var(--green);
}


/* ==================================================
   13. ARTICLE / DETAIL BERITA
================================================== */

.article-wrap {
    max-width: 900px;
    padding-top: 55px;
    padding-bottom: 80px;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 28px;
}

.article-header h1 {
    margin: 10px 0;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.17;
}

.article-cover {
    display: block;
    width: 100%;
    max-height: 540px;
    margin-bottom: 32px;
    object-fit: cover;
    border-radius: 18px;
}

.article-content {
    overflow-wrap: anywhere;
    font-size: 1.08rem;
    line-height: 1.9;
}


/* ==================================================
   14. LOGIN PAGE
================================================== */

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background: linear-gradient(135deg, #f4f8f4, #fff);
}

.login-card {
    width: min(100%, 460px);
    padding: clamp(25px, 5vw, 42px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 20px 70px #143d2210;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 35px;
    color: var(--green);
}

.login-logo span {
    display: flex;
    flex-direction: column;
}

.login-logo small {
    color: var(--muted);
    font-size: .82rem;
}

.login-card h1 {
    font-size: 1.9rem;
    font-weight: 800;
}

.login-card > p {
    margin-bottom: 25px;
}

.back-home {
    display: block;
    margin-top: 22px;
    color: var(--green);
    text-align: center;
    font-size: .9rem;
    font-weight: 700;
}


/* ==================================================
   15. ADMIN LAYOUT & SIDEBAR
================================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f7f5;
}

.admin-sidebar {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 7px;
    width: 250px;
    padding: 25px 16px;
    color: white;
    background: #123820;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 30px;
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
}

.sidebar-label {
    padding: 0 10px 8px;
    color: #9db4a2;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.sidebar-link {
    padding: 11px 12px;
    color: #d4e1d7;
    border-radius: 9px;
    font-size: .92rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: #fff;
    background: #ffffff16;
}

.sidebar-link.active {
    box-shadow: inset 3px 0 var(--yellow);
}

.admin-main {
    flex: 1;
    min-width: 0;
    padding: clamp(18px, 3vw, 38px);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
}

.admin-topbar h1 {
    margin: .25rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
}

.admin-user {
    color: var(--green);
    font-size: .9rem;
    font-weight: 700;
}


/* ==================================================
   16. ADMIN DASHBOARD & PANELS
================================================== */

.stat-card,
.admin-panel {
    padding: 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-card span {
    color: var(--muted);
    font-size: .9rem;
}

.stat-card strong {
    color: var(--green);
    font-family: Manrope, sans-serif;
    font-size: 2.3rem;
    line-height: 1.3;
}

.stat-card small {
    color: #89938b;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.panel-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .9rem;
}


/* ==================================================
   17. ADMIN TABLES
================================================== */

.table {
    --bs-table-bg: transparent;
}

.table thead th {
    color: #7a857d;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.table-news {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
    max-width: 340px;
}

.table-news img {
    width: 58px;
    height: 45px;
    object-fit: cover;
    background: var(--soft);
    border-radius: 7px;
}

.table-news strong {
    font-size: .9rem;
    line-height: 1.35;
}

.status-pill {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 30px;
    font-size: .75rem;
    font-weight: 800;
}

.status-published {
    color: #176438;
    background: #e7f6eb;
}

.status-draft {
    color: #725700;
    background: #fff4cc;
}

.admin-main .table-responsive {
    margin-bottom: 0;
}

.admin-main .table td {
    padding-top: 14px;
    padding-bottom: 14px;
    vertical-align: middle;
}


/* ==================================================
   18. FORMS & IMAGE UPLOAD
================================================== */

.form-label {
    font-size: .92rem;
    font-weight: 700;
}

.form-control,
.form-select {
    padding: .7rem .85rem;
    border-color: #dce4dd;
    border-radius: 9px;
}

.form-control:focus,
.form-select:focus {
    border-color: #7cb58c;
    box-shadow: 0 0 0 .2rem #19875415;
}

.upload-panel {
    padding: 18px;
    background: #fbfcfb;
    border: 1px solid var(--line);
    border-radius: 13px;
}

.image-preview {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    color: #87958a;
    background: #edf2ee;
    border: 1px dashed #cbd7ce;
    border-radius: 10px;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview span {
    display: block;
    text-align: center;
    font-size: 2rem;
}

.image-preview p {
    margin: 4px 0;
}

.form-text {
    color: #78837b;
    font-size: .8rem;
}


/* ==================================================
   19. RESPONSIVE: TABLET & DESKTOP KECIL
================================================== */

@media (max-width: 991.98px) {

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        padding: 12px;
    }

    .admin-brand {
        margin-right: auto;
        padding: 0 8px;
    }

    .sidebar-label {
        display: none;
    }

    .sidebar-link {
        padding: 9px;
        font-size: .83rem;
    }

    .hero-slide {
        min-height: 420px;
    }

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


/* ==================================================
   20. RESPONSIVE: MOBILE
================================================== */

@media (max-width: 575.98px) {

    .hero-section {
        padding-top: 12px;
    }

    .hero-slide {
        min-height: 420px;
        padding: 28px 22px;
    }

    .hero-copy h1 {
        font-size: 2.05rem;
    }

    .hero-copy p {
        font-size: .96rem;
    }

    .welcome-hero {
        min-height: 390px;
        padding: 32px 24px;
    }

    .section-space {
        padding: 48px 0;
    }

    .student-stat-section {
        padding: 40px 0;
    }

    .student-stat-item {
        padding: 12px 5px;
    }

    .student-stat-label {
        font-size: .82rem;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .admin-sidebar {
        gap: 4px;
    }

    .admin-brand {
        width: 100%;
        padding-bottom: 8px;
    }

    .sidebar-link {
        font-size: .8rem;
    }

    .admin-main {
        padding: 15px;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .table-news {
        min-width: 190px;
    }

    .article-wrap {
        padding-top: 35px;
    }
}


.student-stat-section {
    position: relative;
    padding: 65px 0;
    overflow: hidden;
    background: #e9ecef !important;
    color: #333;
}

.student-stat-section::before,
.student-stat-section::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.student-stat-section::before {
    width: 350px;
    height: 350px;
    top: -180px;
    right: -80px;
}

.student-stat-section::after {
    width: 250px;
    height: 250px;
    bottom: -150px;
    left: -70px;
}

.student-stat-item {
    position: relative;
    z-index: 1;
    padding: 15px 10px;
}

.student-stat-number {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #176b45 !important;
}

.student-stat-label {
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555 !important;
    letter-spacing: 0.5px;
}

.plus-sign {
    font-size: 2rem;
    color: #176b45 !important;
    vertical-align: top;
}

@media (max-width: 575px) {
    .student-stat-section {
        padding: 40px 0;
    }

    .student-stat-item {
        padding: 12px 5px;
    }

    .student-stat-label {
        font-size: 0.82rem;
    }
}

.lsp-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.lsp-section .section-subtitle {
    display: inline-block;
    color: #198754;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.lsp-title {
    color: #212529;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 22px;
}

.lsp-description {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.lsp-button {
    margin-top: 12px;
    padding: 11px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.lsp-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.lsp-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 991px) {
    .lsp-section {
        padding: 60px 0;
    }

    .lsp-title {
        font-size: 30px;
    }

    .lsp-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .lsp-title {
        font-size: 26px;
    }

    .lsp-image {
        height: 240px;
    }
}

.carousel-item {
    height: 450px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Tampilan tablet */
@media (max-width: 991px) {
    .carousel-item {
        height: 350px;
    }
}

/* Tampilan HP */
@media (max-width: 576px) {
    .carousel-item {
        height: 220px;
    }
}


/* Menyamakan ukuran setiap slide berita */
#newsSlider .carousel-item {
    height: 450px;
}

/* Background gambar slider */
#newsSlider .hero-slide {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Area teks berita */
#newsSlider .hero-copy {
    width: 100%;
    max-width: 700px;
    padding: 40px;
}

/* Tablet */
@media (max-width: 991px) {
    #newsSlider .carousel-item,
    #newsSlider .hero-slide {
        height: 380px;
    }

    #newsSlider .hero-copy {
        padding: 30px;
    }
}

/* HP */
@media (max-width: 576px) {
    #newsSlider .carousel-item,
    #newsSlider .hero-slide {
        height: 420px;
    }

    #newsSlider .hero-copy {
        padding: 22px;
    }

    #newsSlider .hero-copy h1 {
        font-size: 24px;
    }

    #newsSlider .hero-copy p {
        font-size: 14px;
    }
}

.struktur-page {
    background: #ffffff;
    color: #212529;
}

.struktur-hero {
    background: #ffffff;
    padding: 75px 0 45px;
    text-align: center;
}

.struktur-eyebrow,
.struktur-heading span {
    color: #198754;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.struktur-hero h1 {
    color: #198754;
    font-size: 40px;
    font-weight: 800;
    margin: 12px 0;
}

.struktur-hero p {
    color: #495057;
    font-size: 17px;
    margin-bottom: 8px;
}

.struktur-tahun {
    display: inline-block;
    background: #e9f5ee;
    color: #198754;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.struktur-section {
    background: #ffffff;
    padding: 30px 0 80px;
}

.struktur-heading {
    text-align: center;
    margin-bottom: 30px;
}

.struktur-heading h2 {
    color: #212529;
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
}

.struktur-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: .3s ease;
}

.struktur-card:hover {
    transform: translateY(-5px);
    border-color: #198754;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .07);
}

.struktur-icon {
    width: 58px;
    height: 58px;
    background: #e9f5ee;
    color: #198754;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin: 0 auto 18px;
}

.struktur-card h3 {
    color: #212529;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 9px;
}

.struktur-card p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.struktur-table-wrapper {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.struktur-table {
    margin-bottom: 0;
    font-size: 14px;
}

.struktur-table thead th {
    background: #198754;
    color: #ffffff;
    padding: 16px;
    white-space: nowrap;
}

.struktur-table tbody td {
    padding: 13px 16px;
    color: #495057;
}

.struktur-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.struktur-table tbody tr:hover {
    background: #e9f5ee;
}

.struktur-table tbody td strong {
    color: #198754;
}

@media (max-width: 576px) {
    .struktur-hero {
        padding: 50px 0 30px;
    }

    .struktur-hero h1 {
        font-size: 30px;
    }

    .struktur-heading h2 {
        font-size: 23px;
    }

    .struktur-card {
        padding: 22px 15px;
    }
}


.kepala-sekolah {
    width: 100%;
    margin: 0 auto 15px;
    border: 2px solid #198754;
    background: #f7fcf8;
}

.pimpinan-grid {
    max-width: 880px;
    margin: 0 auto;
}

/* Kartu kepala sekolah */
.kepala-sekolah {
    width: 100%;
    margin: 0 auto 15px;
    border: 2px solid #198754;
    background: #f7fcf8;
}