/* CSS Custom untuk Universitas Bung Karno - Versi Lengkap */
:root {
    /* Warna Utama - Maroon dan Putih */
    --maroon-primary: #800000;
    --maroon-dark: #5a0000;
    --maroon-light: #a30000;
    --maroon-lighter: #ffe6e6;
    --maroon-very-light: #fff5f5;
    --maroon-overlay-light: rgba(128, 0, 0, 0.3);
    --maroon-overlay-medium: rgba(128, 0, 0, 0.2);

    /* Warna Netral */
    --white-primary: #ffffff;
    --white-off: #f8f9fa;
    --white-cream: #f5f5f5;
    --dark-text: #333333;
    --gray-text: #666666;
    --light-gray: #e0e0e0;

    /* Warna Akses */
    --gold-accent: #d4af37;
    --silver-accent: #c0c0c0;

    /* Warna Background */
    --card-bg: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e0e0e0;

    /* Shadow Effects */
    --shadow-light: rgba(128, 0, 0, 0.1);
    --shadow-medium: rgba(128, 0, 0, 0.2);
    --shadow-dark: rgba(128, 0, 0, 0.3);

    /* Warna Teks Terang untuk Slider */
    --bright-text: #ffffff;
    --bright-text-subtle: rgba(255, 255, 255, 0.95);
    --bright-text-light: rgba(255, 255, 255, 0.85);

    /* Warna Fakultas Baru */
    --fisip-color: #FF4800;
    --fikom-color: #009FFF;
    --fh-color: #FF0013;
    --feb-color: #FFEC00;
    --ft-color: #0037D1;
}

/* ========== RESET & GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white-off);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--maroon-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========== HEADER & NAVIGATION - GLASSBLUR MAROON ========== */
.joko-header {
    background: rgba(128, 0, 0, 0.75); /* Maroon dengan transparansi */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(128, 0, 0, 0.2);
    border-radius: 16px;
    min-width: 220px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: #800000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    color: #a30000;
    background: rgba(128, 0, 0, 0.08);
    padding-left: 30px;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== HERO SLIDER SECTION ========== */
.joko-hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

/* Slide 1: Desain Awal dengan Hologram */
.slide[data-slide-type="design"] {
    background: linear-gradient(135deg, var(--white-primary) 0%, var(--white-cream) 100%);
}

.slide[data-slide-type="design"] .slide-content {
    display: flex;
    align-items: center;
    height: 100%;
}

.slide-overlay-design {
    background: radial-gradient(circle at 20% 50%, var(--maroon-very-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--maroon-primary);
    line-height: 1.2;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-text);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.joko-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Orbitron', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn {
    background: linear-gradient(90deg, var(--maroon-primary), var(--maroon-light));
    color: var(--white-primary);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-dark);
}

.secondary-btn {
    background: transparent;
    color: var(--maroon-primary);
    border: 2px solid var(--maroon-primary);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.secondary-btn:hover {
    background: var(--maroon-lighter);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.hologram-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--maroon-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite;
}

.hologram-circle:nth-child(1) {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
    opacity: 0.3;
}

.hologram-circle:nth-child(2) {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
    opacity: 0.5;
}

.hologram-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    animation-delay: 2s;
    opacity: 0.7;
}

.hologram-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--maroon-very-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--maroon-primary);
    box-shadow: 0 0 20px var(--shadow-medium);
    animation: rotate 20s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px var(--shadow-medium);
    }
    50% {
        box-shadow: 0 0 25px var(--shadow-dark);
    }
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Slide Dinamis: Gambar Background */
.slide[data-slide-type="image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.slide-text {
    max-width: 700px;
    animation: slideInUp 1s ease;
}

.image-slide-text {
    color: var(--bright-text);
}

.image-slide-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.2);
    color: var(--bright-text) !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.image-slide-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
    color: var(--bright-text-subtle) !important;
    line-height: 1.6;
    font-weight: 500;
}

.image-slide-btn {
    color: var(--bright-text) !important;
    border-color: var(--bright-text) !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 700;
	margin-bottom: 30px;
}

.image-slide-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--bright-text) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--maroon-overlay-light), var(--maroon-overlay-medium));
    z-index: 1;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--white-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    color: var(--bright-text);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--bright-text);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.dot:hover {
    background: var(--bright-text);
    transform: scale(1.1);
}

