/* =========================================
   SMA Diponegoro 2 — Public Website Styles
   (FULL CLEAN VERSION - LIQUID GLASS EDITION)
   ========================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

:root {
    --text: #0F1F1A;
    --text-muted: #64748B;
    --border: #E5E7EB;
    --white: #FFFFFF;
    --bg-soft: #F8FAF9;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15,31,26,.04);
    --shadow: 0 4px 12px rgba(15,31,26,.06);
    --shadow-lg: 0 20px 60px rgba(15,31,26,.08);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
h1, h2, h3, h4 { letter-spacing: -0.02em; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 0; transition: all .2s; white-space: nowrap; }
.btn i { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(46,125,91,.25); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ============================================================
   NAVBAR — STICKY & CLEAN (DESKTOP)
   ============================================================ */
.public-header { 
    position: sticky; 
    top: 0; 
    z-index: 999; 
    background: rgba(255,255,255,.95); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid transparent; 
    transition: all .3s ease; 
}
.public-header.scrolled { 
    border-bottom-color: var(--border); 
    box-shadow: 0 4px 20px rgba(0,0,0,.05); 
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; letter-spacing: -.5px; }
.brand-logo-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text-wrap strong { font-size: 14.5px; font-weight: 700; color: var(--text); }
.brand-text-wrap small { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }

/* Desktop Nav */
.nav-desktop { display: flex; align-items: center; gap: 24px; margin: 0 auto; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--text); padding: 8px 0; position: relative; transition: color .2s; text-decoration: none; }
.nav-link i { width: 14px; height: 14px; color: var(--text-muted); transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; }

/* Dropdown Desktop */
.nav-item-wrap { position: relative; }
.nav-item-wrap:hover .nav-link i { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background: #fff; min-width: 220px; box-shadow: 0 10px 40px rgba(0,0,0,.08); border-radius: 12px; padding: 8px; opacity: 0; visibility: hidden; transition: all .2s cubic-bezier(.16,1,.3,1); border: 1px solid var(--border); z-index: 100; }
.nav-item-wrap:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a { display: block; padding: 10px 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: all .15s; }
.dropdown-menu a:hover { background: var(--primary-tint); color: var(--primary); }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-tint); color: var(--primary); border: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle i { width: 22px; height: 22px; }

/* ============================================================
   MOBILE NAV — LIQUID GLASS EDITION
   ============================================================ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 26, 0.35);
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    max-width: 88%;
    height: 100dvh;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    /* LIQUID GLASS EFFECT */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(240, 250, 245, 0.75) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: -20px 0 60px rgba(15, 31, 26, 0.18), inset 1px 0 0 rgba(255, 255, 255, 0.4);
}

.nav-mobile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(46, 125, 91, 0.08) 0%, transparent 40%), radial-gradient(circle at 0% 100%, rgba(58, 138, 110, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.nav-mobile.open { right: 0; }
.nav-mobile > * { position: relative; z-index: 1; }

/* Header Mobile */
.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    gap: 12px;
}

.nav-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.nav-mobile-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(46, 125, 91, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.nav-mobile-logo-initials {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(46, 125, 91, 0.3);
}

.nav-mobile-brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.nav-mobile-brand-text strong { font-size: 14px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.nav-mobile-brand-text small { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }

.nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(15, 31, 26, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.nav-close:hover { background: rgba(255, 255, 255, 0.85); transform: rotate(90deg) scale(1.05); box-shadow: 0 4px 12px rgba(15, 31, 26, 0.1); }
.nav-close i { width: 18px; height: 18px; }

.nav-mobile-divider { height: 1px; background: linear-gradient(to right, transparent 0%, rgba(46, 125, 91, 0.2) 50%, transparent 100%); margin: 0 20px; }

/* Links Mobile */
.nav-mobile-links {
    flex: 1;
    overflow-y: auto;
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 125, 91, 0.3) transparent;
}
.nav-mobile-links::-webkit-scrollbar { width: 4px; }
.nav-mobile-links::-webkit-scrollbar-thumb { background: rgba(46, 125, 91, 0.3); border-radius: 2px; }

.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.nav-mobile-link::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 0; background: var(--primary); border-radius: 0 3px 3px 0; transition: height 0.25s ease; }
.nav-mobile-link:hover { background: rgba(255, 255, 255, 0.5); border-color: rgba(255, 255, 255, 0.7); }
.nav-mobile-link.active { color: var(--primary); background: rgba(46, 125, 91, 0.12); border-color: rgba(46, 125, 91, 0.2); font-weight: 700; }
.nav-mobile-link.active::before { height: 60%; }

.nav-mobile-item.has-children .chevron { width: 18px; height: 18px; color: var(--text-muted); transition: transform 0.3s ease; }
.nav-mobile-item.expanded .chevron { transform: rotate(180deg); color: var(--primary); }

/* Submenu Mobile */
.nav-mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; gap: 2px; padding-left: 8px; margin-top: 4px; }
.nav-mobile-sublink { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: all 0.2s ease; position: relative; }
.nav-mobile-sublink::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(46, 125, 91, 0.25), transparent); }
.nav-mobile-sublink i { width: 12px; height: 12px; color: var(--primary); opacity: 0.6; flex-shrink: 0; transition: all 0.2s; }
.nav-mobile-sublink:hover { background: rgba(255, 255, 255, 0.6); color: var(--primary); transform: translateX(2px); }
.nav-mobile-sublink:hover i { opacity: 1; transform: scale(1.2); }

/* Footer Mobile */
.nav-mobile-footer { padding: 16px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-mobile-cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 20px; border-radius: 14px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 8px 24px rgba(46, 125, 91, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.nav-mobile-cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent); transition: left 0.6s ease; }
.nav-mobile-cta:hover::before { left: 100%; }
.nav-mobile-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(46, 125, 91, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3); color: #fff; }
.nav-mobile-cta i { width: 18px; height: 18px; flex-shrink: 0; }
.nav-mobile-cta i:last-child { margin-left: auto; transition: transform 0.3s ease; }
.nav-mobile-cta:hover i:last-child { transform: translateX(4px); }

