/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0f0e1a;
    --bg-secondary: #151425;
    --bg-card: #1c1b2e;
    --bg-card-hover: #24233a;
    --bg-input: rgba(255, 255, 255, 0.04);
    --text-primary: #eeeef5;
    --text-secondary: #b8b6d0;
    --text-muted: #7a7894;
    --text-gold: #c9a84c;
    --accent-gold: #c9a84c;
    --accent-gold-dim: rgba(201, 168, 76, 0.12);
    --accent-gold-soft: rgba(201, 168, 76, 0.06);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(201, 168, 76, 0.2);
    --border-gold-hover: rgba(201, 168, 76, 0.35);
    --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(201, 168, 76, 0.04);
    --radius: 14px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 32px;
    }
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 4px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    margin-top: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(15, 14, 26, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 20px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border-light);
        backdrop-filter: blur(20px);
    }
    .nav-links.active {
        display: flex;
    }
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.01em;
    padding: 4px 0;
}

@media (max-width: 768px) {
    .nav-links a {
        font-size: 0.95rem;
        padding: 8px 0;
        width: 100%;
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--accent-gold);
}

.nav-links a.active-link::after {
    width: 100%;
    opacity: 1;
}

.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: rgba(201, 168, 76, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    padding: clamp(100px, 15vh, 140px) 0 clamp(40px, 6vh, 80px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(201, 168, 76, 0.04), transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(201, 168, 76, 0.02), transparent 50%);
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
}

.hero-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .hero-avatar {
        gap: 14px;
    }
}

.avatar-frame {
    width: clamp(160px, 22vw, 220px);
    height: clamp(160px, 22vw, 220px);
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent-gold), #a8873a);
    box-shadow: 0 0 50px rgba(201, 168, 76, 0.08);
    flex-shrink: 0;
}

.avatar-frame img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-primary);
    border: 4px solid var(--bg-primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 6px 18px;
    border-radius: 40px;
    border: 1px solid var(--border-gold);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .status-badge {
        font-size: 0.7rem;
        padding: 4px 14px;
        gap: 6px;
    }
}

.status-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .hero-content {
        align-items: center;
        gap: 8px;
    }
}

.hero-tag {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--text-primary);
}

.hero-role {
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-role {
        font-size: 0.95rem;
    }
}

.hero-desc {
    color: var(--text-secondary);
    max-width: 540px;
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.75;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .hero-desc {
        margin: 0 auto;
        text-align: center;
    }
}

/* ===== BIODATA ===== */
.biodata {
    padding: clamp(40px, 6vh, 60px) 0 clamp(50px, 8vh, 80px);
    background: var(--bg-secondary);
}

.biodata-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.biodata-card:hover {
    border-color: var(--border-gold);
}

.biodata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(12px, 1.5vw, 18px);
}

@media (max-width: 480px) {
    .biodata-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.biodata-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: clamp(10px, 1.2vw, 14px) clamp(12px, 1.5vw, 18px);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    transition: var(--transition);
}

.biodata-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.biodata-icon {
    width: clamp(36px, 4vw, 42px);
    height: clamp(36px, 4vw, 42px);
    border-radius: 10px;
    background: var(--accent-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: clamp(0.85rem, 1vw, 1rem);
    flex-shrink: 0;
}

.biodata-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.biodata-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.biodata-value {
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.35;
}

/* ===== PENDIDIKAN ===== */
.education {
    padding: clamp(50px, 8vh, 80px) 0;
}

.education-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.edu-card {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 24px);
    padding: clamp(16px, 2vw, 22px) clamp(18px, 2.5vw, 30px);
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: default;
}

@media (max-width: 480px) {
    .edu-card {
        padding: 14px 16px;
        gap: 14px;
    }
}

