/* ================================================
   LPK Kanzo Indonesia — Pure HTML/CSS Stylesheet
   ================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700&display=swap");

/* ========================
   CSS Variables / Tokens
   ======================== */
:root {
    --primary-light: #14b8a6;
    --primary-dark: #115e59;
    --accent: #2dd4bf;
    --bg: #ffffff;
    --bg-light: #f0fdfa;
    --text: #17202a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --font: "Inter", "Noto Sans JP", sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: 250ms ease;
}

/* ========================
   Reset & Base
   ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

/* ========================
   Typography
   ======================== */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}
h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========================
   Utilities
   ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header {
    margin-bottom: 56px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    max-width: 560px;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    font-family: var(--font);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-white {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--bg-light);
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 300ms ease,
        height 300ms ease;
}

/* Elevated state when user has scrolled down */
.navbar.scrolled {
    box-shadow:
        0 4px 24px rgba(15, 118, 110, 0.12),
        0 1px 4px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
    transition: height 300ms ease;
}

.navbar.scrolled .container {
    height: 60px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.logo-icon {
    width: 55px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
    background: var(--bg-light);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-switch a {
    padding: 6px 12px;
    color: var(--text-muted);
    transition: all var(--transition);
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--primary);
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-inner {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: #fff;
    padding: 24px;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.mobile-nav-links a {
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--text);
    font-size: 1rem;
    transition: all var(--transition);
}

.mobile-nav-links a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* ========================
   HERO
   ======================== */
.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 30px 0 80px 0;
    background: #fff;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-label::before {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--text);
}

.hero h1 span {
    color: var(--primary);
    position: relative;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-flags {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.flag {
    font-size: 1.3rem;
}

/* ========================
   STATISTICS
   ======================== */
.statistics {
    background: var(--bg-light);
    padding: 64px 0;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    border-right: 1px solid var(--border);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================
   ABOUT
   ======================== */
.about {
    background: #fff;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-badge strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.about-content .section-label {
    margin-top: 0;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    margin-bottom: 28px;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 36px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
}

.about-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    flex-shrink: 0;
    position: relative;
}

.about-list li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230F766E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E")
        center/14px no-repeat;
    background-color: var(--bg-light);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition);
}

.link-arrow:hover {
    gap: 10px;
}

/* ========================
   KEUNGGULAN
   ======================== */
.keunggulan {
    background: var(--bg-light);
}

.keunggulan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.keunggulan-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border-top: 3px solid var(--primary);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.keunggulan-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.keunggulan-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.keunggulan-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 0.02em;
}

.keunggulan-item p {
    font-size: 0.88rem;
    line-height: 1.65;
}

.section-heading {
    margin-top: 60px;
    font-size: 1.6rem;
}

.pengajar-item {
    display: flex;
    gap: 0.6rem;
}

.pengajar-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text);
    letter-spacing: 0.02em;
    font-weight: 600;
}

.keunggulan-item svg {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

/* ========================
   PROGRAM
   ======================== */
.program {
    background: #fff;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.program-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.program-card:hover .program-img img {
    transform: scale(1.04);
}

.program-card:hover .card-arrow {
    transform: translateX(4px);
}

.program-img {
    overflow: hidden;
    height: 200px;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.program-body {
    padding: 24px;
}

.program-body h3 {
    margin-bottom: 10px;
}

.program-body p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--transition);
}

.card-link:hover {
    gap: 10px;
}

.card-arrow {
    transition: transform var(--transition);
}

/* ========================
   VISI MISI
   ======================== */
.vm-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0 28px;
}

.vm-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.vm-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.vm-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vm-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vm-list li {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}

.vm-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ========================
   BIDANG PEKERJAAN
   ======================== */
.bidang {
    background: var(--bg-light);
}

.bidang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bidang-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: default;
}

.bidang-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.bidang-item:hover img {
    transform: scale(1.06);
}

.bidang-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17, 94, 89, 0.85) 0%,
        rgba(17, 94, 89, 0.1) 60%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: background var(--transition);
}

.bidang-item:hover .bidang-overlay {
    background: linear-gradient(
        to top,
        rgba(17, 94, 89, 0.92) 0%,
        rgba(17, 94, 89, 0.3) 60%
    );
}

.bidang-overlay h3 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.bidang-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* ========================
   PROSES
   ======================== */
