/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root,
.dark {
    --primary: #007A43;
    /* Deep Islamic Green */
    --primary-dark: #005A32;
    /* Darker variant for hover states */
    --accent: #FFD400;
    /* Gold */
    --accent-light: #F6C20F;
    /* Warm Gold */
    --bg: #FCFCF9;
    /* Ivory White */
    --bg-alt: #FFFFFF;
    /* Pure white for cards */
    --white: #FFFFFF;
    --text: #151515;
    /* Dark Text */
    --text-muted: #555555;
    --border: #E6E8EB;
    /* Light Gray */
    --shadow-sm: 0 1px 2px rgba(0, 122, 67, 0.05);
    --shadow: 0 4px 15px rgba(0, 122, 67, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 122, 67, 0.12);
    --shadow-xl: 0 24px 50px rgba(0, 122, 67, 0.15);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

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

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

ul {
    list-style: none;
}

/* ===== SCROLLBAR ===== */
@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 4px;
    }
}

/* ============================================================
   LOADING SCREEN
============================================================ */
#loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #052e16 0%, #15803D 50%, #16A34A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: pulseLogo 1.5s ease-in-out infinite;
}

.loading-logo svg {
    width: 40px;
    height: 40px;
    color: white;
}

.loading-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.loading-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 99px;
    animation: loadingProgress 2s ease forwards;
}

@keyframes pulseLogo {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes loadingProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

#navbar.top {
    background: transparent;
}

#navbar.scrolled {
    background: var(--primary);
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    transition: var(--transition);
}



.nav-logo-img {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.nav-logo-title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
}

.nav-logo-sub {
    font-size: 0.625rem;
    font-weight: 400;
    opacity: 0.75;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
    background: rgba(255, 212, 0, 0.1);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
}

.nav-dropdown-btn:hover,
.nav-dropdown-btn.active {
    color: var(--accent) !important;
    background: rgba(255, 212, 0, 0.1);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    z-index: 100;
}

.dark .nav-dropdown-menu {
    background: var(--bg);
    border-color: rgba(255, 255, 255, 0.1);
}

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

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.nav-dropdown-item:hover,
.nav-dropdown-item.active {
    background: rgba(22, 163, 74, 0.05);
    color: var(--primary);
    padding-left: 24px;
}

.nav-cta-btn {
    display: none;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

@media (min-width: 1024px) {
    .nav-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#dark-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: var(--transition);
}

#navbar.scrolled #dark-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

#dark-toggle:hover {
    background: rgba(255, 212, 0, 0.15);
    color: var(--accent);
}

#hamburger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

#navbar.scrolled #hamburger {
    background: rgba(255, 255, 255, 0.15);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

#navbar.scrolled .hamburger-line {
    background: white;
}

#hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 12px 24px 20px;
    z-index: 999;
}

#mobile-menu.open {
    display: block;
    animation: slideDown 0.25s ease;
}

.mobile-nav-link {
    display: block;
    padding: 11px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: rgba(22, 163, 74, 0.08);
}

/* ============================================================
   HERO SECTION — Pakar Belia Style
============================================================ */
#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #052e16 0%, #15803D 50%, #16A34A 100%);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(250, 204, 21, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 65% 85%, rgba(21, 128, 61, 0.5) 0%, transparent 40%);
}

/* Floating circles */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 220px;
    height: 220px;
    bottom: 80px;
    left: 80px;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 42%;
    animation-delay: 4s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(4deg);
    }

    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* ---- Pakar Belia Hero Layout ---- */