@media (max-width: 991px) {
    .nav-desktop, .desktop-cta { display: none; }
    .nav-toggle { display: flex; }
}
@media (min-width: 992px) {
    .nav-mobile, .nav-overlay { display: none !important; }
}
@media (max-width: 400px) {
    .nav-mobile { width: 320px; }
    .nav-mobile-header { padding: 16px 16px 14px; }
    .nav-mobile-logo, .nav-mobile-logo-initials { width: 40px; height: 40px; }
    .nav-mobile-brand-text strong { font-size: 13px; }
    .nav-mobile-brand-text small { font-size: 10.5px; }
    .nav-mobile-links { padding: 12px; }
    .nav-mobile-link { padding: 12px 16px; font-size: 14px; }
    .nav-mobile-footer { padding: 12px 16px 16px; }
    .nav-mobile-cta { padding: 13px 18px; font-size: 14px; }
}
@supports not (backdrop-filter: blur(1px)) {
    .nav-mobile { background: rgba(255, 255, 255, 0.98); }
    .nav-overlay { background: rgba(15, 31, 26, 0.5); }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero:not(.hero--carousel)::before { content: ''; position: absolute; top: -100px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(46,125,91,.08) 0%, transparent 70%); pointer-events: none; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-content { max-width: 620px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--primary-soft); color: var(--primary-dark); font-size: 12.5px; font-weight: 600; border-radius: 999px; margin-bottom: 20px; }
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.hero-title { font-size: clamp(2.2rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.1; margin: 0 0 20px; color: var(--text); }
.hero-subtitle { font-size: 1.0625rem; color: var(--text-muted); margin: 0 0 32px; max-width: 540px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat-label { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.hero-visual { position: relative; }
.hero-image-frame { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--primary-soft), var(--primary-tint)); position: relative; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-decor { position: absolute; inset: auto -24px -24px auto; width: 120px; height: 120px; border-radius: 24px; background: var(--primary); opacity: .15; z-index: -1; }

@media (max-width: 900px) {
    .hero { padding: 40px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 380px; margin: 0 auto; width: 100%; }
    .hero-image-frame { aspect-ratio: 4/3; }
    .hero-stats { gap: 28px; margin-top: 32px; padding-top: 24px; }
    .hero-stat-num { font-size: 1.5rem; }
}

/* Hero Carousel Mode */
.hero--carousel { position: relative; min-height: 85vh; display: flex; align-items: center; padding: 80px 0; overflow: hidden; color: #fff; }
.hero--carousel .hero-carousel-bgs { position: absolute; inset: 0; z-index: 0; }
.hero--carousel .hero-carousel-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.hero--carousel .hero-carousel-bg.active { opacity: 1; animation: heroKenBurns 10s ease-out forwards; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero--carousel::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(15, 31, 26, 0.9) 0%, rgba(15, 31, 26, 0.5) 30%, rgba(15, 31, 26, 0.2) 50%, rgba(15, 31, 26, 0.6) 80%, rgba(15, 31, 26, 0.9) 100%); }

.hero--carousel .hero-inner { position: relative; z-index: 2; display: block !important; width: 100%; }
.hero--carousel .hero-content { max-width: 760px; }
.hero--carousel .hero-visual { display: none; }
.hero--carousel .hero-badge { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); }
.hero--carousel .hero-badge .dot { background: #fff; }
.hero--carousel .hero-title { color: #fff; }
.hero--carousel .hero-subtitle { color: rgba(255,255,255,0.85); }
.hero--carousel .hero-stats { border-top-color: rgba(255,255,255,0.18); }
.hero--carousel .hero-stat-num { color: #fff; }
.hero--carousel .hero-stat-label { color: rgba(255,255,255,0.7); }
.hero--carousel .btn-primary { background: #fff; color: var(--primary-dark); }
.hero--carousel .btn-primary:hover { background: rgba(255,255,255,0.92); color: var(--primary-dark); box-shadow: 0 6px 20px rgba(255,255,255,0.25); }
.hero--carousel .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.hero--carousel .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.15); color: #fff; }

.hero-carousel-nav { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; padding: 8px 14px; background: rgba(0,0,0,0.35); border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: 0; padding: 0; cursor: pointer; transition: all 0.3s ease; }
.hero-carousel-dot:hover { background: rgba(255,255,255,0.7); }
.hero-carousel-dot.active { background: #fff; width: 24px; border-radius: 4px; }

@media (max-width: 900px) { .hero--carousel { min-height: 75vh; padding: 60px 0; } .hero--carousel .hero-stats { margin-top: 28px; padding-top: 24px; } .hero-carousel-nav { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .hero--carousel .hero-carousel-bg.active { animation: none; } }

/* Hero Video Intro */
.hero.has-intro { min-height: 600px; display: flex; flex-direction: column; justify-content: center; }
.hero-video-intro { position: absolute; inset: 0; z-index: 50; background: rgba(15, 31, 26, 0.95); display: flex; align-items: center; justify-content: center; padding: 40px 20px; transition: opacity 0.6s ease, visibility 0.6s ease; }
.hero-video-intro.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.hero-video-intro .video-container { width: 100%; max-width: 900px; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); position: relative; }
.hero-video-intro iframe, .hero-video-intro video { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.skip-intro-btn { position: absolute; bottom: 30px; right: 30px; background: rgba(255, 255, 255, 0.15); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); padding: 12px 24px; border-radius: 40px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.25s ease; z-index: 60; }
.skip-intro-btn:hover { background: #fff; color: var(--text); transform: translateY(-2px); }
.skip-intro-btn i { width: 18px; height: 18px; }
@media (max-width: 768px) {
    .hero.has-intro { min-height: 500px; }
    .hero-video-intro { padding: 16px; }
    .hero-video-intro .video-container { aspect-ratio: 9/16; max-width: 100%; border-radius: 16px; }
    .skip-intro-btn { bottom: 20px; right: 50%; transform: translateX(50%); width: calc(100% - 40px); justify-content: center; background: rgba(255, 255, 255, 0.9); color: var(--text); }
    .skip-intro-btn:hover { transform: translateX(50%) translateY(-2px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-label { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.section-desc { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.7; margin: 0; }
@media (max-width: 900px) { .section { padding: 64px 0; } .section-head { margin-bottom: 40px; } }

/* ============================================================
   HOME: VISI MISI & KEPALA SEKOLAH
   ============================================================ */
.vision-new { background: var(--bg-soft); position: relative; overflow: hidden; }
.vision-grid-new { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.vision-profile { position: relative; display: flex; flex-direction: column; gap: 30px; }
.vision-photo-wrap { position: relative; width: 100%; max-width: 400px; margin: 0 auto; }
.vision-photo-bg { position: absolute; bottom: -15px; right: -15px; width: 100%; height: 100%; border-radius: var(--radius-lg); background: var(--primary-soft); z-index: 0; }
.vision-photo { position: relative; z-index: 1; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(15,31,26,0.08); }
.vision-photo img { width: 100%; height: 100%; object-fit: cover; }
.vision-photo-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); background: var(--primary-soft); }
.vision-photo-placeholder i { width: 80px; height: 80px; stroke-width: 1; opacity: 0.4; }
.vision-floating-badge { position: absolute; bottom: 30px; left: -20px; z-index: 2; background: #fff; padding: 12px 20px; border-radius: 16px; box-shadow: 0 15px 35px rgba(15,31,26,0.1); display: flex; align-items: center; gap: 14px; border: 1px solid var(--border); }
.badge-icon { width: 44px; height: 44px; background: var(--primary-tint); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.badge-icon i { width: 22px; height: 22px; }
.badge-text { display: flex; flex-direction: column; }
.badge-text strong { font-size: 15px; color: var(--text); font-weight: 800; }
.badge-text span { font-size: 12px; color: var(--primary); font-weight: 600; }
.vision-quote-card { position: relative; background: #fff; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); z-index: 1; }
.quote-watermark { position: absolute; top: 15px; left: 15px; width: 40px; height: 40px; color: var(--primary-soft); opacity: 0.8; z-index: -1; }
.vision-quote-card p { margin: 0; font-size: 15px; font-style: italic; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 1; }
.vision-content-new { display: flex; flex-direction: column; gap: 24px; }
.vision-box { background: #fff; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: all 0.3s ease; }
.vision-box:hover { box-shadow: var(--shadow-lg); border-color: var(--primary-soft); }
.vision-box-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.v-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.v-icon i { width: 24px; height: 24px; }
.vision-box-visi .v-icon { background: var(--primary); color: #fff; }
.vision-box-misi .v-icon { background: var(--primary-soft); color: var(--primary); }
.vision-box h3 { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--text); }
.vision-box p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text); }
.v-mission-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.v-mission-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--text); line-height: 1.6; }
.v-check { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary-tint); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.v-check i { width: 12px; height: 12px; stroke-width: 3; }
@media (max-width: 991px) {
    .vision-grid-new { grid-template-columns: 1fr; gap: 40px; }
    .vision-photo-wrap { max-width: 320px; }
    .vision-floating-badge { left: -10px; padding: 10px 16px; }
    .vision-quote-card { padding: 20px; }
    .vision-box { padding: 24px; }
}

/* ============================================================
   PROGRAMS (HOME & DETAIL)
   ============================================================ */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1024px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .programs-grid { grid-template-columns: 1fr; gap: 16px; } }

.program-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: all .2s; }
.program-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.program-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.program-icon i { width: 26px; height: 26px; }
.program-name { font-size: 1.125rem; font-weight: 700; margin: 0 0 10px; }
.program-desc { font-size: .9375rem; color: var(--text-muted); line-height: 1.65; margin: 0 0 20px; }
.program-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 13.5px; }
.program-link i { width: 14px; height: 14px; transition: transform .2s; }
.program-card:hover .program-link i { transform: translateX(3px); }

/* Programs 2 Big Cards */
.programs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .programs-grid-2 { grid-template-columns: 1fr; gap: 16px; } }
.program-card-big { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; transition: all 0.3s ease; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 16px; position: relative; overflow: hidden; }
.program-card-big::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, var(--primary-tint) 0%, transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.program-card-big:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-card-big:hover::before { opacity: 1; }
.program-card-big-icon { width: 72px; height: 72px; border-radius: 20px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; position: relative; z-index: 1; }
.program-card-big-icon i { width: 36px; height: 36px; stroke-width: 1.75; }
.program-card-big:hover .program-card-big-icon { background: var(--primary); color: #fff; transform: scale(1.08) rotate(-5deg); }
.program-card-big-title { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); position: relative; z-index: 1; }
.program-card-big:hover .program-card-big-title { color: var(--primary); }
.program-card-big-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-muted); flex: 1; position: relative; z-index: 1; }
.program-card-big-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--primary); margin-top: 4px; position: relative; z-index: 1; transition: gap 0.2s; }
.program-card-big-link i { width: 16px; height: 16px; transition: transform 0.2s; }
.program-card-big:hover .program-card-big-link i { transform: translateX(4px); }

/* Program Detail Page */
.program-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.program-detail-main { min-width: 0; }
.program-detail-hero-img { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary-soft); margin-bottom: 32px; }
.program-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-detail-sidebar { position: sticky; top: 100px; }
.program-detail-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
@media (max-width: 900px) { .program-detail-layout { grid-template-columns: 1fr; gap: 32px; } .program-detail-sidebar { position: static; } }