.edu-card.active {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.edu-card:hover {
    transform: translateX(4px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

@media (max-width: 480px) {
    .edu-card:hover {
        transform: translateY(-2px);
    }
}

.edu-logo {
    width: clamp(60px, 6.5vw, 75px);
    height: clamp(60px, 6.5vw, 75px);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    transition: var(--transition);
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

.edu-card:hover .edu-logo {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
    border-color: var(--accent-gold);
}

.edu-card:hover .edu-logo img {
    transform: scale(1.02);
}

.edu-details {
    flex: 1;
    min-width: 0;
}

.edu-details h3 {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .edu-details h3 {
        font-size: 0.9rem;
        gap: 6px;
    }
}

.edu-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--accent-gold);
    padding: 1px 12px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edu-major {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--text-secondary);
    margin-top: 1px;
}

@media (max-width: 480px) {
    .edu-major {
        font-size: 0.75rem;
    }
}

.edu-year {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    padding: 2px 14px;
    border-radius: 40px;
    margin-top: 3px;
}

@media (max-width: 480px) {
    .edu-year {
        font-size: 0.65rem;
        padding: 1px 10px;
    }
}

@media (max-width: 768px) {
    .edu-logo {
        width: 54px;
        height: 54px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .edu-logo {
        width: 48px;
        height: 48px;
        padding: 5px;
    }
}

@media (max-width: 380px) {
    .edu-logo {
        width: 42px;
        height: 42px;
        padding: 4px;
    }
    .edu-card {
        gap: 10px;
        padding: 12px;
    }
}

/* ===== WEBSITES ===== */
.websites {
    padding: clamp(50px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}

.website-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 768px) {
    .website-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.website-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: clamp(18px, 2vw, 24px) clamp(20px, 2.5vw, 28px);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .website-card {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 16px 18px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .website-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 14px;
        gap: 10px;
    }
}

.website-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-card);
}

@media (max-width: 480px) {
    .website-card:hover {
        transform: translateY(-2px);
    }
}

.website-logo {
    width: clamp(50px, 5vw, 60px);
    height: clamp(50px, 5vw, 60px);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    transition: var(--transition);
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .website-logo {
        width: 56px;
        height: 56px;
        padding: 8px;
    }
}

.website-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    transition: var(--transition);
}

.website-card:hover .website-logo {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.12);
    border-color: var(--accent-gold);
}

.website-card:hover .website-logo img {
    transform: scale(1.02);
}

.website-info {
    flex: 1;
    min-width: 0;
}

@media (max-width: 480px) {
    .website-info {
        width: 100%;
        text-align: center;
    }
}

.website-info h3 {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}

.website-info p {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 480px) {
    .website-info p {
        -webkit-line-clamp: 3;
        font-size: 0.85rem;
    }
}

.btn-visit {
    background: transparent;
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-gold);
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .btn-visit {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .btn-visit {
        padding: 8px 24px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        white-space: nowrap;
    }
}

.btn-visit:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .website-logo {
        width: 48px;
        height: 48px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .website-logo {
        width: 60px;
        height: 60px;
        padding: 10px;
    }
}

@media (max-width: 380px) {
    .website-logo {
        width: 50px;
        height: 50px;
        padding: 8px;
    }
    .website-card {
        padding: 14px 12px;
        gap: 8px;
    }
}

/* ===== SERTIFIKAT ===== */
.certificates {
    padding: clamp(50px, 8vh, 80px) 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 992px) {
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
}

.cert-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
    max-height: 380px;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-card);
}

.cert-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-secondary);
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cert-image-wrapper {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .cert-image-wrapper {
        height: 200px;
    }
}

.cert-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
}

.cert-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 2.2rem;
}

.cert-count {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: var(--accent-gold-dim);
    padding: 2px 12px;
    border-radius: 40px;
    margin-top: 8px;
    align-self: flex-start;
    flex-shrink: 0;
}

.btn-more {
    background: transparent;
    color: var(--accent-gold) !important;
    border: 1px solid var(--border-gold) !important;
    padding: clamp(9px, 1vw, 11px) clamp(28px, 3vw, 38px);
    border-radius: 40px;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-family: 'Inter', sans-serif;
    background: transparent !important;
}

.btn-more:hover {
    background: var(--accent-gold) !important;
    color: var(--bg-primary) !important;
    border-color: var(--accent-gold) !important;
}

.btn-more span {
    color: inherit;
}

.btn-more i {
    color: inherit;
}

.cert-view-btn {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
}

.cert-image-wrapper:hover .cert-view-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .cert-view-btn {
        opacity: 1;
        bottom: 30px;
        transform: translateX(-50%);
    }
}

.btn-view-cert {
    background: rgba(201, 168, 76, 0.92);
    color: var(--bg-primary);
    border: none;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
    white-space: nowrap;
}

.btn-view-cert:hover {
    background: var(--accent-gold);
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.3);
}

.btn-view-cert i {
    font-size: 0.7rem;
}

.cert-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.cert-slider .swiper-wrapper {
    height: 100%;
}

