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

:root {
    --blue-900: #1e3a8a;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-100: #dbeafe;
    --blue-50: #eff6ff;
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .1), 0 4px 8px rgba(0, 0, 0, .05);
    --font: 'Inter', system-ui, sans-serif;
    --nav-h: 68px;
}

@font-face {
    font-family: 'ISIFont';
    src: url('../../Assets/fonts/ISIfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    background: #0b0f1a;
}

body {
    font-family: var(--font);
    background: var(--slate-50);
    color: var(--slate-900);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageLoad 0.22s ease forwards;
    overflow-x: hidden;
}

@keyframes pageLoad {
    to { opacity: 1; }
}

/* ═══════════════════════════════════════
   TOPBAR (above header)
═══════════════════════════════════════ */
.topbar {
    background: var(--blue-700);
    color: #bfdbfe;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: .3px;
    text-align: center;
    padding: 7px 20px;
}

.topbar span {
    color: #ffffff;
}

/* ═══════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-xs);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.logo-wrap .logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(37, 99, 235, .35);
    flex-shrink: 0;
}

.logo-badge svg {
    width: 26px;
    height: 26px;
    color: white;
}

.logo-text {
    line-height: 1.25;
}

.logo-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -.1px;
}

.logo-sub {
    font-size: 11px;
    color: var(--slate-500);
    margin-top: 2px;
}

.header-spacer {
    flex: 1;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--slate-100);
    border-radius: 999px;
    padding: 4px;
}

.nav-pill a {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-500);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    transition: all .18s;
    white-space: nowrap;
}

.nav-pill a:hover,
.nav-pill a.active {
    background: var(--white);
    color: var(--blue-600);
    box-shadow: var(--shadow-xs);
}

.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--slate-700);
}

.hamburger svg {
    display: block;
}

/* ── mobile nav drawer ── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
}

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

.mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    backdrop-filter: blur(4px);
}

.mobile-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

.mobile-menu.open .mobile-drawer {
    transform: translateX(0);
}

.mobile-close {
    align-self: flex-end;
    background: var(--slate-100);
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--slate-700);
    margin-bottom: 12px;
}

.mobile-drawer a {
    font-size: 15px;
    font-weight: 500;
    color: var(--slate-700);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: all .15s;
}

.mobile-drawer a:hover {
    background: var(--blue-50);
    color: var(--blue-600);
}

/* ═══════════════════════════════════════
   HERO BANNER — full image, dark left
═══════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 0;
    text-align: left;
    background: #0b0f1a;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.hero:hover .hero-bg-img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.82) 30%,
        rgba(0, 0, 0, 0.5) 58%,
        rgba(12, 18, 50, 0.12) 80%,
        transparent 100%
    );
}

.hero-overlay-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 12, 12, 0.25) 0%,
        transparent 45%
    );
}

.hero-inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 96px 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #bfdbfe;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.hero h1 {
    font-family: 'ISIFont', sans-serif;
    font-size: clamp(28px, 4.2vw, 52px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h3 {
    font-family: 'ISIFont', sans-serif;
    font-size: clamp(28px, 4.2vw, 30px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
    color: #93c5fd;
}

.hero-subtitle {
    font-size: clamp(13px, 1.6vw, 16px);
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: clamp(13.5px, 1.3vw, 15px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.78;
    max-width: 580px;
    margin: 0 0 40px;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 14px 24px;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    font-weight: 500;
    text-align: center;
}

/* ═══════════════════════════════════════
   SEARCH BAR (below hero)
═══════════════════════════════════════ */
.search-section {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 24px 40px;
    box-shadow: var(--shadow-sm);
}

.search-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.search-icon-el {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 13px 48px 13px 48px;
    font-size: 15px;
    font-family: var(--font);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-lg);
    background: var(--slate-50);
    color: var(--slate-900);
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.search-input::placeholder {
    color: var(--slate-400);
    font-size: 14px;
}

.search-input:focus {
    background: var(--white);
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--slate-200);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--slate-500);
    font-size: 13px;
    line-height: 1;
    transition: background 0.15s;
}

.search-clear:hover {
    background: var(--slate-300);
}

.search-clear.visible {
    display: flex;
}

.filter-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid var(--slate-200);
    background: var(--white);
    color: var(--slate-500);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.chip:hover {
    border-color: var(--blue-500);
    color: var(--blue-600);
}

.chip.active {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: var(--white);
}

/* ═══════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════ */
.main-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}

/* ── CATEGORY SECTION ── */
.cat-section {
    margin-bottom: 56px;
}

.cat-section:last-child {
    margin-bottom: 0;
}

