/* ==================== RESET & VARIABLES ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #0a2540;
    --deep: #071b30;
    --accent: #2c6b9e;
    --accent-light: #4a90c4;
    --white: #ffffff;
    --off-white: #f7f9fc;
    --gray-border: #e2e8f0;
    --text: #0d1117;
    --text-muted: #4a5568;
    --shadow-sm: 0 4px 24px rgba(10, 37, 64, 0.07);
    --shadow-md: 0 16px 40px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 32px 64px rgba(10, 37, 64, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==================== TYPOGRAPHY ==================== */
body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
.logo {
    font-family: "Inter", sans-serif;
    letter-spacing: -0.04em;
}
h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--primary);
}
h2 {
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--primary);
    letter-spacing: -0.03em;
}
h3 {
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.02em;
}
p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (min-width: 769px) {
    body,
    a,
    button,
    .btn,
    .card,
    .gallery-item,
    [data-page] {
        cursor: none;
    }
}

/* ==================== CURSOR ==================== */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;

    width: 8px;
    height: 8px;

    background: var(--primary);
    border-radius: 50%;

    pointer-events: none;
    z-index: 10001;

    transform: translate(-50%, -50%);
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;

    width: 38px;
    height: 38px;

    border: 2px solid var(--primary);
    border-radius: 50%;

    pointer-events: none;
    z-index: 10000;

    opacity: 0.55;

    transform: translate(-50%, -50%);

    transition:
        width 0.25s var(--ease),
        height 0.25s var(--ease),
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;

    background: rgba(10, 37, 64, 0.08);

    border-color: var(--accent);
    opacity: 1;
}

.cursor-click .cursor-ring {
    width: 28px;
    height: 28px;

    background: rgba(10, 37, 64, 0.18);

    transition: all 0.1s ease;
}

/* Light up cursor on dark backgrounds */
.cursor-on-dark .cursor-dot {
    box-shadow: 0 0 12px rgba(126, 200, 240, 0.95), 0 0 24px rgba(126, 200, 240, 0.5);
}
.cursor-on-dark .cursor-ring {
    box-shadow: 0 0 16px rgba(126, 200, 240, 0.35);
}

@media (max-width: 768px) {
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
}

/* ==================== ENTRANCE ANIMATIONS ==================== */
@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes lineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.75s var(--ease) forwards;
}
.animate-scale-in {
    opacity: 0;
    transform: scale(0.88);
    animation: scaleIn 0.9s var(--ease-spring) forwards;
}
.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    animation: slideInRight 0.8s var(--ease) forwards;
}

/* ==================== PAGE TRANSITION ==================== */
#app {
    opacity: 1;
    transform: translateY(0);
}
#app.page-enter {
    animation: pageEnter 0.5s var(--ease) forwards;
}
@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.75s var(--ease),
        transform 0.75s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 34px 64px;
    animation: navSlideDown 0.7s var(--ease) forwards;
    transition: transform 0.4s var(--ease), padding 0.3s var(--ease), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
.navbar--hidden {
    transform: translateY(-110%);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    padding: 24px 64px;
    box-shadow: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-logo-img {
    height: 46px;
    width: auto;
}
.nav-logo-name {
    font-family: "Inter", sans-serif;
    font-size: 24px;
    font-weight: 850;
    color: var(--primary);
    letter-spacing: -0.05em;
}
.nav-logo-fallback {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    align-items: center;
}
.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s var(--ease);
    border-radius: 2px;
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}
.btn-nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 16px;
    transition:
        background 0.25s,
        transform 0.25s var(--ease-spring),
        box-shadow 0.25s !important;
}
.btn-nav-cta::after {
    display: none !important;
}
.btn-nav-cta:hover {
    background: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
}
.menu-icon {
    display: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: transform 0.3s var(--ease);
    z-index: 1002;
}
.menu-icon.active {
    transform: rotate(90deg);
}
.nav-avatar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    font-size: 22px;
    transition: background 0.3s, transform 0.3s var(--ease-spring);
    flex-shrink: 0;
}
.nav-profile-link:hover .nav-avatar-icon {
    background: rgba(10, 37, 64, 0.1);
    transform: translateY(-2px);
}
.nav-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s var(--ease-spring);
    flex-shrink: 0;
}
.nav-profile-link:hover .nav-avatar-img {
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .navbar,
    .navbar.scrolled {
        padding: 16px 24px;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 28px;
        z-index: 1001;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
        transition: right 0.45s var(--ease);
    }
    .nav-links.active {
        right: 0;
    }
    .menu-icon {
        display: block;
        z-index: 1002;
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 99px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--primary);
    color: white;
}
.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10, 37, 64, 0.25);
}
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}
.btn-cta {
    background: white;
    color: var(--primary);
    font-size: 15px;
}
.btn-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}
.btn-arrow i {
    transition: transform 0.25s var(--ease-spring);
}
.btn-arrow:hover i {
    transform: translateX(6px);
}

/* ==================== LAYOUT ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
}
section {
    padding: 90px 0;
}
.section-alt {
    background: var(--off-white);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-desc {
    font-size: 18px;
    max-width: 560px;
    margin: 16px auto 0;
    color: var(--text-muted);
}
.section-tag {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: rgba(44, 107, 158, 0.1);
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 18px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

/* ==================== CARDS ==================== */
.card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition:
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease),
        border-color 0.3s;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.card:hover::before {
    opacity: 1;
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    background: rgba(10, 37, 64, 0.07);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition:
        background 0.3s,
        transform 0.3s var(--ease-spring);
}
.card-icon-wrap i {
    font-size: 22px;
    color: var(--primary);
}
.card:hover .card-icon-wrap {
    background: var(--primary);
    transform: scale(1.1) rotate(-4deg);
}
.card:hover .card-icon-wrap i {
    color: white;
}
.card h3 {
    margin-bottom: 12px;
}
.card p {
    margin-bottom: 24px;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s var(--ease);
}
.card-link i {
    transition: transform 0.3s var(--ease-spring);
}
.card-link:hover {
    gap: 12px;
}
.card-link:hover i {
    transform: translateX(4px);
}

