:root {
    --blue-dark: #003366; /* Deep, elegant blue for main header */
    --blue-mediumue-light: #4A90E2; /* Lighter blue for accents */
    --gray-light: #F8F8F8; /* Very light gray for top bar/background */
    --text-color-dark: #333; /* Dark text for contrast on light backgrounds */
    --text-color-light: #E0E0E0; /* Light text for dark backgrounds */
    --white: #fff;
    --border-color: #E6E6E6; /* Soft border for elements */
    --shadow-color: rgba(0, 51, 102, 0.25); /* Shadow color based on dark blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: var(--text-color-dark);

}

a:hover {
    color: var(--blue-dark);
}

body {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden; /* Prevent horizontal scroll on smaller screens */
    padding-top: 140px;
}

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


/* Top Bar Styles */
.top-bar {
    background-color: var(--gray-light);
    padding: 8px 0; /* Reduced padding */
    font-size: 0.85em; /* Slightly smaller font */
    color: #555;
    top: 0px;
    width: 100%;
    left: 0px;
    z-index: 101;
    position: fixed;
    border-bottom: 1px solid var(--border-color); /* Subtle bottom border */
}

.top-bar-container {
    max-width: 1280px; /* Slightly wider container */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    margin-right: 25px; /* Increased spacing */
    white-space: nowrap; /* Prevent breaking lines */
    padding: 5px 0; /* Vertical padding for items */
}

.top-bar-item:last-child {
    margin-right: 0;
}

.top-bar-item i {
    margin-right: 8px;
    color: var(--blue-dark); /* Icons match the dark green */
}

.top-bar-social {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.top-bar-social a {
    color: #555;
    margin-left: 18px; /* Slightly more spacing */
    font-size: 1em;
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: var(--blue-dark);
}

.language-selector {
    display: flex;
    align-items: center;
    margin-left: 25px;
    border-left: 1px solid var(--border-color); /* Thicker border */
    padding-left: 25px;
    position: relative; /* For custom arrow positioning */
    padding: 5px 0;
}

.language-selector select {
    background: none;
    border: none;
    font-size: inherit;
    color: inherit;
    padding-right: 25px; /* Space for the custom arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none; /* Remove outline on focus */
}

.language-selector::after {
    content: "\f078"; /* FontAwesome caret-down icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 0; /* Position relative to .language-selector */
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    pointer-events: none;
}

/* Main Header Styles */
.main-header {
    background-color: var(--blue-dark);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    position: fixed; /* For z-index if needed */
    top: 40px;
    width: 100%;
    z-index: 100;
}

.main-header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* This is key for spacing logo and nav */
    align-items: center;
    padding: 0 20px;
    /* flex-wrap: wrap; Removed to prevent wrapping on large screens */
}

.logo {
    display: flex;
    align-items: center;
    /* margin-right: 20px; Removed, let flexbox handle spacing */
    flex-shrink: 0; /* Prevent shrinking */
}

.logo img {
    height: 65px; /* Slightly larger logo */
    margin-right: 15px;
}

.logo-text {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6em; /* Slightly larger font */
    line-height: 1.2;
    text-transform: uppercase; /* Match capitalization */
}

.logo-text span {
    display: block;
    font-size: 0.65em; /* Smaller sub-text */
    font-weight: 400;
    opacity: 0.9;
    text-transform: none; /* Keep sub-text normal case */
}

/* Navigation Styles */
.nav-menu {
    background-color: var(--white);
    border-radius: 40px; /* Adjust border-radius to match image more precisely */
    padding: 8px 15px; /* Adjusted padding */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Stronger, softer shadow */
    /* flex-grow: 1; Removed, it can cause menu to expand too much */
    max-width: fit-content; /* Limit width to content */
    margin-left: auto; /* Push to the right */
    transition: all 0.3s ease-in-out; /* Smooth transition for mobile menu */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0 10px; /* Inner padding for UL */
}

.nav-menu ul li {
    position: relative;
    margin: 0 12px; /* Adjusted spacing between items */
    white-space: nowrap; /* Prevent items from wrapping */
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 0; /* Consistent vertical padding */
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
    color: var(--blue-dark);
}