.program-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.program-gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); aspect-ratio: 4/3; }
.program-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.program-gallery-item:hover img { transform: scale(1.05); }
.program-gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); color: #fff; padding: 20px 14px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
@media (max-width: 640px) { .program-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Pinterest Grid (Program Gallery) */
.pinterest-grid { column-count: 3; column-gap: 16px; }
.pinterest-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); border: 1px solid var(--border); }
.pinterest-item img { width: 100%; height: auto; display: block; transition: transform 0.3s; }
.pinterest-item:hover img { transform: scale(1.03); }
@media (max-width: 768px) { .pinterest-grid { column-count: 2; } }
@media (max-width: 480px) { .pinterest-grid { column-count: 2; gap: 10px; } .pinterest-item { margin-bottom: 10px; } }

/* ============================================================
   ACHIEVEMENTS (HOME & PAGE)
   ============================================================ */
.achievements { background: var(--bg-soft); }
.achievements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.achievement-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; padding: 0; border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s; height: 100%; }
.achievement-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.achievement-card-img { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--primary-soft), var(--primary-tint)); overflow: hidden; flex-shrink: 0; }
.achievement-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.achievement-card:hover .achievement-card-img img { transform: scale(1.06); }
.achievement-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: 0.35; }
.achievement-card-img-placeholder i { width: 44px; height: 44px; stroke-width: 1.5; }
.achievement-level-floating { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.95); color: var(--primary); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 1; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }
.achievement-card-content { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.achievement-year { align-self: flex-start; font-size: 11.5px; padding: 4px 9px; background: var(--primary-soft); color: var(--primary); border-radius: 8px; font-weight: 700; height: fit-content; flex-shrink: 0; }
.achievement-card-title { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--text); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.achievement-card:hover .achievement-card-title { color: var(--primary); }
.achievement-card-desc { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Achievement Detail Page */
.achievement-detail-meta { display: flex; gap: 10px; align-items: center; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.achievement-detail-year { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; font-weight: 800; padding: 6px 14px; border-radius: 8px; }
.achievement-detail-hero-img { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary-soft); margin-bottom: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.achievement-detail-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Owl Carousel Customization */
.achievements-carousel .owl-stage-outer { padding: 10px 0 20px; }
.achievements-carousel .owl-dots { text-align: center; margin-top: 24px; }
.achievements-carousel .owl-dot { display: inline-block; }
.achievements-carousel .owl-dot span { width: 8px; height: 8px; margin: 5px 7px; background: var(--border); display: block; border-radius: 50%; transition: all .3s; }
.achievements-carousel .owl-dot.active span, .achievements-carousel .owl-dot:hover span { background: var(--primary); width: 24px; border-radius: 4px; }
.achievements-carousel .owl-item { display: flex; height: auto; }
.achievements-carousel .item { display: flex; width: 100%; }
.achievements-carousel .owl-stage { display: flex !important; align-items: stretch !important; }
.achievements-carousel .achievement-card { width: 100% !important; height: 100% !important; margin: 0 !important; display: flex !important; flex-direction: column !important; }
.achievements-carousel .achievement-card-img { aspect-ratio: 16/10; flex-shrink: 0; }
.achievements-carousel .achievement-card-content { flex: 1; }

/* ============================================================
   ALUMNI & PARTNERS
   ============================================================ */
.alumni-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-bottom: 56px; }
.university-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; transition: all .2s; aspect-ratio: 1; }
.university-item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.university-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; overflow: hidden; flex-shrink: 0; }
.university-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 8px; border-radius: 50%; }
.university-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--text); }
.university-count { font-size: 11px; color: var(--text-muted); }