.card-program {
    position: relative;
}
.card-program-num {
    font-family: "Inter", sans-serif;
    font-size: 72px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.06;
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
    transition: opacity 0.3s;
    letter-spacing: -0.05em;
}
.card-program:hover .card-program-num {
    opacity: 0.12;
}
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(44, 107, 158, 0.1);
    padding: 6px 14px;
    border-radius: 99px;
    margin-top: 8px;
}

.card-news {
    padding: 0;
}
.card-news-img {
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.card-news:hover .card-news-img img {
    transform: scale(1.06);
}
.card-news-body {
    padding: 28px;
}
.news-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.fasilitas-img-wrap {
    margin-top: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 160px;
}
.fasilitas-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.card:hover .fasilitas-img-wrap img {
    transform: scale(1.04);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(155deg, #eef4fb 0%, #f8faff 50%, #edf2f9 100%);
    overflow: hidden;
}
.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-lines::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -100px;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(10, 37, 64, 0.06);
    border-radius: 50%;
    animation: rotateSlow 40s linear infinite;
}
.hero-lines::after {
    content: "";
    position: absolute;
    top: -50px;
    right: 50px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(44, 107, 158, 0.08);
    border-radius: 50%;
    animation: rotateSlow 25s linear infinite reverse;
}
.hero-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(44, 107, 158, 0.13) 0%,
        transparent 70%
    );
    top: -200px;
    right: -150px;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(10, 37, 64, 0.07) 0%,
        transparent 70%
    );
    bottom: -80px;
    left: 100px;
    animation: orbFloat 11s ease-in-out infinite reverse;
}
@keyframes orbFloat {
    0%,
    100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(30px, -20px);
    }
    66% {
        transform: translate(-20px, 30px);
    }
}
.hero-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 600px;
    width: 100%;
    flex-shrink: 0;
    text-align: left;
    margin-top: 0;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 0px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.7s var(--ease) 0.3s forwards;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 37, 64, 0.07);
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid rgba(10, 37, 64, 0.1);
    backdrop-filter: blur(4px);
    color: white;
}
.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.75);
    }
}
.hero-accent-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 99px;
    transform-origin: left;
    margin-top: 50px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeUp 0.6s var(--ease) 0.25s forwards;
}
.hero-title {
    margin-bottom: 12px;
    line-height: 0.95;
    opacity: 0;
    animation: fadeUp 0.85s var(--ease) 0.45s forwards;
}
.hero-title em {
    font-style: normal;
    position: relative;
    display: inline-block;
}
.hero-title em::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: left;
    animation: lineGrow 0.7s var(--ease) 1.1s forwards;
}
.hero-sub {
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 520px;
    line-height: 1.75;
    opacity: 0;
    animation: fadeUp 0.75s var(--ease) 0.6s forwards;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.75s var(--ease) 0.75s forwards;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 72px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 37, 64, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 36px;
    width: fit-content;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    animation: fadeUp 0.75s var(--ease) 0.9s forwards;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 28px;
}
.stat-item:first-child {
    padding-left: 0;
}
.stat-item:last-child {
    padding-right: 0;
}
.stat-number {
    font-family: "Inter", sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.05em;
}
.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--gray-border);
}
.hero-visual {
    position: absolute;
    right: 40px; /* Align with .hero-inner's padding */
    top: 50%;
    transform: translateY(-50%);
    margin-top: -150px;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: scaleIn 0.9s var(--ease-spring) 0.5s forwards;
}
@media (max-width: 1100px) and (min-width: 769px) {
    .hero-visual {
        width: 320px;
        height: 320px;
        right: 20px;
        margin-top: -100px;
    }
    .hero-center-icon {
        width: 70px;
        height: 70px;
    }
    .hero-center-icon i {
        font-size: 30px;
    }
    .hero-card-float {
        font-size: 11px;
        padding: 8px 14px;
    }
}
.hero-ring {
    width: 100%;
    height: 100%;
    animation: rotateSlow 30s linear infinite;
}
@keyframes rotateSlow {
    to {
        transform: rotate(360deg);
    }
}
.hero-center-icon {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(10, 37, 64, 0.3);
    animation: iconPulse 3s ease-in-out infinite;
}
.hero-center-icon i {
    font-size: 42px;
    color: white;
}
@keyframes iconPulse {
    0%,
    100% {
        box-shadow: 0 20px 60px rgba(10, 37, 64, 0.3);
    }
    50% {
        box-shadow: 0 20px 80px rgba(10, 37, 64, 0.5);
    }
}
.hero-card-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-border);
    white-space: nowrap;
}
.hero-card-float i {
    color: var(--accent);
}
.card-float-1 {
    top: 60px;
    left: -40px;
    animation: floatCard 5s ease-in-out infinite;
}
.card-float-2 {
    bottom: 80px;
    left: -60px;
    animation: floatCard 6s ease-in-out infinite 1s;
}
.card-float-3 {
    top: 50%;
    right: -20px;
    animation: floatCard 7s ease-in-out infinite 2s;
}
@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.6s var(--ease) 1.4s forwards;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}
@media (min-width: 1024px) {
    .hero-inner {
        margin-top: 0;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-inner {
        padding: 0 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-content {
        max-width: 100%;
        text-align: left;
    }
    .hero-buttons {
        flex-wrap: wrap;
    }
    .hero-stats {
        margin: 40px 0 0;
        padding: 18px 20px;
        flex-wrap: wrap;
        gap: 16px;
    }
    .stat-item {
        padding: 0 14px;
        align-items: flex-start;
    }
    .stat-divider {
        display: none;
    }
}

/* ==================== PAGE HERO ==================== */
.page-hero {
    padding: 160px 40px 80px;
    background: linear-gradient(155deg, #f0f5ff 0%, #fafbff 100%);
    position: relative;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 60% 80% at 80% 50%,
        rgba(44, 107, 158, 0.08),
        transparent
    );
    pointer-events: none;
}
.page-hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}
.page-hero h1 {
    margin: 12px 0 0;
}
.page-hero-sub {
    font-size: 18px;
    margin-top: 14px;
    max-width: 620px;
    line-height: 1.65;
}

/* ---- Page Hero Visual (decorative right side) ---- */
.page-hero-visual {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: scaleIn 0.9s var(--ease-spring) 0.4s forwards;
}
.page-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(44, 107, 158, 0.2);
}
.page-hero-ring-1 {
    width: 100%;
    height: 100%;
    animation: rotateSlow 25s linear infinite;
}
.page-hero-ring-2 {
    width: 70%;
    height: 70%;
    border-style: dotted;
    border-color: rgba(10, 37, 64, 0.12);
    animation: rotateSlow 20s linear infinite reverse;
}
.page-hero-center {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.25);
    animation: iconPulse 3s ease-in-out infinite;
    z-index: 2;
}
.page-hero-center i {
    font-size: 32px;
    color: white;
}
.page-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.1);
    border: 1px solid var(--gray-border);
    z-index: 3;
    opacity: 0;
}
.page-hero-float i {
    font-size: 14px;
    color: var(--accent);
}
.page-hero-float-1 {
    top: 10%;
    right: 0;
    animation: floatIn 0.6s var(--ease) 0.7s forwards, floatY 4s ease-in-out 1.3s infinite;
}
.page-hero-float-2 {
    bottom: 15%;
    left: -10%;
    animation: floatIn 0.6s var(--ease) 0.9s forwards, floatY 4.5s ease-in-out 1.5s infinite;
}
.page-hero-float-3 {
    top: 50%;
    right: -15%;
    animation: floatIn 0.6s var(--ease) 1.1s forwards, floatY 3.8s ease-in-out 1.7s infinite;
}
@keyframes floatIn {
    from { opacity: 0; transform: translateY(16px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.page-hero-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
}
.page-hero-dot-1 { top: 20%; left: 15%; animation: dotPulse 3s ease-in-out infinite; }
.page-hero-dot-2 { bottom: 25%; right: 20%; animation: dotPulse 3.5s ease-in-out 0.5s infinite; }
.page-hero-dot-3 { top: 55%; left: 5%; animation: dotPulse 4s ease-in-out 1s infinite; }
@keyframes dotPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.5); }
}

