/* --- 1. RESET & GLOBAL VARIABLES --- */
:root {
    --primary: #059669;
    --primary-dark: #064e3b;
    --secondary: #fbbf24;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --glow: 0 0 20px rgba(251, 191, 36, 0.6);
}

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

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--dark);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--secondary);
    color: var(--dark) !important;
    border-radius: 50px;
    font-weight: 700 !important;
}

.btn-nav:hover {
    background: #f59e0b;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: radial-gradient(circle at center, #059669 0%, #064e3b 100%);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.floating-item {
    position: absolute;
    z-index: 1;
    opacity: 0.8;
    font-size: 4rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
    animation: float 6s ease-in-out infinite;
}

.item-1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
    font-size: 5rem;
}

.item-2 {
    bottom: 20%;
    right: 25%;
    animation-delay: 2s;
    font-size: 4rem;
}

.item-3 {
    top: 25%;
    left: 10%;
    animation-delay: 4s;
    font-size: 3rem;
    opacity: 0.5;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: var(--glow);
    animation: float-reverse 8s linear infinite;
}

.p1 {
    top: 10%;
    left: 50%;
}

.p2 {
    bottom: 10%;
    right: 10%;
}

.p3 {
    top: 40%;
    right: 5%;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-reverse {
    0% {
        transform: translateY(0px) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateY(30px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.5;
    }
}

.btn-hero {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.2);
}

/* STATS */
.stats-section {
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid #e2e8f0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* KEPSEK */
.kepsek-section {
    padding: 100px 0;
    background: var(--light);
}

.kepsek-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.kepsek-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.kepsek-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: block;
}

.kepsek-content {
    flex: 1.5;
    min-width: 300px;
}

.quote {
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

/* JALUR */
.jalur-section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
    margin-bottom: 60px;
}

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

.jalur-card {
    padding: 40px 30px;
    border-radius: 20px;
    background: white;
    border: 1px solid #f1f5f9;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.jalur-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.icon-bg {
    width: 60px;
    height: 60px;
    background: #ecfdf5;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* TIMELINE */
.timeline-section {
    background-color: var(--dark);
    color: white;
    padding: 100px 0;
    position: relative;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

.timeline-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-row.reverse {
    flex-direction: row-reverse;
}

.timeline-content-side {
    width: 50%;
    padding: 0 40px;
    text-align: right;
}

.timeline-row.reverse .timeline-content-side {
    text-align: left;
}

.timeline-box-side {
    width: 50%;
    padding: 0 40px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--dark);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary);
}

.t-date {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.t-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.t-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
}

.t-box p {
    font-size: 0.95rem;
    opacity: 0.8;
    color: #cbd5e1;
}

/* CTA */
.cta-section {
    background: linear-gradient(180deg, var(--dark) 0%, #047857 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 35px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    padding: 18px 50px;
    background: var(--secondary);
    color: var(--dark);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.btn-cta:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* FOOTER */
footer {
    background: #022c22;
    color: #94a3b8;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: white;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #94a3b8;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .floating-item {
        font-size: 3rem;
    }

    .kepsek-wrapper {
        flex-direction: column;
    }

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

    .timeline-line {
        left: 20px;
    }

    .timeline-row,
    .timeline-row.reverse {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .timeline-content-side,
    .timeline-box-side {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }

    .t-box {
        margin-top: 15px;
    }
}
