:root {
    --primary: #14a84e; /* Green from logo */
    --primary-light: #1ec45f;
    --primary-dark: #0d7a39;
    --secondary: #f58421; /* Orange from logo */
    --accent: #00aeef; /* Blue from logo */
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --bg-light: #f9fbfb;
    --bg-white: #ffffff;
    --danger: #e74c3c;
    --success: #14a84e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Typography & Links */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(13, 110, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 110, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    height: 90vh;
    min-height: 600px;
    background: url('assets/hero-bg.jpg') center 40%/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 168, 78, 0.8), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Program Filter */
.program-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(20, 168, 78, 0.2);
}

/* Program Cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
}

.card-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px 40px 40px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.card-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    height: 72px;
}

/* About Section Improvements */
.about-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-main);
}

.vision-mission-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
    align-items: stretch;
}

.vision-card, .mission-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border-bottom: 4px solid var(--primary);
    transition: var(--transition);
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vision-card h3, .mission-card h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.mission-card ul {
    list-style: none;
    padding: 0;
}

.mission-card li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    align-items: flex-start;
}

.mission-card li i {
    color: var(--primary);
    margin-top: 4px;
}

/* Goals Section */
.goals-section {
    background: linear-gradient(135deg, var(--primary-dark), #1a252f);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.goals-header {
    text-align: center;
    margin-bottom: 40px;
}

.goals-header h3 {
    font-size: 2rem;
    color: white;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.goal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    transition: var(--transition);
}

.goal-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.goal-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.goal-item p {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Legal Box */
.about-footer {
    display: flex;
    justify-content: center;
}

.legal-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #e8f5e9;
    padding: 20px 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--secondary);
    max-width: 800px;
}

.legal-box i {
    color: var(--secondary);
    font-size: 1.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.team-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary);
}

.team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #f0f0f0;
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.team-photo img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    object-position: center bottom;
}

.team-card.main {
    border-bottom-color: var(--secondary);
    grid-column: span 1;
}

.team-card h4 {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.progress-bar {
    height: 10px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

/* Donor List */
.donor-list {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.donor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

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

.donor-info strong {
    display: block;
    color: var(--primary-dark);
}

.donor-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.donor-amount {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.7;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--bg-white);
    margin: 50px auto;
    padding: 40px;
    border-radius: var(--radius);
    max-width: 550px;
    position: relative;
    animation: modalSlide 0.4s ease-out;
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--primary-dark);
}

#program-name {
    color: var(--secondary);
    font-weight: 700;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

input[type="text"], 
input[type="number"], 
input[type="email"], 
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 110, 110, 0.1);
}

.nominal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.nominal-btn {
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.nominal-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }

    .vision-mission-wrapper {
        grid-template-columns: 1fr;
    }

    .goals-section {
        padding: 40px 20px;
    }

    .goals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20px;
        padding: 30px 20px;
    }
}

/* Custom Updates */
.slogan-text {
    font-style: italic;
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Frequency Selection */
.frequency-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.frequency-btn {
    display: block;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    user-select: none;
}

.frequency-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.frequency-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(20, 168, 78, 0.2);
}

/* Payment Provider Selection */
.payment-provider-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 540px) {
    .payment-provider-options {
        grid-template-columns: 1fr;
    }
}

.payment-provider-btn {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    background: #f8fafc;
}

.payment-provider-btn:hover {
    border-color: var(--primary-light);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.payment-provider-btn.active {
    background: #f0fdf4;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(20, 168, 78, 0.15);
}

.provider-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.provider-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.payment-provider-btn.active .provider-header {
    color: var(--primary-dark);
}

.provider-icon {
    font-size: 1.1rem;
    color: var(--primary);
}

.provider-sub {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.3;
}

/* Public Involvement Tab System */
.involvement-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.involvement-tab-btn {
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.involvement-tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.involvement-tab-btn.active {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(13, 122, 57, 0.2);
}

.involvement-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.involvement-tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.involvement-tab-content.active {
    display: block;
}

.involvement-form {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Payment Modal Specifics */
.payment-modal-content {
    max-width: 600px;
}

.bank-accounts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

@media (max-width: 600px) {
    .bank-accounts-container {
        grid-template-columns: 1fr;
    }
}

.bank-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bank-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.bank-card.bni {
    border-left: 5px solid #f58421; /* BNI Orange */
}

.bank-card.mandiri {
    border-left: 5px solid #00549c; /* Mandiri Blue */
}

.bank-logo-header {
    margin-bottom: 12px;
}

.bank-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.acc-num-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
}

.acc-num {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: #334155;
    letter-spacing: 0.5px;
}

.copy-acc-btn {
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary-dark);
    cursor: pointer;
    transition: var(--transition);
}

.copy-acc-btn:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.acc-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.payment-instructions {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    margin-bottom: 25px;
}

.transfer-amount-highlight {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
    margin-top: 5px;
}

.payment-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

