/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors */
    --primary: #0f172a;
    /* Deep Slate (Modern Dark) */
    --primary-light: #334155;
    --primary-dark: #020617;
    --accent: #ed860b;
    /* Vibrant Orange */
    --accent-hover: #d97706;
    --accent-glow: rgba(237, 134, 11, 0.4);
    --background: #f8fafc;
    /* Soft White */
    --surface: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.text-center {
    text-align: center;
}

/* =========================================
   COMPONENTS
   ========================================= */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -10px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 25px -10px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary-dark);
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.btn-primary.large,
.btn-outline.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 5rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-title p {
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
}

/* =========================================
   TOP BAR & NAVIGATION
   ========================================= */
.top-bar {
    background: #090e17;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1540px;
    width: 95%;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.top-bar-contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-contact a:hover {
    color: #f59e0b;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.82rem;
}

.top-bar-links a:hover {
    color: #f59e0b;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 1.25rem;
}

.top-bar-socials a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-bar-socials a:hover {
    color: #f59e0b;
    transform: translateY(-2px);
}

.glass-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.glass-nav.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.96);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.5rem;
    max-width: 1540px;
    width: 95%;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 42px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    color: #334155;
    font-weight: 600;
    position: relative;
    font-size: 0.95rem;
    text-decoration: none;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:not(.btn-primary):hover,
.nav-links a.active {
    color: var(--primary-dark);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-search-btn {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav-search-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(217, 119, 6, 0.08);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.nav-admin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
    margin-left: 0.25rem;
    flex-shrink: 0;
}

.nav-admin-link:hover {
    opacity: 1;
    color: var(--accent);
    background: rgba(217, 119, 6, 0.08);
    transform: translateY(-2px);
}

/* =========================================
   SEARCH MODAL OVERLAY
   ========================================= */
.search-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem 1.5rem 2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.search-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal-card {
    background: white;
    width: 100%;
    max-width: 680px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform: translateY(-20px) scale(0.98);
    transition: transform 0.25s ease;
    border: 1px solid #e2e8f0;
}

.search-modal-overlay.active .search-modal-card {
    transform: translateY(0) scale(1);
}

.search-input-header {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 1rem;
}

.search-input-header i {
    font-size: 1.25rem;
    color: var(--accent);
}

.search-input-header input {
    width: 100%;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 500;
}

.search-close-btn {
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.search-results-box {
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
}

.search-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.15s ease;
    margin-bottom: 0.35rem;
    border: 1px solid transparent;
}

.search-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(4px);
}

.search-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.search-item-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.search-item-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 2px 0 0;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.85)), url('../images/hero-bg-mwi.webp') center/cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--surface);
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--surface);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero .btn-outline {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero .btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-dark);
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--surface);
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.trust-badge .counter {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

/* =========================================
   PILAR PENDIDIKAN (Features)
   ========================================= */
.pilar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pilar-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pilar-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #f59e0b);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.pilar-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pilar-card:hover::after {
    transform: scaleX(1);
}

.pilar-icon {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: rgba(217, 119, 6, 0.08);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.pilar-card:hover .pilar-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.pilar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pilar-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.pilar-output {
    background: rgba(15, 23, 42, 0.04);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

/* =========================================
   JENJANG PENDIDIKAN (Parallax Sections)
   ========================================= */
.parallax-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.6) 60%, rgba(2, 6, 23, 0.2) 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.jenjang-parallax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.jenjang-text-box {
    max-width: 600px;
}

.jenjang-text-box h2 {
    color: var(--surface);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.jenjang-text-box p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.jenjang-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(217, 119, 6, 0.3);
    color: #fcd34d;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-right: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(217, 119, 6, 0.5);
    backdrop-filter: blur(4px);
}

.jenjang-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.jenjang-photo-grid img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
    width: 100%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.jenjang-photo-grid img:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .parallax-overlay {
        background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.7) 100%);
    }

    .jenjang-parallax-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   TIMELINE SANTRI
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 23, 42, 0.1);
}

.timeline-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.timeline-time {
    color: var(--accent);
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 1.1rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border: 4px solid var(--surface);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.3);
    background: var(--primary);
}

/* =========================================
   PRESTASI (Stats & Tables)
   ========================================= */
.prestasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.prestasi-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.prestasi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent);
}