@media (max-width: 768px) {
    .page-hero-visual {
        display: none;
    }
    .page-hero .container {
        display: block;
    }
}

/* ==================== GALLERY ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s;
    backdrop-filter: blur(2px);
}
.gallery-overlay i {
    font-size: 28px;
    color: white;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==================== CTA ==================== */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        #0e3258 50%,
        var(--accent) 100%
    );
    border-radius: 40px;
    margin: 40px auto 60px;
    max-width: 1280px;
    position: relative;
    overflow: hidden;
}
.cta-inner {
    padding: 80px 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta-inner .section-tag {
    background: rgba(255, 255, 255, 0.15);
}
.cta-inner h2 {
    color: white;
    margin: 16px 0;
}
.cta-inner p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    margin-bottom: 36px;
}
.cta-highlight {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}
.cta-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}
.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    top: -100px;
    right: -100px;
    animation: orbFloat 10s ease-in-out infinite;
}
.cta-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    bottom: -80px;
    left: -60px;
    animation: orbFloat 14s ease-in-out infinite reverse;
}

/* ==================== PROFIL — UPDATED ==================== */
.profil-sambutan {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

/* Icon pengganti foto kepala sekolah */
.sambutan-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.25);
}
.sambutan-icon-wrap i {
    font-size: 40px;
    color: white;
}

.profil-sambutan blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 16px 0;
}
.sambutan-name {
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 640px) {
    .profil-sambutan {
        flex-direction: column;
        padding: 32px 24px;
    }
}

/* Visi-Misi Grid */
.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
@media (max-width: 768px) {
    .visi-misi-grid {
        grid-template-columns: 1fr;
    }
}

.visi-card {
    border-left: 4px solid var(--accent);
}

/* Misi List */
.misi-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}
.misi-list li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}
.misi-list li i {
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==================== PROGRAM / LAYANAN ==================== */
.price-table {
    margin-top: 24px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-border);
    font-size: 15px;
}
.price-row:last-child {
    border: none;
}
.price-row.highlight {
    color: var(--accent);
    font-weight: 600;
}
.price-val {
    font-weight: 600;
    color: var(--primary);
}

/* ==================== CONTACT ==================== */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-border);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(44, 107, 158, 0.1);
}
.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 300px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
    .kontak-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== REGISTRATION ==================== */
.reg-card {
    max-width: 800px;
    margin: 0 auto;
}
.step-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}
.step-dot-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s var(--ease);
}
.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-border);
    margin-bottom: 24px;
}
.step-dot-wrap span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
}
.step-dot.active {
    background: var(--primary);
    color: white;
}
.progress-track {
    height: 4px;
    background: var(--gray-border);
    border-radius: 99px;
    margin-bottom: 40px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 99px;
    width: 0%;
    transition: width 0.5s var(--ease);
}
.step-form {
    display: none;
}
.step-form.active-step {
    display: block;
    animation: fadeUp 0.4s var(--ease);
}
.step-form h3 {
    margin-bottom: 24px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.form-group input {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-border);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
}
.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(44, 107, 158, 0.1);
}
.program-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.program-option input {
    display: none;
}
.program-option-card {
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.program-option-card i {
    font-size: 28px;
    color: var(--text-muted);
    transition: color 0.3s;
}
.program-option-card span {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.program-option input:checked + .program-option-card {
    border-color: var(--primary);
    background: rgba(10, 37, 64, 0.04);
}
.program-option input:checked + .program-option-card i {
    color: var(--primary);
}
.upload-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.upload-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.upload-item label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.upload-item input {
    font-family: "Inter", sans-serif;
}
.confirm-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--off-white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 28px;
}
.confirm-box > i {
    font-size: 28px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    font-size: 14px;
    cursor: pointer;
}
.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--gray-border);
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .program-options {
        grid-template-columns: 1fr;
    }
    .step-connector {
        width: 30px;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--primary);
    padding: 72px 0 32px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 56px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 36px;
    filter: brightness(0) invert(1);
}
.footer-logo-name {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.05em;
}
.footer-col h4 {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.footer-col p,
.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: white;
}
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: all 0.3s var(--ease-spring);
    margin-bottom: 0;
}
.social-links a:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cta-section {
        margin: 20px 16px;
    }
    .cta-inner {
        padding: 48px 24px;
    }
    .container {
        padding: 0 20px;
    }
}
/* ==================== NILAI CAROUSEL ==================== */

