/* ==========================================
   FRONTEND CSS - SMK Nusantara Website
   Modern Light Theme with Glassmorphism
   ========================================== */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --bg: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255,255,255,0.7);
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: rgba(0,0,0,0.08);

    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(255,255,255,0.85);
    --glass-border: rgba(255,255,255,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }

.container { max-width: 1600px; margin: 0 auto; padding: 0 2rem; }

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; }
.nav-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.nav-logo-placeholder {
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem;
}
.nav-school-name { display: flex; flex-direction: column; }
.nav-name-main { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.nav-name-sub { font-size: 0.7rem; color: var(--text-secondary); }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-menu a {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 0.85rem; border-radius: 8px;
    color: var(--text-secondary); font-size: 0.875rem; font-weight: 600;
    transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(79, 70, 229, 0.08); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 220px; background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px); border: 1px solid var(--border);
    border-radius: var(--radius-sm); list-style: none; padding: 0.5rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: var(--transition); pointer-events: none;
    box-shadow: var(--shadow);
}
/* Elemen jembatan tak terlihat untuk menutup gap 8px agar dropdown tidak hilang saat mouse menyeberang */
.dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: all; }
.dropdown a { padding: 0.6rem 0.875rem; border-radius: 6px; display: flex; align-items: center; gap: 0.5rem; }
.dropdown a i { width: 16px; color: var(--primary); }

/* SPMB Nav Button */
.nav-spmb-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    border-radius: 8px !important;
}
.nav-spmb-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ========== HERO SWIPER ========== */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    padding-top: 70px;
    overflow: hidden;
}
.hero-swiper { width: 100%; height: 100%; }
.swiper-slide {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

/* ── Ken Burns zoom effect ─────────────────────────────── */
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    transform-origin: center center;
    animation: kenBurns 12s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenBurns {
    0%   { transform: scale(1)    translateX(0)     translateY(0); }
    33%  { transform: scale(1.06) translateX(-1%)   translateY(0.5%); }
    66%  { transform: scale(1.08) translateX(1%)    translateY(-0.5%); }
    100% { transform: scale(1.04) translateX(-0.5%) translateY(1%); }
}

/* ── Gradient overlay — lebih kaya ────────────────────── */
.hero-gradient {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(to right,
            rgba(15, 23, 42, 0.9) 0%,
            rgba(15, 23, 42, 0.6) 45%,
            rgba(15, 23, 42, 0.15) 75%,
            transparent 100%),
        linear-gradient(to bottom,
            rgba(0,0,0,0.3) 0%,
            transparent 50%,
            rgba(0,0,0,0.6) 100%);
}

/* ── Animated particle dots overlay ──────────────────── */
.swiper-slide::before {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: particleDrift 20s linear infinite;
    pointer-events: none;
}
@keyframes particleDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 32px 32px; }
}

/* ── Floating shapes ──────────────────────────────────── */
.hero-shapes {
    position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-shape {
    position: absolute; border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(1px);
    animation: floatShape 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width:300px; height:300px; top:-80px; right:10%; animation-duration:9s; }
.hero-shape:nth-child(2) { width:180px; height:180px; bottom:15%; right:25%; animation-duration:11s; animation-delay:-3s; }
.hero-shape:nth-child(3) { width:120px; height:120px; top:30%; right:5%;  animation-duration:7s;  animation-delay:-5s; }
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(8deg); }
}

/* ── Hero Content ─────────────────────────────────────── */
.hero-content {
    position: relative; z-index: 2;
    text-align: left; width: 100%;
    max-width: 620px; margin-right: auto;
    padding: 0 1.5rem;
}

/* ── Glassmorphism Badge ──────────────────────────────── */
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.45rem 1.1rem; border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff; font-size: 0.82rem; font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: badgeGlow 3s ease-in-out infinite alternate;
}
@keyframes badgeGlow {
    0%   { box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
    100% { box-shadow: 0 4px 25px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
}
.hero-badge i { color: #fbbf24; font-size: 0.8rem; }

/* ── Hero Title — gradient shimmer ───────────────────── */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.15;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #e2e8f0 25%,
        #cbd5e1 50%,
        #f8fafc 75%,
        #ffffff 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
    animation: titleShimmer 6s ease infinite;
}
@keyframes titleShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Subtitle ─────────────────────────────────────────── */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(241, 245, 249, 0.95); margin-bottom: 2.5rem;
    font-weight: 500; max-width: 500px; line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ── CTA Buttons ──────────────────────────────────────── */
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Hero Buttons Custom Overlay Contrast ────────────── */
.hero .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}
.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
    color: #ffffff;
}
.hero .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.hero .btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ── Scroll indicator ─────────────────────────────────── */
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
    animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}