.partners-divider { padding-top: 40px; border-top: 1px solid var(--border); }
.partners-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.partner-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; height: 76px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text-muted); transition: all .2s; }
.partner-item:hover { border-color: var(--primary); color: var(--primary); }

/* Marquee */
.marquee { overflow: hidden; width: 100%; position: relative; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: inline-flex; width: max-content; will-change: transform; }
.marquee-track > * { flex-shrink: 0; margin-right: 20px; }
.marquee-track .university-item { width: 160px; height: 160px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.marquee-track .partner-item { width: 180px; height: 76px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
@media (max-width: 640px) {
    .marquee { -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%); }
    .marquee-track > * { margin-right: 14px; }
    .marquee-track .university-item { width: 155px; height: 200px; padding: 14px 10px; gap: 8px; justify-content: flex-start; }
    .marquee-track .university-logo { width: 56px; height: 56px; flex-shrink: 0; }
    .marquee-track .university-logo img { padding: 6px; }
    .marquee-track .university-name { font-size: 11px; line-height: 1.3; min-height: 29px; width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
    .marquee-track .university-count { font-size: 10px; margin-top: auto; flex-shrink: 0; }
    .marquee-track .partner-item { width: 150px; height: 68px; }
}

/* ============================================================
   ARTICLES (HOME, LIST, DETAIL)
   ============================================================ */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.article-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all .2s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.article-thumb { aspect-ratio: 16/10; background: var(--primary-soft); position: relative; overflow: hidden; display: block; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: .5; }
.article-thumb-placeholder i { width: 40px; height: 40px; stroke-width: 1; }
.article-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.article-category { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.article-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; margin: 0 0 12px; color: var(--text); }
.article-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.article-link { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }

/* Home Articles Grid */
.home-articles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
@media (max-width: 1100px) { .home-articles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .home-articles-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 600px) { .home-articles-grid { grid-template-columns: 1fr; gap: 14px; } }
.home-article-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.home-article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.home-article-thumb { aspect-ratio: 16/10; background: var(--primary-soft); position: relative; overflow: hidden; }
.home-article-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.home-article-card:hover .home-article-thumb img { transform: scale(1.06); }
.home-article-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: .35; }
.home-article-thumb-placeholder i { width: 32px; height: 32px; stroke-width: 1.5; }
.home-article-category { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95); color: var(--primary); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 6px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.home-article-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.home-article-date { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.home-article-title { font-size: 14.5px; font-weight: 700; line-height: 1.4; margin: 0 0 12px; color: var(--text); letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; flex: 1; }
.home-article-card:hover .home-article-title { color: var(--primary); }
.home-article-link { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--primary); margin-top: auto; transition: gap .2s; }
.home-article-card:hover .home-article-link { gap: 8px; }
.home-articles-cta { text-align: center; padding-top: 8px; }
.home-articles-cta .btn { padding: 13px 28px; font-size: 14px; }
@media (max-width: 600px) { .home-articles-cta .btn { width: 100%; padding: 14px 24px; } }

/* Article Search & Filter */
.article-toolbar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; background: #fff; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(15,31,26,0.02); }
@media (min-width: 769px) { .article-toolbar { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 24px; } }
.article-search-form { display: flex; gap: 8px; width: 100%; }
@media (min-width: 769px) { .article-search-form { max-width: 400px; } }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); pointer-events: none; }
.search-input-wrap input { width: 100%; padding: 12px 40px 12px 42px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; transition: all 0.15s; background: var(--bg-soft); }
.search-input-wrap input:focus { outline: 0; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-soft); }
.search-clear-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--text-muted); display: flex; padding: 6px; border-radius: 6px; background: transparent; border: 0; cursor: pointer; }
.search-clear-btn:hover { background: var(--border); color: var(--danger); }
.search-clear-btn i { width: 14px; height: 14px; }
.article-search-form .btn { padding: 0 24px; border-radius: 10px; white-space: nowrap; }