/* Outer wrapper: fills full height, pushes main area + stats strip */
.hero-content-pb {
    position: relative;
    z-index: 10;
    width: 100%;
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Area above stats strip */
.hero-main-area {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 48px 48px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Vertical pillar tags column */
.hero-pillars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    padding-bottom: 6px;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-pillar-tag {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.3;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.hero-pillar-tag:hover {
    color: var(--accent);
}

/* Big bold text block */
.hero-text-block {
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-pb {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-motto-pb {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.6;
}

.hero-buttons-pb {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary-pb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: white;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    font-family: var(--font);
}

.btn-primary-pb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    color: var(--secondary);
}

.btn-primary-pb svg {
    flex-shrink: 0;
}

.btn-outline-pb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: transparent;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    font-family: var(--font);
}

.btn-outline-pb:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline-pb svg {
    flex-shrink: 0;
}

/* Stats strip at very bottom of hero */
.hero-stats-strip {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    animation: fadeInUp 0.7s ease 0.5s both;
}

.hero-stat-item {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 24px 16px;
    text-align: center;
    transition: background 0.25s;
}

.hero-stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.hero-stat-num {
    font-size: 1.875rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-lbl {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* Keep animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Text Side */
.hero-text {}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.hero-title span {
    background: linear-gradient(to right, #FACC15, #FDE68A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-motto {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: white;
    color: var(--primary);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    font-family: var(--font);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

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

.btn-secondary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 12px;
    gap: 12px;
    margin-top: 44px;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 18px 16px;
    text-align: center;
    transition: var(--transition);
}

.hero-stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-stat-label svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* Hero Image Side */
.hero-image-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-image-main {
    width: 100%;
    height: 360px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.hero-image-placeholder svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.35);
}

.hero-image-placeholder p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
}

/* Floating Badges on hero image */
.hero-badge-float {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: floatBadge 4s ease-in-out infinite;
}

.hero-badge-float-1 {
    bottom: -16px;
    left: -16px;
    animation-delay: 0s;
}

.hero-badge-float-2 {
    top: -12px;
    right: -12px;
    animation-delay: 2s;
}

.hero-badge-float svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.hero-badge-float-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.hero-badge-float-sub {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============================================================
   HERO CSS ANIMATIONS
============================================================ */
.hero-text>.hero-badge {
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-text>.hero-title {
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-text>.hero-motto {
    animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-text>.hero-buttons {
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-text>.hero-stats {
    animation: fadeInUp 0.7s ease 0.55s both;
}

.hero-image-side {
    animation: fadeInRight 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================
   SECTION BASE
============================================================ */
section {
    padding: 96px 0;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-badge svg {
    width: 14px;
    height: 14px;
}

.section-title {
    font-size: clamp(1.625rem, 3vw, 2.375rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* ============================================================
   SCROLL REVEAL (for non-hero sections)
============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================================
   PROFIL SECTION
============================================================ */
#profil {
    background: var(--bg);
}

.profil-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-gap: 32px;
    gap: 32px;
    align-items: start;
}

.profil-logo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    position: -webkit-sticky;
    position: sticky;
    top: 86px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profil-logo-card:hover {
    box-shadow: var(--shadow-lg);
}

.profil-logo-wrapper {
    width: 110px;
    height: 110px;
    background: var(--primary);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 122, 67, 0.2);
}

.profil-school-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.profil-school-sub {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.profil-akreditasi-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--accent);
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 122, 67, 0.15);
    border: 1px solid var(--accent);
}

.profil-akreditasi-badge svg {
    width: 14px;
    height: 14px;
}

.profil-npsn-box {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.profil-npsn-box .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profil-npsn-box .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.08em;
    font-family: 'Inter', monospace;
}

/* Info Card */
.profil-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.profil-info-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profil-info-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.profil-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;
    gap: 16px;
}

.profil-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.profil-info-item:hover {
    border-color: var(--primary);
}

.profil-info-item.full-width {
    grid-column: 1 / -1;
}

.profil-info-icon {
    width: 38px;
    height: 38px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profil-info-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.profil-info-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.profil-info-value {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================================
   VISI MISI
============================================================ */
#visi-misi {
    background: var(--bg-alt);
}

/* Visi block — centered */
.visi-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 56px;
}

.visi-icon-pb {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
}

.visi-icon-pb svg {
    width: 24px;
    height: 24px;
    color: white;
}

.visi-heading-pb {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.visi-quote-pb {
    font-size: 1.125rem;
    color: var(--text);
    line-height: 1.7;
    font-style: normal;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 32px;
}

.pilar-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.pilar-chip {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    padding: 7px 20px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(22, 163, 74, 0.2);
    transition: var(--transition);
}

.pilar-chip:hover {
    background: var(--primary);
    color: white;
}

.visi-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 99px;
    margin: 0 auto 56px;
}

/* Misi block */
.misi-block {
    max-width: 820px;
    margin: 0 auto;
}

.misi-heading-pb {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.misi-sub-pb {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.misi-list-pb {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.misi-list-item-pb {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.misi-list-item-pb:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.misi-check-pb {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.misi-check-pb svg {
    color: white;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 32px;
    gap: 32px;
    align-items: start;
}

/* Visi Card */
.visi-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.3);
    height: 100%;
}

.visi-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.visi-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.visi-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.visi-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.visi-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.visi-text {
    font-size: 0.9375rem;
    line-height: 1.8;
    opacity: 0.9;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.visi-tags {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.visi-tags-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 500;
}

.visi-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.visi-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Misi Card */
.misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
}

.misi-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.misi-title svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.misi-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-left: 36px;
}

.misi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.misi-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.misi-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.misi-check {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.misi-check svg {
    width: 13px;
    height: 13px;
    color: white;
}

.misi-item-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* ============================================================
   SEJARAH — Pakar Belia Step Style
============================================================ */
#sejarah {
    background: var(--bg);
}

.sejarah-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.sejarah-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.sejarah-step:last-child {
    border-bottom: none;
}

.sejarah-step:hover .sejarah-step-num {
    background: var(--primary);
    color: white;
}

.sejarah-step-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    min-width: 60px;
    text-align: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.sejarah-step-body {
    flex: 1 1;
}

.sejarah-step-year {
    display: inline-block;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 99px;
    margin-bottom: 10px;
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.sejarah-step-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.sejarah-step-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Vertical center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent), var(--primary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 36px);
    margin-bottom: 56px;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 36px);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline dot */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 28px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary);
    transform: translateX(-50%);
    transition: var(--transition);
    z-index: 1;
}

.timeline-item:hover::after {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 4px var(--primary), 0 0 0 8px rgba(22, 163, 74, 0.2);
}

/* Year badge */
.timeline-year-badge {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 3px 12px;
    border-radius: 99px;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

/* Timeline icon container */
.timeline-icon {
    width: 32px;
    height: 32px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Timeline card */
.timeline-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    width: 100%;
    margin-top: 32px;
}

.timeline-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.timeline-card-icon {
    width: 38px;
    height: 38px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.timeline-card-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.timeline-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================================
   GURU / TEACHER
============================================================ */
#guru {
    background: linear-gradient(180deg, #ECFDF5 0%, #F0FDF4 100%);
}

.dark #guru {
    background: linear-gradient(180deg, #052e16 0%, #14532d 100%);
}

.struktur-section {
    margin-bottom: 72px;
}

.struktur-group {
    margin-bottom: 40px;
}

.struktur-group-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.struktur-group-title svg {
    width: 22px;
    height: 22px;
}

.struktur-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 16px;
    gap: 16px;
}

.struktur-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.struktur-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.struktur-role {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.struktur-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
}

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

.guru-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.guru-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.guru-card:hover .guru-photo-overlay {
    opacity: 1;
}

.guru-photo-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.guru-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guru-card:hover .guru-photo {
    transform: scale(1.08);
}

.guru-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2.25rem;
    color: white;
    transition: transform 0.5s ease;
}

.guru-card:hover .guru-photo-placeholder {
    transform: scale(1.06);
}

.guru-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(22, 163, 74, 0.85), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
}

.guru-photo-overlay svg {
    width: 24px;
    height: 24px;
    color: white;
}

.guru-info {
    padding: 18px;
}

.guru-jabatan-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
}

.guru-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    line-height: 1.3;
}

.guru-mapel {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guru-mapel svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.guru-pendidikan {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.guru-pendidikan svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ============================================================
   GALERI
============================================================ */
#galeri {
    background: var(--bg);
}

.galeri-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 99px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    grid-gap: 14px;
    gap: 14px;
}

.galeri-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.galeri-item:nth-child(5n+1) {
    grid-row: span 2;
}

.galeri-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.galeri-item:hover .galeri-img-placeholder {
    transform: scale(1.08);
}

.galeri-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.5s ease;
}

.galeri-img-placeholder span {
    font-size: 0.75rem;
    font-weight: 600;
}

.galeri-img-placeholder svg {
    flex-shrink: 0;
}

.galeri-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-overlay-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.galeri-overlay-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
}

.galeri-overlay svg {
    width: 18px;
    height: 18px;
    color: white;
}

/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}

#lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 880px;
    width: 90%;
    animation: lightboxIn 0.3s ease;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-placeholder {
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    gap: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.lightbox-placeholder svg {
    width: 56px;
    height: 56px;
}

.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 14px;
    font-size: 0.9375rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 20px;
    height: 20px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
    width: 20px;
    height: 20px;
}

.lightbox-prev {
    left: -56px;
}

.lightbox-next {
    right: -56px;
}

/* ============================================================
   KONTAK
============================================================ */
#kontak {
    background: var(--bg-alt);
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    gap: 40px;
    align-items: start;
}

.kontak-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontak-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.kontak-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.kontak-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kontak-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.kontak-info-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kontak-info-icon svg {
    width: 19px;
    height: 19px;
    color: var(--accent);
}

.kontak-info-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.kontak-info-value {
    font-size: 0.9375rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

.jam-ops-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    gap: 10px;
    margin-top: 14px;
}

.jam-ops-item {
    background: var(--bg);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid var(--border);
}

.jam-ops-day {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.jam-ops-time {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.sosmed-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sosmed-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.sosmed-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sosmed-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg);
    font-family: var(--font);
}

.sosmed-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.sosmed-btn.facebook:hover {
    color: #1877F2;
    border-color: #1877F2;
}

.sosmed-btn.instagram:hover {
    color: #E1306C;
    border-color: #E1306C;
}