.nilai-carousel-section {
    padding: 90px 0;
    background: linear-gradient(160deg, #f0f5fb 0%, #fafbff 60%, #eef3fa 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.nilai-carousel-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(44, 107, 158, 0.07) 0%,
        transparent 65%
    );
    pointer-events: none;
}
.nilai-carousel-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(
        circle,
        rgba(10, 37, 64, 0.05) 0%,
        transparent 65%
    );
    pointer-events: none;
}

/* ---- Wrapper ---- */
.carousel-wrapper {
    position: relative;
}

/* ---- Track ---- */
.nilai-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 16px 4px 24px;
    cursor: grab;
    outline: none;

    /* Hide scrollbar cross-browser */
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.nilai-carousel-track::-webkit-scrollbar {
    display: none;
}
.nilai-carousel-track:active {
    cursor: grabbing;
}

/* ---- Card ---- */
.nilai-card {
    flex: 0 0 320px;
    min-width: 0;
    scroll-snap-align: start;
    background: var(--white);
    border: 1.5px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px 32px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s var(--ease),
        border-color 0.35s ease;
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
    animation: nilaiCardIn 0.55s var(--ease) both;
    animation-delay: calc(var(--idx) * 0.1s);
}

@keyframes nilaiCardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Active / hover state */
.nilai-card.nilai-card-active,
.nilai-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 56px rgba(10, 37, 64, 0.14);
    border-color: var(--accent);
}

/* Top accent bar */
.nilai-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
    border-radius: 99px 99px 0 0;
}
.nilai-card.nilai-card-active::before,
.nilai-card:hover::before {
    transform: scaleX(1);
}

/* Large ghost number */
.nilai-card-number {
    font-family: "Inter", sans-serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    opacity: 0.055;
    position: absolute;
    top: 12px;
    right: 18px;
    letter-spacing: -0.05em;
    user-select: none;
    transition: opacity 0.3s;
}
.nilai-card.nilai-card-active .nilai-card-number,
.nilai-card:hover .nilai-card-number {
    opacity: 0.1;
}

/* Icon */
.nilai-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(10, 37, 64, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition:
        background 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nilai-card-icon-wrap i {
    font-size: 22px;
    color: var(--primary);
    transition: color 0.3s;
}
.nilai-card.nilai-card-active .nilai-card-icon-wrap,
.nilai-card:hover .nilai-card-icon-wrap {
    background: var(--primary);
    transform: scale(1.12) rotate(-5deg);
}
.nilai-card.nilai-card-active .nilai-card-icon-wrap i,
.nilai-card:hover .nilai-card-icon-wrap i {
    color: white;
}

/* Title */
.nilai-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

/* Desc */
.nilai-card-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* Bottom accent bar */
.nilai-card-bar {
    margin-top: 24px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.nilai-card.nilai-card-active .nilai-card-bar,
.nilai-card:hover .nilai-card-bar {
    transform: scaleX(1);
}

/* ---- Nav Buttons ---- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-border);
    background: var(--white);
    color: var(--primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.1);
}
.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.22);
}
.carousel-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}
.carousel-btn-prev {
    left: -22px;
}
.carousel-btn-next {
    right: -22px;
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
}

/* ---- Dots ---- */
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: none;
    background: var(--gray-border);
    cursor: pointer;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.carousel-dot.active {
    background: var(--primary);
    width: 28px;
}
.carousel-dot:hover:not(.active) {
    background: var(--accent);
    transform: scale(1.15);
}

/* ---- Progress Line ---- */
.carousel-progress-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.carousel-progress-line {
    width: min(260px, 90%);
    height: 2px;
    background: var(--gray-border);
    border-radius: 99px;
    overflow: hidden;
}
.carousel-progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 99px;
    transition: width 0.45s var(--ease);
}

/* ---- Responsive card widths ---- */
@media (min-width: 1100px) {
    .nilai-card {
        flex: 0 0 300px;
    }
}
@media (max-width: 600px) {
    .nilai-card {
        flex: 0 0 calc(90vw - 48px);
        padding: 28px 24px 24px;
    }
    .nilai-carousel-section {
        padding: 60px 0;
    }
}

/* ==================== PROFILE DASHBOARD ==================== */

/* Shell: full-viewport two-column layout */
.pd-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: calc(100vh - 70px);
    margin-top: 70px; /* navbar height */
    background: var(--off-white);
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@media (min-width: 1281px) {
    .pd-shell {
        border-left: 1px solid var(--gray-border);
        border-right: 1px solid var(--gray-border);
    }
}

/* ---- SIDEBAR ---- */
.pd-sidebar {
    background: var(--white);
    border-right: 1px solid var(--gray-border);
    padding: 32px 20px 40px;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scrollbar-width: none;
}
.pd-sidebar::-webkit-scrollbar {
    display: none;
}

/* Profile Card inside sidebar */
.pd-profile-card {
    background: linear-gradient(155deg, #eef4fb 0%, #f8faff 100%);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pd-profile-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 0;
}

/* Avatar */
.pd-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 32px rgba(10, 37, 64, 0.25);
    position: relative;
    z-index: 2;
    animation: iconPulse 3.5s ease-in-out infinite;
}
.pd-avatar-initials {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}
.pd-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1.5px solid rgba(44, 107, 158, 0.22);
    animation: ringExpand 3s ease-in-out infinite;
    z-index: 1;
}
.pd-avatar-ring-2 {
    inset: -18px;
    border-color: rgba(44, 107, 158, 0.1);
    animation-delay: 0.8s;
}
.pd-avatar-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #16a34a;
    border: 2.5px solid var(--white);
    z-index: 3;
    animation: pulseDot 2.5s ease-in-out infinite;
}