.article-filters, .gallery-filters { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--primary-soft) transparent; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.article-filters::-webkit-scrollbar, .gallery-filters::-webkit-scrollbar { height: 4px; }
.article-filters::-webkit-scrollbar-track, .gallery-filters::-webkit-scrollbar-track { background: transparent; }
.article-filters::-webkit-scrollbar-thumb, .gallery-filters::-webkit-scrollbar-thumb { background: var(--primary-soft); border-radius: 4px; }
.article-filters .filter-chip, .gallery-filters .gallery-filter { flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 992px) { .article-filters, .gallery-filters { flex-wrap: wrap; overflow-x: visible; padding-bottom: 0; } }

.filter-chip { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: var(--bg-soft); border: 1.5px solid transparent; text-decoration: none; transition: all 0.15s; flex-shrink: 0; white-space: nowrap; }
.filter-chip:hover { color: var(--primary); background: var(--primary-tint); }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.search-result-info { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* Article Detail Page */
.article-detail { padding: 48px 0 72px; }
.article-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; justify-content: center; }
.article-detail-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin: 0; }
.article-detail-thumb { aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: var(--primary-soft); margin: 32px auto; max-width: 900px; }
.article-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-related { background: var(--bg-soft); padding: 72px 0; }
.article-list-page { padding: 56px 0 88px; }
.article-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-list-page .article-card { background: #fff; }

/* ============================================================
   GALLERY (HOME & PAGE)
   ============================================================ */
.gallery { background: var(--bg-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: .4; }
.gallery-placeholder i { width: 32px; height: 32px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: auto; grid-row: auto; } }

/* Gallery Carousel */
.gallery-carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 8px; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%); }
.gallery-carousel::-webkit-scrollbar { display: none; }
.gallery-carousel > .gallery-item { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); cursor: pointer; }
.gallery-carousel > .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .gallery-carousel > .gallery-item { flex: 0 0 85%; } }
.gallery-carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.gallery-dots { display: flex; gap: 8px; align-items: center; }
.gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: 0; padding: 0; cursor: pointer; transition: all .25s; }
.gallery-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
@media (max-width: 768px) { .gallery-carousel-controls { flex-direction: column-reverse; gap: 16px; } .gallery-carousel-controls .btn-primary { width: 100%; } }

/* Gallery Page */
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.gallery-filter { padding: 8px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); background: #fff; border: 1.5px solid var(--border); text-decoration: none; transition: all .15s; }
.gallery-filter:hover, .gallery-filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-page-grid .gallery-item { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--primary-soft); }
.gallery-page-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .gallery-page-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ============================================================
   PAGE HERO & RICH CONTENT
   ============================================================ */
.page-hero { padding: 56px 0 48px; background: linear-gradient(180deg, var(--primary-tint) 0%, transparent 100%); border-bottom: 1px solid var(--border); }
.page-hero-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-wrap: wrap; }
.page-hero-breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); transition: color .15s; }
.page-hero-breadcrumb a:hover { color: var(--primary); }
.page-hero-breadcrumb span { color: var(--text); font-weight: 600; }
.page-hero-breadcrumb i { width: 12px; height: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin: 0 0 12px; line-height: 1.15; }
.page-hero > .container > p { margin: 0; color: var(--text-muted); font-size: 1.0625rem; max-width: 640px; line-height: 1.7; }
.rich-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.rich-content > *:first-child { margin-top: 0; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content h2 { font-size: 1.75rem; font-weight: 800; margin: 32px 0 16px; letter-spacing: -.02em; }
.rich-content h3 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; }
.rich-content h4 { font-size: 1.0625rem; font-weight: 700; margin: 24px 0 10px; }
.rich-content p { margin: 0 0 16px; }
.rich-content ul, .rich-content ol { margin: 0 0 16px; padding-left: 24px; }
.rich-content li { margin-bottom: 8px; }
.rich-content a { color: var(--primary); text-decoration: underline; }
.rich-content a:hover { color: var(--primary-dark); }
.rich-content img { max-width: 100%; border-radius: 12px; margin: 20px 0; }
.rich-content blockquote { border-left: 3px solid var(--primary); padding-left: 16px; margin: 20px 0; font-style: italic; color: var(--text-muted); }
.rich-content code { background: var(--primary-tint); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.rich-content th, .rich-content td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.rich-content th { background: var(--bg-soft); font-weight: 700; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; padding: 56px 0 88px; }
.contact-info-card { background: var(--bg-soft); border-radius: 20px; padding: 32px; }
.contact-info-card h2 { margin: 0 0 24px; font-size: 1.25rem; font-weight: 700; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon i { width: 20px; height: 20px; }
.contact-info-item h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.contact-info-item p, .contact-info-item a { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.contact-info-item a:hover { color: var(--primary); }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.contact-form-card h2 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; }
.contact-form-card > p { margin: 0 0 24px; color: var(--text-muted); font-size: 14px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; display: block; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; transition: border-color .15s, box-shadow .15s; background: var(--white); color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,125,91,.12); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; justify-content: center; padding: 12px; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; }
.alert i { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--primary-soft); color: var(--primary-dark); }
.alert-error { background: #FEF2F2; color: #DC2626; }
.contact-map-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-soft); }
.contact-map { position: relative; width: 100%; aspect-ratio: 16/9; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 64px; } .contact-info-card, .contact-form-card { padding: 24px; } .contact-form .form-row { grid-template-columns: 1fr; } .contact-map { aspect-ratio: 4/3; } }

/* ============================================================
   PPDB PAGE
   ============================================================ */
