:root {
    --primary: #0d47a1;
    --secondary: #1b5e20;
    --accent: #fbc02d;

    --admin-primary: #dc2626;
    --admin-secondary: #f97316;
    --admin-dark: #0f172a;
    --admin-dark-2: #111827;
    --admin-dark-3: #1e293b;

    --light: #f8fafc;
    --dark: #0f172a;
    --text: #334155;
    --white: #ffffff;
    --muted: #64748b;
    --border: #e2e8f0;

    --glass-light: rgba(255, 255, 255, 0.72);
    --glass-strong: rgba(255, 255, 255, 0.82);
    --glass-dark: rgba(15, 23, 42, 0.45);

    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.10);
    --shadow-glass: 0 12px 40px rgba(0, 0, 0, 0.14);
    --shadow-admin: 0 10px 30px rgba(0, 0, 0, 0.18);

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;

    --transition: all 0.28s ease;
}

/* ===============================
   GLOBAL
================================= */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0d47a1, #1b5e20);
    background-size: 200% 200%;
    animation: gradientMove 18s ease infinite;
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    background-attachment: fixed;
}

section {
    position: relative;
    z-index: 1;
}

.container,
.container-fluid {
    position: relative;
    z-index: 2;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a {
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 30px;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -0.3px;
}

p {
    color: var(--text);
    line-height: 1.75;
}

.text-dark-glass {
    color: var(--dark) !important;
}

.text-light-glass {
    color: rgba(255,255,255,0.95) !important;
}

.text-muted-glass {
    color: rgba(255,255,255,0.75) !important;
}

/* ===============================
   GLASS SYSTEM
================================= */
.glass {
    background: var(--glass-light);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.glass-light {
    background: var(--glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    color: var(--dark);
    transition: var(--transition);
}

.glass-dark {
    background: var(--glass-dark);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glass);
    color: white;
}

.glass-dark h1,
.glass-dark h2,
.glass-dark h3,
.glass-dark h4,
.glass-dark h5,
.glass-dark p,
.glass-dark small,
.glass-dark li,
.glass-dark span {
    color: white !important;
}

.glass:hover,
.glass-light:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

/* ===============================
   NAVBAR
================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.72) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s ease;
    padding: 12px 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.86) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.3px;
    font-size: 1.05rem;
    color: white !important;
}

.navbar-brand img {
    object-fit: contain;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600;
    transition: 0.3s ease;
    margin: 0 6px;
    position: relative;
    border-radius: 999px;
    padding: 10px 14px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transform: scaleX(0);
    transition: 0.25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* ===============================
   HERO
================================= */
.hero-section {
    min-height: 95vh;
    background:
        linear-gradient(rgba(13,71,161,0.58), rgba(27,94,32,0.52)),
        url('../img/hero-school.svg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.3rem;
    font-weight: 900;
    line-height: 1.15;
    color: white;
    text-wrap: balance;
}

.hero-section p {
    font-size: 1.08rem;
    max-width: 760px;
    color: rgba(255,255,255,0.92);
}

.hero-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.16);
    position: relative;
    isolation: isolate;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    z-index: -1;
    border-radius: inherit;
}

.badge-school {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.22);
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    color: white;
}

/* ===============================
   PAGE BANNER
================================= */
.page-banner {
    padding: 120px 0 70px;
    background: linear-gradient(135deg, rgba(13,71,161,0.85), rgba(27,94,32,0.82));
    color: white;
    position: relative;
    backdrop-filter: blur(8px);
}

.page-banner h1,
.page-banner p {
    color: white !important;
}

/* ===============================
   BUTTON SYSTEM
================================= */
.btn {
    transition: all 0.25s ease !important;
}