.cert-slider .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.cert-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cert-slider .swiper-button-next,
.cert-slider .swiper-button-prev {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.cert-slider .swiper-button-next::after,
.cert-slider .swiper-button-prev::after {
    font-size: 12px;
    font-weight: 700;
}

.cert-slider .swiper-button-next:hover,
.cert-slider .swiper-button-prev:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.cert-slider .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cert-slider .swiper-pagination {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.cert-slider .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transition: var(--transition);
}

.cert-slider .swiper-pagination-bullet-active {
    background: var(--accent-gold);
    width: 16px;
    border-radius: 4px;
}

.cert-slider[data-slides="1"] .swiper-button-next,
.cert-slider[data-slides="1"] .swiper-button-prev,
.cert-slider[data-slides="1"] .swiper-pagination {
    display: none !important;
}

.cert-more {
    margin-top: 0;
}

@media (max-width: 992px) {
    .cert-card {
        min-height: 300px;
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .cert-card {
        min-height: 280px;
        max-height: 340px;
    }
    .cert-info h4 {
        font-size: 0.85rem;
        min-height: 2.2rem;
    }
    .cert-info p {
        font-size: 0.75rem;
        min-height: 2rem;
    }
    .cert-view-btn {
        bottom: 25px;
    }
    .btn-view-cert {
        font-size: 0.65rem;
        padding: 6px 14px;
    }
}

@media (max-width: 576px) {
    .cert-card {
        min-height: 320px;
        max-height: 380px;
    }
    .cert-image-wrapper {
        height: 200px;
    }
}

/* ===== KOMENTAR ===== */
.comments {
    padding: clamp(50px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}

.comment-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: clamp(24px, 3vw, 40px);
}

@media (max-width: 768px) {
    .comment-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.comment-form {
    background: var(--bg-card);
    padding: clamp(20px, 3vw, 34px);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.comment-form h3 {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    font-weight: 600;
    margin-bottom: clamp(16px, 2vw, 22px);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 14px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: clamp(12px, 1.2vw, 14px) clamp(14px, 1.5vw, 18px);
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--text-muted);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--border-gold-hover);
    background: rgba(255, 255, 255, 0.06);
}

.comment-form textarea {
    min-height: clamp(80px, 12vw, 110px);
    resize: vertical;
}

.btn-submit {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: clamp(11px, 1.2vw, 13px) clamp(24px, 3vw, 32px);
    border-radius: 40px;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.2);
}

.comment-section {
    display: flex;
    flex-direction: column;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 180px;
}

.comment-item {
    background: var(--bg-card);
    padding: clamp(14px, 1.8vw, 20px) clamp(16px, 2vw, 24px);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.comment-item:hover {
    border-color: var(--border-gold);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
}

.comment-date {
    color: var(--text-muted);
    font-size: clamp(0.65rem, 0.7vw, 0.75rem);
}

.comment-text {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.65;
    word-break: break-word;
}

.comment-reply {
    margin-top: 10px;
    padding: clamp(10px, 1.2vw, 12px) clamp(14px, 1.5vw, 18px);
    background: var(--accent-gold-soft);
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--text-secondary);
}

.comment-reply strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.reply-form {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .reply-form {
        flex-direction: column;
    }
}

.reply-input {
    flex: 1;
    min-width: 140px;
    padding: 7px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: clamp(0.8rem, 0.85vw, 0.85rem);
    font-family: 'Inter', sans-serif;
}

.reply-input:focus {
    outline: none;
    border-color: var(--border-gold-hover);
}

.reply-btn {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: 6px 20px;
    border-radius: 40px;
    font-size: clamp(0.7rem, 0.8vw, 0.8rem);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.reply-btn:hover {
    transform: scale(1.04);
}

.comment-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.comment-nav button {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    width: clamp(34px, 4vw, 40px);
    height: clamp(34px, 4vw, 40px);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-nav button:hover:not(:disabled) {
    border-color: var(--border-gold);
    color: var(--accent-gold);
}

.comment-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.comment-nav span {
    color: var(--text-muted);
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    font-weight: 500;
}

.admin-badge {
    font-size: 0.6rem;
    font-weight: 700;
    color: #0f0e1a;
    background: #c9a84c;
    padding: 1px 10px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.owner-badge {
    font-size: 0.6rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    padding: 1px 10px;
    border-radius: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.btn-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-delete:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.btn-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-delete i {
    font-size: 0.8rem;
}

/* ===== CONNECT ===== */
.contact {
    padding: clamp(50px, 8vh, 80px) 0;
}

.social-icons {
    display: flex;
    gap: clamp(14px, 2vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(48px, 6vw, 60px);
    height: clamp(48px, 6vw, 60px);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.12);
}

/* ===== FOOTER ===== */
.footer {
    padding: clamp(28px, 4vh, 40px) 0;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.footer-brand .footer-logo {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-brand .footer-logo span {
    color: var(--accent-gold);
}

.footer-brand p {
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    color: var(--text-muted);
    margin-top: 2px;
}

.footer-copy {
    text-align: right;
}

@media (max-width: 480px) {
    .footer-copy {
        text-align: center;
    }
}

.footer-copy p {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--text-muted);
}

/* ===== POPUP QRIS ===== */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay.active {
    display: flex;
}

.popup-box {
    background: var(--bg-card);
    padding: clamp(28px, 4vw, 42px) clamp(20px, 4vw, 44px) clamp(24px, 3.5vw, 38px);
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--border-gold);
    position: relative;
    animation: popIn 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes popIn {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 4px;
}

.popup-close:hover {
    color: var(--text-primary);
}

.popup-icon {
    font-size: clamp(2.8rem, 4vw, 3.4rem);
    color: #4ade80;
    margin-bottom: 6px;
}

.popup-box h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.popup-box p {
    color: var(--text-secondary);
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    line-height: 1.6;
}

.popup-divider {
    width: 36px;
    height: 2px;
    background: var(--accent-gold);
    margin: 16px auto;
    border-radius: 4px;
}

.popup-tip {
    font-size: clamp(0.8rem, 0.85vw, 0.85rem) !important;
    color: var(--text-muted) !important;
    margin-bottom: 12px;
}

.qris-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.qris-container img {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

@media (max-width: 480px) {
    .qris-container {
        max-width: 260px;
    }
    .qris-container img {
        max-width: 260px;
    }
}

@media (max-width: 380px) {
    .qris-container {
        max-width: 200px;
    }
    .qris-container img {
        max-width: 200px;
    }
}

.btn-close-popup {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
    padding: clamp(10px, 1.2vw, 11px) clamp(32px, 4vw, 44px);
    border-radius: 40px;
    font-weight: 600;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.btn-close-popup:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.18);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: lightboxFadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
}

@keyframes lightboxFadeIn {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.lightbox-back {
    position: fixed;
    top: 24px;
    left: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 100000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
}

.lightbox-back:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.lightbox-back i {
    font-size: 0.9rem;
}

.lightbox-container {
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    position: relative;
}

.lightbox-slider {
    width: 100%;
    height: 80vh;
    max-height: 85vh;
    position: relative;
}

.lightbox-slider .swiper-wrapper {
    height: 100%;
    align-items: center;
}

.lightbox-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lightbox-slider .swiper-slide img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-nav {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lightbox-nav::after {
    display: none;
}

.lightbox-nav i {
    font-size: 1.4rem;
    color: #fff;
}

.lightbox-nav:hover {
    background: rgba(201, 168, 76, 0.25);
    border-color: rgba(201, 168, 76, 0.3);
    transform: scale(1.05);
}

.lightbox-nav.swiper-button-disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

.lightbox-pagination {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lightbox-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
}

.lightbox-pagination .swiper-pagination-bullet-active {
    background: var(--accent-gold);
    width: 32px;
    border-radius: 4px;
}

.lightbox-footer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 24px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100000;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.lightbox-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-back {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .lightbox-back span {
        display: inline;
    }
    .lightbox-slider {
        height: 70vh;
    }
    .lightbox-nav {
        width: 38px;
        height: 38px;
    }
    .lightbox-nav i {
        font-size: 1rem;
    }
    .lightbox-footer {
        bottom: 20px;
        padding: 6px 16px;
        gap: 14px;
    }
}

@media (max-width: 480px) {
    .lightbox-slider {
        height: 60vh;
    }
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .lightbox-back {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .lightbox-back span {
        display: none;
    }
    .lightbox-back i {
        font-size: 0.9rem;
    }
    .lightbox-nav {
        width: 32px;
        height: 32px;
    }
    .lightbox-nav i {
        font-size: 0.85rem;
    }
    .lightbox-footer {
        bottom: 14px;
        padding: 4px 12px;
        gap: 10px;
    }
    .lightbox-counter {
        font-size: 0.65rem;
    }
    .lightbox-info {
        display: none;
    }
}

/* ===== ANIMASI HALUS UNTUK SECTION ===== */
section {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-dim);
}

::selection {
    background: var(--accent-gold-dim);
    color: var(--accent-gold);
}

@media (max-width: 480px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .comment-actions {
        width: 100%;
        justify-content: space-between;
    }
    .admin-badge,
    .owner-badge {
        font-size: 0.55rem;
        padding: 0 8px;
    }
}