.proses {
    background: #fff;
}

.proses-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.proses-timeline::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(100% / 10);
    right: calc(100% / 10);
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.proses-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
    transition: all var(--transition);
    flex-shrink: 0;
    position: relative;
}

.proses-step.active .step-circle,
.proses-step:hover .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.step-content h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================
   TRAINING
   ======================== */
.training {
    background: var(--bg-light);
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.training-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--border);
    text-align: center;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.training-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--bg-light);
    border: 2px solid rgba(15, 118, 110, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.training-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.training-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* ========================
   JAPAN SECTION
   ======================== */
.japan-section {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.japan-bg {
    position: absolute;
    inset: 0;
    background-image: url("public/gallery/gedung-lpk.jpeg");
    background-size: cover;
    background-position: 50% 40%;
}

.japan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 94, 89, 0.78);
}

.japan-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.japan-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 8px;
    font-weight: 300;
}

.japan-content h2 strong {
    font-weight: 800;
}

.japan-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.japan-lines {
    margin-bottom: 36px;
}

.japan-lines .line {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}

.japan-lines .line:last-child {
    color: var(--accent);
}

/* ========================
   GALLERY
   ======================== */
.gallery {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(15, 118, 110, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
}

.gallery-hover svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-hover span {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    gap: 16px;
}

.lightbox-inner img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
    font-size: 1.2rem;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========================
   TESTIMONIALS
   ======================== */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.testimonial-quote {
    font-size: 3rem;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.author-program {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
    background: var(--primary-dark);
    padding: 80px 0;
}

.cta-banner .container {
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================
   KONTAK SECTION
   ======================== */
.kontak {
    background: #fff;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: start;
}

.kontak-info h2 {
    margin-bottom: 12px;
}

.kontak-info > p {
    margin-bottom: 36px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-form h3 {
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text);
    background: #fff;
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 118, 110, 0.2);
    margin-top: 16px;
}

.form-success.show {
    display: block;
}

.form-success p {
    color: var(--primary);
    font-weight: 600;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-item span {
    opacity: 0.5;
    font-size: 0.75rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .stat-item:nth-child(3) {
        border-top: 1px solid var(--border);
    }
    .stat-item:nth-child(4) {
        border-top: 1px solid var(--border);
        border-right: none;
    }

    .bidang-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proses-timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .proses-timeline::before {
        display: none;
    }

    .proses-step {
        flex-direction: row;
        text-align: left;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .proses-step:last-child {
        border-bottom: none;
    }

    .step-circle {
        margin-bottom: 0;
        margin-right: 20px;
        position: relative;
    }

    .step-circle::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 24px;
        background: var(--border);
    }

    .proses-step:last-child .step-circle::after {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    /* Hide desktop nav */
    .navbar-nav,
    .navbar-right .lang-switch,
    .navbar-right .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 48px 0 64px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 280px;
    }

    /* Grids */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-badge {
        display: none;
    }
    .about-image img {
        height: 280px;
    }
    .about-list {
        grid-template-columns: 1fr;
    }

    .vm-wrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .keunggulan-grid {
        grid-template-columns: 1fr;
    }
    .program-grid {
        grid-template-columns: 1fr;
    }

    .bidang-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .training-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .gallery-item.wide {
        grid-column: span 1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .office-cards {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .japan-section {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bidang-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

/* STRUKTUR ORGANISASI */
/* ----- CSS VARIABLES ----- */
:root {
    --primary: #58c4b5;
    --primary-light: #eaf8f7;
    --connector: #111111;
    --shadow: #afafaf;
    --text: #111827;
    --background: #ffffff;
    --card-width-desktop: 400px;
    --card-min-height: 80px;
    --connector-thickness: 5px;
    --border-radius-card: 20px;

    --gold: #efbf04;
}

/* ----- BACKGROUND DECORATION (subtle geometric) ----- */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-decoration::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    clip-path: polygon(30% 0%, 100% 0%, 70% 100%, 0% 100%);
    opacity: 0.5;
    transform: rotate(10deg);
}

.bg-decoration::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -30px;
    width: 350px;
    height: 350px;
    background: var(--primary-light);
    clip-path: circle(45% at 20% 80%);
    opacity: 0.4;
}

/* main container */
.organization-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 40px auto 80px;
    text-align: center;
}

.organization-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

/* ----- CHART LAYOUT (CSS GRID utama desktop) ----- */
.organization-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

/* Level 1 : Pimpinan */
.level-pimpinan {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
}

/* Branch container (dua kolom di bawah pimpinan) */
.branches-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    width: 100%;
    margin-top: 0;
    position: relative;
}

/* Kolom kiri & kanan */
.branch-left,
.branch-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

/* Card style */
.organization-card {
    position: relative;
    background: var(--primary);
    width: var(--card-width-desktop);
    min-height: var(--card-min-height);
    border-radius: var(--border-radius-card);
    padding: 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 15px -8px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    word-break: break-word;
    z-index: 1;
}

/* Pseudo-element shadow kiri (aksen abu-abu) */
.organization-card::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 8px;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--shadow);
    z-index: -1;
    opacity: 0.7;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.05);
}