.btn:focus,
.btn:active,
.btn:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.btn-main,
.btn-main:focus,
.btn-main:active {
    background: linear-gradient(135deg, #0d47a1, #1b5e20) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    transition: var(--transition) !important;
    box-shadow: 0 10px 24px rgba(13,71,161,0.22) !important;
    text-decoration: none !important;
}

.btn-main:hover {
    background: linear-gradient(135deg, #1565c0, #2e7d32) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-soft,
.btn-soft:focus,
.btn-soft:active {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none !important;
}

.btn-soft:hover {
    background: rgba(255,255,255,0.28) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-light,
.btn-outline-light:focus,
.btn-outline-light:active {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.7) !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.btn-outline-primary,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #0d47a1 !important;
    border-color: #0d47a1 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    background: rgba(255,255,255,0.8) !important;
}

.btn-outline-primary:hover {
    background: #0d47a1 !important;
    color: #ffffff !important;
    border-color: #0d47a1 !important;
}

.btn-success,
.btn-success:focus,
.btn-success:active {
    color: #ffffff !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}

a.btn,
button.btn {
    text-decoration: none !important;
}

/* ===============================
   EFFECTS
================================= */
.click-pop {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.click-pop:hover {
    transform: translateY(-3px) scale(1.03);
}

.click-pop:active {
    transform: scale(0.92);
}

.icon-bounce {
    display: inline-block;
    transition: transform 0.25s ease;
}

.btn:hover .icon-bounce,
.card-modern:hover .icon-bounce,
.icon-box:hover .icon-bounce,
.click-pop:hover .icon-bounce {
    animation: iconBounce 0.65s ease;
}

@keyframes iconBounce {
    0%   { transform: translateY(0) scale(1); }
    25%  { transform: translateY(-5px) scale(1.08); }
    50%  { transform: translateY(0) scale(1); }
    75%  { transform: translateY(-2px) scale(1.04); }
    100% { transform: translateY(0) scale(1); }
}

.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple-btn::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.45);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transition: transform 0.45s ease, opacity 0.6s ease;
}

.ripple-btn:active::after {
    transform: scale(16);
    opacity: 1;
    transition: 0s;
}

/* ===============================
   CARD
================================= */
.card-modern {
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.10);
    transition: var(--transition);
    height: 100%;
    color: var(--dark);
    position: relative;
    will-change: transform;
    transform: translateZ(0);
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.card-modern::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.04), rgba(27,94,32,0.03));
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.card-modern:hover::before {
    opacity: 1;
}

.card-modern > * {
    position: relative;
    z-index: 1;
}

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

.card-modern h1,
.card-modern h2,
.card-modern h3,
.card-modern h4,
.card-modern h5,
.card-modern h6,
.card-modern p,
.card-modern span,
.card-modern small {
    color: var(--dark);
}

/* ===============================
   ICON / STATS
================================= */
.icon-box {
    width: 74px;
    height: 74px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 16px;
    box-shadow: 0 12px 28px rgba(13,71,161,0.25);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: pointer;
}

.icon-box:hover {
    transform: translateY(-6px) rotate(-2deg) scale(1.03);
    box-shadow: 0 18px 35px rgba(13,71,161,0.30);
}

.stat-box {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.35);
}

.stat-box h2 {
    font-size: 2.4rem;
}

/* ===============================
   FORM
================================= */
.form-control,
.form-select,
textarea {
    border-radius: 16px !important;
    padding: 13px 15px !important;
    border: 1px solid #dbe2ea !important;
    background: rgba(255,255,255,0.94) !important;
    color: var(--dark) !important;
    box-shadow: none !important;
    min-height: 50px;
    transition: all 0.22s ease !important;
}

textarea.form-control {
    min-height: 120px;
}

.form-control::placeholder,
textarea::placeholder {
    color: #64748b !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.22rem rgba(13, 71, 161, 0.14) !important;
    background: white !important;
    color: var(--dark) !important;
}

label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

/* ===============================
   TABLE
================================= */
.table-modern {
    background: rgba(255,255,255,0.92);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* ===============================
   PAGINATION
================================= */
.pagination {
    gap: 6px;
    flex-wrap: wrap;
}

.pagination .page-link,
.custom-pagination .page-link {
    border: none !important;
    margin: 0 4px;
    border-radius: 12px !important;
    padding: 10px 16px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
    transition: var(--transition);
    min-width: 42px;
    text-align: center;
}

.pagination .page-item.active .page-link,
.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
}

