@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #ffffff;
    color: #111827;
    scroll-behavior: smooth;
}

/* ========== Navbar Modern Style ========== */
.navbar-modern {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-modern.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* 🔹 Container */
.logo-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    /* spasi antara logo dan teks */
}

/* 🔹 Logo Box */
.logo-box {
    width: 120px;
    /* lebih besar dari sebelumnya */
    height: 120px;
    /* sesuai tinggi desktop standar */
    flex-shrink: 0;
    overflow: hidden;

    /* floating effect */
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* proporsional */
}


/* 🔹 Brand Text */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    max-width: calc(100% - 90px);
    word-wrap: break-word;
}

.brand-name {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #1e40af, #0369a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge {
    font-size: 12px;
    font-weight: 600;
    color: black;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.brand-tagline {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin-top: 4px;
    font-style: italic;
}

/* 🔹 Responsif */
@media (max-width: 768px) {
    .logo-box {
        width: 55px;
        height: 55px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-badge {
        font-size: 10px;
    }

    .brand-tagline {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .logo-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .logo-box {
        width: 70px;
        height: 70px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-badge,
    .brand-tagline {
        font-size: 10px;
    }
}



.nav-link {
    color: #374151 !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1e40af, #0369a1);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #111827 !important;
}

.btn-login {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.3);
    color: #fff;
}

/* Navbar toggler */
.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: #1e40af;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Slider Styles */
.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    height: 700px;
    /* Default untuk layar besar */
    width: 100%;
    /* object-fit: cover; */
}

/* Untuk layar besar (desktop) */
@media (max-width: 1200px) {

    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 600px;
    }
}

/* Untuk layar tablet */
@media (max-width: 992px) {

    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 500px;
    }
}

/* Untuk layar HP besar */
@media (max-width: 768px) {

    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 400px;
    }
}

/* Untuk layar HP kecil */
@media (max-width: 576px) {

    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 300px;
    }
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    /* Default size untuk desktop */
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

/* 🔹 Untuk Tablet (Lebar ≤ 768px) */
@media (max-width: 768px) {

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 45px;
        /* Ukuran lebih kecil */
        height: 45px;
        font-size: 120px;
    }
}

/* 🔹 Untuk HP (Lebar ≤ 480px) */
@media (max-width: 480px) {

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        /* Lebih kecil lagi di HP */
        height: 35px;
        font-size: 18px;
    }
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }

    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* App Introduction Section */
.app-intro-section {
    padding: 60px 20px;
    background: linear-gradient(to right, #eff6ff 0%, #ecf9ff 100%);

}

.logo-exclusive {
    font-family: 'Playfair Display', serif;
    letter-spacing: -1px;
}

.intro-logo-box {
    width: 200px;
    height: 200px;
    /* background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    border-radius: 16px; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    margin: 0 auto 20px;
}

.intro-logo-text {
    color: white;
    font-weight: bold;
    font-size: 48px;
    font-family: 'Playfair Display', serif;
}

.intro-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

.intro-subtitle {
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #111827;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.intro-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: #475569;
    font-style: italic;
    margin-bottom: 24px;
    text-align: center;

}

.btn-primary-custom {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
    color: white;
}

.intro-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid oklch(.92 .02 250);
    color: #374151;
    /* font-size: 1.125rem; */
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #111827;
}

.intro-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

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

.stat-number {
    font-size: 1.875rem;
    font-weight: bold;
    color: #1e40af;
}

.stat-label {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Responsive untuk tablet */
@media (max-width: 768px) {
    .intro-card {
        padding: 24px;
    }

    .intro-card h3 {
        font-size: 1.375rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Responsive untuk mobile */
@media (max-width: 480px) {
    .intro-card {
        padding: 16px;
    }

    .intro-card h3 {
        font-size: 1.25rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}


/* Government Logos Section */
.gov-logos-section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #111827;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Pusatkan item */
    gap: 32px;
    margin-top: 48px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 1 150px;
    /* padding: 16px; */
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;

}



.logo-box-item {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    background-color: white;
    padding: 8px;
    transition: transform 0.3s ease;
}

.logo-label {
    font-size: 0.875rem;
    color: #374151;
    text-align: center;
    font-weight: 500;
    max-width: 120px;
    word-wrap: break-word;
}

/* Responsive untuk tablet */
@media (max-width: 768px) {
    .logo-grid {
        gap: 24px;
    }

    .logo-box-item {
        width: 70px;
        height: 70px;
    }
}

/* Responsive untuk mobile */
@media (max-width: 480px) {
    .logo-grid {
        gap: 16px;
    }

    .logo-box-item {
        width: 140px;
        height: 140px;
    }

    .logo-label {
        font-size: 0.75rem;
    }
}

.logo-aklah {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.logo-pemprov {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
}

.logo-kemenkeu {
    background: linear-gradient(135deg, #15803d 0%, #1e3a1f 100%);
}

.logo-bpk {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
}

.logo-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
}

.trust-statement {
    margin-top: 48px;
    background: linear-gradient(to right, #eff6ff 0%, #ecf9ff 100%);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #bfdbfe;
}

.trust-statement p {
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
}

.feature-card {
    background: white;
    border: 1px solid oklch(.92 .02 250);
    border-radius: 12px;
    padding: 32px;
    min-height: 300px;

    transition: all 0.1s ease;
}

.feature-card:hover {
    transform: translateY(-4);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #111827;
}

.feature-card p {
    color: #4b5563;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #eff6ff 0%, #ecf9ff 100%);
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background-color: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-check span {
    color: #16a34a;
    font-weight: bold;
}

.benefit-item h3 {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: #111827;
}

.benefit-item p {
    color: #4b5563;
}

.benefits-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid oklch(.92 .02 250);
}

.benefit-stat {
    text-align: center;
    padding: 24px 0;
}

.benefit-stat-number {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 8px;
}

.benefit-stat-label {
    color: #4b5563;
}

.benefit-divider {
    border-top: 1px solid #e5e7eb;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 24px;
    color: #111827;
}

.contact-section p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 32px;
}

.btn-secondary-custom {
    border: 2px solid #d1d5db;
    color: #111827;
    background-color: transparent;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    border-color: #9ca3af;
    color: #111827;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 48px 20px 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo-box {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    color: white;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

.footer-brand-name {
    font-weight: bold;
    color: white;
    font-family: 'Playfair Display', serif;
}

.footer-brand-desc {
    font-size: 0.875rem;
}

.footer-section h4 {
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-divider {
    border-top: 1px solid #374151;
    padding-top: 32px;
    margin-top: 32px;
    text-align: center;
    font-size: 0.875rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content-custom {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 448px;
    animation: slideUp 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

/* Modal Header */
.modal-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header-custom h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Close Button */
.modal-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: #4b5563;
}

/* Form Groups */
.form-group-custom {
    margin-bottom: 16px;
}

.form-group-custom label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group-custom input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group-custom input:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

/* Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.form-checkbox input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
}

/* Submit Button */
.modal-submit-btn {
    width: 100%;
    padding: 10px 0;
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

/* Footer Text */
.modal-footer-text {
    margin-top: 24px;
    text-align: center;
    font-size: 0.875rem;
    color: #4b5563;
}

.modal-footer-text a {
    color: #1e40af;
    font-weight: 500;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.modal-footer-text a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 576px) {
    .modal-content-custom {
        padding: 24px;
        width: 90%;
    }
}