/* =============================================
   SDN Neglasari 01 - Main Stylesheet
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Fredoka+One&family=Poppins:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --blue-dark: #0D47A1;
    --blue-primary: #1565C0;
    --blue-medium: #1976D2;
    --blue-light: #42A5F5;
    --blue-pastel: #E3F2FD;
    --blue-pastel2: #BBDEFB;

    --orange-primary: #FF9800;
    --orange-light: #FFB74D;
    --orange-bright: #FFC107;
    --orange-pastel: #FFF3E0;
    --orange-dark: #F57C00;

    --putih: #FFFFFF;
    --abu-ringan: #F5F5F5;
    --abu: #9E9E9E;
    --teks-gelap: #1A1A2E;
    --teks-medium: #424242;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-blue: 0 4px 20px rgba(21, 101, 192, 0.3);
    --shadow-orange: 0 4px 20px rgba(255, 152, 0, 0.4);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--teks-gelap);
    background: var(--putih);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Fredoka One', cursive;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

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

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

ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--blue-pastel); }
::-webkit-scrollbar-thumb { background: var(--blue-medium); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-primary); }

/* ===== LOADER ===== */
.page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-star {
    font-size: 3rem;
    animation: loaderSpin 1s linear infinite;
    display: block;
    margin-bottom: 16px;
}

.loader-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 99px;
    margin: 12px auto 0;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--orange-primary);
    border-radius: 99px;
    animation: loaderBar 1.5s ease-in-out forwards;
}

@keyframes loaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderBar {
    from { width: 0; }
    to { width: 100%; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-slow);
    padding: 0;
}

.navbar.scrolled {
    background: rgba(13, 71, 161, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-logo:hover { transform: scale(1.1); }

.nav-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-brand-text { color: white; }

.nav-brand-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.15rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.nav-brand-sub {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    background: rgba(255,255,255,0.2);
}     

.nav-link.active {
    background: var(--orange-primary);
    color: white;
}

.nav-cta {
    background: var(--orange-primary);
    color: white !important;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-orange);
}

.nav-cta:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 152, 0, 0.5);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover { background: rgba(255,255,255,0.15); }

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--blue-medium) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
}

.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 152, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(66, 165, 245, 0.15) 0%, transparent 40%);
}

/* Gambar asli */
.about-img-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

/* Placeholder (sudah ada) */
.about-img-placeholder {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--blue-pastel2), var(--blue-medium));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}

/* Animated floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px; height: 300px;
    background: var(--orange-primary);
    top: -100px; right: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px; height: 200px;
    background: var(--orange-light);
    bottom: 10%; left: -60px;
    animation-delay: -2s;
}

.shape-3 {
    width: 150px; height: 150px;
    background: white;
    top: 30%; right: 20%;
    animation-delay: -4s;
}

.shape-4 {
    width: 80px; height: 80px;
    background: var(--orange-primary);
    top: 60%; right: 10%;
    animation-delay: -1s;
    border-radius: var(--radius-md);
}

.shape-5 {
    width: 60px; height: 60px;
    background: white;
    top: 20%; left: 20%;
    animation-delay: -3s;
    border-radius: var(--radius-md);
    transform: rotate(45deg);
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { color: white; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 152, 0, 0.25);
    border: 1.5px solid rgba(255, 152, 0, 0.5);
    color: var(--orange-bright);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease 0.4s both;
}

.hero-title-accent {
    color: var(--orange-primary);
    display: block;
    text-shadow: 0 2px 20px rgba(255, 152, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.05rem;
    opacity: 0.88;
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInDown 0.8s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInDown 0.8s ease 0.8s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-primary);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 30px rgba(255, 152, 0, 0.5);
    transition: var(--transition);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 152, 0, 0.6);
    background: var(--orange-light);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 44px;
    animation: fadeInDown 0.8s ease 1s both;
}

.hero-stat-item { text-align: center; }

.hero-stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--orange-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    opacity: 0.75;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.25);
    align-self: stretch;
}

/* Hero image / character */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.5s both;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.hero-main-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-card-emoji { font-size: 5rem; margin-bottom: 16px; animation: bounce 2s ease-in-out infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-card-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hero-card-sub { opacity: 0.8; font-size: 0.9rem; }

.hero-floating-badge {
    position: absolute;
    background: white;
    border-radius: var(--radius-md);
    padding: 10px 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--teks-gelap);
    font-size: 0.82rem;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-floating-badge .badge-icon { font-size: 1.5rem; }

.fb-1 { top: -20px; left: -30px; animation-delay: 0s; }
.fb-2 { bottom: -15px; right: -25px; animation-delay: -2s; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 5;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,152,0,0.15), transparent 70%);
    border-radius: 50%;
}

