:root {
    --primary-color: #10b981;
    --secondary-color: #059669;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    --dark-color: #064e3b;
    --light-color: #f0fdf4;
    --accent-color: #047857;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    min-height: 100vh;
}

.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* position: relative; */
}

.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section {
    min-height: 50vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    /* background: linear-gradient(135deg, black 0%, #059669 100%); */
    background: black;
    opacity: 0.5;
    /* Bisa disesuaikan */
    z-index: 1;
}

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

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-modern {
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #0F181E 0%, #293741 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 53, 65, 0.6);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 53, 65, 0.6);
    color: white;
}

.btn-light-modern {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light-modern:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.carousel-modern {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.carousel-inner .carousel-item img {
    height: 60vh;
    object-fit: cover;
    width: 100%;
}

.dashboard-section {
    background: var(--light-color);
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.icon-emerald {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.icon-teal {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.icon-lime {
    background: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
}

.icon-forest {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.icon-mint {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
}

.icon-sage {
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
}

.icon-jade {
    background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
}

.opd-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.opd-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.modal-modern .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-modern .modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 2rem 2rem 1rem 2rem;
}

.modal-modern .modal-body {
    padding: 1rem 2rem 2rem 2rem;
}

.form-control-modern {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.captcha-section {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 2px dashed #0F181E;
}

.footer-section {
    background: linear-gradient(135deg, #0F181E 0%, #25323c 100%);
    color: white;
    padding: 60px 0 20px 0;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-elements::before,
.floating-elements::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {

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

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

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

    .hero-section {
        padding: 2rem 0;
    }

    .stat-card {
        margin-bottom: 1.5rem;
    }
}