/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    overflow-x: hidden;
}

/* Color System */
:root {
    --primary-red: background: linear-gradient(135deg, #9CA3AF 0%, #E5E7EB 100%);;
    --primary-red-dark: #B91C1C;
    --primary-red-light: #FEE2E2;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --success: #059669;
    --warning: #D97706;
    --error: #DC2626;
}

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

.text-accent {
    color: var(--primary-red);
}

.bg-light {
    background-color: var(--gray-50);
}

.section {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.2);
}

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

.btn-outline:hover {
    background-color: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navigation */
.nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--gray-800);
}

.logo {
    font-size: 1.5rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Back to Main Button */
.back-to-main {
    position: fixed;
    top: 100px;
    right: 24px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.back-to-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #DC2626 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    width: 100%;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: left;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.5;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.image-frame:hover {
    transform: rotate(0deg) scale(1.05);
}

.regent-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vision Mission Section */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.vision-card, .mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.vision-card h3, .mission-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.vision-card p {
    font-size: 1.125rem;
    color: var(--gray-700);
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    font-weight: 500;
}

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

.mission-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.5;
}

.mission-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.program-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.program-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
}

.program-features {
    list-style: none;
    margin-bottom: 24px;
}

.program-features li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-700);
}

.program-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.program-budget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--primary-red-light);
    border-radius: 8px;
}

.budget-label {
    color: var(--gray-700);
    font-weight: 500;
}

.budget-amount {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Target Section */
.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.target-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.target-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.chart-container {
    margin-bottom: 16px;
}

.chart-bar {
    background: var(--gray-200);
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 10px;
    width: 0%;
    transition: width 2s ease-in-out;
    position: relative;
}

.bar-label {
    display: block;
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.achievement-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 8px;
}

.achievement-label {
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

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

.quote-icon {
    font-size: 4rem;
    color: var(--primary-red-light);
    position: absolute;
    top: 16px;
    right: 24px;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-name {
    font-weight: 700;
    color: var(--gray-800);
}

.author-title {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    color: var(--white);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(2, 2, 2, 0.8) 100%),
        url('assets/img/kantor.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.final-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: #111827;
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-brand h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--gray-300);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.link-group h5 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.link-group a {
    display: block;
    color: var(--gray-300);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-meta {
    display: flex;
    gap: 24px;
}

.footer-meta a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-meta a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-links {
        display: none;
    }

    .back-to-main {
        top: 80px;
        right: 16px;
        font-size: 0.875rem;
        padding: 10px 16px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .targets-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
    }

    .cta-title {
        font-size: 2rem;
    }

    .final-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .program-card, .vision-card, .mission-card, .testimonial-card {
        padding: 24px;
    }

    .image-frame {
        width: 250px;
        height: 320px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.chart-animate {
    animation: chartGrow 2s ease-in-out forwards;
}

@keyframes chartGrow {
    from { width: 0%; }
    to { width: var(--target-width); }
}