:root {
    --primary: #047857;
    --primary-dark: #065f46;
    --secondary: #FCD34D;
    --white: #ffffff;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 16px;
    --nav-height: 56px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #fef9c3 100%);
    color: var(--gray-800);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(4,120,87,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    height: var(--nav-height);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
}
.navbar-logo-img {
    width: 36px; height: 36px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.navbar-name {
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
@media (min-width:768px) { .navbar-name { font-size: 0.95rem; } }

/* Desktop Menu */
.nav-desktop { display: none; list-style: none; align-items: center; gap: 4px; }
@media (min-width:1024px) { .nav-desktop { display: flex; } }
.nav-desktop a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.25s;
    white-space: nowrap;
}
.nav-desktop a:hover, .nav-desktop a.active {
    color: white;
    background: rgba(255,255,255,0.15);
}

/* Dropdown Desktop */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%; right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    min-width: 200px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1001;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--gray-700) !important;
    font-size: 0.85rem;
    border-radius: 0 !important;
    background: transparent !important;
}
.dropdown-menu a:hover {
    background: #f0fdf4 !important;
    color: var(--primary) !important;
}
.dropdown-toggle i { font-size: 0.6rem; margin-left: 4px; }

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}
@media (min-width:1024px) { .hamburger { display: none; } }
.hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.35s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Menu */
.nav-mobile {
    position: absolute;
    top: var(--nav-height); left: 0;
    width: 100%;
    background: rgba(4,120,87,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25,0.8,0.25,1);
}
.nav-mobile.open { max-height: 600px; }
.nav-mobile ul { list-style: none; padding: 8px 16px; }
.nav-mobile li {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}
.nav-mobile.open li { opacity: 1; transform: translateX(0); }
.nav-mobile.open li:nth-child(1)  { transition-delay: 0.00s; }
.nav-mobile.open li:nth-child(2)  { transition-delay: 0.10s; }
.nav-mobile.open li:nth-child(3)  { transition-delay: 0.20s; }
.nav-mobile.open li:nth-child(4)  { transition-delay: 0.30s; }
.nav-mobile.open li:nth-child(5)  { transition-delay: 0.40s; }
.nav-mobile.open li:nth-child(6)  { transition-delay: 0.50s; }
.nav-mobile.open li:nth-child(7)  { transition-delay: 0.60s; }
.nav-mobile.open li:nth-child(8)  { transition-delay: 0.70s; }
.nav-mobile.open li:nth-child(9)  { transition-delay: 0.80s; }
.nav-mobile.open li:nth-child(10) { transition-delay: 0.90s; }
.nav-mobile.open li:nth-child(11) { transition-delay: 1.00s; }
.nav-mobile a {
    display: block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 12px 8px;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ==================== PAGE CONTENT ==================== */
.page-content {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
@media (min-width: 768px) {
    .page-content { padding-left: 32px; padding-right: 32px; }
}

/* ==================== HEADER ==================== */
.header-floating {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ==================== ANIMASI SCROLL ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== SOCIAL CARD ==================== */
.social-card {
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #a7f3d0;
}

/* Avatar Ring */
.avatar-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.4s ease;
}
.social-card:hover .avatar-ring {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(220,39,67,0.35);
}
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

/* Card Text */
.social-card h3 {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.3;
    margin-bottom: 4px;
}
@media (min-width: 768px) {
    .social-card h3 { font-size: 1rem; }
}
.social-card p {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== FOOTER ==================== */
.footer-custom {
    margin-top: 48px;
    text-align: center;
    color: #6b7280;
    padding-bottom: 24px;
    font-size: 0.85rem;
}
