:root {
    /* Color Palette - Kemenhub Blue & Gold */
    --primary-blue: #0C2340; /* Dark Blue */
    --secondary-blue: #1A365D; /* Slightly lighter blue */
    --accent-gold: #FFC72C; /* Vibrant Gold */
    --gold-hover: #E5B227;
    --text-dark: #333333;
    --text-light: #F8F9FA;
    --bg-light: #F4F7F6;
    --white: #FFFFFF;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ================== TOP BAR ================== */
.top-bar {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    gap: 20px;
}

.top-bar i {
    margin-right: 5px;
}

/* ================== HEADER ================== */
.header {
    background-color: #1E3A8A;
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
    color: var(--accent-gold);
}

.logo-text p {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Navigation */
.main-nav .nav-links {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent-gold);
    font-weight: 700 !important;
}

/* Hover Underline Effect */
.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 10;
    padding: 10px 0;
    border-top: 3px solid var(--accent-gold);
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--primary-blue);
    padding: 10px 20px;
    display: block;
    text-transform: capitalize;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--accent-gold);
    padding-left: 25px;
}

.dropdown-menu li a::after {
    display: none;
}

/* Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
    border-top: none;
    border-left: 3px solid var(--accent-gold);
}

/* Prevent right-side submenus from getting cut off */
.nav-links > li:nth-last-child(-n+3) .dropdown-submenu > .dropdown-menu {
    left: auto;
    right: 100%;
    border-left: none;
    border-right: 3px solid var(--accent-gold);
}

.nav-links > li:nth-last-child(-n+3) .dropdown-submenu > a > i {
    transform: rotate(180deg);
}

.dropdown-submenu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================== HERO SECTION ================== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: url('Gedung Splash.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
}

.hero h2 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-title, .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--accent-gold);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 16px;
    line-height: 1.15;
    word-break: break-word;
}

.hero-subtitle, .hero p {
    font-size: clamp(0.875rem, 2vw, 1.2rem);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 24px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8), 0 0 10px rgba(0,0,0,0.5);
    line-height: 1.4;
    letter-spacing: 0.5px;
}

/* Search Box */
.search-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    transform: translateZ(0);
    will-change: transform;
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    opacity: 0.6;
    transition: var(--transition);
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    text-align: center;
}

.tab-btn.active {
    opacity: 1;
    color: var(--primary-blue);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px 2px 0 0;
}

.search-box {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 52px;
    box-sizing: border-box;
}

.search-box input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-main);
    box-sizing: border-box;
}