.pagination .page-link:hover,
.custom-pagination .page-link:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: var(--primary);
}

/* ===============================
   HERO SLIDER
================================= */
.hero-slider {
    position: relative;
}

.hero-slide-img {
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 0.4s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.hero-slide-img:hover {
    transform: scale(1.01);
}

.hero-slider .carousel-inner {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 42px;
    height: 42px;
    background: rgba(0,0,0,0.28);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    margin: 0 12px;
    backdrop-filter: blur(10px);
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(0,0,0,0.45);
}

.hero-slider .carousel-indicators {
    position: absolute;
    bottom: 12px;
    margin-bottom: 0;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    border: none;
    margin: 0 5px;
}

.hero-slider .carousel-indicators .active {
    background: #ffffff;
}

/* ===============================
   GALERI SLIDER PREMIUM
================================= */
.galeri-slider {
    position: relative;
}

.galeri-slide-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.galeri-slide-img {
    height: 460px;
    object-fit: cover;
    transition: transform 0.6s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.galeri-slide-card:hover .galeri-slide-img {
    transform: scale(1.04);
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.15), transparent);
    z-index: 1;
}

.galeri-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: white;
}

.galeri-caption h4 {
    color: white !important;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.galeri-slider .carousel-inner {
    border-radius: 26px;
    overflow: hidden;
}

.galeri-slider-btn {
    width: 46px !important;
    height: 46px !important;
    background: rgba(255,255,255,0.16) !important;
    border-radius: 50% !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0 14px;
    border: 1px solid rgba(255,255,255,0.18);
    transition: all 0.25s ease;
}

.galeri-slider-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.galeri-slider-indicators {
    bottom: 16px !important;
    margin-bottom: 0 !important;
}

.galeri-slider-indicators [data-bs-target] {
    width: 11px !important;
    height: 11px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.72) !important;
    border: none !important;
    margin: 0 5px !important;
    transition: all 0.25s ease;
}

.galeri-slider-indicators .active {
    background: #ffffff !important;
    transform: scale(1.15);
}

/* ===============================
   BERITA
================================= */
.berita-content {
    font-size: 1.08rem;
    line-height: 2;
    color: var(--text);
}

.berita-content p {
    margin-bottom: 22px;
}

.berita-content img {
    max-width: 100%;
    border-radius: 20px;
    margin: 24px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.berita-content h1,
.berita-content h2,
.berita-content h3,
.berita-content h4,
.berita-content h5,
.berita-content h6 {
    margin-top: 30px;
    margin-bottom: 16px;
    font-weight: 800;
    color: var(--dark);
}

.berita-card-premium {
    border-radius: 28px;
}

.berita-card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
}

.berita-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.berita-card-premium:hover .berita-card-img {
    transform: scale(1.06);
}

.berita-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.18);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    z-index: 3;
}

.berita-card-title {
    font-size: 1.08rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.berita-card-text {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.8;
}

/* DETAIL BERITA */
.berita-hero-section {
    padding: 120px 0 50px;
    overflow: hidden;
}

.berita-hero-card {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 30px;
    padding: 36px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    position: relative;
    isolation: isolate;
}

.berita-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    z-index: -1;
    border-radius: inherit;
}

.berita-breadcrumb {
    background: transparent;
    padding: 0;
}

.berita-breadcrumb .breadcrumb-item,
.berita-breadcrumb .breadcrumb-item a,
.berita-breadcrumb a {
    color: rgba(255,255,255,0.88);
    font-weight: 500;
    text-decoration: none;
}

.berita-breadcrumb .breadcrumb-item.active,
.berita-breadcrumb .active {
    color: #ffffff;
    font-weight: 700;
}

.berita-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.55);
}

.berita-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.berita-badge {
    background: rgba(255,255,255,0.16);
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.20);
}

.berita-date-chip {
    background: rgba(255,255,255,0.12);
    color: white;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.16);
}