.scroll-indicator {
    width: 26px; height: 42px; border-radius: 13px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    display: flex; justify-content: center; padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.scroll-dot {
    width: 4px; height: 8px; border-radius: 2px;
    background: #ffffff;
    animation: scrollDown 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* ── Swiper Controls ──────────────────────────────────── */
.swiper-pagination { bottom: 1.5rem !important; }
.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.5;
    width: 8px !important; height: 8px !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 28px !important; border-radius: 4px !important;
    background: var(--primary) !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 48px !important; height: 48px !important;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 1rem !important; font-weight: 900; }
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: white;
    color: var(--primary-dark) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(79,70,229,0.25);
}

/* ── Slide transition glow ────────────────────────────── */
.swiper-slide-active .hero-badge   { animation: badgeFadeIn 0.6s ease 0.2s both, badgeGlow 3s ease-in-out 0.8s infinite alternate; }
.swiper-slide-active .hero-title   { animation: textFadeUp 0.7s ease 0.3s both; }
.swiper-slide-active .hero-subtitle{ animation: textFadeUp 0.7s ease 0.45s both; }
.swiper-slide-active .hero-cta     { animation: textFadeUp 0.7s ease 0.6s both; }

@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes textFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}



/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; border-radius: 12px; font-weight: 700;
    font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition);
    font-family: inherit; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25); color: white; }
.btn-outline {
    background: white; border: 1px solid var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: rgba(79, 70, 229, 0.05); }
.btn-secondary { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { background: white; color: var(--primary); }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 0.4rem 0.875rem; font-size: 0.8rem; border-radius: 8px; }
.btn-info { background: var(--info); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-warning { background: var(--warning); color: white; }

/* ========== STATS ========== */
.stats-section { padding: 4rem 0; background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat-card {
    text-align: center; padding: 2rem 1.5rem;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius); transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(79, 70, 229, 0.3); box-shadow: var(--shadow); background: white; }
.stat-icon { font-size: 2rem; margin-bottom: 1rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; }

/* ========== EXTRA BUTTON VARIANTS ========== */
.btn-white { background: white; color: var(--primary-dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,255,255,0.3); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.8); color: white; font-weight: 700; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ========== SWIPER — PROGRAMS ========== */
.programs-swiper-wrap { position: relative; }
.programs-swiper { padding-bottom: 2.5rem !important; }
.programs-swiper .swiper-slide { height: auto; }
.programs-swiper .program-card { height: 100%; display: flex; flex-direction: column; }
.programs-pagination { bottom: 0 !important; }
.programs-pagination .swiper-pagination-bullet { background: var(--primary) !important; }

/* ========== SWIPER — GALLERY ========== */
.gallery-swiper { padding-bottom: 2.5rem !important; }
.gallery-swiper .gallery-item { border-radius: var(--radius); }
.gallery-pagination { bottom: 0 !important; }
.gallery-pagination .swiper-pagination-bullet { background: var(--primary) !important; }
.gallery-next, .gallery-prev { color: var(--primary) !important; }

/* ========== SECTIONS ========== */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
    display: inline-block; padding: 0.4rem 1.25rem; border-radius: 100px;
    background: rgba(79,70,229,0.1); color: var(--primary-dark);
    font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem;
    border: 1px solid rgba(79,70,229,0.2);
}
.section-title { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; max-width: 650px; margin: 0 auto; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 3.5rem; }
.bg-light { 
    position: relative;
    background-color: var(--bg-secondary);
    overflow: hidden;
    z-index: 0;
}
.bg-light::before, .bg-light::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    max-width: 600px; max-height: 600px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.25;
    animation: floatGlow 15s infinite alternate ease-in-out;
}
.bg-light::before {
    background: rgba(79, 70, 229, 0.4);
    top: -20%;
    left: -10%;
}
.bg-light::after {
    background: rgba(236, 72, 153, 0.4);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.3); }
}

/* Agenda Section Specific Background */
.agenda-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
}

