 /* --- 1. RESET & VARIABLES --- */
        :root {
            /* Warna Modern & Elegan */
            --primary: #0f172a;      /* Navy sangat gelap */
            --accent: #2563eb;       /* Royal Blue cerah untuk tombol/link */
            --accent-hover: #1d4ed8;
            --secondary: #64748b;    /* Abu-abu teks */
            --bg-light: #f8fafc;     /* Background halaman sangat muda */
            --card-bg: #ffffff;
            --success: #10b981;      /* Hijau untuk status */
            
            /* Spacing & Borders */
            --radius: 12px;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
            --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
            
            /* Typography */
            --font-heading: 'Playfair Display', serif;
            --font-body: 'Plus Jakarta Sans', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-light);
            color: var(--primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all 0.2s ease;
        }

        ul { list-style: none; }

        /* --- 2. NAVBAR (Sticky & Glassy) --- */
        .navbar {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #e2e8f0;
            padding: 15px 0;
        }

        .container {
            width: 90%;
            max-width: 1280px;
            margin: 0 auto;
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .brand span { color: var(--accent); }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--secondary);
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .btn-login {
            background-color: var(--primary);
            color: white !important;
            padding: 10px 24px;
            border-radius: 50px;
            font-weight: 600;
        }

        .btn-login:hover {
            background-color: var(--accent);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        /* --- 3. HERO SECTION (Impactful) --- */
        .hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: white;
            padding: 80px 0 100px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        /* Dekorasi background abstrak css murni */
        .hero::before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 300px;
            height: 300px;
            background: rgba(37, 99, 235, 0.2);
            border-radius: 50%;
            filter: blur(80px);
        }

        .hero h1 {
            font-family: var(--font-heading);
            font-size: 3.5rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            color: #cbd5e1;
            max-width: 600px;
            margin: 0 auto 40px;
        }

        .search-bar-wrapper {
            max-width: 700px;
            margin: 0 auto;
            position: relative;
        }

        .search-form {
            display: flex;
            background: white;
            padding: 8px;
            border-radius: 100px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }

        .search-input {
            flex: 1;
            border: none;
            padding: 15px 25px;
            font-size: 1rem;
            outline: none;
            border-radius: 100px;
        }

        .search-btn {
            background-color: var(--accent);
            color: white;
            border: none;
            padding: 15px 40px;
            border-radius: 100px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
        }

        .search-btn:hover { background-color: var(--accent-hover); }

        /* --- 4. STATS BAR (Floating) --- */
        .stats-container {
            margin-top: -50px; /* Overlap hero */
            position: relative;
            z-index: 10;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 30px;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.5rem;
            color: var(--accent);
            font-weight: 800;
            margin-bottom: 5px;
            font-family: var(--font-heading);
        }

        .stat-item p {
            color: var(--secondary);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .stat-item:not(:last-child) {
            border-right: 1px solid #e2e8f0;
        }

/* --- 6. CALL TO ACTION (CTA) --- */
        .cta-section {
            background-color: var(--primary);
            color: white;
            padding: 80px 0;
            text-align: center;
            border-radius: 20px;
            margin-bottom: 50px;
        }

        .cta-content h2 {
            font-family: var(--font-heading);
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .cta-btn {
            display: inline-block;
            background: white;
            color: var(--primary);
            padding: 15px 35px;
            border-radius: 100px;
            font-weight: 700;
            margin-top: 20px;
            transition: transform 0.2s;
        }
        
        .cta-btn:hover {
            transform: scale(1.05);
            background-color: #f8fafc;
        }

        /* --- 7. FOOTER (Fat Footer) --- */
        footer {
            background: #0f172a;
            color: #94a3b8;
            padding: 70px 0 30px;
            border-top: 1px solid #1e293b;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-brand h3 {
            color: white;
            font-family: var(--font-heading);
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .footer-col h4 {
            color: white;
            font-size: 1.1rem;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .footer-col ul li { margin-bottom: 12px; }
        .footer-col a:hover { color: var(--accent); }

        .footer-bottom {
            border-top: 1px solid #1e293b;
            padding-top: 30px;
            text-align: center;
            font-size: 0.9rem;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 900px) {
            .hero h1 { font-size: 2.5rem; }
            .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
            .stats-item { border: none !important; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
            .nav-links { display: none; } /* Mobile menu hidden for simplicity */
        }
/*index site css*/

/* --- 1. Container & Layout Utama --- */
.portal-container {
    font-family: 'Open Sans', 'Segoe UI', sans-serif; /* Pastikan font modern */
    background-color: #f8f9fa;
    padding-bottom: 60px;
}

/* --- 2. Custom Hero Header --- */
.portal-hero {
    background: linear-gradient(135deg, #119c69 0%, #2a5298 100%); /* Ganti warna ini sesuai brand */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px; /* Lengkungan di bawah header */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.portal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.portal-about h1, 
.portal-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.portal-about p,
.portal-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- 3. Grid System (3-4 Kolom) --- */
.portal-content-wrapper {
    max-width: 1400px; /* Lebar maksimal konten */
    margin: 0 auto;
    padding: 100px 20px;
}

.portal-grid {
    display: grid;
    gap: 30px; /* Jarak antar kartu */
    /* Logic: Default mobile 1 kolom, tablet menyesuaikan */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Memaksa 3 kolom di Laptop (screen > 992px) */
@media (min-width: 992px) {
    .portal-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Memaksa 4 kolom di Monitor Besar (screen > 1400px) */
@media (min-width: 1400px) {
    .portal-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --- 4. Card Styling (Modern & Elegant) --- */
.portal-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden; /* Agar gambar tidak keluar radius */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
}

.portal-card:hover {
    transform: translateY(-8px); /* Efek naik */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* --- 5. Image / Thumbnail --- */
.portal-card-img {
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f1f1f1;
}

.portal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop gambar agar rapi */
    transition: transform 0.5s ease;
}

.portal-card:hover .portal-card-img img {
    transform: scale(1.01); /* Zoom effect */
}

/* Fallback jika tidak ada gambar */
.portal-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* --- 6. Card Body --- */
.portal-card-body {
    padding: 20px;
    flex-grow: 1; /* Mendorong footer ke bawah */
}

.portal-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 2.8em; /* Menjaga tinggi judul agar sejajar minimal 2 baris */
}

.portal-card-title a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.2s;
}

.portal-card-title a:hover {
    color: #0984e3;
}

.portal-card-desc {
    font-size: 0.9rem;
    color: #636e72;
    line-height: 1.6;
}

/* --- 7. Card Footer & Buttons --- */
.portal-card-footer {
    padding: 15px 20px;
    background-color: #fbfbfb;
    border-top: 1px solid #f1f1f1;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.portal-btn {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

/* Primary Button (Lihat Jurnal) */
.portal-btn-primary {
    background-color: #0984e3;
    color: white;
    border: 1px solid #0984e3;
}

.portal-btn-primary:hover {
    background-color: #0870c0;
    color: white;
}

/* Outline Button (Terkini) */
.portal-btn-outline {
    background-color: transparent;
    color: #636e72;
    border: 1px solid #dfe6e9;
}

.portal-btn-outline:hover {
    border-color: #b2bec3;
    background-color: #f5f5f5;
    color: #2d3436;
}

/* --- 8. Announcements Styling (Optional) --- */
.portal-announcements {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}