.berita-judul-main {
    font-size: 2.7rem;
    line-height: 1.2;
    color: white !important;
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.berita-subinfo {
    color: rgba(255,255,255,0.88) !important;
    font-size: 1.05rem;
    max-width: 780px;
}

.berita-main-card {
    border-radius: 28px;
}

.berita-featured-image-wrap {
    position: relative;
    overflow: hidden;
}

.berita-featured-image {
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.berita-featured-image:hover {
    transform: scale(1.02);
}

.berita-article-meta {
    margin-bottom: 24px;
}

.meta-pill {
    background: rgba(13,71,161,0.06);
    border: 1px solid rgba(13,71,161,0.08);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
}

.berita-action-buttons .btn {
    min-width: 180px;
}

.mini-label {
    font-size: 12px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6px 12px;
    border-radius: 999px;
}

/* SIDEBAR BERITA */
.berita-sidebar,
.berita-sidebar-equal {
    top: 120px !important;
    z-index: 10;
    width: 100%;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 28px;
    scroll-behavior: smooth;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.berita-sidebar::-webkit-scrollbar,
.berita-sidebar-equal::-webkit-scrollbar {
    width: 6px;
}

.berita-sidebar::-webkit-scrollbar-thumb,
.berita-sidebar-equal::-webkit-scrollbar-thumb {
    background: rgba(13, 71, 161, 0.25);
    border-radius: 999px;
}

.berita-mini-item {
    padding: 12px;
    border-radius: 20px;
    transition: all 0.28s ease;
    align-items: center !important;
    gap: 14px !important;
    border: 1px solid transparent;
    background: rgba(255,255,255,0.35);
    min-height: 102px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
}

.berita-mini-item:hover {
    background: rgba(13,71,161,0.05);
    transform: translateY(-2px);
    border-color: rgba(13,71,161,0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.berita-mini-thumb {
    width: 112px;
    height: 82px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #f1f5f9;
}

.berita-mini-item:hover .berita-mini-thumb {
    transform: scale(1.05);
    box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.berita-mini-item > div:last-child {
    flex: 1;
    min-width: 0;
}

.berita-mini-item h6 {
    font-size: 0.96rem;
    line-height: 1.45;
    margin-bottom: 6px !important;
    font-weight: 800;
    color: var(--dark) !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.berita-mini-item small {
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    color: var(--muted) !important;
    line-height: 1.4;
}

/* ===============================
   PROFIL SEKOLAH
================================= */
.profil-card-premium {
    border-radius: 28px;
    overflow: hidden;
}

.profil-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profil-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(13,71,161,0.04);
    border: 1px solid rgba(13,71,161,0.06);
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.profil-info-item:hover {
    transform: translateY(-2px);
    background: rgba(13,71,161,0.06);
    box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}

.profil-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(13,71,161,0.18);
}

.profil-info-item small {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.profil-info-item h6 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--dark);
}

.profil-section-box {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(13,71,161,0.06);
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.profil-section-box p {
    font-size: 1rem;
    line-height: 1.95;
    color: var(--text);
}

/* ===============================
   GALERI SEKOLAH
================================= */
.galeri-card-premium {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.galeri-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.galeri-img-premium {
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.galeri-card-premium:hover .galeri-img-premium {
    transform: scale(1.08);
}

.galeri-overlay-premium {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15), transparent);
    z-index: 1;
}

.galeri-caption-premium {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    color: white;
}

.galeri-caption-premium h5 {
    color: white !important;
    font-size: 1.15rem;
    line-height: 1.45;
    text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

.galeri-badge-mini {
    display: inline-block;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.16);
    color: white;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===============================
   JURUSAN
================================= */
.jurusan-card-premium {
    border-radius: 28px;
    overflow: hidden;
}

.jurusan-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.jurusan-img-premium {
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    image-rendering: auto;
    backface-visibility: hidden;
}

.jurusan-card-premium:hover .jurusan-img-premium {
    transform: scale(1.08);
}

.jurusan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}

.jurusan-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    color: white;
}

.jurusan-caption h5 {
    color: white !important;
    font-size: 1.2rem;
}

.jurusan-badge {
    display: inline-block;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    color: white;
}

.jurusan-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===============================
   KONTAK
================================= */
.kontak-card-premium {
    border-radius: 28px;
}

.kontak-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kontak-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(13,71,161,0.05);
    border: 1px solid rgba(13,71,161,0.06);
    transition: 0.25s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.kontak-item:hover {
    transform: translateY(-2px);
    background: rgba(13,71,161,0.08);
}

.kontak-icon {
    width: 45px;
    min-width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.kontak-item small {
    font-size: 0.8rem;
    color: var(--muted);
    display: block;
    margin-bottom: 4px;
}

.kontak-item h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
}

.kontak-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 320px;
}

.kontak-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===============================
   PENGUMUMAN
================================= */
.pengumuman-card-premium {
    border-radius: 30px;
}

.pengumuman-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(13,71,161,0.18);
}

.pengumuman-header h2 {
    font-size: 2rem;
}

.pengumuman-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.pengumuman-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pengumuman-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(13,71,161,0.05);
    border: 1px solid rgba(13,71,161,0.06);
    transition: all 0.25s ease;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pengumuman-item:hover {
    transform: translateY(-2px);
    background: rgba(13,71,161,0.08);
    box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}

.pengumuman-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(13,71,161,0.18);
}

.pengumuman-item small {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 4px;
}

.pengumuman-item h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.5;
}

.pengumuman-badge-status {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(13,71,161,0.08);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ===============================
   LOGIN
================================= */
.logo-wrapper {
    width: 92px;
    height: 92px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    border: 3px solid rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
}

.logo-wrapper img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

/* ===============================
   ADMIN PREMIUM
================================= */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--admin-dark), var(--admin-dark-2), var(--admin-dark-3));
    color: white;
    border-radius: 0 24px 24px 0;
    box-shadow: var(--shadow-admin);
    position: sticky;
    top: 0;
    z-index: 100;
    padding-top: 24px !important;
}