.pd-profile-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
    letter-spacing: -0.03em;
}
.pd-profile-handle {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}
.pd-minat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(44, 107, 158, 0.1);
    padding: 5px 13px;
    border-radius: 99px;
    margin-bottom: 16px;
}
.pd-minat-badge i {
    font-size: 10px;
}

/* Stats row in sidebar */
.pd-stat-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-top: 14px;
    border-top: 1px solid var(--gray-border);
    width: 100%;
}
.pd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(4px, 1vw, 10px);
    flex: 1;
    min-width: 0;
}
.pd-stat-num {
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}
.pd-stat-green {
    color: #16a34a !important;
}
.pd-stat-lbl {
    font-size: clamp(8px, 0.8vw, 10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
}
.pd-stat-sep {
    width: 1px;
    height: 32px;
    background: var(--gray-border);
    flex-shrink: 0;
}

/* Nav */
.pd-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.pd-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        transform 0.2s var(--ease-spring);
    position: relative;
}
.pd-nav-item:hover {
    background: rgba(10, 37, 64, 0.05);
    color: var(--primary);
    transform: translateX(3px);
}
.pd-nav-active {
    background: rgba(10, 37, 64, 0.07) !important;
    color: var(--primary) !important;
}
.pd-nav-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 0 3px 3px 0;
}
.pd-nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(10, 37, 64, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s,
        transform 0.3s var(--ease-spring);
}
.pd-nav-icon i {
    font-size: 13px;
    color: inherit;
}
.pd-nav-item:hover .pd-nav-icon,
.pd-nav-active .pd-nav-icon {
    background: var(--primary);
    transform: scale(1.08) rotate(-4deg);
}
.pd-nav-item:hover .pd-nav-icon i,
.pd-nav-active .pd-nav-icon i {
    color: white;
}
.pd-nav-chevron {
    margin-left: auto;
    font-size: 10px;
    opacity: 0;
    transform: translateX(-4px);
    transition:
        opacity 0.2s,
        transform 0.2s var(--ease);
}
.pd-nav-item:hover .pd-nav-chevron,
.pd-nav-active .pd-nav-chevron {
    opacity: 1;
    transform: translateX(0);
}
.pd-nav-danger {
    color: #b91c1c;
}
.pd-nav-danger:hover {
    background: rgba(185, 28, 28, 0.07) !important;
    color: #b91c1c !important;
}
.pd-nav-danger .pd-nav-icon {
    background: rgba(185, 28, 28, 0.08);
}
.pd-nav-danger:hover .pd-nav-icon {
    background: #b91c1c;
}
.pd-nav-divider {
    height: 1px;
    background: var(--gray-border);
    margin: 8px 0;
}

/* ---- MAIN CONTENT ---- */
.pd-main {
    padding: 40px;
    overflow-y: auto;
    min-width: 0;
}

/* Section visibility */
.pd-section {
    display: block;
}
.pd-section-hidden {
    display: none;
}

/* Section header */
.pd-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}
.pd-section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
    margin: 0;
}
.pd-section-title .gradient-text {
    font-size: inherit;
}

/* Identity Banner */
.pd-identity-banner {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        #0e3258 55%,
        var(--accent) 100%
    );
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.pd-id-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    right: -80px;
    top: -80px;
    filter: blur(40px);
    pointer-events: none;
}
.pd-id-orb-2 {
    width: 200px;
    height: 200px;
    left: -60px;
    bottom: -60px;
    background: rgba(255, 255, 255, 0.04);
}
.pd-id-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    margin-bottom: 24px;
}
.pd-id-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}
.pd-id-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.pd-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 14px;
    border-radius: 99px;
    backdrop-filter: blur(4px);
}
.pd-id-badge-green {
    background: rgba(22, 163, 74, 0.25);
    border-color: rgba(22, 163, 74, 0.4);
    color: #86efac;
}
.pd-id-badge i {
    font-size: 9px;
}

/* Content Card */
.pd-content-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s var(--ease);
}
.pd-content-card:hover {
    box-shadow: var(--shadow-md);
}

.pd-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-border);
}
.pd-card-label i {
    font-size: 12px;
}

/* Info Grid */
.pd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.pd-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-border);
    transition: background 0.2s;
}
.pd-info-item:nth-last-child(-n + 2) {
    border-bottom: none;
}
.pd-info-item:nth-child(odd) {
    padding-right: 28px;
    border-right: 1px solid var(--gray-border);
}
.pd-info-item:nth-child(even) {
    padding-left: 28px;
}
.pd-info-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(10, 37, 64, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s,
        transform 0.3s var(--ease-spring);
}
.pd-info-icon-wrap i {
    font-size: 14px;
    color: var(--primary);
    transition: color 0.3s;
}
.pd-info-item:hover .pd-info-icon-wrap {
    background: var(--primary);
    transform: scale(1.1) rotate(-4deg);
}
.pd-info-item:hover .pd-info-icon-wrap i {
    color: white;
}
.pd-info-lbl {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.pd-info-val {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
}

/* KPI Row */
.pd-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.pd-kpi-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.35s var(--ease-spring),
        box-shadow 0.35s var(--ease),
        border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.pd-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0;
}
.pd-kpi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(44, 107, 158, 0.3);
}
.pd-kpi-card:hover::before {
    opacity: 1;
}
.pd-kpi-accent {
    background: linear-gradient(135deg, var(--primary), #0e3258);
    border-color: transparent;
}
.pd-kpi-accent .pd-kpi-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}
.pd-kpi-accent .pd-kpi-icon-wrap i {
    color: white;
}
.pd-kpi-accent .pd-kpi-val,
.pd-kpi-accent .pd-kpi-lbl {
    color: white;
}
.pd-kpi-accent .pd-kpi-lbl {
    opacity: 0.7;
}
.pd-kpi-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(10, 37, 64, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition:
        background 0.3s,
        transform 0.3s var(--ease-spring);
}
.pd-kpi-icon-wrap i {
    font-size: 16px;
    color: var(--primary);
}
.pd-kpi-card:not(.pd-kpi-accent):hover .pd-kpi-icon-wrap {
    background: var(--primary);
    transform: scale(1.1) rotate(-5deg);
}
.pd-kpi-card:not(.pd-kpi-accent):hover .pd-kpi-icon-wrap i {
    color: white;
}
.pd-kpi-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.pd-kpi-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pd-kpi-lbl {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Block header (Layanan) */
.pd-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.pd-block-title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}
.pd-block-link {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s var(--ease);
}
.pd-block-link:hover {
    gap: 10px;
}
.pd-block-link i {
    font-size: 11px;
}

