/* =====================================================
   SISTEM INFORMASI PRODI SI UNPARI
   Modern UI Design - 2024
   ===================================================== */

/* Google Fonts - Inter for modern feel */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
    /* Primary Colors - Modern Blue */
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --primary-light: #60A5FA;
    --primary-gradient: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);

    /* Secondary Colors */
    --secondary: #0EA5E9;
    --secondary-dark: #0284C7;

    /* Accent Colors */
    --accent: #F59E0B;
    --accent-light: #FBBF24;

    /* Neutral Colors */
    --dark: #0F172A;
    --dark-soft: #1E293B;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-colored: 0 20px 40px -15px rgba(30, 64, 175, 0.25);

    /* Spacing */
    --container-width: 1280px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   MODERN NAVBAR - Glassmorphism
   ===================================================== */
.navbar {
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(30, 64, 175, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .logo-box {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar-brand:hover .logo-box {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.nav-link.active {
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
}

.nav-link .dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu - Modern */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--gray-100);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION - Modern with Animation
   ===================================================== */
.hero-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #3B82F6 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(60px) translateY(60px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   SLIDE SECTION - Modern Slider
   ===================================================== */
.slide-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #3B82F6 100%);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.slide-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 20s linear infinite;
}

.slide-section .section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slide-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--white);
    border-radius: var(--radius-full);
}

.slider-container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.slide-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.slide-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(145deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 1.25rem;
    font-weight: 500;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot:hover {
    background: var(--primary-light);
}

.slider-dot.active {
    background: var(--primary);
    width: 36px;
}

/* =====================================================
   ALUMNI SECTION - Modern Stats
   ===================================================== */
.alumni-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.section-box {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 1px solid var(--gray-100);
}

.section-box .box-title {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
    box-shadow: var(--shadow-colored);
}

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.alumni-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.alumni-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.alumni-card-top {
    height: 120px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    position: relative;
    overflow: hidden;
}

.alumni-card-top::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.alumni-card-bottom {
    padding: 24px;
    text-align: center;
    background: var(--white);
}

.alumni-card-circle {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    margin: -50px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 1;
}

.alumni-card-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
}

/* =====================================================
   BERITA SECTION - Modern News Cards
   ===================================================== */
.berita-section {
    padding: 80px 0;
    background: var(--white);
}

.berita-section .section-badge {
    display: block;
    text-align: center;
    margin-bottom: 16px;
}

.berita-section .section-badge span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 36px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.berita-section .section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 1.05rem;
    margin-bottom: 48px;
    line-height: 1.7;
}

