/* CSS VARIABLES */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --primary-light: rgba(230, 57, 70, 0.1);
    --dark: #1e1e2e;
    --dark-2: #2a2a3e;
    --text: #333;
    --text-muted: #666;
    --text-light: #999;
    --bg: #f8f8f8;
    --white: #ffffff;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* RESET */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* PAGE BANNER (shared across anggota, news, staff, struktur) */
.page-banner {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('Image/rektorat-bg.jpg');
    background-size: cover;
    background-position: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,30,46,0.85), rgba(230,57,70,0.4));
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.banner-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.page-banner-content h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-banner-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
}

/* HEADER */
header {
    display: flex;
    align-items: center;
    padding: 0;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.left-section {
    background-color: var(--white);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    height: 100%;
    flex: 0 0 450px;
}

.logo {
    width: 75px;
    height: auto;
    margin-right: 15px;
}

#search-bar {
    border-radius: 20px;
    border: 2px solid var(--border);
    padding: 8px 15px;
    width: 330px;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.2s;
}

#search-bar:focus {
    border-color: var(--primary-color, #999);
}

/* NAVBAR */
.nav-list {
    background-color: var(--primary);
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 240px 0 40px;
    height: 100%;
    flex: 1;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    position: relative;
}

.nav-list a:hover {
    color: rgba(255,255,255,0.8);
}

.nav-list a.active-nav {
    color: white;
}

.nav-list a.active-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
}

/* LOGIN LINK (mobile menu version) — disembunyikan di desktop, dimunculkan di mobile lewat media query di bawah */
.nav-login-mobile {
    display: none;
}

/* LANGUAGE SWITCH (kotak toggle IND/ENG di pojok kanan atas header) */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 20;

    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-switch:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.8);
}

.lang-switch .lang-icon {
    display: block;
    opacity: 0.9;
}

.lang-switch .lang-current {
    line-height: 1;
}

/* LOGIN BUTTON (desktop) */
.login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    top: 50%;
    right: 115px;
    transform: translateY(-50%);
    z-index: 20;

    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.login-btn:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.8);
}

/* HAMBURGER MENU */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu svg {
    display: block;
    width: 28px;
    height: 28px;
}

