/* ================================================================
   HOME.CSS — Beranda TIKOM-SM
   ================================================================
   File    : assets/css/home.css
   Version : 1.2
   Fitur   :
     - Hero slider (infinite, animasi teks, progress bar)
     - Section umum (label, title, desc)
     - Tentang Kami + stats 2 kolom (Artikel & Kategori)
     - Pencarian artikel
     - Grid artikel + like button
     - Top 5 Artikel (paling populer)
     - Testimoni alumni (Apa Kata Mereka)
     - Sponsor marquee infinite
     - Divisi join (Ingin Bergabung)
     - Animasi scroll (fade-up)
     - Responsive mobile
   ================================================================ */

/* ============================================================
   [1] RESET & BASE
   ============================================================ */
* { box-sizing: border-box; }

body {
    overflow-x: hidden;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-500));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   [2] SECTION UMUM
   ============================================================ */
.section {
    padding: 4rem 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .95rem;
    background: var(--blue-50);
    color: var(--brand-2);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
    border: 1px solid var(--blue-100);
}
.section-label i { font-size: .85rem; }
.section-label.centered { display: inline-flex; }

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-1);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
}

.section-desc {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.75;
    margin: 0 0 1rem;
    max-width: 640px;
}
.section-desc.centered { margin-left: auto; margin-right: auto; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ============================================================
   [3] HERO SLIDER
   ============================================================ */
.hero-slider-section {
    position: relative;
    background: var(--brand-1);
    padding: 0;
}

.hero-slider {
    position: relative;
    height: 620px;
    overflow: hidden;
    background: #0f172a;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform .8s cubic-bezier(.65, 0, .35, 1);
    will-change: transform;
    touch-action: pan-y;
}
.hero-track.dragging {
    transition: none;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-image img {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, .2) 0%,
        rgba(15, 23, 42, .5) 50%,
        rgba(15, 23, 42, .92) 100%
    );
    z-index: 1;
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 4rem 4rem;
    z-index: 2;
    max-width: 900px;
    color: #fff;
}

.hero-slide-category {
    display: inline-block;
    padding: .35rem .95rem;
    background: rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;

    opacity: 0;
    transform: translateY(20px);
    transition: all .7s ease .3s;
}
.hero-slide.active .hero-slide-category {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 1rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease .5s;
}
.hero-slide.active .hero-slide-title {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 640px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease .7s;
}
.hero-slide.active .hero-slide-desc {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;

    opacity: 0;
    transform: translateY(30px);
    transition: all .8s ease .9s;
}
.hero-slide.active .hero-slide-meta {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.5rem;
    background: #fff;
    color: var(--brand-2);
    border-radius: var(--radius-md);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.hero-slide-btn:hover {
    background: var(--blue-50);
    color: var(--brand-1);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.hero-slide-btn i {
    transition: transform .2s ease;
}
.hero-slide-btn:hover i {
    transform: translateX(4px);
}

/* ===== Nav buttons ===== */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 5;
    font-size: 1.3rem;
}
.hero-nav:hover {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-50%) scale(1.05);
}
.hero-nav-prev { left: 1.5rem; }
.hero-nav-next { right: 1.5rem; }

/* ===== Dots ===== */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 5;
    padding: .5rem .75rem;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .15);
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: all .3s ease;
    padding: 0;
}
.hero-dot:hover {
    background: rgba(255, 255, 255, .6);
}
.hero-dot.active {
    width: 28px;
    border-radius: 5px;
    background: #fff;
}

/* ===== Progress bar ===== */
.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, .15);
    z-index: 5;
}
.hero-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blue-400), #fff);
    transition: width .1s linear;
}

/* ===== Empty state ===== */
.hero-empty {
    background: var(--bg);
    padding: 4rem 0;
}

/* ============================================================
   [4] TENTANG KAMI
   ============================================================ */
.section-about {
    background: #fff;
    position: relative;
}
.section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    gap: .85rem;
    padding: 1rem;
    background: var(--blue-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--blue-100);
    transition: all .2s ease;
}
.about-feature:hover {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--blue-200);
}
.about-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.about-feature strong {
    display: block;
    font-size: .88rem;
    color: var(--brand-1);
    margin-bottom: .2rem;
}
.about-feature p {
    font-size: .78rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== Statistik grid (2 kolom: Artikel & Kategori) ===== */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.about-stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all .3s ease;
}
.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-800), var(--blue-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.about-stat-card:hover::before {
    transform: scaleX(1);
}
.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.about-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--blue-50);
    color: var(--brand-2);
    display: grid;
    place-items: center;
    margin: 0 auto 1.15rem;
    font-size: 1.6rem;
    transition: all .3s ease;
}
.about-stat-card:hover .about-stat-icon {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-1);
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}
.about-stat-label {
    font-size: .85rem;
    color: var(--muted);
    font-weight: 500;
}

