@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@keyframes fade-in-down {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fade-in-down 1s ease-out forwards;
}

/* ===============================
   Card Menu – Landing Page
================================ */

.card-menu {
    display: block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 1rem;
    padding: 1.5rem;
    color: #ffffff;
    text-decoration: none;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.card-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(254, 205, 8, 0.5);
    box-shadow: 0 20px 40px rgba(254, 205, 8, 0.10);
}

/* Icon */
.card-icon {
    font-size: 2.5rem;
    color: #FECD08;
    margin-bottom: 1rem;
}

/* Title */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Description */
.card-desc {
    font-size: 0.875rem;
    color: #d1d5db; /* gray-300 */
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    width: auto;
    padding: 0.625rem 1.5rem;
    border-radius: 0.75rem;

    font-weight: 600;
    color: #000;
    text-decoration: none;

    background: linear-gradient(to right, #FECD08, #FDE047);

    border: 1px solid transparent;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(to right, #F4C400, #FACC15);
    border-color: rgba(254, 205, 8, 0.45);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary:focus-visible {
    outline: none;
}

/* ================= NAVBAR LINK UNDERLINE ================= */

/* ================= NAVBAR LINK ================= */

.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #F4C400;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #d1d5db;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* ================= DROPDOWN ================= */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 220px;
    background-color: rgba(15, 23, 42, 0.95); /* gelap & resmi */
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 50;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(255,255,255,0.1);
}

/* ================= MOBILE ================= */

.nav-link-mobile {
    display: block;
    padding: 0.75rem 1.25rem;
}

.nav-link-mobile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: underline;
}

/* =====================================
   CTA Button - Kemenkum
   ===================================== */

   .btn-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.75rem;

    padding: 0.75rem 1.5rem;

    font-size: 0.875rem;
    font-weight: 300;

    color: #ffffff;
    text-decoration: none;

    background-color: rgba(5, 6, 62, 0.8); /* kemenkumBlue/80 */
    border-radius: 9999px;

    overflow: hidden;

    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

/* Responsive font */
@media (min-width: 640px) {
    .btn-cta {
        font-size: 1rem;
    }
}

.btn-cta:hover {
    background-color: #05063e; /* kemenkumBlue */
}

/* Overlay shine */
.btn-cta__overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.1);

    transform: translateX(-100%) skewX(-12deg);
    transition: transform 0.5s ease-in-out;
}

.btn-cta:hover .btn-cta__overlay {
    transform: translateX(100%) skewX(-12deg);
}

/* Icon */
.btn-cta__icon {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

@media (min-width: 640px) {
    .btn-cta__icon {
        font-size: 1rem;
    }
}

.btn-cta:hover .btn-cta__icon {
    transform: rotate(12deg);
}