/* ========== SERVICES SECTION - NEW ========== */
.services-section {
    background: linear-gradient(135deg, var(--white-primary) 0%, var(--white-off) 100%);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white-primary);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(128, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--maroon-primary), var(--maroon-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--maroon-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--maroon-primary);
    transform: rotateY(180deg);
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--maroon-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--white-primary);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--maroon-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-list li {
    padding: 8px 0;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--maroon-primary);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--maroon-primary);
    font-weight: 600;
    margin-top: 15px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 15px;
    border-bottom-color: var(--maroon-primary);
}

/* ========== SECTION STYLES ========== */
.joko-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--maroon-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--maroon-primary), transparent);
}

/* ========== FEATURES SECTION ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--maroon-lighter), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-medium);
    border-color: var(--maroon-primary);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--maroon-primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--maroon-dark);
}

.feature-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.feature-link {
    color: var(--maroon-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.feature-link:hover {
    gap: 10px;
}

/* ========== NEWS SECTION ========== */
.news-section {
    background: var(--section-bg);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: var(--white-primary);
    border: 1px solid var(--border-color);
    color: var(--gray-text);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(90deg, var(--maroon-primary), var(--maroon-light));
    color: var(--white-primary);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.news-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* default untuk mobile (crop) */
    transition: transform 0.5s ease;
}

/* Pada desktop, ubah object-fit menjadi contain agar gambar tidak terpotong */
@media (min-width: 769px) {
    .news-thumbnail img {
        object-fit: contain;
    }
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--maroon-primary);
    color: var(--white-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--maroon-primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date::before {
    content: '\f073';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--maroon-dark);
    line-height: 1.4;
}

.news-card p {
    color: var(--gray-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: var(--maroon-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    gap: 10px;
}

/* ========== FACULTIES SECTION ========== */
.faculties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

@media (max-width: 1200px) {
    .faculties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .faculties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faculties-grid {
        grid-template-columns: 1fr;
    }
}

.faculty-card {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.faculty-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
}

.faculty-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    z-index: 2;
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-icon {
    transform: scale(1.1);
}

.faculty-card:hover .faculty-img {
    transform: scale(1.05);
}

.faculty-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white-primary);
    z-index: 2;
    transition: all 0.3s ease;
}

.faculty-card:hover .faculty-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.faculty-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--white-primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.faculty-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.faculty-card:nth-child(1) .faculty-icon {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 72, 0, 0.5);
}

.faculty-card:nth-child(2) .faculty-icon {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 159, 255, 0.5);
}

.faculty-card:nth-child(3) .faculty-icon {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 0, 19, 0.5);
}

.faculty-card:nth-child(4) .faculty-icon {
    color: #333333;
    text-shadow: 0 0 10px rgba(255, 236, 0, 0.5);
}

.faculty-card:nth-child(5) .faculty-icon {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 55, 209, 0.5);
}

.faculty-card:nth-child(4) .faculty-overlay h3 {
    color: #333333;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.faculty-card:nth-child(4) .faculty-overlay p {
    color: #333333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes facultyFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.faculty-card:nth-child(1) {
    animation: facultyFloat 6s ease-in-out infinite;
}
.faculty-card:nth-child(2) {
    animation: facultyFloat 6s ease-in-out infinite 0.5s;
}
.faculty-card:nth-child(3) {
    animation: facultyFloat 6s ease-in-out infinite 1s;
}
.faculty-card:nth-child(4) {
    animation: facultyFloat 6s ease-in-out infinite 1.5s;
}
.faculty-card:nth-child(5) {
    animation: facultyFloat 6s ease-in-out infinite 2s;
}

/* ========== HISTORY SECTION ========== */
.history-section {
    background: var(--section-bg);
}

.history-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.history-tab {
    padding: 12px 30px;
    background: var(--white-primary);
    border: 1px solid var(--border-color);
    color: var(--gray-text);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.history-tab:hover,
.history-tab.active {
    background: linear-gradient(90deg, var(--maroon-primary), var(--maroon-light));
    color: var(--white-primary);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.history-pane {
    display: none;
}

.history-pane.active {
    display: block;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.fact-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.fact-number {
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--maroon-primary);
    margin-bottom: 15px;
}

.fact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--maroon-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--maroon-primary), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 1;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--maroon-primary);
    padding: 10px;
    position: relative;
}

.timeline-year::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--maroon-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--shadow-medium);
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin: 0 20px;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--maroon-dark);
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, var(--white-primary) 0%, var(--white-cream) 100%);
}