/* Layanan grid (5 cards, auto-wrap) */
.pd-layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

/* CTA banner */
.pd-cta-banner {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        #0e3258 55%,
        var(--accent) 100%
    );
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}
.pd-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

/* Security rows */
.pd-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.pd-security-row-border {
    border-top: 1px solid var(--gray-border);
    margin-top: 20px;
    padding-top: 20px;
}
.pd-security-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Empty state */
.pd-empty-state {
    text-align: center;
    padding: 60px 40px;
}
.pd-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(10, 37, 64, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.pd-empty-icon i {
    font-size: 28px;
    color: var(--primary);
}

/* ---- ANIMATIONS ---- */
@keyframes ringExpand {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .pd-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .pd-shell {
        grid-template-columns: 260px 1fr;
    }
    .pd-main {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .pd-shell {
        grid-template-columns: 1fr;
        margin-top: 64px;
    }
    .pd-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
        padding: 24px 16px;
    }
    .pd-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }
    .pd-nav-item {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 99px;
    }
    .pd-nav-chevron {
        display: none;
    }
    .pd-nav-active::before {
        display: none;
    }
    .pd-nav-divider {
        width: 1px;
        height: 32px;
        margin: 0 4px;
    }
    .pd-main {
        padding: 24px 16px;
    }
    .pd-info-grid {
        grid-template-columns: 1fr;
    }
    .pd-info-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
    .pd-info-item:nth-child(even) {
        padding-left: 0;
    }
    .pd-info-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--gray-border);
    }
    .pd-info-item:last-child {
        border-bottom: none;
    }
    .pd-kpi-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-identity-banner {
        padding: 24px;
    }
    .pd-id-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .pd-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .pd-cta-banner {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pd-kpi-row {
        grid-template-columns: 1fr 1fr;
    }
    .pd-layanan-grid {
        grid-template-columns: 1fr;
    }
    .pd-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.nav-profile-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    font-size: 34px;
    color: var(--primary);

    text-decoration: none !important;
    background: none !important;
    border: none !important;

    transition: 0.3s ease;
}

.nav-profile-link:hover {
    transform: translateY(-2px) scale(1.06);
    color: var(--accent);
}

.nav-profile-link::before,
.nav-profile-link::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

.nav-profile-link.active::after {
    display: none !important;
    width: 0 !important;
}

/* ==================== MOBILE RESPONSIVE ADDITIONS ==================== */
/* Add these rules to your existing CSS file (or include as a separate file) */