.nav-menu ul li .dropdown-arrow {
    margin-left: 5px;
    font-size: 0.6em; /* Smaller arrow */
    vertical-align: middle; /* Align with text */
    color: #777; /* Softer arrow color */
}

/* Search Button */
.search-button {
    background-color: var(--blue-dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px; /* Slightly larger button */
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1em; /* Slightly smaller icon */
    cursor: pointer;
    margin-left: 15px; /* Closer to menu */
    flex-shrink: 0; /* Prevent shrinking */
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: var(--green-light);
}

/* Mobile Hamburger Icon */
.hamburger-menu {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--white); /* White icon */
    cursor: pointer;
    padding: 10px;
    z-index: 101; /* Above other elements */
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .top-bar-container,
    .main-header-container {
        padding: 0 15px; /* Reduce padding on smaller screens */
    }

    .nav-menu ul li {
        margin: 0 8px; /* Reduce spacing for more items to fit */
    }
}

@media (max-width: 992px) {
    .top-bar-item,
    .top-bar-social,
    .language-selector {
        margin-right: 15px; /* Reduce spacing further */
        margin-left: 15px;
    }

    .main-header-container {
        flex-direction: row; /* Keep logo and nav side-by-side initially */
        justify-content: space-between; /* Space out items */
        align-items: center; /* Align items vertically */
        flex-wrap: wrap; /* Allow wrapping of logo/hamburger if space is tight */
    }

    .logo {
        margin-bottom: 0; /* Reset margin */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
        margin-left: auto; /* Push to the right */
    }

    .nav-menu {
        /* Hide the navigation menu by default on small screens */
        display: none;
        flex-direction: column; /* Stack items vertically */
        width: 100%; /* Take full width */
        max-width: 100%; /* Ensure it takes full width when active */
        margin-left: 0; /* Reset margin */
        border-radius: 0; /* Remove border radius for full width */
        padding: 20px; /* More padding */
        position: absolute; /* Position relative to header */
        top: 100%; /* Below the header */
        left: 0;
        background-color: var(--blue-dark); /* Dark background when open */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        align-items: flex-start; /* Align items to the left */
        max-height: 80vh; /* Limit height to 80% of viewport height */
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Hide horizontal scroll */
    }

    .nav-menu.active {
        display: flex; /* Show the menu when active */
    }

    /* Custom scrollbar for mobile menu */
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }

    .nav-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .nav-menu ul {
        flex-direction: column; /* Stack ul items vertically */
        width: 100%; /* Take full width */
        padding: 0;
        margin-bottom: 20px; /* Space between links and search */
    }

    .nav-menu ul li {
        margin: 10px 0; /* More vertical space */
        width: 100%;
        text-align: left; /* Align text to the left */
    }

    .nav-menu ul li a {
        color: var(--white); /* White text for dark background */
        padding: 12px 15px; /* More padding for clickable area */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    }

    .nav-menu ul li:last-child a {
        border-bottom: none; /* No border on last item */
    }

    .nav-menu ul li a:hover {
        background-color: var(--green-light);
        color: var(--white);
    }

    .search-button {
        margin-left: 0; /* Reset margin */
        width: 100%; /* Take full width */
        border-radius: 5px; /* Less rounded for full width */
        height: 50px;
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 85px;
    }
    .main-header {
        top: 0px;
    }
    .top-bar-container {
        flex-direction: column; /* Stack top bar items vertically */
        align-items: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .top-bar-item,
    .top-bar-social,
    .language-selector {
        margin: 5px 0; /* Reduce margins when stacked */
        border-left: none; /* Remove border when stacked */
        padding-left: 0;
    }

    .language-selector::after {
        right: 20px; /* Adjust arrow position */
    }

    .logo img {
        height: 55px; /* Smaller logo */
    }

    .logo-text {
        font-size: 1.4em; /* Smaller text */
    }
}

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

    .top-bar-container {
        flex-direction: column; /* This rule will now only apply if .top-bar is not hidden */
        align-items: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .top-bar-item,
    .top-bar-social,
    .language-selector {
        margin: 5px 0; /* Reduce margins when stacked */
        border-left: none; /* Remove border when stacked */
        padding-left: 0;
    }

    .language-selector::after {
        right: 20px; /* Adjust arrow position */
    }

    .logo img {
        height: 55px; /* Smaller logo */
    }

    .logo-text {
        font-size: 1.4em; /* Smaller text */
    }
}


