@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #f43f5e;
    --secondary-dark: #e11d48;
    --secondary-light: #fb7185;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --white: #ffffff;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 16px 0;
    box-shadow: var(--shadow-lg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 28px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
    margin-top: 40px;
}

.section-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    padding-bottom: 15px;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.4s ease;
}

.section-title:hover::after {
    width: 120px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0 80px;
}

.feature-card {
    background: var(--white);
    border-radius: 28px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(244, 63, 94, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.profile-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 40px 32px;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.profile-card ul {
    list-style: none;
    margin-top: 20px;
}

.profile-card li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.profile-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
}

.struktur-card {
    background: var(--white);
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    margin: 40px 0 60px;
    box-shadow: var(--shadow-lg);
}

.struktur-card h2 {
    color: var(--primary);
    margin-bottom: 24px;
}

.struktur-card img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}


.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.program-card {
    background: var(--white);
    border-radius: 28px;
    padding: 32px;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.program-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.program-duration {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 16px 0 12px;
}

.program-card p {
    color: var(--gray);
}

.form-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 130px 20px 80px;
    background: #ffffff;
}

.form-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef2f6;
}

.form-card-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    text-align: center;
    padding: 32px 30px;
    color: white;
}

.form-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 30px;
}

.form-card-body .input-wrapper .fa-map-marker-alt {
    top: 18px !important;
    transform: none !important;
}

.form-card-body #alamat {
    padding-top: 14px;
    line-height: 1.5;
}

.form-card-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-card-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.form-card-body {
    padding: 32px 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    background: #f8fafc;
    font-family: inherit;
}

.input-wrapper textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 14px;
    background: #f8fafc;
    font-family: inherit;
    resize: vertical;
    min-height: 70px;
}

.input-wrapper textarea+.input-icon {
    top: 14px;
    transform: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

.input-wrapper input:focus+.input-icon,
.input-wrapper select:focus+.input-icon,
.input-wrapper textarea:focus+.input-icon {
    color: var(--primary);
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%2394a3b8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 35px;
}

.btn-submit {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.error-message {
    color: var(--secondary);
    font-size: 0.7rem;
    margin-top: 5px;
    display: block;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 50px auto;
    max-width: 900px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    padding: 28px 24px;
    color: white;
}

.contact-info h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.contact-info>p {
    opacity: 0.85;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    transition: 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-details h4 {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

.contact-details p {
    font-weight: 600;
    font-size: 0.85rem;
}

.contact-form {
    background: var(--white);
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eef2f6;
}

.contact-form h2 {
    color: var(--primary);
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 67px;
}

.map-container {
    margin-top: 40px;
    border-radius: 28px;
    overflow: hidden;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.table-container {
    background: var(--white);
    border-radius: 28px;
    padding: 24px;
    margin: 40px 0 60px;
    overflow-x: auto;
    box-shadow: var(--shadow-lg);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-edit {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin-right: 8px;
}

.btn-delete {
    background: var(--secondary);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 40px;
    max-width: 420px;
    text-align: center;
}

.modal-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 12px;
}

.modal-content button {
    margin-top: 28px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: white;
    opacity: 0.8;
    transition: 0.3s;
    font-size: 1.1rem;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 1024px) {

    .features-grid,
    .profile-grid,
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 77px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 77px);
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 30px;
    }

    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features-grid,
    .profile-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-card-header {
        padding: 25px 20px;
    }

    .form-card-header h2 {
        font-size: 1.4rem;
    }

    .form-card-body {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 560px) {
    .form-card {
        max-width: 100%;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }
}