.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info,
.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--maroon-primary);
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--maroon-dark);
}

.contact-item p {
    color: var(--gray-text);
}

.contact-form-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--maroon-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--white-off);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--maroon-primary);
    box-shadow: 0 0 10px var(--shadow-light);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ========== FOOTER ========== */
.joko-footer {
    background: var(--maroon-dark);
    color: var(--white-primary);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 5px var(--white-primary));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo-text h3 {
    font-size: 1.4rem;
    color: var(--white-primary);
    margin-bottom: 5px;
    line-height: 1.2;
}

.footer-logo-text p {
    color: var(--light-gray);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--white-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--white-primary);
    padding-left: 5px;
}

.footer-column ul li i {
    margin-right: 8px;
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--maroon-primary);
    transform: translateY(-3px);
}

/* ========== TAB NEWS FIX ========== */
.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block !important;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .slide-text {
        max-width: 100%;
    }
    
    .image-slide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(128, 0, 0, 0.95);
        backdrop-filter: blur(16px);
        border-radius: 0 0 20px 20px;
        padding: 20px;
        z-index: 999;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-link {
        color: white;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        border: none;
        border-radius: 12px;
        margin-top: 8px;
        display: none;
        padding: 8px 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: white;
        padding: 10px 20px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding-left: 25px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .slider-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .services-grid,
    .features-grid,
    .news-grid,
    .faculties-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .service-card,
    .feature-card,
    .news-card,
    .faculty-card {
        margin: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-column {
        min-width: 100%;
    }
}

/* ========== SLIDER TEXT POSITIONS ========== */
.slide-text {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 20px;
    animation: slideInUp 1s ease;
}

/* Top Left */
.text-pos-top-left {
    position: absolute;
    top: 20px;
    left: 20px;
    transform: none;
}

/* Top Center */
.text-pos-top-center {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Top Right */
.text-pos-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    text-align: right;
}

/* Middle Left */
.text-pos-middle-left {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

/* Middle Center */
.text-pos-middle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Middle Right */
.text-pos-middle-right {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    text-align: right;
}

/* Bottom Left */
.text-pos-bottom-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

/* Bottom Center */
.text-pos-bottom-center {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* Bottom Right */
.text-pos-bottom-right {
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
}

/* ========== SLIDER BUTTON BOTTOM CENTER ========== */
.slide-button-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: auto;
}

.slide-button-container .image-slide-btn {
    display: inline-block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .slide-button-container {
        bottom: 20px;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .slide-text {
        max-width: 90%;
        padding: 15px;
    }
    .text-pos-top-left, .text-pos-top-right, .text-pos-bottom-left, .text-pos-bottom-right {
        left: 10px;
        right: 10px;
    }
    .text-pos-top-center, .text-pos-bottom-center {
        width: 90%;
    }
}

/* ========== DOKUMEN SECTION ========== */
.documents-section {
    background: var(--section-bg);
    padding: 80px 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.document-card {
    background: var(--white-primary);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.document-icon {
    font-size: 3.5rem;
    color: var(--maroon-primary);
    margin-bottom: 15px;
}

.document-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--maroon-dark);
}

.document-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maroon-primary);
    color: var(--white-primary);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.doc-link:hover {
    background: var(--maroon-dark);
    gap: 12px;
}

/* ========== DROPDOWN SUBMENU ========== */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
    margin-left: 10px;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(128, 0, 0, 0.2);
    border-radius: 16px;
    min-width: 200px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 101;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 8px 20px;
    color: #800000;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background: rgba(128, 0, 0, 0.08);
    padding-left: 25px;
}

/* Responsive untuk submenu di mobile */
@media (max-width: 768px) {
    .dropdown-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        border-radius: 12px;
        margin-top: 8px;
        display: none;
        padding: 8px 0;
    }
    .dropdown-submenu.active .submenu {
        display: block;
    }
    .dropdown-submenu > a::after {
        content: '\f078';
    }
}

/* ========== DOKUMEN SECTION ========== */
.documents-section {
    background: var(--section-bg);
    padding: 80px 0;
}
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.document-card {
    background: var(--white-primary);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
}
.document-icon {
    font-size: 3.5rem;
    color: var(--maroon-primary);
    margin-bottom: 15px;
}
.document-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--maroon-dark);
}
.document-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--maroon-primary);
    color: var(--white-primary);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.doc-link:hover {
    background: var(--maroon-dark);
    gap: 12px;
}
.empty-docs, .no-docs {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
}