@media (max-width: 576px) {
    .nav-menu ul li {
        margin: 5px 8px; /* Even smaller spacing */
    }
    .logo img {
        height: 50px;
    }
    .logo-text {
        font-size: 1.2em;
    }
}

  /* Hero Section Styling */
  .hero-section {
    width: 100%;
    height: 65vh; /* Tinggi sedikit lebih tinggi untuk kesan megah */
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); /* Bayangan lebih dalam */
    margin-bottom: 40px; /* Jarak bawah untuk konten selanjutnya */
}

/* Slider Container */
.slider-container {
    display: flex;
    height: 100%;
    transition: transform 1s cubic-bezier(0.65, 0.05, 0.36, 1); /* Transisi lebih elegan */
}

/* Individual Slide Styling */
.slide {
    min-width: 100%; /* Setiap slide mengambil 100% lebar container */
    height: 100%;
    position: relative;
    display: flex;
    align-items: center; /* Konten vertikal tengah */
    justify-content: flex-start; /* Konten rata kiri secara horizontal */
    color: #fff;
    text-align: left; /* Teks rata kiri */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay untuk teks agar lebih mudah dibaca dan lebih elegan */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay yang lebih gelap di kiri untuk kontras teks */
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}

/* Konten Teks Slide */
.slide-content {
    position: relative;
    z-index: 2; /* Pastikan konten di atas overlay */
    max-width: 900px; /* Lebar konten lebih luas */
    padding: 30px 80px; /* Padding lebih besar, terutama di kiri dan kanan */
    animation: fadeInScale 1.2s ease-out forwards; /* Animasi masuk lebih lambat */
    text-align: left; /* Pastikan teks di dalam konten rata kiri */
}

.slide-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #007bff; /* Warna biru cerah untuk subtitle */
    margin-bottom: 0.5rem;
    display: block; /* Memastikan subtitle berada di barisnya sendiri */
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.slide-content h2 {
    font-size: 4.2rem; /* Ukuran font lebih besar */
    font-weight: 800;
    margin-bottom: 1.5rem; /* Jarak bawah lebih besar */
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6); /* Bayangan teks lebih menonjol */
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.4rem; /* Ukuran font lebih besar */
    margin-bottom: 2.5rem; /* Jarak bawah lebih besar */
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* Bayangan teks lebih menonjol */
    max-width: 700px; /* Batasi lebar paragraf */
    margin-left: 0; /* Pastikan rata kiri */
    margin-right: auto;
}

/* Tombol aksi dihapus */
/* .slide-button { ... } */

/* Container untuk tombol navigasi panah */
.slider-arrows-container {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none; /* Agar tidak menghalangi klik slide */
}


.slider-nav-button {
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px;
    cursor: pointer;
    font-size: 1.8rem;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
    user-select: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
}

.slider-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}


