* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f7fb;
    color: #0f172a;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #0D1164, #1278f4ff);
    color: #FCC61D;
    text-align: center;
    padding: 1.5rem 0;
    font-weight: 800;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.welcome-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.welcome-icon {
    font-size: 2.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Header Styles */
.header {

    color: #0D1164;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(252, 198, 29, 0.1) 50%, transparent 70%);
    animation: headerShimmer 3s infinite;
}

@keyframes headerShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;

}

.logo-icon {
    width: 5rem;
    height: 5rem;
    color: #0D1164;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    background: white;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px -1px rgba(190, 157, 157, 0.1);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* agar logo tidak terpotong */
    border-radius: 0.75rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;

}

.logo-text2 {
    display: flex;
    justify-content: center;
    /* pusatkan secara horizontal */
    align-items: center;
    /* pusatkan secara vertikal jika perlu */
    text-align: center;
    /* pusatkan teks di dalam elemen */
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    /* agar elemen mengambil lebar penuh */

}

.logo-text p {
    font-size: 0.875rem;
    opacity: 0.9;
    color: #FCC61D;
    font-weight: bold;

}

.nav {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #0D1164;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.hamburger:hover {
    background: rgba(252, 198, 29, 0.2);
}

.nav-menu {
    display: flex;
    gap: 1rem;
    transition: right 0.3s ease;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0D1164;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: #FCC61D;
    border: 1px solid #FCC61D;
}

.nav-link:hover {
    background: rgba(252, 198, 29, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-menu {
    display: none;
}

/* Main Content Styles */
.main-content {
    padding: 3rem 0;
}

.hero-container {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(13, 17, 100, 0.2), transparent);
}

.hero-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #142143;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c4c4c4;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FCC61D;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: "arial";
    color: #d9d9d9ff;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.tag-data {
    background: rgba(13, 17, 100, 0.1);
    color: #0D1164;
}

.tag-map {
    background: rgba(252, 198, 29, 0.1);
    color: #92400e;
}

.tag-access {
    background: #e2e8f0;
    color: #475569;
}

/* Feature Cards Styles */
.features-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

}

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #0D1164;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #FCC61D;
}

.feature-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feature-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(252, 198, 29, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0D1164;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(252, 198, 29, 0.2);
    transform: scale(1.1);
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-text h3 {
    color: #0D1164;
}

.feature-text p {
    color: #64748b;
    line-height: 1.6;
}

.feature-arrow {
    color: #FCC61D;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-arrow {
    transform: translateX(4px);
}

/* Attractive Button Styles */
.btn-more {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0D1164;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500, #FFD700);
}

.btn-more i {
    transition: transform 0.3s ease;
}

.btn-more:hover i {
    transform: translateX(4px);
}

/* Search and Table Styles */
.search-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 3rem;
    /* Menambahkan jarak atas */
}

.search-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0D1164;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-box {
    position: relative;
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.search-input:focus {
    outline: none;
    border-color: #FFD700;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
}

/* Enhanced Table Styles */
.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.data-table thead {
    background: linear-gradient(135deg, #0D1164, #1e3a8a);
    color: #FCC61D;
}

.data-table th,
.data-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.data-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.data-table tbody tr:nth-child(even):hover {
    background: #f1f5f9;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-aktif {
    background: #dcfce7;
    color: #16a34a;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-selesai {
    background: #dbeafe;
    color: #2563eb;
}

/* Modern Footer Styles */
.footer {
    background: linear-gradient(135deg, #0D1164 0%, #1e3a8a 50%, #2563eb 100%);
    color: #FCC61D;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #FFD700;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.footer-section p {
    color: rgba(252, 198, 29, 0.9);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(252, 198, 29, 0.9);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.contact-item:hover {
    background: rgba(252, 198, 29, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: #FFD700;
    width: 20px;
    font-size: 16px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #FFD700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(252, 198, 29, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FFD700;
    color: #0D1164;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(252, 198, 29, 0.2);
    color: rgba(252, 198, 29, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-banner {
        font-size: 1.5rem;
        padding: 1rem 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;

    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: #0D1164;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        z-index: 1000;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
        padding: 2rem 1rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .close-menu {
        display: block;
        background: none;
        border: none;
        color: #FCC61D;
        font-size: 1.5rem;
        cursor: pointer;
        align-self: flex-end;
        margin-bottom: 1rem;
        padding: 0.5rem;
        border-radius: 0.5rem;
        transition: background 0.3s ease;
    }

    .close-menu:hover {
        background: rgba(252, 198, 29, 0.1);
        color: #FFD700;
    }

    .nav-link {
        color: #FCC61D;
        background: none;
        border: none;
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: left;
        transition: background 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(252, 198, 29, 0.1);
        color: #FFD700;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .main-content {
        padding: 2rem 0;
    }

    .feature-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .feature-main {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .search-container {
        padding: 1.5rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Animation for smooth loading */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Hero slider styles and improved hero content */
.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image .slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image .slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    will-change: transform;
}

.hero-image .slide {
    min-width: 100%;
    height: 100%;
}

.hero-image .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 24, 60, 0.6);
    color: #fff;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
    backdrop-filter: blur(2px);
}

.hero-image .slider-nav:hover {
    background: rgba(16, 24, 60, 0.85);
}

.hero-image .slider-nav.prev {
    left: 12px;
}

.hero-image .slider-nav.next {
    right: 12px;
}

.hero-image .slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-image .slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    cursor: pointer;
}

.hero-image .slider-dots button.active {
    background: #FFD54A;
    width: 24px;
}

/* Ensure overlay sits below controls */
.hero-image::after {
    z-index: 1;
}

/* Improved hero content palette */
.hero-content {
    background: linear-gradient(135deg, #0D1164 0%, #6E8CFB 100%);
    color: #e5ecff;
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 180px at -10% 110%, rgba(147, 197, 253, 0.12), transparent 70%), radial-gradient(400px 160px at 120% -10%, rgba(16, 185, 129, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-title {
    color: #ffffff;
    letter-spacing: 0.3px;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: #FFD700;
}

.hero-description {
    color: #dce4f7;
}

/* Small decorations */
.welcome-date {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 0.2px;
}

.welcome-date small {
    font-weight: 400;
}

.footer-bottom .visitor-stats {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: rgba(252, 198, 29, 0.9);
}