/* ---- HERO SECTION (Mobile) ---- */
@media (max-width: 768px) {
    .hero {
        padding: 90px 0 60px;
        min-height: 100svh;
        align-items: flex-start;
    }

    .hero-inner {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 0;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        text-align: left;
        margin-top: 0;
    }

    .hero-accent-line {
        margin-top: 16px;
        margin-bottom: 8px;
    }

    .hero-eyebrow {
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    h1.hero-title {
        font-size: clamp(32px, 9vw, 48px);
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .hero-sub {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.65;
    }

    .hero-buttons {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-stats {
        margin-top: 32px;
        padding: 18px 16px;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
    }

    .stat-item {
        padding: 0 10px;
        align-items: center;
        text-align: center;
    }

    .stat-item:first-child {
        padding-left: 0;
    }
    .stat-item:last-child {
        padding-right: 0;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .stat-divider {
        display: block;
        height: 36px;
        width: 1px;
    }

    /* Hide the floating visual on small screens */
    .hero-visual {
        display: none;
    }

    .hero-scroll-hint {
        bottom: 24px;
    }
}

@media (max-width: 400px) {
    .stat-divider {
        display: none;
    }
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        text-align: center;
    }
    .stat-item {
        padding: 0 6px;
        align-items: center;
    }
}

/* ---- NAVBAR (Mobile) ---- */
@media (max-width: 900px) {
    .navbar,
    .navbar.scrolled {
        padding: 14px 20px;
    }

    /* Overlay behind open menu */
    .nav-links.active::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(7, 27, 48, 0.45);
        z-index: -1;
        backdrop-filter: blur(4px);
    }

    .nav-links {
        padding: 88px 28px 40px;
        width: 82%;
        max-width: 320px;
        box-shadow: -24px 0 80px rgba(0, 0, 0, 0.18);
        gap: 22px;
    }

    .nav-link {
        font-size: 16px;
    }

    .btn-nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ---- BUTTONS (Mobile) ---- */
@media (max-width: 480px) {
    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }
}

/* ---- CONTAINER (Mobile) ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* ---- SECTION SPACING (Mobile) ---- */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

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

    .section-desc {
        font-size: 15px;
    }

    h2 {
        font-size: clamp(24px, 6vw, 36px);
    }
}

/* ---- GRID (Mobile) ---- */
@media (max-width: 640px) {
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ---- CARDS (Mobile) ---- */
@media (max-width: 768px) {
    .card {
        padding: 28px 24px;
        border-radius: var(--radius-md);
    }

    .card:hover {
        transform: translateY(-4px);
    }

    .card-news-img {
        height: 180px;
    }
}

/* ---- PAGE HERO (Mobile) ---- */
@media (max-width: 768px) {
    .page-hero {
        padding: 110px 20px 56px;
    }

    .page-hero h1 {
        font-size: clamp(28px, 8vw, 44px);
    }

    .page-hero-sub {
        font-size: 15px;
    }
}

/* ---- PROFIL SAMBUTAN (Mobile) ---- */
@media (max-width: 768px) {
    .profil-sambutan {
        gap: 28px;
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }

    .sambutan-icon-wrap {
        width: 72px;
        height: 72px;
    }

    .sambutan-icon-wrap i {
        font-size: 30px;
    }

    .profil-sambutan blockquote {
        font-size: 15px;
    }
}

/* ---- CTA SECTION (Mobile) ---- */
@media (max-width: 768px) {
    .cta-section {
        margin: 20px 16px 40px;
        border-radius: 24px;
    }

    .cta-inner {
        padding: 48px 24px;
    }

    .cta-inner h2 {
        font-size: clamp(22px, 6vw, 32px);
    }

    .cta-inner p {
        font-size: 15px;
    }

    .cta-inner .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-inner .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ---- GALLERY (Mobile) ---- */
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        border-radius: var(--radius-sm);
    }
}

/* ---- KONTAK GRID (Mobile) ---- */
@media (max-width: 768px) {
    .kontak-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .map-wrap {
        min-height: 240px;
    }
}

/* ---- REGISTRATION (Mobile) ---- */
@media (max-width: 640px) {
    .reg-card {
        padding: 0;
    }

    .step-indicators {
        gap: 0;
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .step-indicators::-webkit-scrollbar {
        display: none;
    }

    .step-connector {
        width: 24px;
        flex-shrink: 0;
    }

    .step-dot-wrap span {
        font-size: 10px;
    }

    .program-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-nav {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .form-nav .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ---- FOOTER (Mobile) ---- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding: 48px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 36px;
    }

    .footer-col p,
    .footer-col a {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 12px;
    }
}

/* ---- NILAI CAROUSEL (Mobile) ---- */
@media (max-width: 768px) {
    .nilai-carousel-section {
        padding: 56px 0;
    }

    .nilai-card {
        flex: 0 0 calc(85vw - 32px);
        padding: 28px 24px 24px;
    }

    .nilai-card-number {
        font-size: 64px;
    }
}

/* ---- PROFILE DASHBOARD (Mobile) ---- */
@media (max-width: 768px) {
    .pd-shell {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .pd-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
        padding: 20px 16px;
    }

    .pd-profile-card {
        padding: 22px 16px 18px;
    }

    .pd-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .pd-nav-item {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 99px;
        flex: 0 0 auto;
    }

    .pd-nav-chevron,
    .pd-nav-divider {
        display: none;
    }

    .pd-main {
        padding: 20px 16px;
    }

    .pd-kpi-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pd-kpi-card {
        padding: 16px;
        gap: 10px;
    }

    .pd-kpi-val {
        font-size: 14px;
    }

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

    .pd-info-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .pd-info-item:nth-child(even) {
        padding-left: 0;
    }

    .pd-info-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--gray-border);
    }

    .pd-info-item:last-child {
        border-bottom: none;
    }

    .pd-identity-banner {
        padding: 22px 20px;
        border-radius: var(--radius-lg);
    }

    .pd-id-inner {
        flex-direction: column;
        gap: 14px;
    }

    .pd-id-badges {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pd-cta-banner {
        padding: 22px 20px;
        border-radius: var(--radius-lg);
    }

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

    .pd-layanan-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .pd-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 420px) {
    .pd-layanan-grid {
        grid-template-columns: 1fr;
    }

    .pd-kpi-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- VISI MISI (Mobile) ---- */
@media (max-width: 640px) {
    .visi-misi-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ---- PRICE TABLE (Mobile) ---- */
@media (max-width: 480px) {
    .price-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        padding: 14px 0;
    }

    .price-val {
        font-size: 15px;
    }
}

/* ---- TOUCH / TAP IMPROVEMENTS ---- */
@media (hover: none) {
    /* Remove hover-only transforms on touch devices */
    .card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .card:hover::before {
        opacity: 0;
    }

    .btn-primary:hover,
    .btn-outline:hover,
    .btn-cta:hover {
        transform: none;
    }

    /* Increase tap target sizes */
    .nav-link,
    .card-link,
    .footer-col a {
        padding: 4px 0;
        display: inline-block;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* ---- SAFE AREA (iPhone notch / home bar) ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(32px + env(safe-area-inset-bottom));
    }

    .hero {
        padding-top: calc(90px + env(safe-area-inset-top));
    }
}

/* ---- PREVENT CONTENT OVERFLOW ---- */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: block;
}

/* ---- TYPOGRAPHY SCALE ADJUSTMENTS ---- */
@media (max-width: 480px) {
    h3 {
        font-size: 16px;
    }

    p {
        font-size: 14.5px;
    }

    .section-tag {
        font-size: 10px;
    }
}

/* ===== DYNAMIC PROJECT CARDS ===== */
.pd-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.pd-project-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(10, 37, 64, 0.06);
    box-shadow: 0 2px 12px rgba(10, 37, 64, 0.04);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}
