
<style>

.bg-gradient-web-primary {
    background: linear-gradient(
        135deg,
        var(--top-bar),
        var(--semi-top-bar),
        var(--dark-top-bar)
    );
}

.bg-gradient-web-secondary {
    background: linear-gradient(
        135deg,
        var(--dark-top-bar),
        var(--semi-top-bar),
        var(--top-bar)
    );
}

.bg-gradient-web-dark {
    background: linear-gradient(
        135deg,
        #020617,
        var(--dark-top-bar)
    );
    color: #fff;
}

.bg-gradient-web-soft {
    background: linear-gradient(
        135deg,
        rgba(13,110,253,0.05),
        rgba(30,41,59,0.05)
    );
    color: #000;
}

.bg-gradient-web-fresh {
    background: linear-gradient(
        135deg,
        var(--top-bar),
        #22c55e
    );
}


.bg-gradient-web-warning {
    background: linear-gradient(
        135deg,
        #f59e0b,
        #facc15
    );
    color: #000;
}


/* ================= HERO WRAPPED ================= */

.carousel {
    margin-bottom: 0 !important;
}

.hero-wrapper {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* IMAGE */
.hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1875 / 839;  /* rasio asli gambar slide (2.235:1) — tinggi mengikuti lebar, tidak dipotong */
    object-fit: cover;         /* safety net jika rasio gambar berbeda */
}

/* CONTAINER */
.hero-announcement {
    margin-top: 0;
    display: flex;
    align-items: center;
    background: #1f2937;
    color: #fff;
    overflow: hidden;
}

/* LABEL */
.announce-label {
    background: var(--dark-top-bar);
    padding: 10px 18px;
    font-weight: 600;
    white-space: nowrap;
}

/* AREA SCROLL */
.announce-marquee {
    overflow: hidden;
    flex: 1;
}

/* TRACK (PENTING BANGET) */
.marquee-track {
    display: flex;
    width: max-content;
    animation: jalan 20s linear infinite;
}

/* ITEM */
.announce-item {
    display: flex;
    align-items: center;
    margin-right: 50px;
    white-space: nowrap;
    font-size: 14px;
}

/* TANGGAL */
.date {
    background: #f59e0b;
    color: #000;
    padding: 4px 10px;
    margin-right: 10px;
    border-radius: 3px;
    font-weight: 600;
}

/* AREA */
.announce-marquee {
    overflow: hidden;
    flex: 1;
    position: relative;
}

/* WRAPPER */
.marquee-inner {
    display: flex;
    width: 200%; /* 🔥 penting */
}

/* TRACK */
.marquee-track {
    display: flex;
    width: max-content;
    animation: jalan 25s linear infinite;
}

/* ANIMASI FIX */
@keyframes jalan {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ================= NEWS SECTION ================= */
.news-section {
    padding: 30px 0;
}

/* ================= MAIN NEWS ================= */
.news-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.news-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* overlay biru seperti gambar */
.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    background: linear-gradient(
        to top,
        var(--semi-top-bar),
        var(--top-bar),
        transparent
    );

    color: #fff;
    padding: 20px;
}

/* badge */
.badge-news {
    display: inline-block;
    background: var(--dark-top-bar);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* judul */
.news-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
}

/* ================= SIDE LIST ================= */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* item */
.news-item {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--semi-top-bar);
    padding-bottom: 10px;
}