.admin-sidebar .brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.admin-sidebar .brand-box img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    padding: 6px;
}

.admin-sidebar .brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: white;
}

.admin-sidebar .brand-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,.65);
    margin: 0;
}

.admin-sidebar .user-box {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
}

.admin-sidebar .role-badge {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
    border: 1px solid rgba(255,255,255,.08);
}

.admin-sidebar h1,
.admin-sidebar h2,
.admin-sidebar h3,
.admin-sidebar h4,
.admin-sidebar h5,
.admin-sidebar p,
.admin-sidebar span {
    color: white !important;
}

.admin-sidebar a {
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
    font-weight: 500;
}

.admin-sidebar a i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: linear-gradient(90deg, rgba(220,38,38,.18), rgba(245,158,11,.14));
    color: #fff !important;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.15);
}

.admin-main {
    padding: 24px;
}

.admin-topbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: var(--shadow-soft);
    border-radius: 22px;
    padding: 18px 22px;
    margin-bottom: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.admin-topbar h5 {
    margin: 0;
    font-weight: 700;
    color: var(--admin-dark);
}

.admin-topbar p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.top-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    background: white;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--admin-dark);
}

.top-icon-btn:hover {
    transform: translateY(-2px);
    background: #fff7ed;
}

.account-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 999px;
    padding: 8px 14px;
    box-shadow: var(--shadow-soft);
}

.account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.admin-card {
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 22px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.admin-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.stat-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 24px;
    color: white;
    min-height: 150px;
    box-shadow: var(--shadow-soft);
}

.stat-card::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-card p {
    margin: 0;
    opacity: .95;
    font-weight: 500;
    color: white;
}