.ppdb-hero-v2 { position: relative; padding: 56px 0 72px; background: linear-gradient(180deg, var(--primary-tint) 0%, transparent 100%); overflow: hidden; }
.ppdb-hero-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 20%, rgba(46,125,91,0.08) 0%, transparent 50%), radial-gradient(circle at 10% 90%, rgba(46,125,91,0.06) 0%, transparent 50%); pointer-events: none; }
.ppdb-hero-v2 .container { position: relative; z-index: 1; }
.ppdb-hero-content { max-width: 780px; }
.ppdb-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 24px; box-shadow: 0 4px 14px rgba(15,31,26,0.08); }
.ppdb-status-badge.open { color: var(--primary); }
.ppdb-status-badge.closed { color: var(--text-muted); }
.ppdb-status-badge .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.ppdb-status-badge.open .pulse-dot { background: var(--primary); }
.ppdb-status-badge.open .pulse-dot::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--primary); opacity: 0.4; animation: ppdb-pulse-ring 1.8s ease-out infinite; }
@keyframes ppdb-pulse-ring { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(2); opacity: 0; } }
.ppdb-hero-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 0 20px; color: var(--text); letter-spacing: -0.03em; }
.ppdb-hero-desc { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; max-width: 640px; margin-bottom: 32px; }
.ppdb-hero-desc p { margin: 0 0 12px; }
.ppdb-hero-desc p:last-child { margin-bottom: 0; }
.ppdb-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .ppdb-hero-actions { flex-direction: column; } .ppdb-hero-actions .btn { width: 100%; justify-content: center; } }

.ppdb-section-jadwal { padding: 72px 0; background: #fff; }
.ppdb-timeline { display: flex; align-items: stretch; justify-content: center; gap: 0; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.ppdb-timeline-item { flex: 1; min-width: 200px; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; transition: all 0.25s; position: relative; }
.ppdb-timeline-item:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ppdb-timeline-item.highlight { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-color: var(--primary); color: #fff; }
.ppdb-timeline-item.highlight .ppdb-timeline-label { color: rgba(255,255,255,0.75); }
.ppdb-timeline-item.highlight .ppdb-timeline-date { color: #fff; }
.ppdb-timeline-item.highlight .ppdb-timeline-icon { background: rgba(255,255,255,0.2); color: #fff; }
.ppdb-timeline-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: all 0.25s; }
.ppdb-timeline-icon i { width: 26px; height: 26px; }
.ppdb-timeline-label { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 6px; }
.ppdb-timeline-date { display: block; font-size: 1.0625rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.ppdb-timeline-connector { width: 40px; align-self: center; height: 2px; background: linear-gradient(to right, var(--border), var(--primary), var(--border)); position: relative; flex-shrink: 0; }
.ppdb-timeline-connector::after { content: ''; position: absolute; top: 50%; right: -4px; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
@media (max-width: 768px) { .ppdb-timeline { flex-direction: column; gap: 16px; } .ppdb-timeline-connector { width: 2px; height: 24px; align-self: center; background: linear-gradient(to bottom, var(--border), var(--primary), var(--border)); } .ppdb-timeline-connector::after { top: auto; bottom: -4px; right: 50%; transform: translateX(50%); } }

.ppdb-section-alur { padding: 72px 0; background: var(--bg-soft); }
.ppdb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.ppdb-steps::before { content: ''; position: absolute; top: 60px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(to right, var(--primary) 0, var(--primary) 8px, transparent 8px, transparent 16px); z-index: 0; opacity: 0.4; }
.ppdb-step { position: relative; text-align: center; z-index: 1; background: transparent; padding: 0 8px; }
.ppdb-step-num { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--primary); background: #fff; padding: 4px 12px; border-radius: 999px; border: 1.5px solid var(--primary-soft); margin-bottom: 16px; }
.ppdb-step-icon { width: 80px; height: 80px; border-radius: 24px; background: #fff; border: 2px solid var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all 0.25s; box-shadow: 0 4px 12px rgba(15,31,26,0.04); }
.ppdb-step-icon i { width: 34px; height: 34px; stroke-width: 1.75; }
.ppdb-step:hover .ppdb-step-icon { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 24px rgba(46,125,91,0.25); }
.ppdb-step h4 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--text); }
.ppdb-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 1024px) { .ppdb-steps { grid-template-columns: repeat(2, 1fr); } .ppdb-steps::before { display: none; } }
@media (max-width: 600px) { .ppdb-steps { grid-template-columns: 1fr; gap: 16px; } .ppdb-step-icon { width: 64px; height: 64px; } .ppdb-step-icon i { width: 28px; height: 28px; } }

.ppdb-section-syarat { padding: 72px 0; background: #fff; }
.ppdb-syarat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; }
.ppdb-syarat-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.2s; position: relative; }
.ppdb-syarat-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.ppdb-syarat-num { position: absolute; top: 12px; right: 16px; font-size: 28px; font-weight: 900; color: var(--primary-soft); line-height: 1; letter-spacing: -0.05em; user-select: none; }
.ppdb-syarat-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.ppdb-syarat-icon i { width: 20px; height: 20px; }
.ppdb-syarat-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text); padding-right: 32px; }

.ppdb-section-faq { padding: 72px 0; background: var(--bg-soft); }
.ppdb-faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.ppdb-faq-item { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s; }
.ppdb-faq-item:hover { border-color: var(--primary); }
.ppdb-faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.ppdb-faq-item summary { padding: 18px 24px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14.5px; font-weight: 700; color: var(--text); transition: color 0.2s; user-select: none; }
.ppdb-faq-item summary::-webkit-details-marker { display: none; }
.ppdb-faq-item summary:hover { color: var(--primary); }
.ppdb-faq-item summary i { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; transition: transform 0.25s; }
.ppdb-faq-item[open] summary i { transform: rotate(180deg); }
.ppdb-faq-answer { padding: 0 24px 20px; color: var(--text-muted); font-size: 13.5px; line-height: 1.7; animation: faq-fade 0.25s ease; }
.ppdb-faq-answer p { margin: 0; }
@keyframes faq-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.ppdb-section-cta { padding: 72px 0; background: #fff; }
.ppdb-cta-card { background: linear-gradient(135deg, #0F1F1A 0%, #1a3029 100%); border-radius: var(--radius-lg); padding: 56px 48px; position: relative; overflow: hidden; color: #fff; }
.ppdb-cta-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 10%, rgba(46,125,91,0.2) 0%, transparent 50%), radial-gradient(circle at 10% 90%, rgba(46,125,91,0.15) 0%, transparent 50%); pointer-events: none; }
.ppdb-cta-content { position: relative; z-index: 1; max-width: 640px; }
.ppdb-cta-label { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); background: rgba(46,125,91,0.15); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; border: 1px solid rgba(46,125,91,0.3); }
.ppdb-cta-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.02em; }
.ppdb-cta-content > p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0 0 32px; max-width: 520px; }
.ppdb-cta-contact { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ppdb-cta-person { display: flex; align-items: center; gap: 12px; }
.ppdb-cta-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(46,125,91,0.4); }
.ppdb-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ppdb-cta-actions .btn-outline { color: #fff; border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
.ppdb-cta-actions .btn-outline:hover { border-color: var(--primary); background: rgba(46,125,91,0.15); color: #fff; }
.ppdb-cta-actions .btn-primary { background: var(--primary); color: #fff; }
.ppdb-cta-actions .btn-primary:hover { background: var(--primary-dark); }
@media (max-width: 768px) { .ppdb-cta-card { padding: 36px 24px; } .ppdb-cta-contact { flex-direction: column; align-items: stretch; gap: 20px; } .ppdb-cta-actions { flex-direction: column; } .ppdb-cta-actions .btn { width: 100%; justify-content: center; } }

.ppdb-wa-float { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,0.4); z-index: 100; transition: all 0.3s ease; text-decoration: none; }
.ppdb-wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,0.5); color: #fff; }
.ppdb-wa-float i { width: 28px; height: 28px; }
.ppdb-wa-tooltip { position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px); background: #0F1F1A; color: #fff; font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: all 0.25s ease; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.ppdb-wa-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: #0F1F1A; }
.ppdb-wa-float:hover .ppdb-wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px) { .ppdb-wa-float { width: 56px; height: 56px; bottom: 20px; right: 20px; } .ppdb-wa-float i { width: 26px; height: 26px; } .ppdb-wa-tooltip { display: none; } }
@media (max-width: 768px) { .ppdb-section-jadwal, .ppdb-section-alur, .ppdb-section-syarat, .ppdb-section-faq, .ppdb-section-cta { padding: 52px 0; } }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.error-page-inner { max-width: 480px; }
.error-page-code { font-size: 7rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 16px; letter-spacing: -.05em; }
.error-page h1 { font-size: 1.75rem; margin: 0 0 12px; font-weight: 800; }
.error-page p { color: var(--text-muted); margin: 0 0 24px; font-size: 1rem; line-height: 1.7; }