.page-header-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.page-header-breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.page-header-breadcrumb a {
    color: var(--orange-primary);
    transition: var(--transition);
}

.page-header-breadcrumb a:hover {
    color: var(--orange-light);
}

/* ===== PAGE HEADER MINI (untuk halaman tanpa hero) ===== */
.page-header-mini {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 120px 0 60px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header-mini::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,152,0,0.2), transparent 70%);
    border-radius: 50%;
}

.page-header-mini-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ===== QUICK LINK CARDS ===== */
.quick-link-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-pastel2);
}

.qlc-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.qlc-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
}

.qlc-desc {
    color: var(--teks-medium);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ===== SECTION COMMONS ===== */
.section {
    padding: 100px 0;
}

.section-alt { background: var(--abu-ringan); }
.section-green { background: var(--blue-primary); }
.section-green-light { background: var(--blue-pastel); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange-pastel);
    border: 2px solid var(--orange-primary);
    color: var(--orange-dark);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--teks-gelap);
    margin-bottom: 16px;
}

.section-title span { color: var(--blue-primary); }

.section-desc {
    color: var(--teks-medium);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-left.animated,
.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-block {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    width: 100%;
    height: 480px;
    background: linear-gradient(135deg, var(--blue-pastel2), var(--blue-medium));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}

.about-img-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-badge-num {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: var(--blue-primary);
    line-height: 1;
}

.about-badge-label {
    font-size: 0.75rem;
    color: var(--abu);
    font-weight: 700;
}

.about-sticker {
    position: absolute;
    top: 20px;
    left: -15px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    padding: 12px;
    font-size: 1.8rem;
    box-shadow: var(--shadow-orange);
    animation: floatShape 4s ease-in-out infinite;
}

.about-content {}

.about-content .section-badge { margin-bottom: 12px; }

.about-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.about-desc {
    color: var(--teks-medium);
    line-height: 1.9;
    margin-bottom: 28px;
    font-size: 0.97rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-pastel);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.highlight-icon { font-size: 1.4rem; }

.highlight-text {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--blue-dark);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue-primary);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-blue);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46,125,50,0.45);
}

/* ===== VISI MISI ===== */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vm-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.vm-card-visi {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
    color: white;
}

.vm-card-misi {
    background: white;
    border: 2px solid var(--blue-pastel2);
    box-shadow: var(--shadow-md);
}

.vm-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.vm-card-visi .vm-icon {
    background: rgba(255,255,255,0.2);
}

.vm-card-misi .vm-icon {
    background: var(--blue-pastel);
}

.vm-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.vm-card-misi .vm-title { color: var(--blue-dark); }

.vm-text {
    font-size: 0.97rem;
    line-height: 1.9;
    opacity: 0.92;
}

.vm-card-misi .vm-text { color: var(--teks-medium); }

.misi-list {
    space-y: 12px;
}

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

.misi-item:last-child { border-bottom: none; }

.misi-num {
    width: 28px;
    height: 28px;
    background: var(--blue-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.misi-text {
    color: var(--teks-medium);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* ===== KEPALA SEKOLAH ===== */
.kepsek-section {
    background: var(--blue-pastel);
    position: relative;
    overflow: hidden;
}

.kepsek-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249,168,37,0.1), transparent 70%);
    border-radius: 50%;
}