.stat-red { background: linear-gradient(135deg, #dc2626, #f97316); }
.stat-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.stat-green { background: linear-gradient(135deg, #059669, #10b981); }
.stat-yellow { background: linear-gradient(135deg, #d97706, #f59e0b); }

.admin-main .btn-main,
.admin-card .btn-main {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary)) !important;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.18) !important;
}

.admin-main .btn-main:hover,
.admin-card .btn-main:hover {
    background: linear-gradient(135deg, #b91c1c, #ea580c) !important;
}

.admin-main .table-hover tbody tr:hover {
    background: rgba(220, 38, 38, 0.03);
}

.admin-main .form-control:focus,
.admin-main .form-select:focus,
.admin-main textarea:focus {
    border-color: rgba(220,38,38,.4) !important;
    box-shadow: 0 0 0 4px rgba(220,38,38,.08) !important;
}

/* ===============================
   CHAT / FLOAT
================================= */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.95);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
    z-index: 1090;
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    color: white;
}

.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1100;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #0d47a1, #1b5e20);
    color: white;
    font-size: 24px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.05);
}

.chat-box {
    width: 340px;
    max-width: 90vw;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    position: absolute;
    bottom: 75px;
    right: 0;
    display: none;
    animation: fadeUp 0.25s ease;
}

.chat-box.show {
    display: block;
}

