@keyframes bounce {

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

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

.scroll-icon {
    animation: bounce 1.5s ease-in-out infinite;
}

.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.circle-wrapper {
    position: relative;
    transform: scale(0.9);
}

.circle-1 {
    animation: rotateCircle1 20s linear infinite;
}

.circle-2 {
    animation: rotateCircle2 15s linear infinite;
}

@keyframes rotateCircle1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCircle2 {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* ========== Dark Mode ========== */
html.dark {
    color-scheme: dark;
}

html.dark body {
    background-color: #0f1117;
    color: #d1d5db;
}

html.dark #navbar,
html.dark #mobile-menu {
    background-color: #1a1d26 !important;
}

html.dark #navbar {
    border-bottom: 1px solid #2d3140;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4) !important;
}

html.dark .bg-\[\#F6F6F6\] {
    background-color: #252830 !important;
}

html.dark .text-\[\#343741\] {
    color: #f3f4f6 !important;
}

html.dark .text-\[\#999999\] {
    color: #9ca3af !important;
}

html.dark .text-gray-500 {
    color: #9ca3af !important;
}

html.dark .faq-item:hover,
html.dark .faq-item.bg-\[\#F6F6F6\] {
    background-color: #252830 !important;
}

html.dark .border-t {
    border-color: #3d4150 !important;
}

html.dark .border-2.border-\[\#999999\] {
    border-color: #6b7280 !important;
}

html.dark .border-2.border-\[\#343741\] {
    border-color: #e5e7eb !important;
}

html.dark svg[stroke="#343741"] {
    stroke: #f3f4f6;
}

html.dark svg[stroke="#999999"],
html.dark svg[stroke="gray"] {
    stroke: #9ca3af;
}

html.dark #menu-button {
    color: #e5e7eb;
}

html.dark .faq-item svg {
    stroke: #e5e7eb;
}

html.dark .copyright-bar {
    background-color: #0f1117;
    color: #6b7280;
}

/* ========== Product Section ========== */
.product-scroll {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 0.5rem;
}

.product-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    width: min(85vw, 18.5rem);
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .product-card {
        width: 19rem;
    }
}

@media (min-width: 1024px) {
    .product-card {
        width: 20rem;
    }
}

.product-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    flex-shrink: 0;
}

html.dark .product-img-wrap {
    background-color: #1a1d26;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-card h1 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-card p {
    flex: 1;
}

.product-card > a {
    display: block;
    margin-top: auto;
    padding-top: 1.25rem;
}

/* ========== Global Theme Update ========== */
#navbar {
    background-color: #F69D39 !important;
}

#mobile-menu {
    background-color: #F69D39 !important;
}

html.dark #navbar,
html.dark #mobile-menu {
    background-color: #F69D39 !important;
}

#navbar ul a,
#mobile-menu ul a {
    color: #ffffff !important;
    transition: color 0.2s ease;
}

#navbar ul a:hover,
#mobile-menu ul a:hover {
    color: #000000 !important;
}

/* Contact Person button style (desktop + mobile) */
#navbar a > button {
    background-color: #FFFFFF !important;
    color: #FFC94D !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#navbar a > button:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* Card/container style across pages */
.product-card,
#testimoni .rounded-2xl,
.faq-item {
    background-color: #ffffff !important;
    color: #FFC94D !important;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.product-card h1,
.product-card p,
#testimoni .rounded-2xl h1,
#testimoni .rounded-2xl p,
.faq-item h3,
.faq-item p {
    color: #FFC94D !important;
    transition: color 0.25s ease;
}

.product-card:hover,
#testimoni .rounded-2xl:hover,
.faq-item:hover {
    background-color: #000000 !important;
}