.kepsek-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}

.kepsek-photo-wrap {
    position: relative;
}

.kepsek-photo {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.kepsek-photo-placeholder {
    width: 100%;
    height: 460px;
    background: linear-gradient(135deg, var(--blue-pastel2), var(--blue-medium));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.kepsek-badge-wrap {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-primary);
    border-radius: var(--radius-full);
    padding: 10px 24px;
    white-space: nowrap;
    box-shadow: var(--shadow-orange);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--blue-dark);
    font-size: 0.85rem;
}

.kepsek-content {}

.kepsek-content .section-badge { margin-bottom: 12px; }

.kepsek-name {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: var(--blue-dark);
    margin-bottom: 6px;
}

.kepsek-nip {
    color: var(--abu);
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.kepsek-edu {
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 28px;
}

.kepsek-quote {
    background: white;
    border-left: 4px solid var(--orange-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.kepsek-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--orange-primary);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.6;
}

.kepsek-quote-text {
    color: var(--teks-medium);
    font-style: italic;
    line-height: 1.8;
    font-size: 0.96rem;
}

.kepsek-periode {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-primary);
    font-weight: 700;
    font-size: 0.88rem;
    background: var(--blue-pastel2);
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

/* ===== PROGRAM ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-color, var(--blue-primary));
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--card-color, var(--blue-pastel2));
}

.program-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--card-bg, var(--blue-pastel));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.program-card:hover .program-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.program-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.2rem;
    color: var(--teks-gelap);
    margin-bottom: 10px;
}

.program-desc {
    color: var(--teks-medium);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ===== GALERI ===== */
.galeri-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    border: 2px solid var(--blue-pastel2);
    background: white;
    color: var(--teks-medium);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galeri-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.galeri-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.galeri-item:first-child,
.galeri-item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.galeri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-item:hover .galeri-img { transform: scale(1.05); }

.galeri-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--blue-pastel), var(--blue-pastel2));
    color: var(--blue-primary);
}

.galeri-placeholder-text {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.7;
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,94,32,0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.galeri-item:hover .galeri-overlay { opacity: 1; }

.galeri-caption { color: white; }

.galeri-cat {
    font-size: 0.73rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange-bright);
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.galeri-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    line-height: 1.3;
}

/* ===== KONTAK ===== */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.kontak-info {}

.kontak-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.kontak-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
    transition: var(--transition);
}

.kontak-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

.kontak-icon-wrap {
    width: 48px; height: 48px;
    background: var(--blue-pastel);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.kontak-label {
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--abu);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.kontak-value {
    color: var(--teks-gelap);
    font-weight: 600;
    font-size: 0.95rem;
}

.sosmed-section {}

.sosmed-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 14px;
}

.sosmed-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sosmed-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid var(--blue-pastel2);
    color: var(--teks-medium);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.sosmed-link:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    transform: translateY(-2px);
}

/* Contact Form */
.kontak-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--blue-pastel2);
}

.form-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: var(--blue-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--teks-gelap);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    border: 2px solid var(--blue-pastel2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--teks-gelap);
    background: var(--abu-ringan);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--blue-medium);
    background: white;
    box-shadow: 0 0 0 4px rgba(66, 186, 71, 0.1);
}

.form-textarea { resize: vertical; min-height: 130px; }

.btn-submit {
    width: 100%;
    background: var(--blue-primary);
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-blue);
}

.btn-submit:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,125,50,0.4);
}

/* ===== STATS BANNER ===== */
.stats-banner {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-icon { font-size: 2.5rem; margin-bottom: 12px; }

.stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2.8rem;
    color: var(--orange-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.88rem;
    opacity: 0.85;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===== MAP SECTION ===== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--blue-dark);
    color: white;
    padding: 72px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,168,37,0.08), transparent 70%);
    border-radius: 50%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px; height: 50px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.footer-logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    line-height: 1.2;
}

.footer-logo-sub { font-size: 0.72rem; opacity: 0.7; }