.prestasi-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.prestasi-card p {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.prestasi-card span {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-section {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    position: relative;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(217, 119, 6, 0.1), transparent 50%);
    pointer-events: none;
}

.testimonial-section .section-title h2,
.testimonial-section .section-title p {
    color: white;
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testi-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
}

.testi-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    color: rgba(217, 119, 6, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testi-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    color: #cbd5e1;
}

.testi-author {
    font-weight: 800;
    color: var(--surface);
    font-size: 1.1rem;
}

.testi-role {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   ALUR PENDAFTARAN
   ========================================= */
.alur-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.alur-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.alur-step:hover {
    transform: translateY(-5px);
}

.alur-number {
    width: 64px;
    height: 64px;
    background: var(--primary-dark);
    color: white;
    border-radius: 50%;
    line-height: 64px;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.15);
    transition: var(--transition);
}

.alur-step:hover .alur-number {
    background: var(--accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 25px rgba(217, 119, 6, 0.2);
}

.alur-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.alur-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.page-header {
    padding: clamp(6rem, 12vw, 10rem) 0 5rem;
    background: var(--primary-dark);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(217, 119, 6, 0.15), transparent 60%);
}

.page-header h1 {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: #cbd5e1;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.history-section {
    background: var(--surface);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: var(--shadow-lg);
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
    border: 1px solid var(--border);
}

.history-section h2 {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 23, 42, 0.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.leadership-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leadership-item {
    background: var(--background);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 16px 16px 0;
    transition: var(--transition);
}

.leadership-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
    transform: translateX(5px);
}

.leadership-period {
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.leadership-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.1rem;
}

.bio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.bio-link:hover {
    color: var(--accent);
    transform: translateX(3px);
}


/* =========================================
   FOOTER
   ========================================= */
footer {
    background: #020617;
    color: white;
    padding: 5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p,
.footer-col li {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.875rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: var(--transition);
    padding: 0 !important;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    color: white;
    padding-left: 0 !important;
}

.social-link:first-child:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.social-link:last-child:hover {
    background: #ff0000;
    border-color: transparent;
}


/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-dot {
        left: 30px;
    }
}

/* --- Alumni Map & JQVMap Tooltips --- */
.map-fullwidth-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    background: #020617;
    /* Very dark background for the map */
}

.map-container-full {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.map-info-panel {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #38bdf8;
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    width: 250px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Prevents blocking hover on the map */
}

.map-info-panel h3 {
    color: #38bdf8;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
}

.map-info-panel p {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.map-info-panel .count {
    font-size: 2rem;
    font-weight: 900;
    color: #f59e0b;
    font-family: var(--font-heading);
    line-height: 1;
    margin-top: 0.5rem;
    display: block;
}

.map-info-panel.hidden {
    opacity: 0;
    transform: translateX(-10px);
}

@media (max-width: 768px) {
    .map-fullwidth-wrapper {
        height: 500px;
    }

    .map-info-panel {
        left: 50%;
        top: 2rem;
        transform: translateX(-50%);
        width: 90%;
        padding: 1rem;
        border-left: none;
        border-top: 4px solid #38bdf8;
    }

    .map-info-panel.hidden {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Animated Map Marker */
.jqvmap-pin {
    pointer-events: none;
}
.map-marker {
    width: 12px;
    height: 12px;
    background-color: #f97316;
    border-radius: 50%;
    position: relative;
    transform: translate(-50%, -50%);
}
.map-marker::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #f97316;
    animation: ripple 1.5s infinite ease-out;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Chart Section */
.chart-section {
    background: #020617;
    padding: 3rem 0;
}
.chart-container {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.global-panel {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    color: white;
    width: 340px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
    pointer-events: none;
}

.global-panel h4 {
    color: var(--surface);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.global-stat-item {
    margin-bottom: 0.75rem;
}

.global-stat-item:last-child {
    margin-bottom: 0;
}

.global-stat-loc {
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
}

.global-stat-count {
    color: #fbbf24;
    font-size: 0.85rem;
    font-weight: 800;
}

.global-stat-desc {
    color: #cbd5e1;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .global-panel {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 1.5rem;
        border-radius: 20px;
    }
}

/* =========================================
   ARTIKEL HOOK SECTION (WordPress)
   ========================================= */
.artikel-hook-section {
    background: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.artikel-hook-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 60%);
    pointer-events: none;
}

.artikel-hook-section .section-title h2 {
    color: white;
}

.artikel-hook-section .section-title p {
    color: #cbd5e1;
}

.artikel-hook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.artikel-hook-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.artikel-hook-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.artikel-hook-thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
    transition: var(--transition);
}

.artikel-hook-card:hover .artikel-hook-thumb {
    transform: scale(1.05);
}

.artikel-hook-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.artikel-hook-thumb-placeholder span {
    font-size: 3rem;
    opacity: 0.3;
}

.artikel-hook-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artikel-hook-category {
    color: #38bdf8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.artikel-hook-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artikel-hook-excerpt {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artikel-hook-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
    margin-top: auto;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Skeleton Loading */
.skeleton-card {
    pointer-events: none;
}

.skeleton-thumb {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-body {
    padding: 1.5rem;
}

.skeleton-line {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    margin-bottom: 0.75rem;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Fallback State */
.artikel-hook-fallback {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.artikel-hook-fallback-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.artikel-hook-fallback h3 {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.artikel-hook-fallback p {
    color: #94a3b8;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Empty State */
.artikel-hook-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: #94a3b8;
    font-size: 1.1rem;
}

.artikel-hook-empty a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .artikel-hook-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .artikel-hook-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   YOUTUBE GALLERY
   ========================================= */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .youtube-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.youtube-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.youtube-header {
    margin-bottom: 1.25rem;
}

.youtube-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.youtube-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.youtube-video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-top: auto;
    transition: var(--transition);
}

.youtube-video-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.youtube-video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.youtube-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--slate-500);
    font-size: 1.1rem;
}

/* =========================================
   VIDEO MODAL POPUP
   ========================================= */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(8px);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: none;
    font-size: 2rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.video-modal-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-modal-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}