.pd-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(10, 37, 64, 0.10);
}
.pd-project-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}
.pd-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.pd-project-card:hover .pd-project-image img {
    transform: scale(1.05);
}
.pd-project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: rgba(10, 37, 64, 0.15);
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}
.pd-project-type {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.badge-sewa {
    background: rgba(59, 130, 246, 0.85);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.badge-beli {
    background: rgba(16, 185, 129, 0.85);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.pd-project-body {
    padding: 20px;
}
.pd-project-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.pd-project-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.pd-project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.pd-project-meta-item .lbl {
    color: var(--text-muted);
    min-width: 90px;
    flex-shrink: 0;
}
.pd-project-meta-item .val {
    color: var(--primary);
}
.pd-project-meta-item .val.fw-semibold { font-weight: 600; }
.pd-project-meta-item .val.fw-bold { font-weight: 700; }
.pd-project-meta-item .val.text-primary { color: var(--accent, #3b82f6); }
.pd-project-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(10, 37, 64, 0.06);
}
.pd-project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Status Badge Colors */
.badge-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.badge-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.badge-awaiting_payment {
    background: rgba(99, 102, 241, 0.1);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.2);
}
.badge-payment_submitted {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.badge-completed {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.pd-project-notes {
    padding: 12px 16px;
    background: rgba(10, 37, 64, 0.03);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}
.pd-project-notes strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pd-project-notes p {
    color: var(--primary);
    font-style: italic;
}

/* ===== NOTIFICATION LIST ===== */
.pd-notifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pd-notification-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(10, 37, 64, 0.06);
    box-shadow: 0 2px 8px rgba(10, 37, 64, 0.03);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pd-notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}
.pd-notif-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-spring);
}
.pd-notification-item:hover .pd-notif-icon-wrap {
    transform: scale(1.08);
}

/* Notification Type Colors */
.pd-notif-info .pd-notif-icon-wrap {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.pd-notif-info { border-left: 3px solid rgba(59, 130, 246, 0.4); }

.pd-notif-success .pd-notif-icon-wrap {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.pd-notif-success { border-left: 3px solid rgba(16, 185, 129, 0.4); }

.pd-notif-warning .pd-notif-icon-wrap {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.pd-notif-warning { border-left: 3px solid rgba(245, 158, 11, 0.4); }

.pd-notif-danger .pd-notif-icon-wrap {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
.pd-notif-danger { border-left: 3px solid rgba(239, 68, 68, 0.4); }

.pd-notif-body {
    flex: 1;
    min-width: 0;
}
.pd-notif-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.pd-notif-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.4;
}
.pd-notif-time {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}
.pd-notif-message {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Utility helpers used in profile cards */
.me-1 { margin-right: 4px; }
.ms-1 { margin-left: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.w-100 { width: 100%; }
.text-muted { color: var(--text-muted); }
.italic { font-style: italic; }
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Responsive - Project Cards */
@media (max-width: 768px) {
    .pd-projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pd-project-image {
        height: 150px;
    }
    .pd-project-body {
        padding: 16px;
    }
    .pd-notification-item {
        padding: 16px;
        gap: 12px;
    }
    .pd-notif-icon-wrap {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }
    .pd-notif-header {
        flex-direction: column;
        gap: 4px;
    }
    .pd-notif-time {
        order: -1;
    }
}

@media (max-width: 480px) {
    .pd-project-meta-item .lbl {
        min-width: 80px;
    }
    .pd-project-name {
        font-size: 15px;
    }
}

/* ---- SMOOTH SCROLL ---- */
html {
    scroll-behavior: smooth;
}

/* Disable smooth scroll for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== ORG CHART ==================== */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.org-top {
    display: flex;
    justify-content: center;
    width: 100%;
}

.org-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.4s var(--ease-spring),
        box-shadow 0.4s var(--ease),
        border-color 0.3s;
    min-width: 200px;
    max-width: 280px;
    width: 100%;
}

.org-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

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

.org-card:hover::before {
    opacity: 1;
}

/* Leader card - prominent */
.org-card-leader {
    min-width: 260px;
    max-width: 320px;
    padding: 40px 32px 32px;
    border: 2px solid rgba(10, 37, 64, 0.12);
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.08);
}

.org-card-leader::before {
    opacity: 1;
    height: 4px;
}

.org-card-leader .org-card-avatar {
    width: 90px;
    height: 90px;
}

.org-card-leader .org-card-avatar-fallback {
    font-size: 32px;
}

.org-card-leader .org-card-name {
    font-size: 18px;
}

/* Avatar */
.org-card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid rgba(10, 37, 64, 0.08);
    transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}

.org-card:hover .org-card-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

.org-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-card-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.06), rgba(44, 107, 158, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    transition: background 0.3s;
}

.org-card:hover .org-card-avatar-fallback {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.org-card-name {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.org-card-position {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.4;
}

.org-card-bar {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 99px;
    margin: 0 auto;
    opacity: 0.4;
    transition: opacity 0.3s, width 0.3s var(--ease-spring);
}

.org-card:hover .org-card-bar {
    opacity: 1;
    width: 60px;
}

/* Connectors */
.org-connector {
    display: flex;
    justify-content: center;
    height: 40px;
}

.org-connector-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.3;
}

.org-members {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.org-members.org-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
}

.org-members.org-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 660px;
}

.org-members.org-cols-1 {
    display: flex;
    justify-content: center;
    max-width: 300px;
}

/* Horizontal connector line on desktop */
.org-members.org-cols-3::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(16.666% - 8px);
    right: calc(16.666% - 8px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    opacity: 0.3;
}

.org-members.org-cols-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(25% - 6px);
    right: calc(25% - 6px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    opacity: 0.3;
}

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

.org-member-vline {
    width: 2px;
    height: 32px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 2px;
    opacity: 0.3;
}

/* Hide vertical lines for row 2+ on desktop */
.org-members.org-cols-3 > .org-member-col:nth-child(n+4) .org-member-vline {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .org-members.org-cols-3,
    .org-members.org-cols-2 {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 280px;
    }

    .org-members.org-cols-1 {
        max-width: 280px;
    }

    /* Hide horizontal lines on mobile */
    .org-members.org-cols-3::before,
    .org-members.org-cols-2::before {
        display: none;
    }

    /* Show all vertical lines on mobile to create a single vertical chain */
    .org-members > .org-member-col .org-member-vline {
        display: block !important;
        height: 24px;
    }

    .org-connector {
        height: 24px;
    }

    .org-card {
        min-width: 0;
    }

    .org-card-leader {
        min-width: 0;
    }
}