.footer-desc {
    opacity: 0.75;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-sosmed {
    display: flex;
    gap: 10px;
}

.footer-sosmed-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-sosmed-link:hover {
    background: var(--orange-primary);
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--orange-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: white;
    padding-left: 4px;
}

.footer-link::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}

.fc-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

.footer-copyright span { color: var(--orange-primary); }

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-link {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-link:hover { color: white; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    background: var(--blue-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-blue);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-dark);
    transform: translateY(-4px);
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    top: 100px;
    right: 24px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--blue-primary);
    z-index: 9999;
    max-width: 320px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show { transform: translateX(0); }

.toast-success { border-color: var(--blue-primary); }
.toast-error { border-color: #F44336; }

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-icon { font-size: 1.4rem; }
.toast-msg { font-weight: 700; font-size: 0.92rem; color: var(--teks-gelap); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== DROPDOWN MENU (Informasi Only) ===== */
.nav-item {
    position: relative;
}

/* Dropdown toggle indicator */
.nav-link-dropdown::after {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link-dropdown::after {
    transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    border: 1px solid var(--blue-pastel2);
    list-style: none;
}

/* Arrow pointer */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-left: 1px solid var(--blue-pastel2);
    border-top: 1px solid var(--blue-pastel2);
}

/* Show dropdown on hover (desktop) */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--teks-medium);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--blue-pastel);
    color: var(--blue-dark);
}

.dropdown-item.active {
    background: var(--blue-pastel);
    color: var(--blue-primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--blue-pastel2);
    margin: 8px 0;
}

/* ===== MOBILE DROPDOWN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: var(--blue-dark);
        flex-direction: column;
        padding: 16px;
        gap: 2px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-slow);
        border-top: 2px solid rgba(255,255,255,0.1);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    
    .nav-link-dropdown::after {
        margin-left: auto;
    }
    
    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: rgba(255,255,255,0.08);
        box-shadow: none;
        border: none;
        border-radius: var(--radius-sm);
        margin-top: 4px;
        min-width: 100%;
        padding: 4px;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu.open {
        display: block;
    }
    
    .dropdown-item {
        color: rgba(255,255,255,0.85);
        padding: 10px 16px 10px 32px;
    }
    
    .dropdown-item:hover,
    .dropdown-item.active {
        background: rgba(255,255,255,0.15);
        color: white;
    }
    
    .dropdown-divider {
        background: rgba(255,255,255,0.1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-subtitle { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; }
    .about-image-block { order: -1; }
    .about-content .section-title { text-align: center; }
    .about-content .section-badge { justify-content: center; }

    .visi-misi-grid { grid-template-columns: 1fr; }
    .kepsek-grid { grid-template-columns: 1fr; }
    .kepsek-photo-wrap { max-width: 340px; margin: 0 auto; }

    .program-grid { grid-template-columns: 1fr 1fr; }
    .galeri-grid { grid-template-columns: 1fr 1fr; }
    .galeri-item:first-child, .galeri-item:nth-child(4) { grid-column: span 2; }

    .stats-banner-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .kontak-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: var(--blue-dark);
        flex-direction: column;
        padding: 24px 16px;
        gap: 6px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-slow);
        border-top: 2px solid rgba(255,255,255,0.1);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-link { width: 100%; text-align: center; padding: 12px; }
    .nav-toggle { display: flex; }

    .section { padding: 70px 0; }

    .program-grid { grid-template-columns: 1fr; }
    .galeri-grid { grid-template-columns: 1fr; }
    .galeri-item:first-child, .galeri-item:nth-child(4) { grid-column: span 1; }

    .about-highlights { grid-template-columns: 1fr; }

    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .vm-card { padding: 28px 24px; }
    .kepsek-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .stats-banner-grid { grid-template-columns: 1fr 1fr; }
    .section-title { font-size: 1.6rem; }
    .nav-container { padding: 0 16px; }
    .nav-brand-name { font-size: 0.95rem; }
    .hero-title { font-size: 1.9rem; }
}

/* Quick links responsive */
@media (max-width: 1024px) {
    .quick-link-card { grid-column: span 2; }
}