/* ========== PROGRAMS ========== */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.program-card {
    display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.75rem;
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); transition: var(--transition); color: var(--text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,0,0,0.1); }
.program-icon {
    width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
    background: color-mix(in srgb, var(--program-color, var(--primary)) 10%, transparent);
    color: var(--program-color, var(--primary));
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.program-content { flex: 1; }
.program-content h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.program-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.program-meta { font-size: 0.8rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.program-meta i { font-size: 0.8rem; transition: transform 0.3s; }
.program-card:hover .program-meta i { transform: translateX(5px); }

/* ========== NEWS ========== */
.featured-news { margin-bottom: 3rem; }
.featured-news-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-radius: var(--radius); overflow: hidden;
    background: white; border: 1px solid var(--border);
    transition: var(--transition); color: var(--text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.featured-news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.featured-news-img { position: relative; overflow: hidden; max-height: 400px; }
.featured-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.featured-news-card:hover .featured-news-img img { transform: scale(1.05); }
.featured-news-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.featured-news-content h2 { font-size: 1.75rem; font-weight: 800; margin: 1rem 0; line-height: 1.4; }
.featured-news-content p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-badge { position: absolute; top: 1rem; left: 1rem; padding: 0.35rem 0.75rem; border-radius: 8px; color: white; font-size: 0.75rem; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.news-card-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 0.8rem; color: var(--text-secondary); display: flex; gap: 1rem; margin-bottom: 0.75rem; font-weight: 500; }
.news-card-content h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.5; color: var(--text); }
.news-card-content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.25rem; flex: 1; }
.read-more { color: var(--primary); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.news-card:hover .read-more i { transform: translateX(5px); transition: 0.3s; }

.news-page-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 2.5rem; align-items: start; }
.news-sidebar .category-list { list-style: none; }
.news-sidebar .category-list li { margin-bottom: 0.5rem; }
.news-sidebar .category-list a { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; border-radius: 8px; font-weight: 600; color: var(--text-secondary); transition: var(--transition); border: 1px solid transparent; }
.news-sidebar .category-list a:hover, .news-sidebar .category-list a.active { background: var(--bg); border-color: var(--border); color: var(--text); }
.news-sidebar .category-list a.active { border-left: 3px solid var(--cat-color, var(--primary)); }
.news-sidebar .category-list a span { background: var(--bg-secondary); padding: 0.1rem 0.5rem; border-radius: 6px; font-size: 0.75rem; border: 1px solid var(--border); }

.news-detail-grid { display: grid; grid-template-columns: 2.8fr 1fr; gap: 3rem; align-items: start; }

/* Related News Sidebar */
.related-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    align-items: center;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { opacity: 0.8; }
.related-img {
    width: 80px;
    min-width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}
.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.related-item h5 {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 0.35rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-item .news-meta { font-size: 0.72rem; margin: 0; }
.news-detail-img { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-detail-img img { width: 100%; max-height: 550px; object-fit: cover; }
.news-detail-header { margin-bottom: 2rem; }
.news-detail-header h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.3; margin: 1rem 0; color: var(--text); }
.news-detail-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.news-detail-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.news-detail-content h2, .news-detail-content h3 { margin: 2rem 0 1rem; color: var(--text); font-weight: 800; }
.news-detail-content p { margin-bottom: 1.25rem; }
.news-detail-content ul, .news-detail-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }

.news-interaction { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.btn-like { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 2px solid var(--border); color: var(--text-secondary); padding: 0.5rem 1.25rem; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 1rem; transition: var(--transition); }
.btn-like:hover { border-color: var(--danger); color: var(--danger); }
.news-share { display: flex; align-items: center; gap: 0.75rem; }
.news-share span { font-weight: 600; color: var(--text); margin-right: 0.5rem; }
.share-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: white; transition: var(--transition); font-size: 1.1rem; }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); color: white; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }
.share-btn.em { background: #64748b; }

/* Immersive Hero */
.immersive-hero, .interactive-section { position: relative; width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.interactive-section { border-radius: 0; margin-bottom: 0; box-shadow: none; background-color: transparent; }
.immersive-img { width: 100%; height: 500px; object-fit: cover; display: block; }

/* Gambar hero di detail berita: tampil penuh, tidak terpotong */
.news-detail .immersive-hero { background: #0f172a; }
.news-detail .immersive-img {
    height: auto;
    max-height: 520px;
    min-height: 280px;
    object-fit: contain;
    object-position: center;
    width: 100%;
}
.immersive-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 6rem 3rem 2rem; background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; }
.immersive-content h1 { font-size: 1.25rem; font-weight: 800; color: white; margin: 0.5rem 0; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.immersive-content .breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 1rem; }
.immersive-content .breadcrumb a { color: white; text-decoration: none; transition: opacity 0.3s ease; }
.immersive-content .breadcrumb a:hover { opacity: 0.8; }
.immersive-content .breadcrumb span { color: rgba(255,255,255,0.85); opacity: 0.7; }

/* Interactive Glow */
.interactive-section::before, .immersive-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(253, 224, 71, 0.35), transparent 40%);
    transition: background 0.1s ease;
}
.interactive-section::before {
    z-index: -1;
    background: radial-gradient(circle 800px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(236, 72, 153, 0.15), transparent 40%);
}
.news-meta span { display: inline-flex; align-items: center; gap: 0.5rem; margin-right: 1.5rem; font-size: 10px; }

