:root {
    --primary-color: #2196F3;
    --primary-dark: #1565C0;
    --primary-light: #64B5F6;
    --secondary-color: #2c3e50;
    --accent-color: #FF9800;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.navbar-brand img {
    height: 50px;
    margin-right: 12px;
}

.navbar-brand .sub-title {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-top: 2px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 400;
    padding: 10px 15px !important;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-login {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.9) 0%, rgba(33, 150, 243, 0.95) 100%);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 25s linear infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: float 30s linear infinite reverse;
}

@keyframes float {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.05);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.lampiran-pengumuman {
    margin-left: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 400;
    font-size: 13px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Selection Period Card */
.selection-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.selection-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.selection-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 20px;
}

.selection-title h3 {
    margin: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.selection-title p {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-left: auto;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.status-draft {
    background: #fff3cd;
    color: #856404;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.info-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item .label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.info-item .value {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 15px;
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
    color: white;
}

.btn-apply:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

.section-title h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 20px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    margin-left: auto;
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    width: 90%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 40px;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--border-color);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
}

.timeline-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.timeline-desc {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

/* Requirements Section */
.requirements-section {
    padding: 40px 0;
}

.requirement-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
}

.requirement-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.1);
    transform: translateY(-5px);
}

.requirement-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.requirement-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.requirement-card h4 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.requirement-card ul {
    margin: 0;
    padding-left: 20px;
    color: #6c757d;
}

.requirement-card li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Announcements Section */
.announcements-section {
    padding: 80px 0;
    /* background: var(--light-bg); */
}

.announcement-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-color);
    border-top: 3px solid var(--light-bg);
}

.announcement-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.announcement-date {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.announcement-date i {
    margin-right: 5px;
    color: var(--primary-color);
}

.announcement-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1rem;
}

.announcement-excerpt {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.announcement-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.accordion .card {
    border: none;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion .card-header {
    background: white;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
}

.accordion .btn-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
}

.accordion .btn-link.collapsed {
    color: var(--secondary-color);
}

.accordion .card-body {
    padding: 20px 25px;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-right: 15px;
}

.footer-logo .title {
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo .subtitle {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 3px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-contact li i {
    width: 25px;
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 1050;
    text-decoration: none;
}

.back-to-top:hover,
.back-to-top:focus {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(0) scale(1.05);
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .selection-card {
        margin-top: 30px;
        padding: 25px;
    }

    .selection-header {
        flex-wrap: wrap;
    }

    .selection-title {
        flex: 1;
    }

    .selection-status-mobile {
        width: 100%;
        margin-top: 15px;
    }

    .selection-status-mobile .status-badge {
        margin-left: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
    }

    .timeline-item:nth-child(odd) {
        margin-left: 0;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        text-align: left;
    }

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

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(33, 150, 243, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(33, 150, 243, 0);
    }
}