.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, border 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8); /* Border lebih tebal */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* Keyframe Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide-content {
        padding: 30px 60px; /* Padding disesuaikan */
    }
    .slide-content h2 {
        font-size: 3.5rem;
    }
    .slide-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 65vh; /* Tinggi sedikit lebih rendah untuk tablet */
    }
    .slide-content {
        padding: 25px 80px; 
    }
    .slide-content h2 {
        font-size: 2.8rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
    /* .slide-button { ... } */
    .slider-nav-button {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .slider-arrows-container {
        top: 50%;
        bottom: auto;
        gap: 0;
    }
    .dot {
        width: 10px;
        height: 10px;
        border: 1px solid rgba(255, 255, 255, 0.7);
    }
    .dot.active {
        border: 1px solid #007bff;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 45vh; /* Lebih rendah lagi untuk tablet kecil */
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .slide::before {
        border-radius: 0px;
    }
    .slide-content {
        padding: 20px 80px; /* Padding disesuaikan */
    }
    .slide-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }
    /* .slide-button { ... } */
    .slider-nav-button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    .slider-arrows-container {
        top: 50%;
        bottom: auto;
        gap: 0;
    }
    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 40vh; /* Paling rendah untuk mobile */
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    .slide::before {
        border-radius: 0px;
    }
    .slide-content {
        padding: 15px 20px; /* Padding disesuaikan */
    }
    .slide-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }
    /* .slide-button { ... } */
    .slider-nav-button {
        display: none; /* Sembunyikan tombol navigasi di layar sangat kecil */
    }
    .slider-arrows-container {
        display: none; /* Sembunyikan container tombol navigasi di layar sangat kecil */
    }
    .slider-dots {
        bottom: 15px;
        gap: 6px;
    }
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* ARTICLES */
.articles-section {
    max-width: 1200px;
    margin: 0 auto;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
    position: relative;
    overflow: hidden;
}

.article-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="20" fill="rgba(255,255,255,0.1)"/><circle cx="25" cy="25" r="10" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="15" fill="rgba(255,255,255,0.08)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.category {
    background: linear-gradient(45deg, #0368d5, #00448a);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.article-card:hover .article-title {
    color: #667eea;
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ffecd2, #fcb69f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.read-more {
    background: linear-gradient(45deg, #013366, #027bff);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}


@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-card {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {    
    .article-content {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
}




/* FOOTER */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4CAF50, #136815);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: #999;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #014026;
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    margin-bottom: 1rem;
}

.contact-info i {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #999;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #014026;
}

@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
/* FOOTER */

/* Dropdown Styles */
.nav-menu ul li.has-dropdown {
    position: relative;
}

.nav-menu ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
    opacity: 0;
    pointer-events: none;
}

.nav-menu ul li.has-dropdown:hover > .dropdown,
.nav-menu ul li.has-dropdown:focus-within > .dropdown,
.nav-menu ul li.has-dropdown.active > .dropdown {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.nav-menu ul li .dropdown li {
    margin: 0;
}

.nav-menu ul li .dropdown li a {
    color: #333;
    padding: 10px 20px;
    display: block;
    font-size: 0.98em;
    border-radius: 0px;
    transition: background 0.2s, color 0.2s;
}

.nav-menu ul li .dropdown li a:hover {
    background: var(--blue-dark);
    color: #fff;
}

/* Responsive: Dropdown on mobile */
@media (max-width: 992px) {
    .nav-menu ul li .dropdown {
        position: static;
        box-shadow: none;
        background: var(--blue-dark);
        border-radius: 0;
        opacity: 1;
        display: none;
        padding: 0;
    }
    .nav-menu ul li.has-dropdown.active > .dropdown {
        display: block;
    }
    .nav-menu ul li .dropdown li a {
        color: #fff;
        padding-left: 35px;
    }
    .nav-menu ul li .dropdown li a:hover {
        background: var(--blue-mediumue-light);
        color: #fff;
    }
}

        /* PARTNERS SLIDER SECTION */
        .partners-section {
            background: white;
            padding: 40px 0;
            margin-bottom: 40px;
        }

        .partners-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .partners-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .partners-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2d3748;
            position: relative;
        }

        .partners-title::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 60px;
            height: 4px;
            background: #3b82f6;
            border-radius: 2px;
        }

        .partners-slider {
            position: relative;
            overflow: hidden;
            padding: 20px 0;
        }

        .partners-cards {
            display: flex;
            transition: transform 0.3s ease;
            gap: 20px;
            cursor: grab;
        }

        .partners-cards:active {
            cursor: grabbing;
        }

        .partner-card {
            min-width: 280px;
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .partner-card {
                min-width: 250px;
            }
        }

        @media (max-width: 480px) {
            .partner-card {
                min-width: 220px;
            }
        }

        .partner-card-inner {
            background: #ffffff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .partner-card-inner:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-color: #3498db;
        }

        .partner-logo-container {
            width: 100%;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .partner-logo {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }

        .partner-card-inner:hover .partner-logo {
            transform: scale(1.05);
        }

        .partner-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .partner-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: #2c3e50;
            line-height: 1.4;
            margin: 0;
        }

        /* Responsive adjustments for partners slider */
        @media (max-width: 768px) {
            .partners-header {
                margin-bottom: 20px;
            }

            .partners-title {
                font-size: 1.5rem;
            }

            .partner-card-inner {
                padding: 15px;
            }

            .partner-logo-container {
                height: 60px;
                margin-bottom: 10px;
            }

            .partner-name {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .partner-card-inner {
                padding: 12px;
            }

            .partner-logo-container {
                height: 50px;
                margin-bottom: 8px;
            }

            .partner-name {
                font-size: 0.8rem;
            }
        }



        /* ARTICLE DETAIL */
  .breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.breadcrumb-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #3b82f6;
}

.breadcrumb-nav .current {
    color: #1e293b;
    font-weight: 500;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Main Article */
.main-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.article-header {
    position: relative;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.article-content {
    padding: 30px;
}

.article-title-view {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #64748b;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #94a3b8;
}

.article-body {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 30px 0 15px 0;
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 25px 0 12px 0;
}

.article-body img {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #f7f7fa;
    padding: 4px;
}


@media (max-width: 600px) {
    .article-body img {
        margin: 18px 0;
    }
    .article-body img {
        border-radius: 8px;
    }
}



/* Share Section */
.share-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.share-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.share-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #374151;
}

.share-facebook:hover { border-color: #1877f2; color: #1877f2; }
.share-twitter:hover { border-color: #1da1f2; color: #1da1f2; }
.share-whatsapp:hover { border-color: #25d366; color: #25d366; }
.share-linkedin:hover { border-color: #0077b5; color: #0077b5; }

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.widget-icon {
    width: 24px;
    height: 24px;
    background: #3b82f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

/* Latest Posts */
.latest-post {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.latest-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-post:hover {
    background: #f8fafc;
    margin: 0 -12px;
    padding: 12px;
    border-radius: 8px;
}

.latest-post-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.latest-post-content {
    flex: 1;
}

.latest-post-title {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 6px;
}

.latest-post-title a {
    color: inherit;
    text-decoration: none;
}

.latest-post-title a:hover {
    color: #3b82f6;
}

.latest-post-date {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.category-item:hover {
    background: #3b82f6;
    color: white;
}

.category-count {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.category-item:hover .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 16px;
    text-decoration: none;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.tag-item:hover {
    background: #3b82f6;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 30px;
    }

    .breadcrumb-container {
        padding: 0 15px;
    }

    .article-content {
        padding: 20px;
    }

    .article-title-view {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 15px;
    }

    .share-buttons {
        justify-content: center;
    }

    .share-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    .latest-post {
        flex-direction: column;
    }

    .latest-post-image {
        width: 100%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .article-image {
        height: 250px;
    }

    .article-title-view {
        font-size: 1.25rem;
    }

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

    .share-btn {
        justify-content: left;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-article,
.sidebar-widget {
    animation: fadeIn 0.6s ease-out;
}

/* Floating Share Button for Mobile */
.mobile-share-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #3b82f6;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.mobile-share-fab:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .mobile-share-fab {
        display: flex;
    }
}


/* Jadwal Seminar & Ujian */

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.3;
    flex: 1;
    margin-right: 15px;
}

.status-badge {
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-dijadwalkan {
    background: linear-gradient(45deg, #3b82f6, #1e40af);
    color: white;
}

.status-selesai {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.status-dibatalkan {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

.jenis-badge {
    display: inline-block;
    padding: 1px 10px;
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.jenis-badge.seminar-proposal {
    background: linear-gradient(45deg, #059669, #10b981);
}

.jenis-badge.seminar-hasil {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
}

.jenis-badge.ujian-tutup {
    background: linear-gradient(45deg, #dc2626, #ef4444);
}

/* Hover effects for different badge types */
.jenis-badge.seminar-proposal:hover {
    background: linear-gradient(45deg, #047857, #0d9488);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.jenis-badge.seminar-hasil:hover {
    background: linear-gradient(45deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.jenis-badge.ujian-tutup:hover {
    background: linear-gradient(45deg, #b91c1c, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.card-info {
    margin-bottom: 20px;
}


.info-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    opacity: 0.7;
}

.info-label {
    font-weight: 600;
    margin-right: 8px;
    min-width: 80px;
}

.student-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.student-details {
    flex: 1;
}

.student-name {
    font-weight: 600;
    color: #2d3748;
}

.student-nim {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: #4a5568;
    /* background: rgba(59, 130, 246, 0.1); */
    /* padding: 2px 6px; */
    border-radius: 4px;
}

.student-photo {
    flex-shrink: 0;
}

.student-img {
    width: 110px;
    height: 110px;
    border-radius: 10%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.student-img:hover {
    transform: scale(1.1);
}

.student-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 10%;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.student-photo-placeholder:hover {
    transform: scale(1.1);
}

.student-photo-placeholder i {
    color: white;
    font-size: 18px;
}

.dosen-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.dosen-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.dosen-section h4::before {
    margin-right: 8px;
}

.dosen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Grid untuk seminar proposal dan hasil (4 item) */
.dosen-grid.seminar-grid {
    grid-template-columns: 1fr 1fr;
}

/* Grid untuk ujian tutup (7 item) */
.dosen-grid.ujian-grid {
    grid-template-columns: 1fr 1fr;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dosen-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dosen-item.sidang-item {
    background: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
}

.dosen-item.sidang-item .dosen-role {
    color: #dc2626;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 9px;
    background: rgb(40 96 227);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dosen-item:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.dosen-item.sidang-item:hover {
    background: rgba(220, 38, 38, 0.15);
    transform: translateY(-1px);
}

.info-item:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.dosen-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dosen-name {
    font-size: 0.9rem;
    color: #2d3748;
    font-weight: 500;
}

.info-name {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.info-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #cfcfcf;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}



.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    justify-content: center;
}

.action-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-detail {
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: white;
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    opacity: 0.8;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar {
        max-width: none;
        order: -1;
    }

    .filter-buttons {
        justify-content: center;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }

    .student-info-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .student-details {
        width: 100%;
    }

    .student-photo {
        order: -1;
    }

    .student-img,
    .student-photo-placeholder {
        width: 60px;
        height: 60px;
    }

    .student-photo-placeholder i {
        font-size: 24px;
    }

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

    .dosen-grid.seminar-grid {
        grid-template-columns: 1fr;
    }

    .dosen-grid.ujian-grid {
        grid-template-columns: 1fr;
    }

    .card-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 15px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .jenis-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .student-info-section {
        padding: 12px;
        gap: 10px;
    }

    .student-img,
    .student-photo-placeholder {
        width: 50px;
        height: 50px;
    }

    .student-photo-placeholder i {
        font-size: 20px;
    }



    .student-nim {
        font-size: 0.85rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* Agenda */

/* Agenda */
.agenda-section {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.agenda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.agenda-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    position: relative;
}

.agenda-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.agenda-card {
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.agenda-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.agenda-date-block {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 20px;
    text-align: center;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.agenda-date-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.agenda-card:hover .agenda-date-block::before {
    opacity: 1;
    animation: shimmer 1.5s ease;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.agenda-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.agenda-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.agenda-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
}

.agenda-event-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.agenda-location {
    font-size: 0.95rem;
    color: #718096;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agenda-location::before {
    content: '📍';
    font-size: 0.9rem;
}

.agenda-card-inner {
    display: flex;
    height: 100%;
}


@media (max-width: 768px) {
    .agenda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .agenda-title {
        font-size: 2rem;
    }

    .agenda-card {
        min-width: 280px;
    }

    .agenda-content {
        padding: 20px;
    }

    .agenda-event-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .agenda-card {
        min-width: 260px;
    }
    .agenda-content {
        padding: 16px;
    }

    .agenda-event-title {
        font-size: 0.95rem;
    }

    .agenda-location {
        font-size: 0.9rem;
    }
}

.more-tombolku-xyz {
    background: white;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-end;
}

.more-tombolku-xyz:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* Minimal Slider Styles */
.agenda-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
}

.agenda-cards {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
    cursor: grab;
    width: 100%;
    will-change: transform;
    margin-bottom: 1.5rem;
}

.agenda-cards:active {
    cursor: grabbing;
}

.agenda-card {
    flex-shrink: 0;
    min-width: 350px;
    max-width: 375px;
}

@media (max-width: 768px) {
    .agenda-card {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .agenda-card {
        min-width: 260px;
    }
}

.slider-nav {
    display: inline-flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.nav-btn {
    background: #3b82f6;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.dot.active {
    background: #3b82f6;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
        margin: 0 0.2rem;
    }
    
    .slider-nav {
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .slider-dots {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .agenda-slider {
        margin-bottom: 1.5rem;
    }
    
    .agenda-cards {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .dot {
        width: 5px;
        height: 5px;
        margin: 0 0.15rem;
    }
    
    .slider-nav {
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-dots {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.2rem 0;
    }
    
    .agenda-slider {
        margin-bottom: 1rem;
    }
    
    .agenda-cards {
        margin-bottom: 0.75rem;
    }
}

/* Page Navigation Buttons */
.agenda-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.page-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.page-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.page-nav-btn:hover::before {
    left: 100%;
}

.page-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

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

.page-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.page-nav-btn span {
    position: relative;
    z-index: 1;
}

.page-nav-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.page-nav-btn:hover i {
    transform: translateX(2px);
}

.page-nav-btn.prev-page:hover i {
    transform: translateX(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
        margin: 0 0.2rem;
    }
    
    .slider-nav {
        margin-top: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .slider-dots {
        margin-top: 0.75rem;
        margin-bottom: 0.75rem;
        padding: 0.25rem 0;
    }
    
    .agenda-slider {
        margin-bottom: 1.5rem;
    }
    
    .agenda-cards {
        margin-bottom: 1rem;
    }
    
    .agenda-navigation {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }
    
    .page-nav-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .dot {
        width: 5px;
        height: 5px;
        margin: 0 0.15rem;
    }
    
    .slider-nav {
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .slider-dots {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.2rem 0;
    }
    
    .agenda-slider {
        margin-bottom: 1rem;
    }
    
    .agenda-cards {
        margin-bottom: 0.75rem;
    }
    
    .agenda-navigation {
        margin-top: 0.75rem;
        padding: 0 0.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .page-nav-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 12px;
    }
}

.agenda-event-jenis {
    font-size: 0.8rem;
    padding: 6px 12px;
    max-width: 150px;
    color: #fff;
    text-align: center;
    border-radius: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agenda-event-jenis.seminar-proposal {
    background: linear-gradient(45deg, #059669, #10b981);
}

.agenda-event-jenis.seminar-hasil {
    background: linear-gradient(45deg, #1e40af, #3b82f6);
}

.agenda-event-jenis.ujian-tutup {
    background: linear-gradient(45deg, #dc2626, #ef4444);
}

/* Wisuda */

.wisuda-section {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.wisuda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wisuda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wisuda-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    position: relative;
}

.wisuda-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.wisuda-card {
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
}

.wisuda-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8, #7c3aed);
    z-index: 1;
}

.wisuda-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: #3b82f6;
}

.wisuda-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px 20px;
    text-align: left;
}

.wisuda-logo-container {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wisuda-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.wisuda-card:hover .wisuda-logo-container::before {
    opacity: 1;
    animation: shimmer 1.5s ease;
}

.wisuda-card:hover .wisuda-logo-container {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.02);
}

.wisuda-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wisuda-card:hover .wisuda-logo {
    transform: scale(1.05);
}

.wisuda-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wisuda-header-info {
    text-align: center;
    margin-bottom: 5px;
}

.wisuda-event-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wisuda-nim {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.wisuda-academic-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 5px;
}

.wisuda-prodi, .wisuda-jurusan {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.wisuda-prodi i, .wisuda-jurusan i {
    color: #3b82f6;
    font-size: 0.8rem;
    width: 16px;
}

.wisuda-date {
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin: 5px 0;
}

.wisuda-date i {
    color: #059669;
    font-size: 0.9rem;
}

.wisuda-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.wisuda-ipk {
    font-size: 0.9rem;
    color: #059669;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.1));
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.wisuda-ipk i {
    color: #059669;
    font-size: 0.8rem;
}

.wisuda-thesis {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
    text-align: left;
    line-height: 1.4;
    padding: 8px 12px;
    background: rgba(100, 116, 139, 0.05);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wisuda-thesis i {
    color: #3b82f6;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Minimal Slider Styles for Wisuda */
.wisuda-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
}

.wisuda-cards {
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
    cursor: grab;
    width: 100%;
    will-change: transform;
    margin-bottom: 1.5rem;
}

.wisuda-cards:active {
    cursor: grabbing;
}

.wisuda-card {
    flex-shrink: 0;
    min-width: 350px;
    max-width: 375px;
}

@media (max-width: 768px) {
    .wisuda-card {
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .wisuda-card {
        min-width: 260px;
    }
}

/* Responsive adjustments for wisuda slider */
@media (max-width: 768px) {
    .wisuda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .wisuda-title {
        font-size: 2rem;
    }

    .wisuda-card {
        min-width: 280px;
    }

    .wisuda-card-inner {
        padding: 16px;
    }

    .wisuda-card-inner {
        padding: 20px 16px;
    }

    .wisuda-event-title {
        font-size: 1.1rem;
    }

    .wisuda-nim {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .wisuda-logo-container {
        height: 120px;
        margin-bottom: 15px;
        padding: 15px;
    }

    .wisuda-academic-info {
        gap: 6px;
    }

    .wisuda-prodi, .wisuda-jurusan {
        font-size: 0.85rem;
        padding: 4px 0;
    }

    .wisuda-date {
        font-size: 0.9rem;
        padding: 6px 0;
    }

    .wisuda-info {
        gap: 8px;
        margin-top: 8px;
    }

    .wisuda-ipk {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .wisuda-thesis {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .wisuda-card {
        min-width: 260px;
    }
    .wisuda-card-inner {
        padding: 14px;
    }

    .wisuda-event-title {
        font-size: 0.95rem;
    }

    .wisuda-card-inner {
        padding: 16px 12px;
    }

    .wisuda-event-title {
        font-size: 1rem;
    }

    .wisuda-nim {
        font-size: 0.75rem;
        padding: 2px 6px;
    }

    .wisuda-logo-container {
        height: 100px;
        margin-bottom: 12px;
        padding: 12px;
    }

    .wisuda-academic-info {
        gap: 4px;
    }

    .wisuda-prodi, .wisuda-jurusan {
        font-size: 0.8rem;
        padding: 3px 0;
    }

    .wisuda-date {
        font-size: 0.85rem;
        padding: 5px 0;
    }

    .wisuda-info {
        gap: 6px;
        margin-top: 6px;
    }

    .wisuda-ipk {
        font-size: 0.8rem;
        padding: 5px 8px;
    }

    .wisuda-thesis {
        font-size: 0.75rem;
        padding: 5px 8px;
    }
}

.more-tombolku-wisuda {
    background: white;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    align-self: flex-end;
}

.more-tombolku-wisuda:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

/* filter */
.filter-section-seminar-ujian {
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.filter-form-seminar-ujian {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.filter-row-seminar-ujian {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-group-seminar-ujian {
    display: flex;
    flex-direction: column;
    flex: 1 1 200px;
    min-width: 180px;
}

.filter-group-seminar-ujian label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.filter-select,
.filter-input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.filter-select:focus,
.filter-input:focus {
    border-color: #007bff;
    outline: none;
}

.filter-actions-seminar-ujian {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    min-width: 90px; /* memastikan tombol punya lebar minimum sama */
    height: 36px; /* memastikan tinggi konsisten */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.filter-btn-primary {
    background-color: #007bff;
    color: #fff;
}

.filter-btn-primary:hover {
    background-color: #0056b3;
}

.filter-btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.filter-btn-secondary:hover {
    background-color: #c5c5c5;
}

.results-info {
    font-size: 14px;
    margin-top: 10px;
    color: #64748b;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        gap: 12px;
    }
    .filter-actions {
        justify-content: flex-start;
    }
}
