:root {
    --primary: #232F72;
    --primary-dark: #1a2357;
    --primary-light: #2e3d8a;
    --secondary: #F5A623;
    --accent: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #232F72 0%, #2e3d8a 100%);
    --gradient-secondary: linear-gradient(135deg, #F5A623 0%, #f7b83d 100%);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    color: var(--secondary);
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    padding: 6px 16px;
    border-radius: 50px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 2.5px;
    background: var(--dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--dark);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f6 100%);
    padding: 80px 24px 100px;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(35, 47, 114, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    margin-top: 8px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--light);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
}

/* Programs Preview */
.programs-preview {
    padding: 80px 0;
    background: var(--light);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.program-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.program-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.program-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--gray);
}

.program-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.program-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Profil Page */
.sejarah {
    padding: 80px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.text-content p {
    color: var(--gray);
    margin-bottom: 16px;
}

.milestones {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.milestone .year {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.milestone .desc {
    font-size: 0.875rem;
    color: var(--gray);
}

.stats-card {
    background: var(--gradient-primary);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.visi-misi {
    background: var(--light);
    padding: 80px 0;
}

.visi-misi .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.visi-box, .misi-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.visi-icon, .misi-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: white;
}

.visi-box h2, .misi-box h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.misi-box ul {
    list-style: none;
}

.misi-box li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
}

.misi-box li i {
    color: var(--secondary);
}

.struktur {
    padding: 80px 0;
}

.org-chart {
    text-align: center;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.org-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    text-align: center;
}

.org-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
}

.org-card.leader {
    background: var(--gradient-primary);
    color: white;
}

.org-card.leader .org-avatar {
    background: rgba(255, 255, 255, 0.2);
}

/* Program Page */
.all-programs {
    padding: 80px 0;
}

.programs-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}

.program-full-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow);
}

.program-full-card.popular {
    border: 2px solid var(--secondary);
}

.program-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.program-icon-large {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.program-full-card h3 {
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.program-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--gray);
    flex-wrap: wrap;
}

.program-detail i {
    color: var(--primary);
    margin-right: 5px;
}

.program-full-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.program-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.program-skills span {
    background: var(--light);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary);
}

/* Form Section */
.form-section {
    padding: 80px 0;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group label i {
    color: var(--primary);
    margin-right: 8px;
}

.required {
    color: var(--danger);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(35, 47, 114, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.notification {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
}

.notification.success {
    background: #d1fae5;
    color: #065f46;
}

.notification.error {
    background: #fee2e2;
    color: #991b1b;
}

.hidden {
    display: none;
}

/* Kontak Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-info {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-header {
    text-align: center;
    margin-bottom: 32px;
}

.info-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-detail strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group-input {
    position: relative;
    margin-bottom: 20px;
}

.form-group-input input,
.form-group-input textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.form-group-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.form-group-input textarea + i {
    top: 20px;
    transform: translateY(0);
}

.map-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.map-container h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
}

/* Footer */
footer {
    background: #0f172a;
    color: #64748b;
    padding-top: 60px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #64748b;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form button {
    background: var(--gradient-primary);
    border: none;
    padding: 0 16px;
    border-radius: var(--radius);
    color: white;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 32px 0;
        gap: 24px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .content-wrapper,
    .visi-misi .container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .programs-full-grid {
        grid-template-columns: 1fr;
    }

    .stats-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .form-container {
        padding: 24px;
    }
}