@media (max-width: 768px) {
    .page-header { padding: 120px 0 60px; }
    .quick-link-card { grid-column: span 4; }
}

/* ===== Berita ===== */

/* ===== PAGE HEADER BERITA ===== */
.page-header-berita {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-berita::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,152,0,0.15), transparent 70%);
    border-radius: 50%;
}

.page-header-berita::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
    border-radius: 50%;
}

/* ===== LAYOUT BERITA ===== */
.berita-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 60px 0;
}

/* ===== BERITA GRID ===== */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* ===== BERITA CARD ===== */
.berita-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.berita-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

/* Gambar berita */
.berita-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

/* Placeholder gambar */
.berita-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-pastel), var(--blue-pastel2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* Kategori badge di gambar */
.berita-kategori-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange-primary);
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

/* Tanggal di gambar */
.berita-tanggal-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    color: var(--teks-medium);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Konten berita */
.berita-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-judul {
    font-family: 'Fredoka One', cursive;
    font-size: 1.15rem;
    color: var(--teks-gelap);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-deskripsi {
    color: var(--teks-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Meta info */
.berita-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--blue-pastel2);
    font-size: 0.82rem;
    color: var(--abu);
    font-weight: 600;
}

.berita-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Tombol baca */
.btn-baca {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-primary);
    color: white;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 16px;
    align-self: flex-start;
}

.btn-baca:hover {
    background: var(--blue-dark);
    transform: translateX(4px);
    box-shadow: var(--shadow-blue);
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Search box */
.sidebar-search {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
}

.search-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    border: 2px solid var(--blue-pastel2);
    border-radius: var(--radius-full);
    padding: 12px 48px 12px 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--teks-gelap);
    background: var(--abu-ringan);
    transition: var(--transition);
    outline: none;
}

.search-input:focus {
    border-color: var(--blue-medium);
    background: white;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
}

.search-input::placeholder {
    color: var(--abu);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--blue-primary);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--blue-dark);
}

/* Kategori box */
.sidebar-kategori {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
}

.kategori-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

.kategori-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kategori-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--teks-medium);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.kategori-item:hover,
.kategori-item.active {
    background: var(--blue-pastel);
    color: var(--blue-dark);
}

.kategori-count {
    background: var(--blue-pastel2);
    color: var(--blue-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    min-width: 28px;
    text-align: center;
}

.kategori-item:hover .kategori-count,
.kategori-item.active .kategori-count {
    background: var(--blue-primary);
    color: white;
}

/* Berita populer */
.sidebar-populer {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
}

.populer-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 16px;
}

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

.populer-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    transition: var(--transition);
    padding: 8px;
    border-radius: var(--radius-sm);
    margin: -8px;
}

.populer-item:hover {
    background: var(--blue-pastel);
}

.populer-num {
    width: 32px;
    height: 32px;
    background: var(--orange-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.populer-content {
    flex: 1;
}

.populer-judul {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--teks-gelap);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.populer-tanggal {
    font-size: 0.78rem;
    color: var(--abu);
    font-weight: 600;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    grid-column: 1 / -1;
}

.page-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: white;
    border: 2px solid var(--blue-pastel2);
    color: var(--teks-medium);
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.page-link:hover,
.page-link.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

.page-link.prev,
.page-link.next {
    width: auto;
    padding: 0 20px;
}

/* ===== RESPONSIVE BERITA ===== */
@media (max-width: 1024px) {
    .berita-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: -1;
    }
    
    .berita-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .berita-grid {
        grid-template-columns: 1fr;
    }
    
    .berita-card {
        max-width: 100%;
    }
    
    .page-header-berita {
        padding: 120px 0 60px;
    }
}

/* =============================================
   HALAMAN DETAIL BERITA - FIX
   ============================================= */

/* ===== DETAIL LAYOUT ===== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    padding: 40px 0 80px;
}

/* ===== ARTIKEL HEADER ===== */
.artikel-header {
    margin-bottom: 32px;
}

.artikel-kategori {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-pastel);
    border: 2px solid var(--orange-primary);
    color: var(--orange-dark);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.artikel-judul {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--teks-gelap);
    line-height: 1.3;
    margin-bottom: 20px;
}