.sosmed-btn.youtube:hover {
    color: #FF0000;
    border-color: #FF0000;
}

.sosmed-btn svg {
    width: 17px;
    height: 17px;
}

.maps-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.maps-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maps-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.maps-title svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
}

.maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: var(--transition);
}

.maps-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 212, 0, 0.2);
}

.maps-btn svg {
    width: 13px;
    height: 13px;
}

.maps-placeholder {
    width: 100%;
    height: 220px;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    border-top: 1px solid var(--border);
}

.maps-placeholder svg {
    width: 44px;
    height: 44px;
    opacity: 0.8;
}

.maps-placeholder p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
    background: var(--white);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
    background: var(--accent-light);
}

.form-submit-btn svg {
    width: 18px;
    height: 18px;
}

.form-success {
    display: none;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}

.form-success.show {
    display: block;
    animation: slideDown 0.4s ease;
}

.form-success svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin: 0 auto 12px;
}

.form-success-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.form-success-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================================
   FOOTER — Pakar Belia Style
============================================================ */

/* CTA Banner (kuning/aksen sebelum footer) */
.footer-cta {
    background: var(--accent);
    padding: 32px 24px;
}

.footer-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cta-heading {
    font-size: 1.375rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.footer-cta-sub {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.65);
}

.footer-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9375rem;
    white-space: nowrap;
    transition: var(--transition);
    font-family: var(--font);
}

.footer-cta-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.35);
}

/* Footer main dark area */
footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.footer-main {
    position: relative;
    z-index: 1;
}

.footer-top-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-divider {
    max-width: 1100px;
    margin: 28px auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-contact-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 48px;
    gap: 48px;
}

.footer-contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-label {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.footer-contact-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

h1,
h2 {
    letter-spacing: -0.02em;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: var(--accent);
}

.footer-bottom-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-nav-link {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* footer-inner/footer-grid kept for unused classes not to break */
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: none;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
}

.footer-logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}

.footer-logo-sub {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 420px;
}

.footer-sosmed {
    display: flex;
    gap: 10px;
}

.footer-sosmed-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-sosmed-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1a1a;
    transform: translateY(-3px);
}

.footer-sosmed-btn svg {
    width: 18px;
    height: 18px;
}

/* Kept for backward compat */
.footer-col {}

.footer-links-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

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

.footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 24px;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   SCROLL TO TOP
============================================================ */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    z-index: 100;
}

#scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.5);
}

#scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================================
   UTILITIES & HELPERS
============================================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.glass {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Counter */
.counter {
    display: inline-block;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .guru-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .profil-grid {
        grid-template-columns: 1fr;
    }

    .profil-logo-card {
        position: static;
        max-width: 380px;
        margin: 0 auto;
    }

    .galeri-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero-main-area {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 28px 40px;
        gap: 24px;
    }

    .hero-pillars {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-title-pb {
        font-size: clamp(1.75rem, 6vw, 3rem);
    }

    .hero-stats-strip {
        flex-wrap: wrap;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-item {
        min-width: 50%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-contact-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .visi-misi-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
    }

    .profil-info-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline single column on tablet */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-right: 0 !important;
        padding-left: 60px !important;
        justify-content: flex-start !important;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-year-badge {
        left: 20px;
        transform: translateX(-50%);
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 110px 0 60px;
    }

    #hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

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

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .footer-top-row {
        justify-content: flex-start;
    }

    .footer-contact-row {
        padding: 0 16px;
    }

    .footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-nav-row {
        display: none;
    }

    .lightbox-prev {
        left: -44px;
    }

    .lightbox-next {
        right: -44px;
    }
}

@media (max-width: 500px) {
    .nav-container {
        padding: 0 16px;
    }

    .section-container {
        padding: 0 16px;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .guru-grid {
        grid-template-columns: 1fr;
    }

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-prev,
    .lightbox-next {
        display: none;
    }

    .sosmed-links {
        flex-wrap: wrap;
    }

    .visi-misi-grid,
    .kontak-grid {
        gap: 20px;
    }
}

/* Spin animation for form submit loading state */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   NEW HOMEPAGE SECTIONS
============================================================ */

/* Sambutan */
.sambutan-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-gap: 80px;
    gap: 80px;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}

.sambutan-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.sambutan-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.sambutan-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.sambutan-subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 40px;
}

.sambutan-greeting {
    font-weight: 400;
    font-style: normal;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.sambutan-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    display: block;
}

/* Berita */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    margin-top: 40px;
}

.berita-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.berita-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
}