body.menu-open .hamburger-menu {
    display: none;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.close-menu svg {
    display: block;
    width: 28px;
    height: 28px;
}

/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.dropdown .dropbtn:hover {
    color: rgba(255,255,255,0.8);
}

.dropdown-content {
    position: absolute;
    background-color: var(--primary-dark);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    top: 100%;
    left: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 400;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(0,0,0,0.2);
}

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

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('Image/rektorat-bg.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(30, 30, 46, 0.85) 0%,
        rgba(230, 57, 70, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 16px;
    border-radius: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 12px;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.hero-tagline {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--bg);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-hero-primary {
    background-color: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background-color: rgba(255,255,255,0.15);
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
    background-color: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}


/* HERO SLIDES */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

/* Panah navigasi */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow-left { left: 32px; }
.hero-arrow-right { right: 32px; }

/* Dots indikator */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.2s, width 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: white;
    width: 24px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* SECTION COMMON STYLES */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-label.light {
    color: rgba(255,255,255,0.6);
}

.section-title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-title.light {
    color: white;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-see-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
    white-space: nowrap;
    margin-bottom: 24px;
}

.btn-see-all:hover {
    color: var(--primary-dark);
}

.btn-see-all.light {
    color: rgba(255,255,255,0.7);
}

.btn-see-all.light:hover {
    color: white;
}


/* SAMBUTAN KETUA */
.sambutan-section {
    padding: 100px 0;
    background: var(--bg);
}

.sambutan-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.sambutan-foto-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.sambutan-foto {
    width: 320px;
    height: 380px;
    object-fit: cover;
    object-position: top;
    border-radius: 160px 160px 20px 20px;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.sambutan-foto-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 380px;
    border-radius: 160px 160px 20px 20px;
    background: linear-gradient(135deg, rgba(230,57,70,0.15) 0%, transparent 60%);
    border: 2px solid rgba(230,57,70,0.25);
    z-index: 0;
}

.sambutan-jabatan {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    margin-top: -16px;
}

.sambutan-desc {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sambutan-tanda-tangan {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: var(--dark);
    margin-top: 24px;
}

@media (max-width: 768px) {
    .sambutan-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .sambutan-foto-wrapper { max-width: 300px; margin: 0 auto; }
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.about-cta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.contact-ig-link {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-ig-link:hover { color: var(--primary); }

.btn-about {
    display: inline-block;
    padding: 13px 28px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-about:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--primary);
    border-radius: var(--radius);
    z-index: -1;
}

/* NEWS SECTION */
.news-section {
    padding: 100px 0;
    background-color: var(--white);
}

.homepage-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hp-news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    color: inherit;
}

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

.hp-news-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.hp-news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.hp-news-body {
    padding: 24px;
}

.hp-news-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.hp-news-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.hp-news-preview {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hp-news-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Skeleton loading */
.news-skeleton {
    height: 360px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

.struktur-skeleton {
    height: 280px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* STRUKTUR SECTION */
.struktur-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.struktur-bg {
    position: absolute;
    inset: 0;
    background-color: var(--dark);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.08) 0%, transparent 50%);
}

.struktur-section .container {
    position: relative;
    z-index: 1;
}

.homepage-struktur-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-struktur-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
    backdrop-filter: blur(10px);
}

.hp-struktur-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.hp-struktur-img-wrapper {
    height: 160px;
    overflow: hidden;
}

.hp-struktur-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.hp-struktur-card:hover .hp-struktur-img-wrapper img {
    transform: scale(1.05);
}

.hp-struktur-body {
    padding: 16px;
}

.hp-struktur-posisi {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.hp-struktur-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.hp-struktur-body p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* CONTACT SECTION */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
    background-color: var(--dark);
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    width: 60px;
    height: auto;
}

.footer-brand p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* Empty state */
.empty-state {
    color: var(--text-light);
    font-size: 14px;
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}

.empty-state.light {
    color: rgba(255,255,255,0.4);
}

/* PARTNERS SECTION */
.partners-section {
    padding: 80px 0;
    background-color: #2b1338;
}

.partners-title {
    font-family: var(--font-body);
    font-size: 32px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 48px 56px;
}

.partners-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 80px;
    transition: transform 0.2s;
}

.partners-logo-box:hover {
    transform: translateY(-2px);
}

.partners-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

.partners-logo-box:hover .partners-logo {
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-section { padding: 56px 0; }
    .partners-title { font-size: 24px; margin-bottom: 32px; }
    .partners-grid {
        justify-content: center;
        gap: 32px;
    }
    .partners-logo-box { width: 110px; height: 56px; }
}

/* RESPONSIVE - TABLET */
@media screen and (max-width: 1024px) {
    .left-section { flex: 0 0 350px; }
    #search-bar { width: 230px; }
    .nav-list { gap: 24px; padding: 0 200px 0 20px; }
    .hero { padding-right: 50px; }
    .hero-title { font-size: 52px; }
    .about-grid { gap: 40px; }
    .homepage-struktur-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { gap: 40px; }
    .footer-content { gap: 40px; }
}

/* RESPONSIVE - MOBILE */
@media screen and (max-width: 768px) {

    .page-banner { height: 240px; }
    .page-banner-content h1 { font-size: 32px; }

    header {
        height: 60px;
        justify-content: space-between;
        position: relative;
    }

    .left-section {
        width: auto;
        flex: none;
        padding: 10px 15px;
    }

    .logo { width: 40px; margin-right: 0; }
    #search-bar { display: none; }

    .lang-switch {
        right: 58px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .login-btn {
        display: none;
    }

    .hamburger-menu {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        gap: 0;
        padding: 60px 0 20px 0;
        align-items: stretch;
        z-index: 1000;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
    }

    .nav-list.active { right: 0; }
    .close-menu { display: block; }

    .nav-list a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list a.active-nav::after { display: none; }

    .dropdown { width: 100%; }

    .dropdown .dropbtn {
        display: block;
        width: 100%;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Sub-nav About langsung tampil, bukan toggle */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: transparent;
        max-height: none;
        overflow: visible;
        border-radius: 0;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-content a {
        padding: 10px 20px 10px 32px;
        font-size: 13px;
        color: rgba(255,255,255,0.75);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .dropdown-content a:last-child { border-bottom: none; }

    .nav-login-mobile {
        display: block;
        padding: 15px 20px;
        margin-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.2);
        font-weight: 700;
    }

    body.menu-open { overflow: hidden; }

    /* Hero */
    .hero {
        padding: 20px;
        justify-content: center;
        align-items: center;
    }

    .hero-content { text-align: center; max-width: 100%; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; letter-spacing: 2px; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }

/* HERO SLIDES */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
}

/* Panah navigasi */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, transform 0.2s;
}

.hero-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow-left { left: 32px; }
.hero-arrow-right { right: 32px; }

/* Dots indikator */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.2s, width 0.3s;
    padding: 0;
}

.hero-dot.active {
    background: white;
    width: 24px;
}

.hero-scroll-indicator { display: none; }

    /* Sections */
    .container { padding: 0 20px; }

    .about-section,
    .news-section,
    .struktur-section,
    .contact-section { padding: 60px 0; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrapper img { height: 280px; }
    .about-img-accent { display: none; }
    .about-stats { gap: 24px; }
    .stat-number { font-size: 28px; }

    .section-title { font-size: 28px; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 8px; }

    .homepage-news-grid { grid-template-columns: 1fr; }
    .homepage-struktur-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 20px;
    }

    .footer-bottom { padding: 16px 20px; }
}

@media screen and (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .homepage-struktur-grid { grid-template-columns: 1fr; }
}

/* SEARCH BAR & DROPDOWN */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    color: var(--text-muted);
    pointer-events: none;
}

#search-bar {
    padding: 7px 12px 7px 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-family: var(--font-body);
    width: 200px;
    background: var(--bg);
    color: var(--text);
    transition: width 0.3s ease, border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

#search-bar:focus {
    width: 280px;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    background: white;
}

.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 340px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown.open {
    display: block;
    animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.search-group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 16px 4px;
    background: var(--bg);
}

.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--primary-light); }

.search-result-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.search-result-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.search-empty {
    padding: 20px 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 768px) {
    .search-wrapper { display: none; }
}