.artikel-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--blue-pastel2);
    border-bottom: 1px solid var(--blue-pastel2);
    margin-bottom: 24px;
}

.artikel-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--abu);
    font-weight: 600;
    font-size: 0.88rem;
}

.artikel-meta-icon {
    font-size: 1.1rem;
}

/* ===== ARTIKEL GAMBAR ===== */
.artikel-gambar-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
}

.artikel-gambar {
    width: 100%;
    height: auto;
    display: block;
}

.artikel-gambar-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--blue-pastel), var(--blue-pastel2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.artikel-caption {
    background: var(--abu-ringan);
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--abu);
    font-style: italic;
    text-align: center;
}

/* ===== ARTIKEL KONTEN ===== */
.artikel-konten {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--teks-medium);
}

.artikel-konten p {
    margin-bottom: 20px;
}

.artikel-konten h2,
.artikel-konten h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--teks-gelap);
    margin: 32px 0 16px;
    line-height: 1.3;
}

.artikel-konten h2 {
    font-size: 1.5rem;
}

.artikel-konten h3 {
    font-size: 1.25rem;
}

.artikel-konten ul,
.artikel-konten ol {
    margin: 16px 0 20px 24px;
}

.artikel-konten li {
    margin-bottom: 8px;
}

.artikel-konten blockquote {
    background: var(--blue-pastel);
    border-left: 4px solid var(--blue-primary);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--blue-dark);
}

.artikel-konten img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    box-shadow: var(--shadow-md);
    max-width: 100%;
    height: auto;
}

/* ===== SHARE BUTTONS ===== */
.artikel-share {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid var(--blue-pastel2);
}

.share-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--teks-gelap);
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-wa { background: #25D366; color: white; }
.share-fb { background: #1877F2; color: white; }
.share-tw { background: #1DA1F2; color: white; }
.share-link { background: var(--abu-ringan); color: var(--teks-medium); border: 2px solid var(--blue-pastel2); }

/* ===== BERITA TERKAIT ===== */
.berita-terkait {
    margin-top: 48px;
}

.terkait-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: var(--teks-gelap);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terkait-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.terkait-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
    transition: var(--transition);
    text-decoration: none;
}

.terkait-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

.terkait-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--blue-pastel), var(--blue-pastel2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.terkait-content {
    padding: 16px;
}

.terkait-judul {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--teks-gelap);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.terkait-tanggal {
    font-size: 0.78rem;
    color: var(--abu);
    margin-top: 8px;
    font-weight: 600;
}

/* ===== RESPONSIVE DETAIL ===== */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .terkait-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .artikel-meta-bar {
        gap: 12px;
    }
    
    .artikel-gambar-placeholder {
        height: 250px;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

/* =============================================
   HALAMAN PENGUMUMAN - SDN Neglasari 01
   ============================================= */

/* ===== PAGE HEADER PENGUMUMAN ===== */
.page-header-pengumuman {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-pengumuman::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,152,0,0.2), transparent 70%);
    border-radius: 50%;
}

.page-header-pengumuman::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    border-radius: 50%;
}

/* ===== FEATURED PENGUMUMAN (Paling Atas) ===== */
.pengumuman-featured {
    margin: -40px 0 60px;
    position: relative;
    z-index: 10;
}