.berita-image {
    object-fit: cover;
}

.berita-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1;
}

.berita-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.berita-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.berita-excerpt {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1 1;
}

.btn-berita {
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-berita:hover {
    background: var(--accent-light);
    box-shadow: 0 4px 12px rgba(255, 212, 0, 0.3);
}

/* Visi Misi Card Grid */
.visi-misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    align-items: stretch;
}

.visi-misi-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.visi-misi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.visi-misi-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    flex-shrink: 0;
}

.visi-misi-image {
    object-fit: cover;
}

.visi-misi-content {
    padding: 24px;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Testimoni */
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
    gap: 30px;
    margin-top: 50px;
}

.testimoni-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 24px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    margin-top: 50px;
    /* Space for the overlapping avatar */
}

.testimoni-image-wrapper {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 6px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.testimoni-image {
    object-fit: cover;
}

.testimoni-name {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 10px;
    margin-bottom: 4px;
}

.testimoni-title {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.testimoni-divider {
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.testimoni-quote {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Instagram Gallery Mockup */
.gallery-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ig-header {
    display: flex;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid var(--border);
    gap: 40px;
}

.ig-profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 4px;
    flex-shrink: 0;
}

.ig-logo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary);
    border: 4px solid var(--white);
}

.ig-profile-info {
    flex: 1 1;
}

.ig-username-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 4px;
}

.ig-username {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.ig-follow-btn {
    background: #0095f6;
    color: white;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.ig-follow-btn:hover {
    background: #1877f2;
}

.ig-handle {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ig-stats {
    display: flex;
    gap: 30px;
    font-size: 1rem;
    color: var(--text);
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2px;
    gap: 2px;
    background: var(--border);
}

.ig-grid-item {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 aspect ratio */
    cursor: pointer;
    overflow: hidden;
}

.ig-grid-item:hover .ig-image {
    transform: scale(1.05);
}

.ig-image {
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

    .sambutan-title {
        font-size: 1.75rem;
    }

    .sambutan-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .sambutan-image-wrapper {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: 4/5;
        background: var(--bg-alt);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sambutan-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        word-break: break-word;
        color: transparent; /* Sembunyikan alt text jelek jika broken image */
    }


    .ig-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .ig-username-row {
        flex-direction: column;
        gap: 12px;
    }

    .ig-stats {
        justify-content: center;
    }

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

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */

/* --- Admin Login Page --- */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #064e3b 0%, #111827 100%);
  padding: 24px;
}

.admin-login-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.admin-login-header {
  margin-bottom: 32px;
}

.admin-login-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #007A43, #064e3b);
  color: #FACC15;
  font-weight: 900;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 122, 67, 0.3);
}

.admin-login-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
}

.admin-login-header p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.admin-login-back {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.85rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.admin-login-back:hover {
  color: #007A43;
}

/* --- Admin Layout --- */
.admin-panel {
  display: flex;
  min-height: 100vh;
  background: #f3f4f6;
  font-family: 'Inter', sans-serif;
}

.admin-sidebar {
  width: 260px;
  background: #111827;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.admin-sidebar-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #1f2937;
}

.admin-sidebar-logo {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #007A43, #064e3b);
  color: #FACC15;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-sidebar-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.admin-sidebar-nav {
  flex: 1 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.admin-sidebar-link:hover {
  background: #1f2937;
  color: #fff;
}

.admin-sidebar-link.active {
  background: #007A43;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 122, 67, 0.3);
}

.admin-sidebar-footer {
  padding: 12px;
  border-top: 1px solid #1f2937;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-logout-btn {
  color: #ef4444 !important;
}

.admin-logout-btn:hover {
  background: #1f2937 !important;
}

.admin-sidebar-overlay {
  display: none;
}

/* --- Admin Main Content --- */
.admin-main {
  flex: 1 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-header {
  background: #fff;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  padding: 4px;
}

.admin-header-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  flex: 1 1;
}

.admin-header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.admin-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #007A43;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.admin-content {
  flex: 1 1;
  padding: 32px;
}

/* --- Admin Loading --- */
.admin-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.admin-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top-color: #007A43;
  border-radius: 50%;
  animation: admin-spin 0.8s linear infinite;
}

