
        :root {
            --primary: #1e3a8a;
            --primary-dark: #1e293b;
            --secondary: #0284c7;
            --accent: #f59e0b;
            --bg-light: #f8fafc;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --white: #ffffff;
            --border-color: #e2e8f0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

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

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s;
        }

        a:hover {
            color: var(--secondary);
        }

        header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .top-bar {
            background-color: var(--primary-dark);
            color: var(--white);
            font-size: 0.875rem;
            padding: 0.5rem 1rem;
        }

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

        .top-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--primary);
        }

        .logo-container i {
            font-size: 1.75rem;
            color: var(--secondary);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-dark);
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
        }

        .nav-links a.active, .nav-links a:hover {
            color: var(--secondary);
        }

        main {
            flex: 1;
            padding-bottom: 3rem;
        }

        .flash-messages {
            margin-top: 1rem;
        }

        .alert {
            padding: 1rem 1.25rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .alert-success {
            background-color: #dcfce7;
            color: #166534;
            border: 1px solid #bbf7d0;
        }

        .alert-error {
            background-color: #fee2e2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        footer {
            background-color: var(--primary-dark);
            color: var(--white);
            padding: 3rem 0 1.5rem;
            margin-top: auto;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-col h3 {
            font-size: 1.125rem;
            margin-bottom: 1rem;
            color: var(--white);
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .footer-col p, .footer-col li {
            color: #94a3b8;
            font-size: 0.9375rem;
            margin-bottom: 0.5rem;
        }

        .footer-bottom {
            border-top: 1px solid #334155;
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.875rem;
            color: #94a3b8;
        }

        html {
            scroll-behavior: smooth;
        }

        .back-to-top {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, #1e3a8a, #0284c7);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
            border: none;
            text-decoration: none;
        }
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        .back-to-top:hover {
            background: linear-gradient(135deg, #1e40af, #0369a1);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5);
            color: white;
        }
    

    .hero-section {
        background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
        color: white;
        padding: 4rem 1rem;
        border-radius: 16px;
        margin-top: 1.5rem;
        box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.3);
    }
    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        max-width: 700px;
    }
    .hero-btns {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
        text-align: center;
        border: none;
    }
    .btn-primary {
        background-color: var(--accent);
        color: var(--text-dark);
    }
    .btn-primary:hover {
        background-color: #d97706;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
    }
    .btn-outline {
        border: 2px solid white;
        color: white;
        background: transparent;
    }
    .btn-outline:hover {
        background-color: white;
        color: var(--primary);
        transform: translateY(-2px);
    }
    .btn-team {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.85rem 2rem;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.25s ease;
        text-align: center;
        background: linear-gradient(135deg, #1e3a8a, #0284c7);
        color: white;
        border: none;
        box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
        text-decoration: none;
    }
    .btn-team:hover {
        background: linear-gradient(135deg, #1e40af, #0369a1);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
    }
    .btn-team i {
        transition: transform 0.25s ease;
    }
    .btn-team:hover i {
        transform: translateX(3px);
    }
    .section {
        margin: 4rem 0;
    }
    .section-divider {
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        border-radius: 2px;
        margin: 0 auto 1rem;
    }
    .section-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 0.5rem;
    }
    .section-subtitle {
        color: var(--text-muted);
        font-size: 1.05rem;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }
    .card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        border: 1px solid var(--border-color);
    }
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    }
    .card-img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    .card-body {
        padding: 1.5rem;
    }
    .card-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--primary-dark);
    }
    .card-text {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    .meta-tag {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
        background: #e0f2fe;
        color: #0369a1;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    /* PROFIL LEMBAGA */
    .profile-intro {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        border-radius: 16px;
        padding: 2.5rem;
        margin-bottom: 3rem;
        border: 1px solid #bae6fd;
    }
    .profile-icon-box {
        flex-shrink: 0;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #1e3a8a, #0284c7);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
    }
    .profile-icon-box i {
        font-size: 2rem;
        color: #ffffff;
    }
    .profile-intro-text h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.25rem;
    }
    .profile-tagline {
        font-size: 1rem;
        color: var(--secondary);
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    .profile-intro-text p:last-child {
        color: var(--text-muted);
        line-height: 1.7;
    }

    /* Stats row */
    .stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    .stat-item {
        text-align: center;
        background: white;
        border-radius: 12px;
        padding: 1.75rem 1rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        transition: transform 0.25s, box-shadow 0.25s;
    }
    .stat-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
    }
    .stat-number {
        font-size: 2.25rem;
        font-weight: 800;
        background: linear-gradient(135deg, #1e3a8a, #0284c7);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }
    .stat-label {
        font-size: 0.875rem;
        color: var(--text-muted);
        font-weight: 500;
        margin-top: 0.25rem;
    }

    /* Detail grid */
    .profile-details-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin: 0 auto 2rem;
        max-width: 960px;
    }
    .profile-detail-card {
        background: white;
        border-radius: 10px;
        padding: 1.25rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        text-align: center;
        transition: transform 0.2s;
    }
    .profile-detail-card:hover {
        transform: translateY(-3px);
    }
    .detail-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: #e0f2fe;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 0.5rem;
    }
    .detail-icon i {
        color: #0284c7;
        font-size: 0.95rem;
    }
    .profile-detail-card h4 {
        font-size: 0.8rem;
        font-weight: 700;
        color: var(--primary-dark);
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    .profile-detail-card p {
        font-size: 0.875rem;
        color: var(--text-dark);
        line-height: 1.4;
        margin: 0;
    }
    .profile-detail-card small {
        font-size: 0.75rem;
        color: var(--text-muted);
    }

    /* Principles bar */
    .principles-bar {
        background: linear-gradient(135deg, #0f172a, #1e3a8a);
        border-radius: 12px;
        padding: 1.5rem 2rem;
        display: flex;
        align-items: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-bottom: 1.25rem;
    }
    .principles-label {
        color: white;
        font-weight: 700;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    .principles-label i {
        margin-right: 0.4rem;
    }
    .principles-list {
        display: flex;
        gap: 0.6rem;
        flex-wrap: wrap;
    }
    .principle-badge {
        background: rgba(255,255,255,0.15);
        color: #bae6fd;
        font-size: 0.8rem;
        font-weight: 600;
        padding: 0.35rem 0.9rem;
        border-radius: 9999px;
        border: 1px solid rgba(186, 230, 253, 0.3);
        backdrop-filter: blur(4px);
    }

    /* Address strip */
    .profile-address-strip {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        background: #f8fafc;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        padding: 1rem 1.5rem;
        font-size: 0.925rem;
        color: var(--text-muted);
    }
    .profile-address-strip i {
        color: #ef4444;
        font-size: 1.1rem;
    }

    /* PENGURUS / TEAM */
    .team-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    .team-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        text-align: center;
    }
    .team-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    }
    .team-photo {
        height: 160px;
        overflow: hidden;
        position: relative;
    }
    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .team-card:hover .team-photo img {
        transform: scale(1.06);
    }
    .team-photo-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .team-photo-placeholder i {
        font-size: 3rem;
        color: #93c5fd;
    }
    .team-info {
        padding: 1rem;
        text-align: center;
    }
    .team-name {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 0.15rem;
    }
    .team-position {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 600;
        color: white;
        background: linear-gradient(135deg, #1e3a8a, #0284c7);
        padding: 0.2rem 0.6rem;
        border-radius: 9999px;
        margin-bottom: 0.5rem;
    }
    .team-education {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 0.15rem;
        text-align: center;
    }
    .team-education i {
        color: #f59e0b;
        margin-right: 0.3rem;
    }
    .team-profession {
        font-size: 0.78rem;
        color: var(--secondary);
        font-weight: 600;
        margin-bottom: 0.4rem;
        text-align: center;
    }
    .team-bio {
        font-size: 0.75rem;
        color: var(--text-muted);
        line-height: 1.5;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    .team-socials {
        display: flex;
        gap: 0.4rem;
        justify-content: center;
    }
    .team-socials a {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        background: #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        font-size: 0.75rem;
        transition: all 0.2s;
    }
    .team-socials a:hover {
        background: var(--primary);
        color: white;
    }

    /* Team CTA */
    .team-cta {
        text-align: center;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--border-color);
    }

    /* Org Chart - Table Layout */
    .org-table {
        max-width: 900px;
        margin: 0 auto;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
    }
    .org-row {
        display: grid;
        grid-template-columns: 140px 1fr 1fr 1fr;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
    }
    .org-row:last-child {
        border-bottom: none;
    }
    .org-row-header {
        background: linear-gradient(135deg, #1e3a8a, #0284c7);
        color: white;
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }
    .org-row:not(.org-row-header):hover {
        background: #f8fafc;
    }
    .org-cell {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        color: var(--text-dark);
    }
    .org-cell-name {
        font-weight: 600;
    }
    .org-cell-edu, .org-cell-prof {
        color: var(--text-muted);
        font-size: 0.8rem;
    }
    .org-badge {
        display: inline-block;
        color: white;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 0.2rem 0.6rem;
        border-radius: 9999px;
    }

    /* Bidang Kegiatan */
    .bk-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    /* Work Programs */
    .wp-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .wp-card {
        background: white;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--border-color);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .wp-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    }
    .wp-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    .wp-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1rem;
        flex-shrink: 0;
    }
    .wp-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-dark);
    }
    .wp-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .wp-list li {
        font-size: 0.875rem;
        color: var(--text-muted);
        padding: 0.4rem 0;
        border-bottom: 1px dashed var(--border-color);
        line-height: 1.5;
    }
    .wp-list li:last-child {
        border-bottom: none;
    }

    /* Leadership highlight row */
    .team-leaders {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
        margin-bottom: 2.5rem;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }
    .team-leader-card {
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow);
        border: 2px solid #bae6fd;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        gap: 1.25rem;
        padding: 1.5rem;
        justify-content: center;
    }
    .team-leader-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
    }
    .team-leader-photo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
        border: 3px solid #e0f2fe;
    }
    .team-leader-placeholder {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border: 3px solid #e0f2fe;
    }
    .team-leader-placeholder i {
        font-size: 1.75rem;
        color: #93c5fd;
    }
    .team-leader-info h4 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-dark);
        margin-bottom: 0.15rem;
    }
    .team-leader-info .team-position {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }
    .team-leader-info .team-education {
        font-size: 0.8rem;
        margin-bottom: 0.15rem;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .hero-title { font-size: 1.75rem; }
        .hero-subtitle { font-size: 1rem; }
        .section-title { font-size: 1.5rem; }
        .profile-intro {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        .stats-row {
            grid-template-columns: repeat(2, 1fr);
        }
        .profile-details-grid {
            grid-template-columns: 1fr;
        }
        .principles-bar {
            flex-direction: column;
            text-align: center;
        }
        .principles-list {
            justify-content: center;
        }
        .team-grid {
            grid-template-columns: 1fr;
        }
        .org-row {
            grid-template-columns: 100px 1fr;
        }
        .org-cell-edu, .org-cell-prof, .org-row-header .org-cell:nth-child(3), .org-row-header .org-cell:nth-child(4) {
            display: none;
        }
        .wp-grid {
            grid-template-columns: 1fr;
        }
        .bk-grid {
            grid-template-columns: 1fr;
        }
    }