/* ============================================================
   [5] PENCARIAN ARTIKEL
   ============================================================ */
.section-search {
    background: linear-gradient(135deg, var(--blue-50) 0%, #fff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.search-header {
    margin-bottom: 2rem;
}

.home-search-form {
    max-width: 780px;
    margin: 0 auto;
}

.home-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: .5rem .5rem .5rem 1.5rem;
    box-shadow: var(--shadow);
    transition: all .2s ease;
}
.home-search-input-wrap:focus-within {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1), var(--shadow-md);
}

.home-search-input-wrap > i.bi-search {
    color: var(--muted);
    font-size: 1.2rem;
    margin-right: .85rem;
    flex-shrink: 0;
}

.home-search-input {
    flex: 1;
    border: 0;
    outline: none;
    padding: .75rem 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}
.home-search-input::placeholder {
    color: #94a3b8;
}

.home-search-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: #fff;
    border: 0;
    border-radius: var(--radius-md);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    flex-shrink: 0;
    font-family: inherit;
}
.home-search-btn:hover {
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(30, 58, 138, .35);
}
.home-search-btn i { font-size: 1rem; }

.home-search-suggest {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: .82rem;
    color: var(--muted);
}

.search-tag {
    padding: .35rem .85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    font-family: inherit;
}
.search-tag:hover {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    transform: translateY(-1px);
}

/* ============================================================
   [6] GRID ARTIKEL
   ============================================================ */
.section-articles {
    background: #fff;
}

.btn-outline-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.25rem;
    background: transparent;
    color: var(--brand-2);
    border: 1.5px solid var(--blue-200);
    border-radius: var(--radius-md);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-outline-primary-custom:hover {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .25);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.home-article-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
}
.home-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.home-article-image-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--blue-50);
}

.home-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.home-article-card:hover .home-article-image {
    transform: scale(1.08);
}

.home-article-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .35rem .85rem;
    background: rgba(30, 58, 138, .9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.home-article-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-article-meta {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: .65rem;
    font-size: .75rem;
    color: var(--muted);
}
.home-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.home-article-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .5rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}
.home-article-title a:hover {
    color: var(--brand-2);
}

.home-article-excerpt {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.home-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.home-article-readmore {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--brand-2);
    text-decoration: none;
    transition: all .15s ease;
}
.home-article-readmore:hover {
    color: var(--brand-1);
    gap: .55rem;
}
.home-article-readmore i {
    transition: transform .15s ease;
}
.home-article-readmore:hover i {
    transform: translateX(3px);
}

/* ===== Like button ===== */
.home-article-like {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .75rem;
    background: var(--blue-50);
    color: var(--brand-2);
    border: 1px solid var(--blue-100);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    font-family: inherit;
}
.home-article-like:hover:not(.login-required) {
    background: var(--blue-100);
    transform: translateY(-1px);
}
.home-article-like.liked {
    background: var(--brand-2);
    color: #fff;
    border-color: var(--brand-2);
}
.home-article-like.liked:hover:not(.login-required) {
    background: var(--brand-1);
    border-color: var(--brand-1);
}
.home-article-like.login-required {
    opacity: .7;
    cursor: not-allowed;
}
.home-article-like i {
    font-size: .95rem;
    transition: transform .2s ease;
}
.home-article-like:active:not(.login-required) i {
    transform: scale(1.2);
}
.home-article-like.liked i {
    animation: likePop .35s ease;
}
@keyframes likePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ===== Empty state ===== */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--muted);
}
.empty-state i {
    font-size: 3rem;
    opacity: .3;
    display: block;
    margin-bottom: 1rem;
}
.empty-state p {
    font-size: .95rem;
    margin: 0;
}

/* ============================================================
   [6b] TOP 5 ARTIKEL — Paling Populer
   ============================================================ */
.section-top-articles {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    border-top: 1px solid var(--border);
}

.top-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.top-article-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.top-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    border-color: var(--blue-200);
}

/* ⚡ Card rank 1 lebih besar */
.top-article-card.is-first {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
    border-color: #fbbf24;
}

.top-article-card.is-first:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
}

/* Rank Badge */
.top-article-rank {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #94a3b8, #64748b);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    z-index: 3;
}

.top-article-rank.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    width: 42px;
    height: 42px;
    font-size: 1rem;
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 4px 24px rgba(245, 158, 11, 0.8);
    }
}

.top-article-rank.silver {
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.5);
}

.top-article-rank.bronze {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.5);
}

/* Image */
.top-article-image-wrap {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.top-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.top-article-card:hover .top-article-image {
    transform: scale(1.08);
}

.top-article-cat {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    padding: 0.25rem 0.65rem;
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 999px;
}

/* Body */
.top-article-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.top-article-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.6rem;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
}

.top-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

.top-article-title a:hover {
    color: var(--brand-2);
}