/* Reading Progress */
.reading-progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--primary); z-index: 9999; transition: width 0.1s ease; width: 0%; }

/* Drop Cap */
.news-detail-content.prose > p:first-of-type::first-letter { float: left; font-size: 4.5rem; line-height: 0.8; padding-top: 4px; padding-right: 8px; padding-left: 3px; color: var(--primary); font-weight: 800; text-transform: uppercase; }

/* Sticky Sidebar */
.news-related { position: sticky; top: 100px; }

.news-related h4 { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text); padding-bottom: 0.75rem; border-bottom: 2px solid var(--border); }
.related-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; transition: var(--transition); }
.related-item:hover { transform: translateX(5px); }
.related-img { width: 90px; height: 75px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-item h5 { font-size: 0.95rem; font-weight: 700; line-height: 1.4; color: var(--text); margin-bottom: 0.3rem; }
.related-item .news-meta { margin: 0; font-size: 0.75rem; }

/* ========== GALLERY ========== */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: var(--radius);
    aspect-ratio: 4/3; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0; background: rgba(30,41,59,0.7);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.5rem; opacity: 0; transition: var(--transition); color: white;
    backdrop-filter: blur(2px);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; }
.gallery-overlay span { font-size: 0.9rem; font-weight: 700; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; background: rgba(15,23,42,0.95); z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(10px);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.lightbox p { color: white; margin-top: 1.5rem; font-size: 1rem; font-weight: 500; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(255,255,255,0.1); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; font-size: 1.25rem; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { background: var(--danger); transform: rotate(90deg); }

/* ========== AGENDA ========== */
.agenda-list { display: flex; flex-direction: column; gap: 1.25rem; }
.agenda-item {
    display: flex; gap: 1.5rem; align-items: flex-start;
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem; transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.agenda-item:hover { border-color: rgba(79,70,229,0.3); transform: translateY(-4px); box-shadow: var(--shadow); }
.agenda-date {
    flex-shrink: 0; width: 80px; border-radius: 14px;
    text-align: center; padding: 1rem 0.5rem; color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.agenda-day { display: block; font-size: 1.75rem; font-weight: 900; line-height: 1; }
.agenda-month { display: block; font-size: 0.8rem; font-weight: 700; margin-top: 0.35rem; text-transform: uppercase; letter-spacing: 1px; }
.agenda-content h4 { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.35rem; color: var(--text); }
.agenda-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.agenda-location { font-size: 0.85rem; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 8rem 0 4rem; text-align: center;
    background: linear-gradient(180deg, rgba(79,70,229,0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--text); margin-bottom: 0.5rem; }
.page-header p { color: var(--text-secondary); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-secondary); }

/* ========== FORMS & MISC ========== */
.glass-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.form-control {
    width: 100%; padding: 0.75rem 1rem; border-radius: 10px;
    background: var(--bg); border: 1px solid var(--border);
    color: var(--text); font-family: inherit; font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(79,70,229,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Info Table */
.info-table table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 0.75rem 1rem; font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.info-table td:first-child { color: var(--text-secondary); font-weight: 600; white-space: nowrap; width: 180px; }

/* SPMB Banner */
.spmb-banner { background: linear-gradient(135deg, var(--primary), var(--secondary)); padding: 2.5rem 0; box-shadow: inset 0 4px 20px rgba(0,0,0,0.1); }
.spmb-banner-content { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.spmb-banner-icon { font-size: 3rem; color: rgba(255,255,255,0.9); flex-shrink: 0; }
.spmb-banner-text { flex: 1; }
.spmb-banner-text h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 0.5rem; }
.spmb-banner-text p { color: rgba(255,255,255,0.9); font-size: 1rem; }

/* Status Badges */
.status-badge { padding: 0.3rem 0.75rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.status-badge.open { background: var(--success); color: white; }
.status-badge.closed { background: var(--danger); color: white; }

/* ========== FOOTER ========== */
.footer { border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.footer-logo-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; box-shadow: 0 4px 10px rgba(79,70,229,0.3); }
.footer-school-name { font-weight: 800; color: var(--text); font-size: 1.1rem; }
.footer-school-sub { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; }
.footer-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link { width: 40px; height: 40px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 1rem; transition: var(--transition); }
.social-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(79,70,229,0.3); }
.footer-links h4, .footer-contact h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--text); }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a { font-size: 0.95rem; color: var(--text-secondary); font-weight: 500; }
.footer-links ul li a:hover { color: var(--primary); }
.contact-info { list-style: none; }
.contact-info li { display: flex; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.5; }
.contact-info li i { color: var(--primary); width: 16px; flex-shrink: 0; margin-top: 4px; font-size: 1rem; }
.footer-bottom { padding: 1.5rem 0; border-top: 1px solid var(--border); background: var(--bg); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; }

/* ========== GALLERY ========== */
.gallery-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 250px; gap: 1.5rem; margin-top: 2rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: var(--transition); }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 2rem 1rem; opacity: 0; transition: var(--transition); color: white; text-align: center; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; margin-bottom: 0.5rem; transform: translateY(20px); transition: var(--transition); }
.gallery-item:hover .gallery-overlay i { transform: translateY(0); }
.gallery-overlay span { font-size: 1.1rem; font-weight: 700; transform: translateY(20px); transition: var(--transition); transition-delay: 0.05s; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 10000; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(5px); }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close { position: absolute; top: 2rem; right: 2rem; background: rgba(255,255,255,0.1); border: none; color: white; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: var(--danger); transform: rotate(90deg); }
.lightbox img { max-width: 90%; max-height: 80vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox p { color: white; margin-top: 1.5rem; font-size: 1.2rem; font-weight: 500; text-align: center; max-width: 800px; }

/* ========== ANIMATIONS ========== */
@keyframes scrollDown { 0%,100%{transform:translateY(0)} 50%{transform:translateY(12px)} }

/* ========== CONTACT PAGE ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.modern-card { padding: 2.5rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); }
.modern-card .card-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; color: var(--text); }
.modern-card .card-subtitle { color: var(--text-light); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.5; }
.text-gradient { background: linear-gradient(135deg, rgba(79, 70, 229, 1) 0%, rgba(236, 72, 153, 1) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary); flex-shrink: 0; }
.contact-info-text strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 0.25rem; }
.contact-info-text p { color: var(--text-light); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 575px) { .form-grid-2 { grid-template-columns: 1fr; gap: 0; } }
.modern-form .form-control { border-radius: 12px; padding: 0.8rem 1rem; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.9); transition: all 0.3s ease; }
.modern-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); outline: none; }
.btn-modern { border-radius: 12px; padding: 1rem; font-weight: 700; background: linear-gradient(135deg, rgba(79, 70, 229, 1) 0%, rgba(236, 72, 153, 1) 100%); border: none; color: white; display: flex; justify-content: center; align-items: center; gap: 0.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; width: 100%; }
.btn-modern:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2); }

/* ========== SPMB PAGE ========== */
.spmb-status-banner { padding: 1.5rem 2rem; border-radius: 16px; margin-bottom: 2rem; display: flex; align-items: center; gap: 1.5rem; background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.spmb-status-banner.open { border-left: 5px solid #10b981; }
.spmb-status-banner.closed { border-left: 5px solid #ef4444; }
.spmb-status-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.spmb-status-banner.open .spmb-status-icon { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.spmb-status-banner.closed .spmb-status-icon { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.spmb-status-banner h3 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; }
.spmb-status-banner p { color: var(--text-light); margin: 0; }
.status-badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-badge.open { background: #10b981; color: white; }
.status-badge.closed { background: #ef4444; color: white; }

.spmb-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.spmb-action-card { padding: 2rem; border-radius: 20px; text-align: center; text-decoration: none; transition: all 0.3s ease; position: relative; overflow: hidden; display: block; }
.spmb-action-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; opacity: 0; transition: opacity 0.3s ease; }
.spmb-action-card.primary { background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0.15)); border: 1px solid rgba(79, 70, 229, 0.2); }
.spmb-action-card.info { background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(56, 189, 248, 0.15)); border: 1px solid rgba(56, 189, 248, 0.2); }
.spmb-action-card.primary:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(79, 70, 229, 0.15); }
.spmb-action-card.info:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(56, 189, 248, 0.15); }
.spmb-action-card i { font-size: 2.5rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.spmb-action-card.primary i { color: var(--primary); }
.spmb-action-card.info i { color: #0ea5e9; }
.spmb-action-card h3 { color: var(--text); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.spmb-action-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; position: relative; z-index: 1; }

.spmb-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.spmb-info-grid .glass-card { padding: 2.5rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.spmb-info-grid h3 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.spmb-info-grid h3 i { color: var(--primary); }
.spmb-info-grid ul, .spmb-info-grid ol { padding-left: 1.5rem; color: var(--text-light); line-height: 1.7; }
.spmb-info-grid li { margin-bottom: 0.5rem; }

/* Persyaratan List */
.requirements-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.req-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; transition: all 0.3s ease; }
.req-item:hover { transform: translateX(5px); background: rgba(255, 255, 255, 0.9); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.req-icon { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2)); color: #10b981; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.9rem; }
.req-text { font-size: 1.05rem; color: var(--text); line-height: 1.5; margin: 0; font-weight: 500; }

/* Timeline (Linimasa) Modern */
.timeline-container { margin-top: 1.5rem; position: relative; padding-left: 2rem; }
.timeline-container::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, var(--primary), var(--secondary)); border-radius: 3px; }
.timeline-item { position: relative; padding-bottom: 2rem; padding-left: 1.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; left: -2.85rem; top: 0; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; border: 4px solid white; box-shadow: 0 3px 10px rgba(0,0,0,0.1); z-index: 2; }
.timeline-content { background: rgba(255, 255, 255, 0.6); padding: 1.25rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; }
.timeline-content:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 1); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.timeline-content h4 { color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; margin-bottom: 0.5rem; }
.timeline-content p { color: var(--text); font-size: 1.05rem; line-height: 1.5; margin: 0; font-weight: 500; }

/* Programs Modern Card */
.spmb-programs-card { padding: 3rem; border-radius: 24px; background: rgba(255, 255, 255, 0.9); }
.modern-programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.modern-program-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; background: white; border-radius: 16px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 5px 20px rgba(0,0,0,0.03); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.modern-program-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--prog-color); border-radius: 5px 0 0 5px; transition: width 0.3s ease; }
.modern-program-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.modern-program-card:hover::before { width: 100%; opacity: 0.05; }
.prog-icon-wrapper { width: 50px; height: 50px; border-radius: 12px; background: rgba(0,0,0,0.03); color: var(--prog-color); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; position: relative; z-index: 1; transition: all 0.3s ease; }
.modern-program-card:hover .prog-icon-wrapper { background: var(--prog-color); color: white; transform: rotate(-10deg) scale(1.1); }
.prog-content { position: relative; z-index: 1; }
.prog-content h4 { margin: 0 0 0.25rem 0; font-size: 1.1rem; font-weight: 800; color: var(--text); }
.prog-quota { font-size: 0.9rem; color: var(--text-light); display: flex; align-items: center; gap: 0.5rem; }
.prog-quota i { color: var(--prog-color); font-size: 0.8rem; }
.prog-quota strong { color: var(--text); font-weight: 800; }