/* Akademik section — indigo background full width */
.cat-section.akademik-section {
    background: #eef2ff;
    border-radius: 0;
    border: none;
    border-top: 1px solid #c7d2fe;
    border-bottom: 1px solid #c7d2fe;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding-top: 48px;
    padding-bottom: 52px;
    padding-left: max(40px, calc((100vw - 1360px) / 2));
    padding-right: max(40px, calc((100vw - 1360px) / 2));
}

.cat-section.akademik-section .cat-divider {
    background: linear-gradient(to right, #4f46e5 80px, #c7d2fe 80px);
}

.cat-section.akademik-section .cat-label {
    color: #4f46e5;
}

.cat-section.akademik-section .card {
    border-color: #c7d2fe;
}

.cat-section.akademik-section .card:hover {
    border-color: #818cf8;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.13), 0 4px 8px rgba(79, 70, 229, 0.07);
}

.cat-section.akademik-section .card-btn {
    background: linear-gradient(135deg, #4f46e5, #3730a3);
}

.cat-section.akademik-section .card-btn:hover {
    background: linear-gradient(135deg, #3730a3, #1e1b4b);
}

/* Non-Akademik section — violet background full width */
.cat-section.non-akademik-section {
    background: #f5f3ff;
    border-radius: 0;
    border: none;
    border-top: 1px solid #ddd6fe;
    border-bottom: 1px solid #ddd6fe;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding-top: 48px;
    padding-bottom: 52px;
    padding-left: max(40px, calc((100vw - 1360px) / 2));
    padding-right: max(40px, calc((100vw - 1360px) / 2));
}

.cat-section.non-akademik-section .cat-divider {
    background: linear-gradient(to right, #7c3aed 80px, #ddd6fe 80px);
}

.cat-section.non-akademik-section .cat-label {
    color: #7c3aed;
}

.cat-section.non-akademik-section .card {
    border-color: #ddd6fe;
}

.cat-section.non-akademik-section .card:hover {
    border-color: #a78bfa;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.13), 0 4px 8px rgba(124, 58, 237, 0.07);
}

.cat-section.non-akademik-section .card-btn {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.cat-section.non-akademik-section .card-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.non-akademik-section .card-body::before {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.13) 0%, transparent 70%);
    width: 130px;
    height: 130px;
}

.non-akademik-section .card-body::after {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.11) 0%, transparent 70%);
}

.non-akademik-section .card .card-body {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(245, 243, 255, 0.7) 100%);
}

.cat-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.cat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.cat-icon svg {
    width: 22px;
    height: 22px;
}

.cat-icon.blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.cat-icon.indigo {
    background: #eef2ff;
    color: #4f46e5;
}

.cat-icon.violet {
    background: #f5f3ff;
    color: #7c3aed;
}

.cat-icon.teal {
    background: #f0fdfa;
    color: #0d9488;
}

.cat-meta {
    flex: 1;
}

.cat-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 4px;
}

.cat-title {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.cat-desc {
    font-size: 14px;
    color: var(--slate-500);
    margin-top: 4px;
    line-height: 1.6;
}

.cat-divider {
    height: 1px;
    background: linear-gradient(to right, var(--blue-600) 80px, var(--slate-200) 80px);
    margin-bottom: 24px;
    border-radius: 1px;
}

/* ── GRID ── */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── CARD ── */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: fadeUp 0.45s ease both;
}

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

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--slate-100);
    flex-shrink: 0;
}

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

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

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover .card-img-overlay {
    opacity: 1;
}

.card-body {
    padding: 18px 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(239, 246, 255, 0.55) 100%);
}

/* orb 1 — top-right, blue */
.card-body::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, transparent 70%);
    top: -40px;
    right: -30px;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* orb 2 — bottom-left, indigo */
.card-body::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.11) 0%, transparent 70%);
    bottom: -30px;
    left: -20px;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.card:hover .card-body::before {
    transform: scale(1.35);
    opacity: 1;
}

.card:hover .card-body::after {
    transform: scale(1.3);
    opacity: 1;
}

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -0.1px;
}

.card-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--slate-500);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
    color: var(--white);
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.1px;
}

.card-btn:hover {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    gap: 12px;
}

.card-btn svg {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.card-btn:hover svg {
    transform: translateX(2px);
}

/* akademik section — orbs shift to indigo tones */
.akademik-section .card-body::before {
    background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, transparent 70%);
    width: 130px;
    height: 130px;
}

.akademik-section .card-body::after {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.akademik-section .card .card-body {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(238, 242, 255, 0.7) 100%);
}

.empty {
    display: none;
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: var(--slate-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--slate-400);
}

.empty strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.empty p {
    font-size: 14px;
    color: var(--slate-400);
}

/* ═══════════════════════════════════════
   FOOTER — centered minimal
═══════════════════════════════════════ */
footer {
    background: #0b0f1a;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
    text-align: center;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, .45), transparent);
}