.search-submit {
    background-color: var(--secondary-blue);
    color: var(--white);
    border: none;
    padding: 0 24px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.search-submit:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

/* ================== SECTION STYLES ================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f0f4f8 !important;
}

/* ================== QUICK ACCESS ================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--accent-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: scale(1.1);
}

.service-card h4 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ================== HIGHLIGHTS ================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.news-content h4 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.news-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

.news-meta i {
    color: var(--accent-gold);
}

.news-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--accent-gold);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ================== FAQ ACCORDION ================== */
.accordion {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.accordion-item {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-btn {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: var(--font-main);
    min-height: 95px;
    line-height: 1.4;
}

.accordion-btn:hover {
    color: var(--accent-gold);
}

.accordion-btn i {
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-btn {
    background-color: var(--primary-blue);
    color: var(--accent-gold);
}

.accordion-item.active .accordion-btn i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.accordion-content p {
    padding: 20px 25px;
    color: #555;
}

/* ================== FOOTER ================== */
.footer {
    background-color: #1E3A8A;
    color: var(--text-light);
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.footer-logo .logo-text h3 {
    color: var(--accent-gold);
    margin: 0;
}

.footer-logo .logo-text p {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.npp-footer {
    display: inline-block;
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #ccc;
}

.contact-list i {
    color: var(--accent-gold);
    margin-top: 5px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-top: 80px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-hours ul li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 5px;
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

.footer-bottom {
    background-color: #08182b;
    padding: 20px 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-container p {
    font-size: 0.9rem;
    color: #888;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links span {
    font-size: 0.9rem;
    color: #888;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ================== ANIMATIONS ================== */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1E3A8A;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.show {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        display: block;
        padding: 16px 20px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(0,0,0,0.1);
        display: none;
    }

    .dropdown.active > .dropdown-menu,
    .dropdown-submenu.active > .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        color: var(--white);
        padding-left: 40px;
    }

    .dropdown-submenu > .dropdown-menu > li > a {
        padding-left: 60px;
    }

    .dropdown-submenu > .dropdown-menu > .dropdown-submenu > .dropdown-menu > li > a {
        padding-left: 80px;
    }
    
    .hero {
        min-height: 520px;
        height: auto;
        padding: 48px 0 40px;
    }

    .hero-title, .hero h1 {
        font-size: 2.25rem !important;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-subtitle, .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 20px;
        padding: 0 8px;
        line-height: 1.4;
    }

    .search-container {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .search-tabs {
        display: flex;
        gap: 4px;
        margin-bottom: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .search-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 1 1 0;
        padding: 8px 6px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .search-box {
        height: 48px;
        border-radius: 8px;
    }

    .search-box input {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .search-submit {
        padding: 0 16px;
        font-size: 0.85rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion {
        grid-template-columns: 1fr;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Extra small devices (iPhone 16, SE, Galaxy, width <= 420px) */
@media (max-width: 420px) {
    .container {
        padding: 0 12px;
    }

    .logo-container {
        gap: 8px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.65rem;
    }

    .hero-title, .hero h1 {
        font-size: 1.85rem !important;
        letter-spacing: 0;
        margin-bottom: 8px;
    }

    .hero-subtitle, .hero p {
        font-size: 0.8rem !important;
        margin-bottom: 16px;
        padding: 0 4px;
    }

    .search-container {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .search-tabs {
        gap: 4px;
        margin-bottom: 8px;
    }

    .tab-btn {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .search-box {
        height: 44px;
        border-radius: 8px;
    }

    .search-box input {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .search-submit {
        padding: 0 12px;
        font-size: 0.8rem;
    }
}

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.pagination .page-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; background: white; color: #333; text-decoration: none; border-radius: 4px; font-weight: 500; transition: all 0.3s; }
.pagination .page-link:hover { background: #f5f5f5; border-color: #ccc; }
.pagination .page-link.active { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* ================== GALLERY BAKETRANS UI ================== */
.gallery-swiper {
    width: 100%;
    padding-bottom: 50px;
}
.gallery-card {
    background-color: #1a365d; /* Solid Navy Blue */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #e0e6ed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.gallery-card-top {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gallery-card-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.2;
}
.gallery-card-logo img {
    height: 30px;
}
.gallery-badge {
    background-color: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.gallery-img-container {
    width: 100%;
    height: 220px;
    position: relative;
    border-top: 3px solid var(--accent-gold);
    border-bottom: 3px solid var(--accent-gold);
}
.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}
.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(220, 53, 69, 0.9);
    color: white;
    width: 60px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}
.gallery-card:hover .play-btn-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(220, 53, 69, 1);
}
.gallery-card-bottom {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.gallery-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.swiper-pagination-bullet {
    background: #ccc;
    width: 10px;
    height: 10px;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 25px;
    border-radius: 5px;
}

/* ================== STATIC PAGES ================== */
.page-header {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 60px 0 20px 0;
    text-align: center;
    position: relative;
    border-bottom: none;
}

.page-header::before {
    display: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: var(--primary-blue);
    text-shadow: none;
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.content-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.content-section .container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.content-section h1, 
.content-section h2, 
.content-section h3 {
    color: var(--primary-blue);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.content-section h1:first-child,
.content-section h2:first-child,
.content-section h3:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 20px;
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.85;
    text-align: justify;
}

.content-section ul, 
.content-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.85;
    text-align: justify;
}

.content-section ul {
    list-style-type: disc;
}

.content-section ol {
    list-style-type: decimal;
}

.content-section li {
    margin-bottom: 12px;
}

.content-section li:last-child {
    margin-bottom: 0;
}

.content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin: 20px 0;
}

/* ================== CONTENT CARDS (LAYANAN REFERENSI DLL) ================== */
.content-card {
    text-align: left; 
    background: var(--white); 
    padding: 40px; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    margin-bottom: 40px;
    border-top: 5px solid var(--accent-gold);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 199, 44, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.content-card h3 {
    color: var(--primary-blue); 
    margin-bottom: 25px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-bottom: 10px; /* Diperkecil agar garis kuning lebih merapat ke teks */
    width: 100%; /* Kembalikan ke 100% karena garisnya di kiri */
}

.content-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 65px; /* Rata kiri persis dengan awal huruf teks */
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    border-radius: 2px;
}

.content-card h3 i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    background: rgba(255, 199, 44, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0;
}

.content-card p {
    text-align: justify;
}

/* ================== STAFF CARDS (PUSTAKAWAN) ================== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-card .staff-photo {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    background: #f8f9fa;
    margin: 0;
    box-shadow: none;
    border-radius: 12px 12px 0 0;
}

.staff-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 3px solid var(--accent-gold);
}

.staff-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.staff-role {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 15px;
}

.staff-email {
    font-size: 0.85rem;
    color: #888;
}

.staff-email i {
    color: var(--accent-gold);
    margin-right: 5px;
}

/* ================== GALLERY CARDS ================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-card {
    background: var(--primary-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    height: 380px;
    transition: var(--transition);
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.gallery-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--primary-blue);
    color: var(--white);
    height: 70px;
}

.gallery-card-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

.gallery-card-logo img {
    height: 35px;
    width: auto;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.gallery-badge {
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.gallery-img-container {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e50914;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-card-bottom {
    background: var(--primary-blue);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.gallery-title {
    color: var(--white) !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================== DOWNLOAD BUTTONS ================== */
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-gold);
    color: var(--primary-blue) !important;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.download-btn:hover {
    background-color: #e5b322;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 199, 44, 0.3);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 20px 0;
}

@media (max-width: 1200px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ================== STAFF CARDS (STRUKTUR ORGANISASI) ================== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.staff-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.staff-card .staff-photo {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    background: #f8f9fa;
    margin: 0;
    box-shadow: none;
    border-radius: 12px 12px 0 0;
    border-bottom: 3px solid var(--accent-gold);
}

.staff-info {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.staff-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--secondary-blue);
    font-weight: 600;
    margin-bottom: 10px;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    align-self: center;
}

.staff-email {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: auto;
}

@media (max-width: 1200px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ================== FACILITY CARDS ================== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.facility-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.facility-card .facility-img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-bottom: 2px solid var(--accent-gold);
    margin: 0;
    box-shadow: none;
    border-radius: 12px 12px 0 0;
}

.facility-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.facility-location {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.facility-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.facility-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: justify;
}

.g-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--accent-gold) !important;
}

@media (max-width: 991px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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