/* Visi & Misi Modern Card */
.vision-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 1rem; }
@media (min-width: 992px) { .vision-grid { grid-template-columns: 1fr 1fr; } }
.vision-card, .mission-card { padding: 3rem; border-radius: 24px; position: relative; overflow: hidden; }
.vision-icon-wrapper { width: 64px; height: 64px; border-radius: 16px; background: rgba(79, 70, 229, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; }
.vision-text-box { margin-top: 1.5rem; font-size: 1.15rem; color: var(--text); line-height: 1.8; font-weight: 500; }
.mission-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.mission-item { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.25rem; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(0,0,0,0.05); border-radius: 16px; transition: all 0.3s ease; }
.mission-item:hover { transform: translateX(5px); background: #ffffff; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.mission-number { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--secondary), #f43f5e); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3); }
.mission-text { font-size: 1.05rem; color: var(--text); line-height: 1.6; font-weight: 500; margin: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-page-grid, .news-detail-grid, .program-detail-grid { grid-template-columns: 1fr; }
    .featured-news-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; flex-direction: column; align-items: stretch; position: fixed; top: 70px; left: 0; right: 0; background: rgba(255,255,255,0.98); padding: 1rem; gap: 0.5rem; border-bottom: 1px solid var(--border); box-shadow: 0 10px 20px rgba(0,0,0,0.05); max-height: calc(100vh - 70px); overflow-y: auto; }
    .nav-menu li { width: 100%; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-menu a { justify-content: flex-start; padding: 0.75rem 1rem; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; padding-left: 2rem; margin-top: 0.25rem; display: none; flex-direction: column; gap: 0.25rem; }
    .dropdown.open { display: flex; }
    .dropdown a { padding: 0.5rem 1rem; }
    .nav-spmb-btn { text-align: center; justify-content: center !important; margin-top: 0.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .hero-content { padding-top: 2rem; }
    .spmb-banner-content { flex-direction: column; text-align: center; }
    
    /* Mobile Immersive Hero Adjustments */
    .immersive-img { height: 350px; }
    .immersive-overlay { padding: 4rem 1.5rem 1.5rem; }
    .immersive-content h1 { font-size: 1rem; line-height: 1.3; margin: 0.5rem 0; }
    .spmb-info-grid { grid-template-columns: 1fr; }
    .news-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .news-meta span { margin-right: 0; font-size: 10px; }
    
    .news-detail .glass-card { padding: 1.5rem !important; margin-top: -10px !important; }
    .news-detail-content.prose > p:first-of-type::first-letter { font-size: 3.5rem; }
}

/* ========== TEFA PAGE ========== */
.tefa-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.15);
}
.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
}
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-card:hover .product-image {
    transform: scale(1.08);
}
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.product-info-wrapper {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}
.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    white-space: pre-line;
}
.product-actions-wrapper {
    margin-top: auto;
}
.btn-order {
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--secondary, #818cf8));
    color: white;
    font-weight: 600;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    filter: brightness(1.05);
}