.featured-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--orange-primary);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.featured-card::before {
    content: '🔥 PENTING';
    position: absolute;
    top: 20px;
    left: -2px;
    background: var(--orange-primary);
    color: white;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 8px 20px;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    z-index: 5;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-gambar {
    background: linear-gradient(135deg, var(--blue-pastel2), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.featured-gambar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='10'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.featured-konten {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-kategori {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-pastel);
    border: 2px solid var(--orange-primary);
    color: var(--orange-dark);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-judul {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--teks-gelap);
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-deskripsi {
    color: var(--teks-medium);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.featured-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--abu);
    font-weight: 700;
    font-size: 0.88rem;
}

.featured-countdown {
    background: var(--blue-pastel);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.countdown-label {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--blue-dark);
}

.countdown-waktu {
    display: flex;
    gap: 8px;
}

.countdown-box {
    background: var(--blue-primary);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 48px;
}

.countdown-angka {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    line-height: 1;
    display: block;
}

.countdown-satuan {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
}

.btn-featured {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-primary);
    color: white;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.btn-featured:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
}

/* ===== TIMELINE PENGUMUMAN ===== */
.pengumuman-timeline-section {
    padding: 60px 0 100px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 48px;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-pastel);
    border: 2px solid var(--blue-primary);
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--teks-gelap);
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Garis tengah */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue-pastel2), var(--blue-primary), var(--blue-pastel2));
    border-radius: var(--radius-full);
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Dot di garis */
.timeline-dot {
    position: absolute;
    top: 24px;
    width: 20px;
    height: 20px;
    background: var(--blue-primary);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-dot.urgent {
    background: var(--orange-primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(255, 152, 0, 0); }
}

/* Timeline Card */
.timeline-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
    transition: var(--transition);
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
}

/* Arrow ke garis */
.timeline-card::before {
    content: '';
    position: absolute;
    top: 24px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-card::before {
    right: -20px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-card::before {
    left: -20px;
    border-right-color: white;
}

.timeline-tanggal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-pastel);
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.timeline-tanggal.urgent {
    background: var(--orange-pastel);
    color: var(--orange-dark);
}

.timeline-judul {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--teks-gelap);
    line-height: 1.4;
    margin-bottom: 10px;
}

.timeline-ringkasan {
    color: var(--teks-medium);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.timeline-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-baru {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-berjalan {
    background: #FFF3E0;
    color: #EF6C00;
}

.status-selesai {
    background: #E3F2FD;
    color: #1565C0;
}

/* ===== FILTER TABS ===== */
.pengumuman-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--blue-pastel2);
    background: white;
    color: var(--teks-medium);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

/* ===== EMPTY STATE ===== */
.pengumuman-empty {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--abu);
    margin-bottom: 8px;
}

.empty-desc {
    color: var(--abu);
    font-size: 0.95rem;
}

/* ===== RESPONSIVE PENGUMUMAN ===== */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-gambar {
        min-height: 200px;
        font-size: 5rem;
    }
    
    .featured-konten {
        padding: 28px;
    }
    
    .featured-countdown {
        flex-direction: column;
        text-align: center;
    }
    
    /* Timeline mobile: semua di kanan */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 56px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 10px;
        right: auto;
    }
    
    .timeline-item:nth-child(odd) .timeline-card::before,
    .timeline-item:nth-child(even) .timeline-card::before {
        left: -20px;
        right: auto;
        border-right-color: white;
        border-left-color: transparent;
    }
}

/* =============================================
   HALAMAN GURU & STAFF - SDN Neglasari 01
   ============================================= */

/* ===== PAGE HEADER GURU ===== */
.page-header-guru {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-guru::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,152,0,0.2), transparent 70%);
    border-radius: 50%;
}

.page-header-guru::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
    border-radius: 50%;
}

/* ===== STAT GURU BANNER ===== */
.guru-stats-banner {
    margin: -40px 0 60px;
    position: relative;
    z-index: 10;
}

.guru-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.guru-stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--blue-pastel2);
    transition: var(--transition);
}

.guru-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

.guru-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.guru-stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: var(--blue-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.guru-stat-label {
    font-size: 0.85rem;
    color: var(--abu);
    font-weight: 700;
}

/* ===== FILTER JABATAN ===== */
.guru-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.guru-filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 2px solid var(--blue-pastel2);
    background: white;
    color: var(--teks-medium);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.guru-filter-btn:hover,
.guru-filter-btn.active {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-blue);
}