/* Card rank 1 title lebih besar */
.top-article-card.is-first .top-article-title {
    font-size: 0.95rem;
    -webkit-line-clamp: 3;
}

/* Meta */
.top-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.7rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.top-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.top-article-meta i {
    color: var(--brand-2);
    font-size: 0.75rem;
}

/* Read more */
.top-article-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    color: var(--brand-2);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.15s ease;
}

.top-article-readmore:hover {
    gap: 0.6rem;
    color: var(--blue-900);
}

/* ============================================================
   [7] TESTIMONI ALUMNI — APA KATA MEREKA
   ============================================================ */
.section-testimonials {
    background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
    border-top: 1px solid var(--border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-800), var(--blue-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.testimonial-card:hover::before {
    transform: scaleX(1);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--blue-100);
    opacity: .8;
    pointer-events: none;
}
.testimonial-quote-icon i {
    display: block;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: .9rem;
}

.testimonial-message {
    font-size: .92rem;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--blue-100);
    flex-shrink: 0;
    background: var(--blue-50);
}

.testimonial-info {
    min-width: 0;
}
.testimonial-name {
    font-size: .92rem;
    font-weight: 700;
    color: var(--brand-1);
    margin-bottom: .15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.testimonial-role {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   [8] SPONSOR MARQUEE
   ============================================================ */
.section-sponsor {
    background: #fff;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.sponsor-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    padding: 1rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.sponsor-track {
    display: flex;
    gap: 2rem;
    animation: sponsorScroll 40s linear infinite;
    width: max-content;
    align-items: center;
}
.sponsor-marquee:hover .sponsor-track {
    animation-play-state: paused;
}

@keyframes sponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sponsor-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text);
    transition: all .25s ease;
    flex-shrink: 0;
    min-width: 220px;
}
.sponsor-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--blue-200);
    color: var(--brand-2);
}
.sponsor-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.sponsor-item span {
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================================
   [9] INGIN BERGABUNG — DIVISI
   ============================================================ */
.section-join {
    background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
    border-top: 1px solid var(--border);
}

.join-header {
    margin-bottom: 2.5rem;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.division-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
}
.division-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-800), var(--blue-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.division-card:hover::before {
    transform: scaleX(1);
}
.division-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.division-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    color: var(--brand-2);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: all .3s ease;
}
.division-card:hover .division-icon {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

.division-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-1);
    margin: 0 0 .5rem;
    line-height: 1.35;
}

.division-desc {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.division-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.division-tag {
    padding: .25rem .65rem;
    background: var(--blue-50);
    color: var(--brand-2);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 600;
    border: 1px solid var(--blue-100);
}

/* ===== CTA Join ===== */
.join-cta {
    text-align: center;
}

.join-main-btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
    box-shadow: 0 8px 24px rgba(30, 58, 138, .35);
}
.join-main-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, .45);
}
.join-main-btn i:last-child {
    transition: transform .2s ease;
}
.join-main-btn:hover i:last-child {
    transform: translateX(4px);
}

.join-note {
    font-size: .85rem;
    color: var(--muted);
    margin: 1.25rem 0 0;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: center;
}
.join-note b {
    color: var(--brand-2);
}

/* ============================================================
   [10] PAGINATION SEARCH (di beranda)
   ============================================================ */
.home-search-pagination {
    margin-top: 2.5rem;
}

.home-search-pagination .pagination {
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
}

.home-search-pagination .page-link {
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px !important;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    transition: all 0.15s ease;
}

.home-search-pagination .page-link:hover {
    background: var(--blue-50);
    border-color: var(--brand-2);
    color: var(--brand-2);
}

