/* ================================ */
/* SMPN 70 - Website    */
/* Tema: Biru-Putih (Seragam SMP)   */
/* ================================ */

:root {
    /* Primary - Biru Seragam SMP */
    --blue-900: #0d47a1;
    --blue-800: #1a237e;
    --blue-700: #1565c0;
    --blue-600: #1976d2;
    --blue-500: #2196f3;
    --blue-400: #42a5f5;
    --blue-300: #64b5f6;
    --blue-100: #bbdefb;
    --blue-50: #e3f2fd;

    /* Accent - Gold/Islamic */
    --gold: #c9a84c;
    --gold-light: #d4af37;
    --gold-dark: #b8860b;

    /* Neutral */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --gray-900: #111212;

    /* Functional */
    --success: #2e7d32;
    --danger: #c62828;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-arabic: 'Amiri', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 50px rgba(0,0,0,0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    --navy: #1a237e;
    --sage: #66bb6a;
}

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

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

body {
    font-family: var(--font-primary, 'Poppins', sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700, #343a40);
    background: var(--white, #ffffff);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

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

button { cursor: pointer; font-family: inherit; }

.container {
    width: 100%;
    max-width: var(--container-width, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

/* ====================
   Buttons
   ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm, 6px);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--blue-700, #1565c0);
    color: var(--white, #fff);
}
.btn-primary:hover {
    background: var(--blue-900, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white, #fff);
    border-color: var(--white, #fff);
}
.btn-outline:hover {
    background: var(--white, #fff);
    color: var(--blue-900, #0d47a1);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ====================
   Top Bar
   ==================== */
.top-bar {
    background: var(--blue-900, #0d47a1);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    font-size: 11px;
    color: var(--gold, #c9a84c);
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 12px;
}
.top-bar-right a:hover {
    background: var(--gold, #c9a84c);
}

/* ====================
   Running Text / Marquee
   ==================== */
.running-text {

                background: linear-gradient(90deg, #0d1f4a 0%, #1a3a7a 50%, #0d1f4a 100%);
    color: #f9a825;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 2px solid rgba(13, 71, 161, 0.15);
}

.running-text .marquee-track {
    display: inline-flex;
    animation: marquee-scroll 40s linear infinite;
}

.running-text .marquee-track:hover {
    animation-play-state: paused;
}

.running-text .marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    white-space: nowrap;
}

.running-text .marquee-item i {
    font-size: 11px;
    opacity: 0.7;
}

.running-text .marquee-separator {
    display: inline-flex;
    padding: 0 12px;
    opacity: 0.4;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====================
   Header / Navigasi
   ==================== */
.header {
    background: var(--white, #fff);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.1));
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    color: #0d47a1;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: #c9a84c;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Nav */
.nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.nav ul li {
    flex: 1 1 auto;
    min-width: 0;
    padding: 5px;
}

.nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: #495057;
    border-radius: var(--radius-sm, 6px);
    position: relative;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #1565c0;
    background: #e3f2fd;
}

.nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: #1565c0;
    border-radius: 2px;
}

.nav .btn-ppdb {
    background: #1565c0;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius-sm, 6px);
    font-weight: 600;
}
.nav .btn-ppdb:hover {
    background: #0d47a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.3);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 8px 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    color: #495057;
}

.dropdown-menu li a:hover {
    color: #1565c0;
    background: #e3f2fd;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: #1565c0;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm, 6px);
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ====================
   Hero Slider
   ==================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid #c9a84c;
    color: #d4af37;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h2 span {
    color: #d4af37;
}

.hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: var(--radius-sm, 6px);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #f9a825 0%, #fbc02d 100%);
    color: #1a237e; /* biru tua agar terbaca */
    border: none;
    box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
}

.hero-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #fbc02d 0%, #f9a825 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 168, 37, 0.5);
}


/* Hero Decoration */
.hero-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.pattern-circle {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;
}

.pattern-circle::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.pattern-dots {
    position: absolute;
    right: 80px;
    bottom: 60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background: #c9a84c;
    width: 36px;
    border-radius: 6px;
}

/* Hero Arrows */
.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 5;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.arrow:hover {
    background: #c9a84c;
    border-color: #c9a84c;
    color: #111212;
}

/* ====================
   Quick Info
   ==================== */
.quick-info {
    padding: 15px 0;
    background: #fff;
    position: relative;
    z-index: 10;
    margin-top: -10px;
}

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

.quick-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: var(--radius-md, 10px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #1565c0;
    transition: all 0.3s ease;
}

.quick-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-left-color: #c9a84c;
}

.qi-icon {
    width: 50px;
    height: 50px;
    background: #e3f2fd;
    border-radius: var(--radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1565c0;
    font-size: 20px;
    flex-shrink: 0;
}

.qi-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 2px;
}

.qi-content p {
    font-size: 12px;
    color: #6c757d;
}

/* ====================
   Section Headers
   ==================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1976d2;
    margin-bottom: 8px;
    text-align: center;
}



.section-header.light .section-subtitle {
    color: #d4af37;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 16px;
    text-align: center;
}

.section-header.light .section-title {
    color: #fff;
}

.section-divider {
    display: flex;
    justify-content: center;
}

.section-divider span {
    width: 60px;
    height: 3px;
    background: #c9a84c;
    border-radius: 3px;
    display: block;
}

/* ====================
   Sambutan Kepala Sekolah
   ==================== */
.sambutan {
    padding: 80px 0;
    background: #f8f9fa;
}

.sambutan-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.sambutan-image {
    flex-shrink: 0;
    text-align: center;
}

.image-frame {
    width: 280px;
    height: 340px;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    border: 4px solid #bbdefb;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #42a5f5;
}

.image-label {
    margin-top: 16px;
}

.image-label h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0d47a1;
}

.image-label span {
    font-size: 13px;
    color: #6c757d;
}

.sambutan-text {
    flex: 1;
    min-width: 0;
}

.bismillah {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: #0d47a1;
    margin-bottom: 20px;
}

.sambutan-text p {
    margin-bottom: 14px;
    text-align: justify;
}

.sign-off {
    font-weight: 600;
    color: #1565c0;
}

/* ====================
   Visi Misi
   ==================== */
.visi-misi {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 100%);
    position: relative;
    overflow: hidden;
}

.visi-misi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L25 15 L15 25 L5 15 Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
    pointer-events: none;
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.visi-card, .misi-card, .tujuan-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg, 16px);
    padding: 36px 28px;
}

.vm-icon {
    width: 60px;
    height: 60px;
    background: rgba(201, 168, 76, 0.2);
    border-radius: var(--radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 20px;
}

.visi-card h3, .misi-card h3, .tujuan-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.visi-card p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-style: italic;
}

.misi-card ul, .tujuan-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.misi-card li, .tujuan-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 13.5px;
}

.misi-card li i, .tujuan-card li i {
    color: #c9a84c;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ====================
   Program Unggulan (Highlight + Grid)
   ==================== */
.program {
    padding: 80px 0;
    background: #fff;
}

.program-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Highlight card */
.program-highlight {
    background: linear-gradient(135deg, #0d47a1, #1a237e);
    border-radius: var(--radius-lg, 16px);
    padding: 44px 36px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-highlight::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.program-highlight::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(33,150,243,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.program-highlight-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gold, #c9a84c), var(--gold-dark, #b8860b));
    border-radius: var(--radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.program-highlight .badge-new {
    display: inline-block;
    padding: 4px 14px;
    background: var(--gold, #c9a84c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.program-highlight h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}

.program-highlight p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 24px;
}

.program-highlight .program-link {
    color: var(--gold, #c9a84c);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.program-highlight .program-link:hover {
    color: #fff;
    gap: 12px;
}

/* Grid of other programs */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-md, 10px);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    border: 1px solid #e8eaf6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1565c0, #c9a84c);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 8px 30px rgba(0,0,0,0.12));
}

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

.program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: var(--radius-sm, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1565c0;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
}

.program-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 8px;
}

.program-card p {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1976d2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.program-link:hover {
    color: #0d47a1;
    gap: 10px;
}

/* ====================
   Statistik
   ==================== */
.statistik {
    padding: 60px 0;
    background: linear-gradient(135deg, #0d47a1 0%, #1a237e 50%, #1565c0 100%);
    position: relative;
}

.statistik::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.02) 40px,
        rgba(255,255,255,0.02) 80px
    );
    pointer-events: none;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-icon {
    font-size: 32px;
    color: #c9a84c;
    margin-bottom: 12px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 28px;
    color: #c9a84c;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ====================
   Berita & Kegiatan (Highlight + Grid)
   ==================== */
.berita {
    padding: 80px 0;
    background: #f8f9fa;
}

.berita-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Highlight berita */
.berita-highlight {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.1));
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.berita-highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl, 0 15px 50px rgba(0,0,0,0.15));
}

.berita-highlight-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.berita-highlight-image .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 56px;
}

.berita-highlight .berita-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 16px;
    background: var(--gold, #c9a84c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 2;
}

.berita-highlight .badge-terbaru {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    background: #c62828;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.berita-highlight .badge-terbaru i {
    font-size: 8px;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.berita-highlight-body {
    padding: 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-highlight-body .berita-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
    font-size: 11px;
    color: #adb5bd;
    flex-wrap: wrap;
}

.berita-highlight-body .berita-meta i {
    color: #42a5f5;
    margin-right: 4px;
}

.berita-highlight-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 10px;
    line-height: 1.4;
}

.berita-highlight-body h3 a {
    color: inherit;
    text-decoration: none;
}

.berita-highlight-body h3 a:hover {
    color: #1976d2;
}

.berita-highlight-body p {
    font-size: 0.88rem;
    color: #495057;
    line-height: 1.75;
    margin-bottom: 16px;
    flex: 1;
}

.berita-highlight-body .read-more {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1565c0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.berita-highlight-body .read-more:hover {
    gap: 12px;
    color: #0d47a1;
}

/* Berita List (right side grid) */
.berita-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.berita-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8eaf6;
    display: flex;
    flex-direction: column;
}

.berita-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(13, 71, 161, 0.1);
}

.berita-item-image {
    position: relative;
    height: 110px;
    overflow: hidden;
}

.berita-item-image .img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 1.8rem;
}

