/* Premium Modern Theme */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Premium Color Palette */
    --primary: #0f172a;
    /* Deep Royal Blue */
    --primary-light: #1e293b;
    --secondary: #d97706;
    /* Amber Gold */
    --accent: #3b82f6;
    /* Electric Blue */
    --bg-color: #f8fafc;
    /* Very Light Gray */
    --card-bg: rgba(255, 255, 255, 0.8);
    /* Glass Effect */
    --text-main: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;
    --border-color: rgba(226, 232, 240, 0.8);
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    border-radius: 1rem;
}

/* Navbar */
.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-login {
    background: var(--primary);
    color: var(--text-white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Slider / Hero */
.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    /* Full height on desktop */
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    height: 100%;
    width: 100%;
}

.banner-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Fallback Hero Content (if needed) */
.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Buttons */
.btn-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-white);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Slider Navigation */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: white;
    color: var(--primary);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
}

/* Info Section (Cards) */
.info-section {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    background: var(--bg-color);
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.info-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.info-card i {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 5%;
    background: white;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--accent);
    /* Updated from primary to accent for pop */
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s;
}

.timeline-step:hover .step-circle {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* KIP Scholarship */
.kip-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.kip-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.kip-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
    /* Override default */
}

.kip-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.kip-card .btn-main {
    background: white;
    color: var(--primary);
}

.kip-card .btn-main:hover {
    background: var(--secondary);
    color: white;
}

/* RPL Flow */
.rpl-section {
    padding: 6rem 5%;
    background: var(--bg-color);
}

.rpl-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.rpl-step {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.rpl-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.rpl-number {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.rpl-step:hover .rpl-number {
    background: var(--primary);
    color: white;
}

.rpl-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Marquee */
.marquee-container {
    background: var(--primary);
    padding: 1rem 0;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
footer {
    background: white;
    color: var(--text-light);
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* Mobile Responsive Fixes */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        /* Hidden by default on mobile, handled by JS toggle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-soft);
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 1rem 0;
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--primary);
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }

    .slider-container {
        height: 40vh;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-main,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 2rem;
        padding-left: 1.5rem;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        left: 29px;
        top: 0;
    }

    .timeline-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        margin: 0;
    }

    .step-circle {
        margin: 0;
        flex-shrink: 0;
    }

    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    .kip-card {
        padding: 2rem;
    }

    .kip-card h2 {
        font-size: 1.75rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center;
    }

    .branding-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-socials {
        justify-content: center;
    }

    .map-section .glass-card {
        height: 300px !important;
    }

    /* Premium Informasi Page */
    .premium-header h1 {
        font-size: 2.25rem !important;
        padding-top: 2rem;
    }

    .premium-header p {
        font-size: 1.1rem !important;
    }

    .premium-content {
        padding: 3rem 5% !important;
    }

    .registration-steps div {
        flex-direction: row !important;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .slider-container {
        height: 45vh;
        /* Taller on very small screens to avoid squashing */
    }

    .banner-bg {
        background-position: center center;
    }
}