:root {
    --navy: #092b59;
    --blue: #1264c7;
    --sky: #eaf4ff;
    --ink: #172b4d;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #34445d;
    background: #fff;
}

/* NAVBAR */
.navbar {
    padding: 14px 0;
    background: #fff;
}

.navbar-brand {
    color: var(--navy);
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 3px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, #0b3670, #1685ed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    letter-spacing: -1px;
    box-shadow: 0 8px 20px #1264c733;
}

.nav-link {
    font-weight: 600;
    color: #213c63 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.nav-link:hover {
    color: #1264c7 !important;
}

.btn-primary {
    background: #1264c7;
    border-color: #1264c7;
}

/* HERO SECTION - SMK YADIKA 4 */
.hero {
    position: relative;
    min-height: 620px;
    padding: 85px 0 70px;
    background:
        linear-gradient(90deg,
            rgba(5, 30, 65, 0.82) 0%,
            rgba(5, 30, 65, 0.60) 55%,
            rgba(5, 30, 65, 0.35) 100%),
        url('../images/background-sekolah.png');
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    font-weight: 850;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero h1 span {
    color: #58b4ff;
}

.hero p {
    font-size: 1.12rem;
    max-width: 600px;
    color: #f1f6ff;
    line-height: 1.8;
}

.hero .section-kicker {
    color: #70c2ff;
}

.hero .btn-primary {
    background: #1474d4;
    border-color: #1474d4;
    border-radius: 30px;
    padding: 13px 28px;
    font-weight: 600;
}

.hero .btn-primary:hover {
    background: #0758aa;
    border-color: #0758aa;
}

.hero .btn-outline-primary {
    color: #fff;
    border-color: #fff;
    border-radius: 30px;
    padding: 13px 28px;
}

.hero .btn-outline-primary:hover {
    background: #fff;
    color: #092b59;
}

.hero-art {
    min-height: 280px;
    max-width: 420px;
    width: 100%;
    margin: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 6rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero .text-primary {
    color: #70c2ff !important;
}

.hero .text-muted {
    color: #e1eaf7 !important;
}

/* SECTION */
.section {
    padding: 68px 0;
}

.section-kicker {
    color: #1474d4;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .75rem;
    font-weight: 800;
}

.section-title {
    color: #092b59;
    font-weight: 800;
    letter-spacing: -.7px;
}

.soft {
    background: #f4f8fd;
}

/* PROGRAM KEAHLIAN: AKL, MPLB, TKJ */
.feature-card {
    border: 1px solid #e6edf6;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(21, 62, 107, .06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(21, 62, 107, .13);
}

.feature-card .program-image {
    display: block;
    width: 100%;
    height: 210px;
    min-height: 210px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.feature-card .feature-body {
    padding: 22px 24px 25px;
    flex: 1;
}

.feature-card h5 {
    color: #092b59;
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 10px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ARTIKEL DAN GURU */
.content-card,
.teacher-card {
    border: 1px solid #e6edf6;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px #153e6b0b;
    height: 100%;
    transition: .2s;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px #153e6b17;
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #e7f2ff;
    color: #1264c7;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.content-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.placeholder-img {
    height: 190px;
    background: linear-gradient(135deg, #dcecff, #f2f7ff);
    display: grid;
    place-items: center;
    color: #1264c7;
    font-size: 3rem;
}

.teacher-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* FOOTER */
.footer {
    background: #08264e;
}

.footer a {
    display: block;
    color: #b9cbe2;
    text-decoration: none;
    margin: 10px 0;
}

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

.visitor {
    display: inline-block;
    background: #ffffff17;
    border: 1px solid #ffffff2b;
    color: #fff;
    border-radius: 12px;
    padding: 12px 16px;
}

/* PAGE HEADER */
.page-head {
    background: linear-gradient(110deg, #eaf4ff, #f8fbff);
    padding: 55px 0;
}

/* FORM */
.form-control,
.form-select {
    padding: 12px;
    border-color: #dce5f0;
    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: #66a9f4;
    box-shadow: 0 0 0 .2rem #1264c71c;
}

/* ADMIN */
.admin-side {
    background: #08264e;
    min-height: 100vh;
    color: #fff;
}

.admin-side a {
    display: block;
    padding: 11px 14px;
    color: #d8e7fa;
    text-decoration: none;
    border-radius: 9px;
}

.admin-side a:hover {
    background: #ffffff19;
    color: #fff;
}

.admin-main {
    background: #f4f7fb;
    min-height: 100vh;
}

.stat-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 25px #12365e0b;
}

/* TABLE */
.table>:not(caption)>*>* {
    padding: 13px;
    vertical-align: middle;
}

/* RESPONSIVE MOBILE */
@media(max-width:767px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .navbar-brand {
        font-size: .95rem;
    }

    .hero {
        min-height: auto;
        padding: 65px 0;
        background-position: center;
    }

    .hero h1 {
        font-size: 2.35rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-art {
        min-height: 190px;
        margin-top: 35px;
        font-size: 4rem;
    }

    .section {
        padding: 48px 0;
    }

    .feature-card .program-image {
        height: 190px;
        min-height: 190px;
    }

    .feature-card .feature-body {
        padding: 18px;
    }

    .feature-card h5 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: .95rem;
    }
}