/* ===== GURU GRID ===== */
.guru-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ===== GURU CARD ===== */
.guru-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--blue-pastel2);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.guru-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-light);
}

/* Header card dengan warna */
.guru-card-header {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.guru-card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: white;
    border-radius: 50% 50% 0 0;
}

/* Warna berdasarkan jabatan */
.guru-card-header.kepsek {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
}

.guru-card-header.wakasek {
    background: linear-gradient(135deg, #8E24AA, #AB47BC);
}

.guru-card-header.guru {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
}

.guru-card-header.tata-usaha {
    background: linear-gradient(135deg, #00897B, #26A69A);
}

.guru-card-header.penjaga {
    background: linear-gradient(135deg, #5D4037, #8D6E63);
}

/* Foto guru */
.guru-foto-wrap {
    position: relative;
    margin-top: -50px;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.guru-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    background: var(--abu-ringan);
}

.guru-foto-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-pastel), var(--blue-pastel2));
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Badge jabatan */
.guru-jabatan-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guru-jabatan-badge.kepsek {
    background: var(--orange-pastel);
    color: var(--orange-dark);
}

.guru-jabatan-badge.wakasek {
    background: #F3E5F5;
    color: #7B1FA2;
}

.guru-jabatan-badge.guru {
    background: var(--blue-pastel);
    color: var(--blue-dark);
}

.guru-jabatan-badge.tata-usaha {
    background: #E0F2F1;
    color: #00695C;
}

.guru-jabatan-badge.penjaga {
    background: #EFEBE9;
    color: #4E342E;
}

/* Konten card */
.guru-konten {
    padding: 16px 24px 24px;
}

.guru-nama {
    font-family: 'Fredoka One', cursive;
    font-size: 1.15rem;
    color: var(--teks-gelap);
    margin-bottom: 4px;
    line-height: 1.3;
}

.guru-nip {
    font-size: 0.8rem;
    color: var(--abu);
    font-weight: 600;
    margin-bottom: 12px;
}

.guru-mapel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--abu-ringan);
    color: var(--teks-medium);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

/* Info tambahan */
.guru-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid var(--blue-pastel2);
}

.guru-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--teks-medium);
    font-weight: 600;
}

.guru-info-icon {
    width: 28px;
    height: 28px;
    background: var(--blue-pastel);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* Sosial links */
.guru-sosial {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--blue-pastel2);
}

.guru-sosial-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--abu-ringan);
    color: var(--teks-medium);
    text-decoration: none;
}

.guru-sosial-link:hover {
    background: var(--blue-primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== KEPALA SEKOLAH SPECIAL CARD ===== */
.guru-card.kepsek-card {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
}

.kepsek-card .guru-card-header {
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kepsek-card .guru-card-header::after {
    display: none;
}

.kepsek-card .guru-foto-wrap {
    margin-top: 0;
}

.kepsek-card .guru-foto,
.kepsek-card .guru-foto-placeholder {
    width: 180px;
    height: 180px;
    font-size: 5rem;
}

.kepsek-card .guru-konten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.kepsek-card .guru-nama {
    font-size: 1.6rem;
}

.kepsek-card .guru-quote {
    margin: 20px 0;
    padding: 20px;
    background: var(--orange-pastel);
    border-left: 4px solid var(--orange-primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--orange-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== SECTION DIVIDER ===== */
.guru-section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    color: var(--teks-gelap);
    margin: 60px 0 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guru-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--blue-pastel2), transparent);
    margin-left: 12px;
}

/* ===== RESPONSIVE GURU ===== */
@media (max-width: 1024px) {
    .guru-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .guru-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guru-card.kepsek-card {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .guru-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guru-card.kepsek-card {
        grid-template-columns: 1fr;
        grid-column: span 2;
    }
    
    .kepsek-card .guru-card-header {
        min-height: 200px;
    }
    
    .guru-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .guru-stat-card {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .guru-grid {
        grid-template-columns: 1fr;
    }
    
    .guru-card.kepsek-card {
        grid-column: span 1;
    }
    
    .guru-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