/* Modal styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.modal-card {
    width: 90%;
    max-width: 540px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}
.modal-overlay.hidden .modal-card {
    transform: scale(0.9);
}
.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}
.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.modal-close-btn:hover {
    color: var(--text-primary);
}
.modal-body {
    padding: 2rem;
    overflow-y: auto;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}
.form-input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input-field:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.select-field {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Instagram Section */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.instagram-item {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.instagram-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.instagram-item:hover img {
    transform: scale(1.08);
}
.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    gap: 0.5rem;
}
.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: wa-pulse 2s infinite;
}
.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Alumni Card Styles (moved from alumni/index to frontend.css) */
.alumni-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}
.alumni-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.12;
    z-index: 1;
}
.alumni-avatar-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}
.alumni-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.alumni-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 4px solid var(--bg-secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
}
.alumni-info {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.alumni-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.alumni-major {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.alumni-batch {
    display: inline-block;
    align-self: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.alumni-work {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.4;
}
.alumni-work i {
    color: var(--primary-light);
}
.alumni-quote {
    font-size: 0.825rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin: 0.5rem 0 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.015);
    border-radius: 8px;
    border-left: 3px solid var(--primary-light);
    position: relative;
    text-align: left;
}
.alumni-quote::before {
    content: '"';
    font-size: 2.5rem;
    position: absolute;
    top: -12px; left: 6px;
    opacity: 0.05;
    font-family: serif;
}
.alumni-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    width: 100%;
    z-index: 2;
}
.alumni-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
}
.alumni-socials a:hover {
    color: white;
    transform: scale(1.12);
}
.alumni-socials a.linkedin:hover {
    background: #0077b5;
}
.alumni-socials a.instagram:hover {
    background: #e1306c;
}