/* ============================================================
   GURU GRID 5 KOLOM
   ============================================================ */
.teachers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.teacher-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all .2s; text-align: center; }
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.teacher-photo { aspect-ratio: 3/4; background: var(--primary-soft); overflow: hidden; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.teacher-card:hover .teacher-photo img { transform: scale(1.05); }
.teacher-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--primary); opacity: 0.4; }
.teacher-placeholder i { width: 48px; height: 48px; }
.teacher-info { padding: 16px; }
.teacher-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--text); }
.teacher-info span { display: block; font-size: 12.5px; color: var(--primary); font-weight: 600; }
@media (max-width: 1200px) { .teachers-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { .teachers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .teachers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ============================================================
   FOOTER
   ============================================================ */
.public-footer { background: #0A1612; color: #D1D5DB; margin-top: 80px; position: relative; }
.footer-cta { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); position: relative; overflow: hidden; }
.footer-cta::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); pointer-events: none; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 40px 24px; position: relative; z-index: 1; }
.footer-cta-label { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.footer-cta-text h3 { color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; margin: 0 0 6px; line-height: 1.2; letter-spacing: -0.02em; }
.footer-cta-text p { color: rgba(255,255,255,0.8); font-size: 14px; margin: 0; max-width: 560px; }
.footer-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
.footer-cta .btn-primary { background: #fff; color: var(--primary-dark); font-weight: 700; }
.footer-cta .btn-primary:hover { background: rgba(255,255,255,0.92); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.footer-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.footer-cta .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); color: #fff; }
.footer-main-new { position: relative; overflow: hidden; padding: 64px 0 48px; }
.footer-watermark { position: absolute; top: 50%; right: -40px; transform: translateY(-50%); font-size: 320px; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.02); letter-spacing: -0.05em; pointer-events: none; user-select: none; z-index: 0; }
.footer-main-new .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand-col .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-brand-col .brand-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.footer-brand-col .brand-logo-img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.footer-brand-desc { font-size: 13.5px; line-height: 1.7; color: #8B9298; margin: 0 0 24px; max-width: 340px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #D1D5DB; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; }
.footer-social:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(46,125,91,0.35); }
.footer-social i { width: 17px; height: 17px; }
.footer-title { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.footer-title-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex-shrink: 0; box-shadow: 0 0 8px rgba(46,125,91,0.8); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { display: inline-flex; align-items: center; gap: 0; font-size: 13.5px; color: #9CA3AF; transition: all 0.2s; position: relative; }
.footer-links a::before { content: ''; width: 0; height: 1px; background: var(--primary); transition: width 0.2s, margin-right 0.2s; margin-right: 0; }
.footer-links a:hover { color: var(--primary); transform: translateX(2px); }
.footer-links a:hover::before { width: 12px; margin-right: 6px; }
.footer-contact-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact-items li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(46,125,91,0.12); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-contact-icon i { width: 15px; height: 15px; }
.footer-contact-label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #6B7280; margin-bottom: 3px; }
.footer-contact-value { display: block; font-size: 13.5px; color: #D1D5DB; line-height: 1.5; text-decoration: none; transition: color 0.2s; }
a.footer-contact-value:hover { color: var(--primary); }
.footer-bottom-new { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; position: relative; z-index: 1; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-inner p { margin: 0; font-size: 12.5px; color: #6B7280; }
.footer-back-to-top { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: #D1D5DB; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.footer-back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-back-to-top i { width: 14px; height: 14px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } .footer-brand-col { grid-column: span 2; } .footer-watermark { font-size: 240px; } }
@media (max-width: 768px) { .footer-cta-inner { flex-direction: column; align-items: flex-start; padding: 32px 20px; gap: 24px; } .footer-cta-actions { width: 100%; flex-direction: column; } .footer-cta-actions .btn { width: 100%; justify-content: center; } .footer-main-new { padding: 48px 0 32px; } .footer-grid { gap: 32px; } .footer-watermark { font-size: 180px; opacity: 0.6; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand-col { grid-column: span 1; } .footer-watermark { display: none; } .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; } }

/* ============================================================
   HERO BACKGROUNDS ADMIN GRID (Styles used in public upload preview)
   ============================================================ */
.hero-bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.hero-bg-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.15s; cursor: grab; }
.hero-bg-item:active { cursor: grabbing; }
.hero-bg-item:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.hero-bg-item.inactive { opacity: 0.65; }
.hero-bg-thumb { aspect-ratio: 16/9; background: var(--bg-soft); position: relative; overflow: hidden; }
.hero-bg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bg-order { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; backdrop-filter: blur(4px); }
.hero-bg-hidden { position: absolute; top: 8px; right: 8px; background: rgba(220,38,38,0.9); color: #fff; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.hero-bg-actions { display: flex; justify-content: flex-end; gap: 2px; padding: 8px; border-top: 1px solid var(--border); }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader { position: fixed; inset: 0; z-index: 99999; background: var(--white); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.loader-logo { width: 80px; height: 80px; object-fit: contain; animation: loader-pulse 1.5s ease-in-out infinite; }
.loader-initials { width: 80px; height: 80px; border-radius: 20px; background: var(--primary); color: #fff; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; justify-content: center; animation: loader-pulse 1.5s ease-in-out infinite; box-shadow: 0 8px 24px rgba(46,125,91,0.25); }
@keyframes loader-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.92); opacity: 0.7; } }
.loader-spinner { width: 28px; height: 28px; border: 3px solid var(--primary-soft); border-top-color: var(--primary); border-radius: 50%; animation: loader-spin 0.8s linear infinite; }
@keyframes loader-spin { to { transform: rotate(360deg); } }

/* ============================================================
   FLOATING INFO WIDGET — LIQUID GLASS EDITION
   ============================================================ */
.info-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: 'Plus Jakarta Sans', sans-serif; }
.info-widget-btn { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, rgba(46, 125, 91, 0.85) 0%, rgba(35, 94, 69, 0.9) 100%); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(46, 125, 91, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.1); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; }
.info-widget-btn::before { content: ''; position: absolute; top: 0; left: -50%; width: 200%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent); transform: skewX(-20deg); transition: left 0.6s ease; }
.info-widget-btn:hover::before { left: 150%; }
.info-widget-btn:hover { transform: scale(1.08) translateY(-3px); box-shadow: 0 12px 40px rgba(46, 125, 91, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.info-widget-btn:active { transform: scale(0.98); }
.info-widget-btn i { width: 26px; height: 26px; z-index: 1; }
.info-widget-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(46, 125, 91, 0.6); animation: widget-pulse 2.2s infinite; pointer-events: none; }
@keyframes widget-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }

.info-widget-panel { position: absolute; bottom: 80px; right: 0; width: 360px; border-radius: 24px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.92); transform-origin: bottom right; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.35) 100%); backdrop-filter: blur(40px) saturate(200%); -webkit-backdrop-filter: blur(40px) saturate(200%); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 20px 60px rgba(15, 31, 26, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.1) inset, inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.info-widget-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 15%, rgba(46, 125, 91, 0.12) 0%, transparent 45%), radial-gradient(circle at 85% 85%, rgba(58, 138, 110, 0.1) 0%, transparent 45%); pointer-events: none; z-index: 0; }
.info-widget-panel.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.info-widget-header { position: relative; z-index: 1; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.15); }
.info-widget-title { display: flex; align-items: center; gap: 10px; }
.info-widget-title-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(46, 125, 91, 0.3); }
.info-widget-title-icon i { width: 18px; height: 18px; }
.info-widget-title strong { display: block; font-size: 14px; font-weight: 800; color: var(--text); line-height: 1.2; }
.info-widget-title small { display: block; font-size: 11px; color: var(--text-muted); font-weight: 500; }
.info-widget-close { background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(255, 255, 255, 0.4); cursor: pointer; color: var(--text); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; transition: all 0.2s; }
.info-widget-close:hover { background: rgba(255, 255, 255, 0.7); transform: rotate(90deg); }
.info-widget-close i { width: 16px; height: 16px; }