.berita-item-image .berita-category {
    position: absolute;
    top: 8px;
    left: 10px;
    padding: 2px 10px;
    background: var(--gold, #c9a84c);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    z-index: 2;
}

.berita-item-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.berita-item-body .berita-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.68rem;
    color: #adb5bd;
}

.berita-item-body .berita-meta i {
    color: #42a5f5;
    margin-right: 3px;
    font-size: 0.62rem;
}

.berita-item-body h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.berita-item-body h4 a {
    color: inherit;
    text-decoration: none;
}

.berita-item-body h4 a:hover {
    color: #1976d2;
}

.berita-item-body p {
    font-size: 0.74rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.berita-item-body .read-more {
    font-size: 0.74rem;
    font-weight: 600;
    color: #1976d2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.berita-item-body .read-more:hover {
    color: #0d47a1;
    gap: 10px;
}

/* ====================
   Blog (Highlight + Grid)
   ==================== */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #fff 100%);
}

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

.blog .section-header h2 {
    font-size: 2.2rem;
    color: #0d47a1;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.blog .section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c9a84c;
    margin: 10px auto 0;
    border-radius: 2px;
}

.blog .section-header p {
    color: #555;
    font-size: 1rem;
    margin-top: 10px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Highlight blog */
.blog-highlight {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8eaf6;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 44px rgba(13, 71, 161, 0.14);
}

.blog-highlight-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-highlight-placeholder i {
    font-size: 3.5rem;
    color: rgba(255,255,255,0.7);
}

.blog-highlight .blog-highlight-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    background: #c62828;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-highlight .blog-highlight-badge i {
    font-size: 8px;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.blog-highlight-body {
    padding: 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-highlight-body .blog-card-cat {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.blog-highlight-body .blog-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-highlight-body .blog-card-excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.blog-highlight-body .blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

.blog-highlight-body .blog-card-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-highlight-body .blog-card-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-highlight-body .blog-card-author-avatar i {
    font-size: 0.8rem;
    color: #fff;
}

.blog-highlight-body .blog-card-author-name {
    font-size: 0.78rem;
    color: #888;
    font-weight: 500;
}

.blog-highlight-body .blog-card-reading-time {
    font-size: 0.74rem;
    color: #999;
}

.blog-highlight-body .blog-card-reading-time i {
    color: #c9a84c;
    margin-right: 3px;
}

/* Grid of other blogs */
.blog-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-content: start;
}

.blog-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e8eaf6;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(13, 71, 161, 0.1);
}

.blog-item-placeholder {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-item-placeholder i {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.65);
}

.blog-item-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-item-body .blog-card-cat {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 16px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 8px;
}

.blog-item-body .blog-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-item-body .blog-item-excerpt {
    font-size: 0.74rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-item-body .blog-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.blog-item-body .blog-item-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-item-body .blog-item-author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-item-body .blog-item-author-avatar i {
    font-size: 0.5rem;
    color: #fff;
}

.blog-item-body .blog-item-author-name {
    font-size: 0.66rem;
    color: #999;
    font-weight: 500;
}

.blog-item-body .blog-item-reading-time {
    font-size: 0.62rem;
    color: #aaa;
}

.blog-item-body .blog-item-reading-time i {
    color: #c9a84c;
    margin-right: 2px;
    font-size: 0.6rem;
}

.blog-more {
    text-align: center;
    margin-top: 36px;
}

.blog-more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.blog-more a:hover {
    background: transparent;
    color: #0d47a1;
    border-color: #0d47a1;
}

.blog-more a i {
    transition: transform 0.3s;
}

.blog-more a:hover i {
    transform: translateX(4px);
}

/* Blog gold accent divider */
.blog-divider {
    width: 60px;
    height: 3px;
    background: #c9a84c;
    border-radius: 2px;
    margin: 0 auto 12px;
}

/* Category colors */
.blog-card-cat.parenting { background: #c9a84c; }
.blog-card-cat.pendidikan-islam { background: #1565c0; }
.blog-card-cat.tips-belajar { background: #0277bd; }
.blog-card-cat.inspirasi { background: #1b5e20; }
.blog-card-cat.tahfidz { background: #7b1fa2; }
.blog-card-cat.karakter { background: #c62828; }

/* Blog Responsive */
@media (max-width: 992px) {
    .program-layout { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr 1fr; }
    .berita-layout { grid-template-columns: 1fr; }
    .berita-list { grid-template-columns: 1fr 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
    .program-layout { grid-template-columns: 1fr; }
    .program-grid { grid-template-columns: 1fr; }
    .berita-layout { grid-template-columns: 1fr; }
    .berita-list { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-list { grid-template-columns: 1fr; }
    .blog-highlight-placeholder { height: 180px; }
    .blog-item-placeholder { height: 100px; }
    .berita-item-image { height: 100px; }
    .berita-highlight-image { height: 180px; }
}

/* ====================
   Galeri
   ==================== */
.galeri {
    padding: 80px 0;
    background: #fff;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    grid-auto-rows: 200px;
}

.galeri-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.galeri-placeholder {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md, 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 36px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.galeri-placeholder span {
    font-size: 13px;
    font-weight: 500;
}

.galeri-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.galeri-placeholder:hover i {
    color: rgba(255,255,255,0.6);
    transform: scale(1.1);
}

/* ====================
   Testimoni
   ==================== */
.testimoni {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d47a1, #1a237e);
    position: relative;
    overflow: hidden;
}

.testimoni::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimoni-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg, 16px);
    padding: 32px;
    transition: all 0.3s ease;
}

.testimoni-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.testimoni-stars {
    margin-bottom: 16px;
}

.testimoni-stars i {
    color: #c9a84c;
    font-size: 14px;
}

.testimoni-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimoni-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a84c;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.author-info span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ====================
   CTA PPDB
   ==================== */
.cta-ppdb {
    padding: 80px 0;
    background: #fff;
}

.cta-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: var(--radius-xl, 24px);
    padding: 50px;
    border: 2px solid #bbdefb;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: #bbdefb;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.cta-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 4px;
}

.cta-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 14px;
}

.cta-text p {
    font-size: 14px;
    color: #495057;
    margin-bottom: 20px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #495057;
}

.cta-feature i {
    color: #2e7d32;
}

.cta-action {
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-cta-primary {
    background: #1565c0;
    color: #fff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-md, 10px);
    display: block;
    margin-bottom: 12px;
    border: 2px solid transparent;
}
.btn-cta-primary:hover {
    background: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.4);
}

.btn-cta-secondary {
    background: #fff;
    color: #1565c0;
    padding: 12px 30px;
    border: 2px solid #e9ecef;
    border-radius: var(--radius-md, 10px);
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 14px;
}
.btn-cta-secondary:hover {
    border-color: #1565c0;
    background: #1565c0;
    color: #fff;
}

.cta-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0d47a1;
}

.cta-contact i {
    color: #2e7d32;
    font-size: 18px;
}

/* ====================
   Kontak
   ==================== */
.kontak {
    padding: 80px 0;
    background: #f8f9fa;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.kontak-item {
    display: flex;
    gap: 14px;
    margin-bottom: 24px;
}

.kontak-icon {
    width: 48px;
    height: 48px;
    background: #e3f2fd;
    border-radius: var(--radius-md, 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1565c0;
    font-size: 18px;
    flex-shrink: 0;
}

.kontak-detail h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0d47a1;
    margin-bottom: 4px;
}

.kontak-detail p {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.kontak-map {
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: #e3f2fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #42a5f5;
    font-size: 50px;
    border-radius: var(--radius-lg, 16px);
    border: 2px dashed #bbdefb;
}

.map-placeholder p {
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
}

.map-placeholder span {
    font-size: 12px;
    color: #adb5bd;
}

.kontak-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: var(--radius-sm, 6px);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ====================
   Footer
   ==================== */
.footer {
    background: #111212;
    color: rgba(255,255,255,0.7);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

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

.footer-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    border-radius: var(--radius-sm, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #1565c0;
    color: #fff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c9a84c;
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: #c9a84c;
    margin-top: 4px;
    font-size: 12px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ====================
   Back to Top
   ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0d47a1;
    transform: translateY(-3px);
}

/* ====================
   WhatsApp Float
   ==================== */
.wa-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: wa-pulse 2s infinite;
    text-decoration: none;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.wa-float:hover {
    background: #128c7e;
}

/* ====================
   Search Float Button
   ==================== */
.search-float {
    position: fixed;
    bottom: 154px;
    right: 30px;
    width: 54px;
    height: 54px;
    background: var(--primary, #0d47a1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(13, 71, 161, 0.4);
    z-index: 999;
    cursor: pointer;
    border: none;
    text-decoration: none;
    animation: search-pulse 2.5s infinite;
    transition: background 0.3s ease, transform 0.3s ease;
}

@keyframes search-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(13, 71, 161, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 6px 28px rgba(13, 71, 161, 0.55); }
}

.search-float:hover {
    background: #1565c0;
    transform: scale(1.1);
}

.search-float.active {
    background: var(--accent, #c9a84c);
    animation: none;
    transform: rotate(45deg) scale(1);
}

.search-float.active:hover {
    background: #b8963f;
}

/* Search Panel */
.search-panel {
    position: fixed;
    bottom: 154px;
    right: 96px;
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.search-panel-header {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-panel-header i {
    color: #c9a84c;
    font-size: 18px;
}

.search-panel-header span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.search-panel-body {
    padding: 16px 18px;
}

.search-panel-body input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
    box-sizing: border-box;
}

.search-panel-body input:focus {
    border-color: var(--primary, #0d47a1);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.search-input-wrapper i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9e9e;
    font-size: 14px;
    transition: color 0.3s ease;
}

.search-input-wrapper input:focus ~ i,
.search-input-wrapper input:focus + i {
    color: var(--primary, #0d47a1);
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 0;
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, #0a3d8f, #0d47a1);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

.search-panel-footer {
    padding: 0 18px 14px 18px;
    font-size: 11px;
    color: #9e9e9e;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* Search Results Dropdown (inside panel) */
.search-results {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    display: none;
}

.search-results.has-results {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
}

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

.search-result-item:hover {
    background: #f0f4ff;
}

.search-result-item i {
    color: var(--primary, #0d47a1);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.search-result-item .result-text {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.search-result-item .result-type {
    font-size: 10px;
    color: #9e9e9e;
    font-weight: 500;
    text-transform: uppercase;
}

.search-no-result {
    padding: 16px;
    text-align: center;
    color: #9e9e9e;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.search-no-result i {
    display: block;
    font-size: 28px;
    margin-bottom: 6px;
    color: #bdbdbd;
}

/* Responsive */
@media (max-width: 576px) {
    .search-panel {
        right: 10px;
        bottom: 100px;
        width: calc(100vw - 20px);
        left: 10px;
    }
    .search-float {
        bottom: 100px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .search-panel {
        bottom: 92px;
        right: 8px;
        width: calc(100vw - 16px);
        left: 8px;
    }
    .search-float {
        bottom: 92px;
        right: 12px;
    }
}


/* ====================
   Animations
   ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ====================
   Nav Overlay (Mobile)
   ==================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Close button inside nav */
.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f1f3f5;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    color: #495057;
    z-index: 1002;
}

/* ================================ */
/*        RESPONSIVE DESIGN         */
/* ================================ */

@media (max-width: 1024px) {
    .nav ul li a { padding: 6px 10px; font-size: 13px; }
    .nav .btn-ppdb { padding: 6px 14px; font-size: 13px; }
    .running-text { font-size: 12px; }
    .hero { height: 500px; }
    .hero-content h2 { font-size: 34px; }
    .quick-info-grid { grid-template-columns: repeat(2, 1fr); }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .berita-grid { grid-template-columns: 1fr; }
    .galeri-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
    .kontak-grid { grid-template-columns: 1fr 1fr; }
    .kontak-form { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testimoni-grid { grid-template-columns: 1fr 1fr; }
    .cta-content { flex-direction: column; text-align: center; }
    .cta-features { align-items: center; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .running-text { font-size: 11px; padding: 4px 0; }
    .running-text .marquee-track { animation-duration: 30s; }
    .header-inner { padding: 10px 0; }
    .mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .nav-close { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: 0 15px 50px rgba(0,0,0,0.15);
        z-index: 1001;
        transition: right 0.3s ease;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }

    .nav.open { right: 0; }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav ul li a {
        padding: 12px 16px;
        border-bottom: 1px solid #f1f3f5;
        display: block;
        border-radius: 0;
    }

    .nav ul li a.active::after { display: none; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        border-radius: 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .hero { height: 450px; }
    .hero-content h2 { font-size: 26px; }
    .hero-content p { font-size: 14px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .section-title { font-size: 24px; }

    .sambutan-content { flex-direction: column; align-items: center; }
    .image-frame { width: 240px; height: 280px; }

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

    .program-grid { grid-template-columns: 1fr; }
    .quick-info-grid { grid-template-columns: 1fr; }

    .galeri-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .galeri-item.large { grid-column: span 2; grid-row: span 1; }

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

    .kontak-grid { grid-template-columns: 1fr; }
    .kontak-form { grid-column: auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }

    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 36px; }

    .berita-card.featured { flex-direction: column; }
    .berita-card.featured .berita-image { width: 100%; min-height: 200px; }

    .cta-content { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .hero { height: 400px; }
    .hero-content h2 { font-size: 22px; }
    .galeri-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .galeri-item.large { grid-column: span 1; }
    .cta-content { padding: 24px 16px; }
    .container { padding: 0 16px; }

    .detail-layout { flex-direction: column; }
    .detail-sidebar { width: 100%; }
    .highlights-grid { grid-template-columns: 1fr; }
    .pstats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-detail-grid { grid-template-columns: 1fr; }
    .lightbox-content { width: 95%; }
}

/* ================================ */
/*       DETAIL PAGE STYLES         */
/* ================================ */

/* Page Banner */
.page-banner {
    position: relative;
    padding: 70px 0 50px;
    overflow: hidden;
    text-align: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-icon {
    width: 70px;
    height: 70px;
    background: rgba(201, 168, 76, 0.25);
    border: 2px solid rgba(201, 168, 76, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #d4af37;
    margin: 0 auto 20px;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6c757d;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #1976d2;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #0d47a1;
}

.breadcrumb i {
    font-size: 10px;
    color: #adb5bd;
}

.breadcrumb span {
    color: #495057;
    font-weight: 600;
}

/* ====================
   Detail Layout
   ==================== */
.detail-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.detail-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* Detail Featured Image */
.detail-featured-image {
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-image-placeholder {
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 80px;
}

/* Detail Meta */
.detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
}

.detail-meta-item i {
    color: #1976d2;
    font-size: 12px;
}

.detail-meta-category {
    padding: 4px 14px;
    background: #1565c0;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Detail Body */
.detail-body {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 36px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    margin-bottom: 30px;
}

.detail-body h1 {
    font-size: 26px;
    font-weight: 800;
    color: #0d47a1;
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1565c0;
    margin: 24px 0 12px;
    padding-left: 14px;
    border-left: 3px solid #c9a84c;
}

.detail-body p {
    margin-bottom: 14px;
    line-height: 1.8;
    text-align: justify;
}

.detail-body ul {
    margin: 12px 0 16px 24px;
    list-style: disc;
}

.detail-body ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.detail-body strong {
    color: #0d47a1;
}

.detail-body .bismillah {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: #0d47a1;
    text-align: center;
    margin-bottom: 24px;
    direction: rtl;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 14px;
}

.detail-table th {
    background: #0d47a1;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.detail-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}

.detail-table tr:hover td {
    background: #f8f9fa;
}

/* Ekskul grid inside detail body */
.ekskul-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.ekskul-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: var(--radius-md, 10px);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.ekskul-item:hover {
    border-color: #bbdefb;
    background: #e3f2fd;
}

.ekskul-item i {
    font-size: 28px;
    color: #1565c0;
    display: block;
    margin-bottom: 8px;
}

.ekskul-item strong {
    display: block;
    font-size: 14px;
    color: #0d47a1;
    margin-bottom: 4px;
}

/* ====================
   Share Buttons
   ==================== */
.detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-share span {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy { background: #6c757d; }

/* ====================
   Detail Navigation (Prev/Next)
   ==================== */
.detail-nav {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.detail-nav-card {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-md, 10px);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #495057;
    border: 1px solid #e9ecef;
}

.detail-nav-card:hover {
    border-color: #bbdefb;
    box-shadow: var(--shadow-md, 0 4px 12px rgba(0,0,0,0.1));
    color: #1565c0;
}

.detail-nav-card i {
    font-size: 18px;
    color: #1565c0;
}

.detail-nav-card .nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #adb5bd;
    font-weight: 600;
}

.detail-nav-card .nav-title {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* ====================
   Program Highlights
   ==================== */
.program-highlights {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 36px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    margin-bottom: 24px;
}

.program-highlights h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.program-highlights h3 i {
    color: #c9a84c;
}

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

.highlight-item {
    padding: 16px;
    background: #f8f9fa;
    border-radius: var(--radius-md, 10px);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: #bbdefb;
    background: #e3f2fd;
}

.highlight-item i {
    font-size: 24px;
    color: #1565c0;
    margin-bottom: 10px;
    display: block;
}

.highlight-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.5;
}

/* ====================
   Program Stats
   ==================== */
.program-stats {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    border-radius: var(--radius-lg, 16px);
    padding: 30px;
    margin-bottom: 24px;
}

.program-stats h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.pstats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pstat-item {
    text-align: center;
    padding: 16px 8px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md, 10px);
}

.pstat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.pstat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

/* ====================
   Detail Sidebar
   ==================== */
.sidebar-widget {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 24px;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #c9a84c;
}

/* Sidebar News Item */
.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    transition: all 0.3s ease;
}

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

.sidebar-news-thumb {
    width: 70px;
    height: 55px;
    border-radius: var(--radius-sm, 6px);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 18px;
}

.sidebar-news-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news-info h4 a {
    color: #343a40;
}

.sidebar-news-info h4 a:hover {
    color: #1565c0;
}

.sidebar-news-info span {
    font-size: 11px;
    color: #adb5bd;
}

/* Sidebar Program Item */
.sidebar-program-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
    align-items: center;
    transition: all 0.3s ease;
}

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

.sidebar-program-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.sidebar-program-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
}

.sidebar-program-info h4 a {
    color: #343a40;
}

.sidebar-program-info h4 a:hover {
    color: #1565c0;
}

.sidebar-program-info span {
    font-size: 11px;
    color: #adb5bd;
}

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: var(--radius-sm, 6px);
    font-size: 13px;
    color: #495057;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    background: #e3f2fd;
    color: #1565c0;
}

.category-count {
    width: 28px;
    height: 28px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
}

/* Sidebar CTA */
.sidebar-cta {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    border-radius: var(--radius-lg, 16px);
    padding: 28px;
    text-align: center;
}

.sidebar-cta-icon {
    width: 56px;
    height: 56px;
    background: rgba(201, 168, 76, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #d4af37;
    margin: 0 auto 14px;
}

.sidebar-cta h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}

.sidebar-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #c9a84c;
    color: #111212;
    border-radius: var(--radius-sm, 6px);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-cta .btn-cta:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

/* ====================
   Gallery Detail Page
   ==================== */
.gallery-detail-section {
    padding: 50px 0 80px;
    background: #f8f9fa;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    border-color: #bbdefb;
    color: #1565c0;
}

.filter-btn.active {
    background: #1565c0;
    border-color: #1565c0;
    color: #fff;
}

/* Gallery Detail Grid */
.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-detail-item {
    border-radius: var(--radius-md, 10px);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-detail-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.gallery-detail-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 40px;
    color: rgba(255,255,255,0.35);
}

.gallery-detail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 71, 161, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-detail-overlay i {
    font-size: 28px;
    color: #fff;
}

.gallery-detail-item:hover .gallery-detail-overlay {
    opacity: 1;
}

.gallery-detail-caption {
    padding: 12px 16px;
}

.gallery-detail-caption h4 {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 4px;
}

.gallery-cat {
    display: inline-block;
    padding: 2px 10px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* Gallery Load More */
.gallery-load-more {
    text-align: center;
    margin-top: 30px;
}

.btn-outline-dark {
    padding: 12px 32px;
    background: transparent;
    color: #343a40;
    border: 2px solid #dee2e6;
    border-radius: var(--radius-sm, 6px);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-outline-dark:hover {
    border-color: #1565c0;
    color: #1565c0;
    background: #e3f2fd;
}

/* ====================
   Lightbox
   ==================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-arrow:hover {
    background: rgba(201, 168, 76, 0.3);
    border-color: #c9a84c;
    color: #c9a84c;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
    width: 80%;
    max-width: 900px;
    text-align: center;
}

.lightbox-placeholder {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: rgba(255,255,255,0.3);
}

.lightbox-image {
    margin-bottom: 20px;
}

.lightbox-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.lightbox-info p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
}

/* ====================
   Detail Page Responsive
   ==================== */
@media (max-width: 1024px) {
    .detail-layout { flex-direction: column; }
    .detail-sidebar { width: 100%; }
    .pstats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-detail-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .page-banner { padding: 50px 0 36px; }
    .page-banner h1 { font-size: 26px; }
    .page-banner p { font-size: 14px; }
    .page-banner-icon { width: 56px; height: 56px; font-size: 22px; }

    .detail-body { padding: 24px; }
    .detail-body h1 { font-size: 22px; }
    .detail-image-placeholder { height: 260px; }

    .highlights-grid { grid-template-columns: 1fr; }
    .pstats-grid { grid-template-columns: repeat(2, 1fr); }

    .detail-nav { flex-direction: column; }

    .gallery-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-detail-thumb { height: 160px; }

    .lightbox-content { width: 95%; }
    .lightbox-placeholder { height: 350px; font-size: 60px; }
    .lightbox-info h3 { font-size: 18px; }
    .lightbox-info p { font-size: 13px; }
    .ekskul-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .detail-layout { flex-direction: column; }
    .detail-sidebar { width: 100%; }
    .highlights-grid { grid-template-columns: 1fr; }
    .pstats-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-detail-grid { grid-template-columns: 1fr; }
    .lightbox-content { width: 95%; }
}


/* ------------------------------------
    39. Preloader CSS
---------------------------------------*/
.loader {
  background-color: #fff;
  height: 100%;
  width: 100%;
  position: fixed;
  margin-top: 0px;
  top: 0px;
  z-index: 9999999;
}
.loader .loader-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 5px solid #ebebec;
  border-radius: 50%;
}
.loader .loader-container:before {
  position: absolute;
  content: "";
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-top: 4px solid #21a7d0;
  border-radius: 50%;
  animation: loaderspin 1.8s infinite ease-in-out;
  -webkit-animation: loaderspin 1.8s infinite ease-in-out;
}
.loader .loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
}
.loader .loader-icon img {
  animation: loaderpulse alternate 900ms infinite;
}
.loader.orange-color .loader-container:before {
  border-color: #ff5421;
}
.loader.yellow-color .loader-container:before {
  border-color: #f4bf00;
}
.loader.purple-color .loader-container:before {
  border-color: #4e49a1;
}
.loader.green-color .loader-container:before {
  border-color: #0c8b51;
}
@keyframes loaderspin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@-webkit-keyframes loaderspin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes loaderpulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

/* Tujuan Read-More */
.tujuan-list-wrap {
    position: relative;
    max-height: 160px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tujuan-list-wrap.expanded {
    max-height: 800px;
}

.tujuan-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(13, 71, 161, 0.85));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tujuan-list-wrap.expanded + .tujuan-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.tujuan-list-wrap.expanded .tujuan-fade {
    opacity: 0;
}

.tujuan-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 50px;
    padding: 8px 16px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.35);
    color: #c9a84c;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tujuan-toggle:hover {
    background: rgba(201, 168, 76, 0.25);
}

.tujuan-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.tujuan-toggle.active i {
    transform: rotate(180deg);
}

.tujuan-toggle.active span {
    display: none;
}

.tujuan-toggle.active::after {
    content: 'Sembunyikan';
    font-size: 12px;
    font-weight: 600;
}

.map-wrapper {
    width: 600px;          /* Sesuaikan dengan lebar yang Anda inginkan */
    height: 450px;         /* Sesuaikan dengan tinggi yang Anda inginkan */
    overflow: hidden;      /* Memotong bagian yang keluar */
    position: relative;
}

.map-wrapper .mapouter {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-wrapper .gmap_canvas {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map-wrapper .gmap_iframe {
    width: 100% !important;
    height: calc(100% + 300px) !important; /* Tambah tinggi 300px */
    margin-top: -150px !important;          /* Geser ke atas 150px */
    border: 0;
}