@keyframes admin-spin {
  to { transform: rotate(360deg); }
}

/* --- Admin Page Header --- */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-page-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
}

.admin-page-header p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

/* --- Admin Stats Grid (Dashboard) --- */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 36px;
}

.admin-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 4px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.admin-stat-count {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: 4px;
}

/* --- Admin Quick Actions --- */
.admin-quick-actions h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px;
}

.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.admin-quick-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

.admin-quick-card:hover {
  border-color: #007A43;
  color: #007A43;
  box-shadow: 0 4px 12px rgba(0, 122, 67, 0.1);
}

.admin-quick-card span:first-child {
  font-size: 1.3rem;
}

/* --- Admin Buttons --- */
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.admin-btn-primary {
  background: #007A43;
  color: #fff;
}

.admin-btn-primary:hover {
  background: #005a32;
  box-shadow: 0 4px 12px rgba(0, 122, 67, 0.3);
}

.admin-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.admin-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.admin-btn-secondary:hover {
  background: #e5e7eb;
}

.admin-btn-danger {
  background: #fef2f2;
  color: #dc2626;
}

.admin-btn-danger:hover {
  background: #fee2e2;
}

.admin-btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.admin-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* --- Admin Table --- */
.admin-table-wrapper {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f9fafb;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #374151;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: #f9fafb;
}

/* Kolom yang disembunyikan di mobile (misal: Quote di tabel Testimoni) */
.admin-col-quote {
  display: table-cell;
}

.admin-table-img {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-table-avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.admin-action-btns {
  display: flex;
  gap: 6px;
}

/* --- Admin Gallery Grid --- */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.admin-gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.admin-gallery-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.admin-gallery-img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.admin-gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.admin-gallery-card-body {
  padding: 14px;
}

.admin-gallery-caption {
  font-size: 0.85rem;
  color: #374151;
  margin: 0 0 10px;
  font-weight: 500;
}

/* --- Admin Forms --- */
.admin-form-group {
  margin-bottom: 20px;
}

.admin-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 0.9rem;
  color: #111827;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  border-color: #007A43;
  box-shadow: 0 0 0 3px rgba(0, 122, 67, 0.12);
}

.admin-form-group textarea {
  resize: vertical;
}

.admin-img-preview {
  margin-top: 10px;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

/* --- Admin Modal --- */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
  animation: admin-fade-in 0.2s ease;
}

@keyframes admin-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.admin-modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  animation: admin-slide-up 0.3s ease;
}

.admin-modal-sm {
  max-width: 380px;
}

@keyframes admin-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-modal-header {
  padding: 24px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.2s;
  line-height: 1;
}

.admin-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.admin-modal-body {
  padding: 24px 28px;
}

.admin-modal-footer {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* --- Admin Alerts --- */
.admin-alert {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.admin-alert-error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.admin-alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* --- Admin Empty State --- */
.admin-empty {
  background: #fff;
  border-radius: 16px;
  padding: 60px 24px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.95rem;
  border: 2px dashed #e5e7eb;
}

/* --- Admin Settings --- */
.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-settings-section {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.admin-settings-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.admin-settings-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

/* --- Admin Responsive --- */
@media (max-width: 1024px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-sidebar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-hamburger {
    display: block;
  }

  .admin-content {
    padding: 20px;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-content {
    padding: 16px;
  }

  .admin-header {
    padding: 12px 16px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-header {
    flex-direction: column;
  }

  .admin-table-wrapper {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 500px;
  }

  /* Sembunyikan kolom Quote di mobile agar tabel tidak melar */
  .admin-col-quote {
    display: none;
  }

  .admin-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .admin-modal {
    margin: 12px;
  }

  .admin-modal-body {
    padding: 16px 20px;
  }

  .admin-login-card {
    padding: 32px 24px;
  }

  .admin-quick-grid {
    grid-template-columns: 1fr;
  }
}