.chat-header {
    background: linear-gradient(135deg, #0d47a1, #1b5e20);
    color: white;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.chat-body {
    padding: 18px;
}

.chat-bubble {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 85%;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.chat-bubble.admin {
    background: #f1f5f9;
    color: #0f172a;
    border-top-left-radius: 6px;
}

.chat-options .form-control {
    border-radius: 14px !important;
}

/* ===============================
   FOOTER
================================= */
.footer {
    background: linear-gradient(135deg, rgba(15,23,42,0.92), rgba(30,41,59,0.92));
    color: white;
    padding: 60px 0 20px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.06), transparent 35%);
    pointer-events: none;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer p,
.footer small,
.footer li,
.footer span {
    color: white !important;
}

.footer a {
    color: #cbd5e1;
}

.footer a:hover {
    color: white;
}

/* ===============================
   ANIMATION
================================= */
.animate-fade-up {
    animation: fadeUp 0.8s ease both;
}

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

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
    .hero-section {
        min-height: 85vh;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-slide-img {
        height: 300px;
    }

    .galeri-slide-img {
        height: 360px;
    }

    .galeri-img-premium {
        height: 250px;
    }

    .berita-sidebar,
    .berita-sidebar-equal {
        top: 95px !important;
        max-height: calc(100vh - 110px);
    }

    .berita-mini-thumb {
        width: 100px;
        height: 76px;
    }

    .berita-judul-main {
        font-size: 2.2rem;
    }

    .profil-info-item {
        padding: 14px;
    }

    .profil-section-box {
        padding: 20px;
    }

    .admin-sidebar {
        min-height: auto;
        border-radius: 0 0 24px 24px;
        position: relative;
    }

    .admin-main {
        padding: 18px;
    }

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

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 14px;
        border-radius: 20px;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .navbar .nav-link {
        margin: 4px 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0 !important;
    }

    .hero-section {
        min-height: 78vh;
    }

    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.28 !important;
    }

    .navbar-brand span {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card-modern {
        border-radius: 22px;
    }

    .card-modern img {
        height: 200px;
        border-radius: 22px 22px 0 0;
    }

    .hero-card,
    .berita-hero-card {
        padding: 24px !important;
        border-radius: 24px !important;
    }

    .berita-hero-section {
        padding: 105px 0 35px;
    }

    .berita-judul-main {
        font-size: 1.8rem !important;
    }

    .berita-subinfo {
        font-size: 0.98rem;
    }

    .berita-featured-image {
        max-height: 300px;
    }

    .berita-action-buttons .btn {
        width: 100%;
    }

    .berita-sidebar,
    .berita-sidebar-equal {
        position: relative !important;
        top: 0 !important;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        margin-top: 10px;
    }

    .berita-mini-item {
        min-height: auto;
    }

    .berita-mini-thumb {
        width: 96px;
        height: 72px;
    }

    .berita-mini-item h6 {
        font-size: 0.93rem;
    }

    .galeri-slide-img {
        height: 280px;
    }

    .galeri-caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .galeri-caption h4 {
        font-size: 1.2rem;
    }

    .galeri-img-premium {
        height: 220px;
    }

    .galeri-caption-premium {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .galeri-caption-premium h5 {
        font-size: 1rem;
    }

    .profil-info-item {
        gap: 14px;
    }

    .profil-info-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        border-radius: 14px;
    }

    .profil-section-box {
        padding: 18px;
        border-radius: 18px;
    }

    .pengumuman-header h2 {
        font-size: 1.5rem !important;
    }

    .pengumuman-text {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .pengumuman-item {
        padding: 14px 16px;
        border-radius: 18px;
    }

    .pengumuman-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .logo-wrapper {
        width: 84px;
        height: 84px;
    }
}

@media (max-width: 576px) {
    body {
        background-size: 260% 260%;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-section h1,
    .berita-judul-main {
        font-size: 1.55rem !important;
        line-height: 1.3;
    }

    .chat-box {
        width: 300px;
        right: -5px;
    }

    .chat-toggle {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .hero-slide-img {
        height: 220px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 36px;
        height: 36px;
    }

    .galeri-slide-img {
        height: 220px;
    }

    .galeri-slider-btn {
        width: 38px !important;
        height: 38px !important;
    }

    .galeri-caption h4 {
        font-size: 1rem;
    }

    .galeri-img-premium {
        height: 210px;
    }

    .galeri-badge-mini {
        font-size: 12px;
        padding: 6px 10px;
    }

    .berita-meta-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .meta-pill,
    .berita-badge,
    .berita-date-chip {
        width: 100%;
    }

    .berita-mini-item {
        padding: 10px;
        gap: 12px !important;
        border-radius: 18px;
    }

    .berita-mini-thumb {
        width: 82px;
        height: 64px;
        border-radius: 14px;
    }

    .berita-mini-item h6 {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .berita-mini-item small {
        font-size: 0.78rem;
    }

    .profil-info-item {
        padding: 12px;
        border-radius: 18px;
    }

    .profil-info-item h6 {
        font-size: 0.95rem;
    }

    .profil-section-box p {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    .pengumuman-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .pengumuman-badge-status {
        align-self: flex-start;
    }

    .admin-sidebar {
        padding: 18px !important;
    }

    .admin-topbar {
        padding: 16px;
        border-radius: 18px;
    }

    .account-pill {
        padding: 6px 10px;
    }

    .account-avatar {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .top-icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .stat-card {
        min-height: 130px;
    }
}
/* =========================================
   HERO CEK KELULUSAN - MODEL DETAIL BERITA
========================================= */
.hero-glass-section {
    padding: 120px 0 70px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d4d8b 0%, #0c6c73 100%);
}

.hero-glass-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255,255,255,0.06), transparent 28%);
    pointer-events: none;
    z-index: 1;
}

.hero-glass-section .container {
    position: relative;
    z-index: 2;
}

.hero-glass-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 42px;
    padding: 48px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.10);
    position: relative;
    overflow: hidden;
}

.hero-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border-radius: inherit;
    z-index: -1;
}

/* ===============================
   BREADCRUMB
================================= */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    font-size: 0.98rem;
}

.hero-breadcrumb a,
.hero-breadcrumb span {
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    text-decoration: none;
}

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

/* ===============================
   CHIPS
================================= */
.hero-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    color: white;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ===============================
   TITLE & SUBTITLE
================================= */
.hero-title {
    font-size: 4rem;
    line-height: 1.12;
    font-weight: 900;
    color: white !important;
    margin-top: 26px;
    margin-bottom: 24px;
    letter-spacing: -1px;
    max-width: 1050px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.90) !important;
    max-width: 900px;
    margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.3rem;
    }
}

@media (max-width: 992px) {
    .hero-glass-card {
        padding: 36px;
        border-radius: 32px;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-chip {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-glass-section {
        padding: 105px 0 55px;
    }

    .hero-glass-card {
        padding: 28px;
        border-radius: 28px;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
        margin-top: 20px;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hero-breadcrumb {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-chip {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-glass-section {
        padding: 95px 0 45px;
    }

    .hero-glass-card {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.28;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-chip {
        width: 100%;
        justify-content: center;
    }
}