.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.berita-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.berita-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.berita-card-img {
    height: 280px;
    background: linear-gradient(145deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1rem;
    overflow: hidden;
}

.berita-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.berita-card:hover .berita-card-img img {
    transform: scale(1.05);
}

.berita-card-body {
    padding: 28px 24px;
}

.berita-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.berita-card-text {
    font-size: 0.95rem;
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

.berita-card-footer {
    padding: 16px 24px 24px;
    border-top: none;
}

.btn-selengkapnya {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-selengkapnya:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-selengkapnya::after {
    content: '→';
    transition: var(--transition);
}

.btn-selengkapnya:hover::after {
    transform: translateX(4px);
}

/* =====================================================
   FOOTER - Modern Design
   ===================================================== */
.footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1E40AF 100%);
    color: var(--white);
    padding: 64px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff 0%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer-links a i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* =====================================================
   BUTTONS - Modern
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -15px rgba(30, 64, 175, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* =====================================================
   PAGE HEADER - Modern
   ===================================================== */
.page-header {
    margin-top: 80px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    opacity: 0.7;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* =====================================================
   SECTION STYLING
   ===================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   CARDS - Modern
   ===================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 24px;
}

/* =====================================================
   FORMS - Modern
   ===================================================== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

/* =====================================================
   ALERTS - Modern
   ===================================================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

/* =====================================================
   DOCUMENTS - Modern
   ===================================================== */
.doc-category {
    margin-bottom: 48px;
}

.doc-category-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.doc-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.doc-item:last-child {
    border-bottom: none;
}

.doc-item:hover {
    background: var(--gray-50);
}

.doc-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.doc-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.doc-item-title {
    font-weight: 600;
    color: var(--dark);
}

.doc-item-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* =====================================================
   RESPONSIVE - Mobile First
   ===================================================== */
@media (max-width: 1024px) {
    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .alumni-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .berita-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(30, 64, 175, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
    }

    .navbar-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .navbar-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-top: 8px;
        border-radius: var(--radius);
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item:hover .dropdown-menu {
        max-height: 300px;
        padding: 8px;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.9);
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .alumni-grid {
        grid-template-columns: 1fr 1fr;
    }

    .berita-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .slide-placeholder,
    .slide img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-box {
        padding: 32px 20px;
    }

    .alumni-grid {
        grid-template-columns: 1fr;
    }

    .section-box .box-title {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

/* =====================================================
   STRUKTUR HERO - Unified Hero Section
   ===================================================== */
.struktur-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 50%, #3B82F6 100%);
    padding: 100px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.struktur-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.struktur-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.struktur-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.struktur-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .struktur-hero {
        padding: 80px 0 60px;
    }

    .struktur-hero h1 {
        font-size: 2rem;
    }

    .struktur-hero p {
        font-size: 1rem;
    }
}

/* =====================================================
   ADMIN DASHBOARD STYLES
   ===================================================== */

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--gray-100);
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.admin-sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-brand i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.admin-nav {
    flex: 1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-nav a.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.admin-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Admin Content */
.admin-content {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Admin Header */
.admin-header {
    background: var(--white);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.admin-user-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.admin-user-role {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Admin Main */
.admin-main {
    flex: 1;
    padding: 32px;
}

/* Dashboard Stats Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-icon.primary {
    background: var(--primary-gradient);
}

.stat-icon.success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.stat-icon.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.stat-icon.danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Admin Cards */
.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.admin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.admin-card-body {
    padding: 24px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.admin-table th {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--gray-50);
}

.admin-table td {
    font-size: 0.95rem;
    color: var(--dark);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: var(--gray-50);
}

/* Admin Alerts */
.admin-main .alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.admin-main .alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.admin-main .alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Admin Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

/* Admin Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
}

/* Admin Tabs */
.nav-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 0;
    list-style: none;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 0 16px;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--gray-500);
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-tabs .nav-link:hover {
    color: var(--primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.tab-pane {
    display: none;
}

.tab-pane.show.active {
    display: block;
}

/* Responsive Admin */
@media (max-width: 1024px) {
    .admin-sidebar {
        width: 220px;
    }

    .admin-content {
        margin-left: 220px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   DASHBOARD STATS CARDS
   ===================================================== */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* Stat Card */
.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}

.stat-card-icon.bg-primary {
    background: var(--primary-gradient);
}

.stat-card-icon.bg-success {
    background: linear-gradient(135deg, #10B981, #059669);
}

.stat-card-icon.bg-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.stat-card-icon.bg-info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.stat-card-icon.bg-danger {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.stat-card-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

/* Admin Card Title */
.admin-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
}

/* Button Accent */
.btn-accent {
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    padding: 6px 12px;
}

.btn-accent:hover {
    background: rgba(30, 64, 175, 0.1);
}

/* =====================================================
   ADMIN TABS & MODAL STYLES
   ===================================================== */

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 4px;
    background: var(--white);
    padding: 12px 16px 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 2px solid var(--gray-200);
    overflow-x: auto;
}

.admin-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-500);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.admin-tab:hover {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.05);
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-tab i {
    font-size: 0.95rem;
}

.admin-tab-content {
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
}

.admin-tab-pane {
    display: none;
    padding: 0;
}

.admin-tab-pane.active {
    display: block;
}

.admin-tab-pane .admin-card {
    box-shadow: none;
    border-radius: 0;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.half {
    margin-bottom: 20px;
}

/* Form Label */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* Link Primary */
.link-primary {
    color: var(--primary);
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray-500);
}

/* Semester Section */
.semester-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.semester-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.semester-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.semester-title i {
    font-size: 0.9rem;
}

/* Admin Table SM */
.admin-table-sm th,
.admin-table-sm td {
    padding: 10px 12px;
    font-size: 0.9rem;
}

/* Code Tag */
code {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--primary);
}

/* Button Outline Primary */
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 10px;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--primary);
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Admin Card Title with Icon */
.admin-card-title i {
    color: var(--primary);
    margin-right: 8px;
}