/* Reset dan dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STYLE DIPERBARUI ===== */
.header {
    background-color: #1e7e34; /* Hijau lebih gelap */
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bar Bawah */
.bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo dengan gambar di sebelah kanan teks */
.logo-with-img {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text-container h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text-container p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    margin: 0;
}

/* Navigasi */
.navbar ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar li {
    margin-left: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.navbar a i {
    margin-right: 8px;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar a.active {
    background-color: #28a745; /* Hijau lebih terang */
    font-weight: 600;
}

.navbar a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background-color: transparent;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #1e7e34, #28a745); /* Gradasi hijau */
    color: white;
    padding: 60px 0;
    margin-top: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.status-info {
    margin-bottom: 25px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 30px;
    font-weight: 600;
}

.status-badge i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: #218838; /* Hijau tosca */
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary i {
    margin-left: 8px;
}

.btn-primary:hover {
    background-color: #1e7e34;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.datetime-info {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.datetime-info i {
    margin-right: 5px;
}

/* Info Section */
.info-section {
    padding: 60px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1e7e34; /* Hijau */
    font-size: 2rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #28a745; /* Hijau */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #28a745; /* Hijau */
    margin-bottom: 20px;
}

.card h3 {
    color: #1e7e34; /* Hijau lebih gelap */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: #555;
    line-height: 1.6;
}

/* Page Content */
.page-content {
    padding: 40px 0;
    min-height: 65vh;
}

.page-title {
    color: #1e7e34; /* Hijau */
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745; /* Hijau */
    display: flex;
    align-items: center;
    font-size: 1.8rem;
}

.page-title i {
    margin-right: 10px;
}

/* Berita Page */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    background-color: #1e7e34; /* Hijau */
    color: white;
    padding: 20px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    font-size: 1.2rem;
    margin: 5px 0;
}

.news-date .year {
    font-size: 0.9rem;
    opacity: 0.9;
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-content h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-content p {
    margin-bottom: 15px;
    color: #555;
}

.btn-readmore {
    display: inline-flex;
    align-items: center;
    color: #28a745; /* Hijau */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.btn-readmore i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-readmore:hover {
    color: #1e7e34; /* Hijau lebih gelap */
}

.btn-readmore:hover i {
    transform: translateX(3px);
}

/* Jadwal Page */
.schedule-info {
    margin-bottom: 30px;
}

.info-box {
    background-color: #e8f5e9; /* Hijau sangat muda */
    border-left: 4px solid #28a745; /* Hijau */
    padding: 20px;
    border-radius: 5px;
}

.info-box h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.info-box h3 i {
    margin-right: 10px;
}

.schedule-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-table, .schedule-details {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.schedule-table h3, .schedule-details h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background-color: #1e7e34; /* Hijau */
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

table tr:nth-child(even) {
    background-color: #f8f9fa;
}

table tr:hover {
    background-color: #e8f5e9; /* Hijau sangat muda */
}

.schedule-details ul {
    list-style: none;
    margin-bottom: 20px;
}

.schedule-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.schedule-details li i {
    color: #28a745; /* Hijau */
    margin-right: 10px;
    margin-top: 3px;
}

.reminder {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.reminder h4 {
    color: #856404;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.reminder h4 i {
    margin-right: 8px;
}

/* Pencarian Page */
.search-section {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.search-info {
    margin-bottom: 25px;
}

.search-info h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.search-info h3 i {
    margin-right: 10px;
}

.search-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e7e34; /* Hijau */
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 8px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #28a745; /* Hijau */
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background-color: #6c757d;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

.btn-secondary i {
    margin-right: 8px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.search-result {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.result-info {
    margin-bottom: 20px;
    font-style: italic;
    color: #666;
}

.no-result {
    text-align: center;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.no-result i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.status-lulus {
    display: inline-block;
    background-color: #d4edda; /* Hijau muda */
    color: #155724; /* Hijau gelap */
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-tidak-lulus {
    display: inline-block;
    background-color: #f8d7da;
    color: #721c24;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.result-count {
    margin-top: 15px;
    font-weight: 600;
    color: #1e7e34; /* Hijau */
}

.sample-result {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.sample-result h4 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.sample-result h4 i {
    margin-right: 10px;
}

/* Pendaftaran Page */
.registration-status {
    margin-bottom: 30px;
}

.status-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #28a745; /* Hijau */
}

.status-card h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.status-card h3 i {
    margin-right: 10px;
}

.status-message {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.countdown {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.countdown h4 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.countdown h4 i {
    margin-right: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-item span:first-child {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e7e34; /* Hijau */
    line-height: 1;
}

.countdown-label {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #666;
}

.countdown-complete {
    text-align: center;
    padding: 20px;
    background-color: #d4edda; /* Hijau muda */
    border-radius: 8px;
    color: #155724; /* Hijau gelap */
}

.countdown-complete i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.registration-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.registration-info, .registration-form {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.registration-info h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.registration-info h3 i {
    margin-right: 10px;
}

.registration-info h4 {
    color: #1e7e34; /* Hijau */
    margin: 20px 0 10px 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.registration-info h4 i {
    margin-right: 10px;
}

.registration-info ul {
    list-style: none;
    margin-bottom: 25px;
}

.registration-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.registration-info li i {
    color: #28a745; /* Hijau */
    margin-right: 10px;
    margin-top: 3px;
}

.download-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    background-color: #28a745; /* Hijau */
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn-download i {
    margin-right: 8px;
}

.btn-download:hover {
    background-color: #218838; /* Hijau lebih gelap */
    color: white;
}

.registration-form h3 {
    color: #1e7e34; /* Hijau */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

.registration-form h3 i {
    margin-right: 10px;
}

.form-notice {
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #fff3cd;
    border-radius: 5px;
    color: #856404;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s;
    background-color: #f8f9fa;
}

.upload-area:hover {
    border-color: #28a745; /* Hijau */
}

.upload-area p {
    margin-bottom: 10px;
    color: #555;
}

.upload-area i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.upload-note {
    font-size: 0.9rem;
    color: #888;
}

.registration-notice {
    margin-top: 25px;
    padding: 15px;
    background-color: #d1ecf1;
    border-radius: 5px;
    color: #0c5460;
}

.registration-notice i {
    margin-right: 10px;
}

/* ===== FOOTER DIPERBAIKI ===== */
/* Hanya menampilkan copyright saja */
.footer {
    background-color: #1e7e34 !important;
    color: white !important;
    padding: 20px 0 !important;
    margin-top: 60px !important;
    border-top: none !important;
    text-align: center !important;
}

/* Sembunyikan semua child elements kecuali .footer-copyright */
.footer > *:not(.footer-copyright) {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Pastikan copyright ditampilkan */
.footer-copyright {
    display: block !important;
    text-align: center !important;
    padding: 15px 0 !important;
    font-size: 0.9rem !important;
    opacity: 0.9;
    width: 100% !important;
    margin: 0 !important;
    border: none !important;
}

/* Hapus semua pseudo-elements */
.footer::before,
.footer::after,
.footer-copyright::before,
.footer-copyright::after {
    display: none !important;
    content: none !important;
}

/* Hapus semua child spesifik yang mungkin ada */
.footer-content,
.footer-info,
.footer-logo,
.footer-top,
.footer-bottom,
.footer-widgets,
.footer-menu,
.footer-social,
.footer-links,
.footer-column,
.footer-section,
.footer-nav {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Hapus semua garis/pembatas */
.footer hr,
.footer .divider,
.footer .separator,
.footer .border-top {
    display: none !important;
    border: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo-section {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .logo-with-img {
        justify-content: center;
        width: 100%;
        text-align: center;
        flex-direction: column;
    }
    
    .logo-text-container {
        text-align: center;
        margin-top: 10px;
    }
    
    .navbar {
        width: 100%;
    }
    
    .navbar ul {
        justify-content: center;
    }
    
    .navbar li {
        margin: 0 8px 8px 0;
    }
    
    .navbar a.active::after {
        bottom: -5px;
    }
}

@media (max-width: 768px) {
    .logo-with-img {
        gap: 10px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-text-container h1 {
        font-size: 1.5rem;
    }
    
    .logo-text-container p {
        font-size: 0.8rem;
    }
    
    .navbar a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .navbar ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Responsive untuk bagian lain */
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        padding: 15px;
    }
    
    .news-date .day {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .news-date .month {
        margin: 0 10px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        width: 45%;
        margin-bottom: 15px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 15px 0 !important;
    }
    
    .footer-copyright {
        padding: 10px 0 !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 40px;
        height: 40px;
    }
    
    .logo-text-container h1 {
        font-size: 1.3rem;
    }
    
    .logo-text-container p {
        font-size: 0.75rem;
    }
    
    .navbar li {
        margin: 0 5px 5px 0;
    }
    
    .navbar a {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 12px 0 !important;
    }
    
    .footer-copyright {
        padding: 8px 0 !important;
        font-size: 0.8rem !important;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

.hidden {
    display: none !important;
}

/* Loading spinner */
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #1e7e34;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    background-color: #1e7e34;
    color: white;
    padding: 15px 0;
    margin-top: 60px;
}