/* image kecil */
.news-item img {
    width: 95px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

/* badge kecil */
.badge-side {
    display: inline-block;
    background: var(--semi-top-bar);
    color: #fff;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 4px;
}

/* text */
.news-item p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

/* hover effect */
.news-item:hover {
    transform: translateX(5px);
    transition: 0.3s;
}


/* ================= SECTION ================= */
.profile-section {
    padding: 20px 0;
}

/* BOX UMUM */
.box-section{
    background: #fff;
    padding: 15px 15px 15px 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
}


/* ================= TITLE RIBBON ================= */
/* ================= TITLE RIBBON ================= */
.section-title-wrap{
    position: relative;
    display: inline-flex;
    align-items: stretch;
    margin-bottom: 10px;

    --title-bg: linear-gradient(
        90deg,
        var(--dark-top-bar),
        var(--semi-top-bar),
        var(--top-bar)
    );
    --accent-color: var(--top-bar);

    --cut-width: 20px;      /* panjang sudut ujung title */
    --accent-big: 16px;     /* garis aksen besar */
    --accent-small: 8px;    /* garis aksen kecil */
    --accent-gap: 8px;      /* jarak antar aksen */
    --skew-angle: 30deg;    /* sudut seragam */
}

/* ================= BADAN JUDUL LANGSUNG BERSUDUT ================= */
.section-title{
    position: relative;
    margin: 0;
    padding: 8px 28px 8px 18px; /* kanan agak lebih besar */
    background: var(--title-bg);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    overflow: visible;

    /* badan judul langsung punya sudut */
    clip-path: polygon(
        0 0,
        calc(100% - var(--cut-width)) 0,
        100% 100%,
        0 100%
    );
}

/* matikan style lama */
.section-title::before,
.section-title::after{
    content: none !important;
}


/* ================= judul box ================= */
.album-title{
    height: 48px;              /* tinggi 2 baris */
    line-height: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    text-align: center;
    font-weight: 600;
    margin-bottom: .5rem;
}

/* ================= AKSEN KANAN ================= */
.title-accent{
    position: relative;
    display: block;
    flex: 0 0 42px;
    min-height: 100%;
    margin-left: 1px; /* rapat dengan sudut title */
}

/* dua garis miring */
.title-accent::before,
.title-accent::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--accent-color);
    transform: skewX(var(--skew-angle));
    transform-origin: left;
}

/* garis besar */
.title-accent::before{
    left: 0;
    width: var(--accent-big);
}

/* garis kecil */
.title-accent::after{
    left: calc(var(--accent-big) + var(--accent-gap));
    width: var(--accent-small);
}


/* ================= FEATURE ================= */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    background: #f9fafb;
    transition: 0.3s;
    display:flex;
}

.feature-box i {
    font-size: 20px;
    color: var(--top-bar);
}

.feature-box h6 {
    margin: 0;
    font-weight: 600;
    color: var(--dark-top-bar);
}

.feature-box p {
    font-size: 13px;
    margin: 0;
}



.feature-image{
    height: 140px;
    width: auto;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-content{
    flex: 1;
}


/* hover */
.feature-box:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.03);
}

/* ================= WHY LIST ================= */
.why-list {
    list-style: none;
}

.why-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
    font-size: 14px;
}

/* hover */
.why-list:hover {
    transform: translateY(-5px);
    background: rgba(0,0,0,0.03);
}

/* ================= KEPSEK ================= */
.kepsek-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.kepsek-name {
    background: #f1f5f9;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.detail-judul{
    color: var(--dark-top-bar);
    font-weight: 700;
}


/* ================= BANNER ================= */
.banner-img {
    border-radius: 8px;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .feature-box {
        flex-direction: row;
    }

}


/* WRAPPER */
.scroll-wrapper {
    position: relative;
    width: 100%;
}

/* CONTAINER */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px 5px;
    scroll-snap-type: x mandatory;
}

/* hide scrollbar */
.scroll-container::-webkit-scrollbar {
    display: none;
}
.scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ================= GALERI ================= */
.card-item {
    min-width: 250px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    cursor: pointer;
}

.card-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-item .caption {
    padding: 12px;
    font-size: 14px;
    text-align: justify;    
    color: #333;
}

/* hover effect */
.card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-item:hover img {
    transform: scale(1.05);
}

/* ================= LINK ================= */
.link-item {
    min-width: 180px;
    flex: 0 0 auto;
    text-align: center;
    padding: 15px 10px;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    scroll-snap-align: center;
}

.link-item img {
    width: 70px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.link-item p {
    font-size: 14px;
    color: #444;
    margin: 0;
}

/* hover link */
.link-item:hover {
    background: #f8f9fa;
    transform: translateY(-4px);
}

.link-item:hover img {
    transform: scale(1.1);
}

/* ================= BUTTON ================= */
.scroll-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #0d6efd;
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.scroll-btn:hover {
    background: #0b5ed7;
    transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
    left: -10px;
}

.scroll-btn.right {
    right: -10px;
}




/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .hero-overlay h1 {
        font-size: 22px;
    }

    .hero-overlay h2 {
        font-size: 14px;
    }

    .news-main img {
        height: 250px;
    }

    .news-overlay h3 {
        font-size: 18px;
    }

    .news-item {
        flex-direction: row;
    }

    .card-item {
        min-width: 200px;
    }

    .link-item {
        min-width: 140px;
    }

    .scroll-btn {
        display: none; /* sembunyikan tombol di HP */
    }




}
</style>