.organization-name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 22px;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.organization-role {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    color: var(--text);
    margin-top: 4px;
    line-height: 1.3;
}

/* Connector lines system */
.connector-vertical {
    width: var(--connector-thickness);
    background-color: var(--connector);
    margin: 0 auto;
}

.connector-horizontal {
    height: var(--connector-thickness);
    background-color: var(--connector);
}

/* Container untuk konektor antar level */
.connector-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Konektor dari pimpinan ke percabangan */
.pimpinan-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 5px 0 0;
}

.vertical-line {
    width: var(--connector-thickness);
    background-color: var(--connector);
}

.horizontal-bridge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    margin-top: 0;
}

.bridge-line {
    height: var(--connector-thickness);
    background-color: var(--connector);
    flex: 1;
}

.bridge-vertical-left,
.bridge-vertical-right {
    width: var(--connector-thickness);
    background-color: var(--connector);
}

/* Spesifik desktop konektor dari pimpinan ke dua cabang */
.desktop-bridge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
}

.vertical-down {
    height: 35px;
    width: var(--connector-thickness);
    background-color: var(--connector);
    margin: 0 auto;
}

.horizontal-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.left-arm,
.right-arm {
    height: var(--connector-thickness);
    background-color: var(--connector);
}

.left-drop,
.right-drop {
    width: var(--connector-thickness);
    background-color: var(--connector);
    margin: 0 auto;
    height: 30px;
}

/* Dalam cabang, konektor vertikal antar card */
.branch-connector {
    height: 35px;
    width: var(--connector-thickness);
    background-color: var(--connector);
    margin: 3px auto;
}

/* Mobile / tablet : ubah ke satu kolom */
@media (max-width: 950px) {
    .branches-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .organization-card {
        width: 100%;
        max-width: 380px;
    }

    .organization-name {
        font-size: 20px;
    }

    .organization-role {
        font-size: 16px;
    }

    /* Sembunyikan jembatan horizontal desktop, ganti dengan konektor vertikal mobile */
    .desktop-bridge-container {
        display: none;
    }

    /* Tampilkan konektor mobile khusus (satu kolom) */
    .mobile-single-connector {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: 5px 0;
    }

    .mobile-vertical {
        width: var(--connector-thickness);
        height: 30px;
        background-color: var(--connector);
    }

    .mobile-branch-label {
        display: none;
    }
}

@media (min-width: 951px) {
    .mobile-single-connector {
        display: none;
    }

    .desktop-bridge-container {
        display: flex;
    }
}

/* Penyesuaian kecil untuk tablet di bawah 1100px tapi masih di atas 950px */
@media (min-width: 951px) and (max-width: 1100px) {
    .branches-wrapper {
        gap: 50px;
    }
    .organization-card {
        width: 350px;
    }
}

/* Responsif kecil (mobile) */
@media (max-width: 500px) {
    .organization-card {
        width: 100%;
        max-width: 320px;
        padding: 14px 16px;
    }
    .organization-name {
        font-size: 18px;
    }
    .organization-role {
        font-size: 15px;
    }
}

/* Utility: pastikan teks tidak meluber */
.organization-card h3,
.organization-card p {
    margin: 0;
    padding: 0;
}

/* Struktur HTML menggunakan article */
article.organization-card h3 {
    font-size: inherit;
    font-weight: 700;
}

/* ========================
   BACK TO TOP BUTTON
   ======================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.35);
    transition: all 300ms ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(15, 118, 110, 0.45);
}

.back-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