.info-widget-body { position: relative; z-index: 1; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-weather, .info-clock { grid-column: span 1; }
.info-prayer, .info-visitor { grid-column: span 2; }
.info-card { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: all 0.25s ease; box-shadow: 0 2px 8px rgba(15, 31, 26, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.info-card:hover { background: rgba(255, 255, 255, 0.7); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15, 31, 26, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.info-card-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, rgba(46, 125, 91, 0.15) 0%, rgba(46, 125, 91, 0.25) 100%); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card-icon i { width: 18px; height: 18px; }
.info-card-content { display: flex; flex-direction: column; }
.info-label { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 4px; }
.info-value { font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; }
.info-value-clock { font-variant-numeric: tabular-nums; font-size: 18px; }
.info-sub { display: block; font-size: 10.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.3; }
.info-card-head { display: flex; align-items: center; gap: 10px; }
.info-card-head .info-card-icon { width: 32px; height: 32px; border-radius: 8px; }
.info-card-head .info-card-icon i { width: 16px; height: 16px; }
.info-card-head .info-label { margin-bottom: 0; font-size: 11px; }
.prayer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.prayer-grid > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 2px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 10px; transition: all 0.2s; }
.prayer-grid > div:hover { background: rgba(46, 125, 91, 0.1); border-color: rgba(46, 125, 91, 0.3); }
.prayer-grid span { font-size: 9px; color: var(--text-muted); font-weight: 700; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.03em; }
.prayer-grid strong { font-size: 11px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
    .info-widget { bottom: 20px; right: 20px; }
    .info-widget-btn { width: 54px; height: 54px; }
    .info-widget-btn i { width: 22px; height: 22px; }
    .info-widget-panel { width: calc(100vw - 32px); max-width: 360px; bottom: 74px; }
    .info-widget-body { padding: 12px; gap: 8px; }
    .info-card { padding: 12px; border-radius: 14px; }
    .info-value { font-size: 20px; }
    .info-value-clock { font-size: 16px; }
    .prayer-grid > div { padding: 6px 1px; }
    .prayer-grid span { font-size: 8px; }
    .prayer-grid strong { font-size: 10px; }
}
@supports not (backdrop-filter: blur(1px)) {
    .info-widget-panel { background: rgba(255, 255, 255, 0.97); }
    .info-card { background: rgba(248, 250, 249, 0.98); }
}