footer::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .06) 0%, transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 52px 32px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo-wrap .logo-image {
    height: 72px;
    width: auto;
    object-fit: contain;
}

.footer-logo-box {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(37, 99, 235, .35);
}

.footer-logo-box svg {
    color: #fff;
    width: 24px;
    height: 24px;
}

.footer-logo-box img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-inst-name {
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.3;
}

.footer-inst-sub {
    font-size: 10.5px;
    color: #475569;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.footer-contact-item i {
    font-size: 15px;
    color: #3b82f6;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #64748b;
    text-decoration: none;
    transition: color .15s;
}

.footer-contact-item a:hover {
    color: #93c5fd;
}

.footer-sosmed {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sosmed-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: all .18s;
    color: #94a3b8;
}

.sosmed-pill:hover {
    background: rgba(255, 255, 255, .09);
    border-color: rgba(255, 255, 255, .16);
    transform: translateY(-2px);
}

.sosmed-pill i {
    font-size: 16px;
}

.sosmed-pill.ig { color: #f472b6; }
.sosmed-pill.yt { color: #f87171; }
.sosmed-pill.fb { color: #60a5fa; }
.sosmed-pill.tw { color: #38bdf8; }

.sosmed-pill.ig:hover {
    border-color: rgba(244, 114, 182, .3);
    background: rgba(244, 114, 182, .08);
}

.sosmed-pill.yt:hover {
    border-color: rgba(248, 113, 113, .3);
    background: rgba(248, 113, 113, .08);
}

.sosmed-pill.fb:hover {
    border-color: rgba(96, 165, 250, .3);
    background: rgba(96, 165, 250, .08);
}

.sosmed-pill.tw:hover {
    border-color: rgba(56, 189, 248, .3);
    background: rgba(56, 189, 248, .08);
}

.footer-divider-line {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-divider-line hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-bottom {
    position: relative;
    padding: 18px 32px 24px;
    text-align: center;
    font-size: 12.5px;
    color: #475569;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-copyright strong {
    color: #64748b;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #475569;
    text-decoration: none;
    font-size: 12px;
    padding: 0 6px;
    transition: color .15s;
}

.footer-bottom-links a:hover {
    color: #93c5fd;
}

.footer-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #334155;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SCROLL-TO-TOP
═══════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--blue-600);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: all .25s;
    z-index: 100;
}

.scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--blue-700);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Tablet landscape */
@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet portrait */
@media (max-width: 900px) {
    :root {
        --nav-h: 62px;
    }

    .header-inner {
        padding: 0 24px;
    }

    .nav-pill {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 52px 24px 60px;
    }

    .search-section {
        padding: 18px 24px;
    }

    .search-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-chips {
        justify-content: flex-start;
    }

    .main-wrap {
        padding: 36px 24px 64px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links {
        text-align: left;
    }

    .footer-inner,
    .footer-bottom {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cat-section.akademik-section,
    .cat-section.non-akademik-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .topbar {
        font-size: 10.5px;
        padding: 6px 12px;
    }

    .logo-sub {
        display: none;
    }

    .hero {
        padding: 40px 16px 48px;
        text-align: left;
    }

    .hero h1 {
        max-width: 100%;
    }

    .hero-stats {
        gap: 10px;
        justify-content: flex-start;
    }

    .stat {
        padding: 12px 18px;
    }

    .stat-num {
        font-size: 22px;
    }

    .search-section {
        padding: 14px 16px;
    }

    .main-wrap {
        padding: 28px 16px 56px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cat-header {
        gap: 14px;
    }

    .cat-icon {
        width: 38px;
        height: 38px;
    }

    .footer-main {
        padding: 40px 20px 32px;
        gap: 22px;
    }

    .footer-contact-list {
        gap: 8px 20px;
    }

    .footer-sosmed {
        gap: 6px;
    }

    .sosmed-pill span {
        display: none;
    }

    .sosmed-pill {
        padding: 10px 12px;
    }

    .footer-bottom {
        padding: 16px 20px 20px;
    }

    .footer-inner,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
    }

    .cat-section.akademik-section,
    .cat-section.non-akademik-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: 1.4fr 1fr;
        gap: 36px;
    }

    .footer-contact-col {
        grid-column: 1 / -1;
    }

    .footer-contact-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-contact-item {
        min-width: 200px;
    }
}

@media (max-width: 720px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 40px 24px 32px;
        gap: 28px;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-divider-line {
        padding: 0 24px;
    }

    .footer-bottom {
        padding: 18px 24px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 32px 16px 28px;
        gap: 24px;
    }

    .footer-divider-line {
        padding: 0 16px;
    }

    .footer-bottom {
        padding: 16px 16px 20px;
    }

    .footer-sosmed {
        gap: 6px;
    }
}