.home-search-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.home-search-pagination .page-item.disabled .page-link {
    background: #f8fafc;
    color: var(--muted);
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   [11] ANIMASI SCROLL (fade-up)
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   [12] RESPONSIVE — Tablet Besar (≤ 1199px)
   ============================================================ */
@media (max-width: 1199.98px) {
    .hero-slider { height: 540px; }
    .hero-slide-content { padding: 2.5rem 3rem 3.5rem; }
    .hero-slide-title { font-size: 2rem; }

    /* Top Articles — 3 kolom, rank 1 full width */
    .top-articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .top-article-card.is-first {
        grid-column: span 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        transform: none;
    }
    .top-article-card.is-first:hover {
        transform: translateY(-4px);
    }
    .top-article-card.is-first .top-article-image-wrap {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   [13] RESPONSIVE — Tablet (≤ 991px)
   ============================================================ */
@media (max-width: 991.98px) {
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.65rem; }

    .hero-slider { height: 480px; }
    .hero-slide-content { padding: 2rem 2rem 3rem; max-width: 100%; }
    .hero-slide-title { font-size: 1.6rem; }
    .hero-slide-desc { font-size: .9rem; }
    .hero-slide-meta { gap: 1rem; }
    .hero-nav { width: 44px; height: 44px; font-size: 1.1rem; }
    .hero-nav-prev { left: .85rem; }
    .hero-nav-next { right: .85rem; }

    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .divisions-grid { grid-template-columns: repeat(2, 1fr); }

    .about-stats-grid { gap: 1rem; }
    .about-stat-card { padding: 1.75rem 1.15rem; }
    .about-stat-number { font-size: 2rem; }
    .about-stat-icon { width: 52px; height: 52px; font-size: 1.35rem; }
}

/* ============================================================
   [14] RESPONSIVE — Mobile (≤ 767px)
   ============================================================ */
@media (max-width: 767.98px) {
    .section { padding: 2.5rem 0; }
    .section-title { font-size: 1.4rem; }
    .section-desc { font-size: .88rem; }

    /* Hero */
    .hero-slider { height: 440px; }
    .hero-slide-content { padding: 1.5rem 1.25rem 3rem; }
    .hero-slide-title { font-size: 1.3rem; -webkit-line-clamp: 3; }
    .hero-slide-desc { font-size: .82rem; -webkit-line-clamp: 2; }
    .hero-slide-btn { padding: .65rem 1.15rem; font-size: .82rem; }
    .hero-nav { display: none; }
    .hero-dots { bottom: 1rem; }
    .hero-progress { height: 2px; }

    /* About */
    .about-features { grid-template-columns: 1fr; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .about-stat-card { padding: 1.25rem .85rem; }
    .about-stat-number { font-size: 1.5rem; }
    .about-stat-icon { width: 44px; height: 44px; font-size: 1.15rem; margin-bottom: .85rem; }
    .about-stat-label { font-size: .78rem; }

    /* Search */
    .home-search-input-wrap { padding: .35rem .35rem .35rem 1rem; border-radius: var(--radius-lg); }
    .home-search-input { font-size: .9rem; padding: .55rem 0; }
    .home-search-btn span { display: none; }
    .home-search-btn { padding: .75rem .9rem; }

    /* Articles */
    .articles-grid { grid-template-columns: 1fr; }

    /* Top Articles — 2 kolom */
    .top-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .top-article-card.is-first {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
    }
    .top-article-card.is-first .top-article-image-wrap {
        aspect-ratio: 16 / 9;
    }
    .top-article-title {
        font-size: 0.8rem;
    }
    .top-article-card.is-first .top-article-title {
        font-size: 0.88rem;
        -webkit-line-clamp: 2;
    }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 1.5rem 1.25rem 1.25rem; }
    .testimonial-message { font-size: .88rem; -webkit-line-clamp: 4; }
    .testimonial-avatar { width: 46px; height: 46px; }

    /* Divisions */
    .divisions-grid { grid-template-columns: 1fr; gap: 1rem; }
    .division-card { padding: 1.5rem 1.25rem; }
    .division-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .division-name { font-size: .95rem; }

    /* CTA */
    .join-main-btn { padding: .85rem 1.5rem; font-size: .88rem; }
    .join-note { font-size: .78rem; }
}

/* ============================================================
   [15] RESPONSIVE — Mobile Kecil (≤ 575px)
   ============================================================ */
@media (max-width: 575.98px) {
    .hero-slider { height: 380px; }
    .hero-slide-content { padding: 1.25rem 1rem 2.5rem; }
    .hero-slide-title { font-size: 1.1rem; }
    .hero-slide-desc { font-size: .78rem; }
    .hero-slide-meta { flex-direction: column; align-items: flex-start; gap: .65rem; }
    .hero-dot { width: 8px; height: 8px; }
    .hero-dot.active { width: 22px; }

    .about-stat-number { font-size: 1.25rem; }
    .about-stat-label { font-size: .72rem; }

    .sponsor-item { min-width: 180px; padding: .65rem 1rem; }
    .sponsor-item img { width: 32px; height: 32px; }
    .sponsor-item span { font-size: .78rem; }

    .section-title { font-size: 1.25rem; }
    .section-label { font-size: .68rem; padding: .3rem .75rem; }

    .testimonial-quote-icon { font-size: 2.5rem; top: 1rem; right: 1rem; }
    .testimonial-message { font-size: .85rem; }

    /* Top Articles — 1 kolom */
    .top-articles-grid {
        grid-template-columns: 1fr;
    }
    .top-article-card.is-first {
        grid-column: span 1;
    }
    .top-article-title {
        font-size: 0.85rem;
    }
    .top-article-meta {
        font-size: 0.68rem;
    }
    .top-article-readmore {
        font-size: 0.75rem;
    }
}

/* ============================================================
   [16] REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .sponsor-track { animation: none; }
    .hero-slide-image img { transition: none; }
    .animate-on-scroll { opacity: 1; transform: none; }
}