:root {
    --primary: #D97706;
    --secondary: #15803D;
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients */
body::before, body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(100px);
}

body::before {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.3) 0%, rgba(255,255,255,0) 70%);
}

body::after {
    top: 40%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21, 128, 61, 0.2) 0%, rgba(255,255,255,0) 70%);
}

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

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Header Section */
.header-section {
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.header-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.speech-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
    font-style: italic;
}

.chairman-name h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.chairman-name p {
    color: var(--primary);
    font-weight: 600;
}

.header-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    padding: 15px;
    border-radius: 30px;
    position: relative;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotate(0deg) translateY(-10px);
}

.chairman-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-main);
    animation: float 3s ease-in-out infinite;
}

.floating-badge i {
    color: var(--secondary);
    font-size: 1.5rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Structure Section */
.structure-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.org-tier {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    z-index: 2;
}

.member-card {
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.15);
}

.member-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
}

.member-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.position {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.position.ketua {
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary);
}

.position.wakil {
    background: rgba(21, 128, 61, 0.1);
    color: var(--secondary);
}

.position.anggota {
    background: rgba(21, 128, 61, 0.1);
    color: var(--secondary);
}

/* Connectors */
.connector-line {
    background: var(--glass-border);
    z-index: 1;
}

.connector-line.vertical {
    width: 2px;
    height: 40px;
    margin: 0 auto;
}

.connector-line.horizontal {
    width: calc(100% - 250px);
    max-width: 580px;
    height: 2px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
}

footer p {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .speech-text {
        padding-left: 0;
        border-left: none;
        border-top: 4px solid var(--primary);
        padding-top: 20px;
        margin: 0 auto 30px;
        max-width: 600px;
    }

    .floating-badge {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        animation: floatMobile 3s ease-in-out infinite;
    }

    @keyframes floatMobile {
        0% { transform: translate(-50%, 0px); }
        50% { transform: translate(-50%, -10px); }
        100% { transform: translate(-50%, 0px); }
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 20px;
        transition: 0.4s ease;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .org-tier.tier-3 {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .connector-line.horizontal {
        display: none;
    }
    
    .org-tier.tier-3::before {
        display: none; /* No horizontal line for mobile */
    }
    
    /* On mobile we just use vertical lines for all */
    .org-chart {
        gap: 20px;
    }
    .connector-line.vertical {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 2rem;
    }
    
    .chairman-photo {
        width: 100%;
    }
}
