body {
    font-family: "Inter", sans-serif;
    background-color: #111827;
    scroll-behavior: smooth;
}

.primary-blue {
    background-color: #0065fdf3;
}

.primary-blue-hover:hover {
    background-color: #0052cc;
}

.hero-background {
    background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.9),
            rgba(22, 22, 22, 0.9)
        ),
        url("https://images.unsplash.com/photo-1639762681057-408e52192e55?q=80&w=2232&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 101, 253, 0.3);
}

.dropdown-container:hover .dropdown-content {
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-around;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.nav-link {
    font-size: 0.75rem;
    color: #000000;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: #76b900;
}

.section-heading {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
}

.product-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.product-description {
    font-size: 0.875rem;
    color: #ffffff;
}

.banner-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.banner-description {
    font-size: 1rem;
    color: #ffffff;
}

.content-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.content-description {
    font-size: 0.875rem;
    color: #9ca3af;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.footer-link {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0065fdf3;
}

.products-container,
.rules-container,
.guidelines-container,
.cases-container,
.faq-container,
.hubungi-container {
    margin-top: 2rem;
}

.footer-grid {
    gap: 2.5rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.input-field {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    color: white;
}

.input-field:focus {
    outline: none;
    border-color: #0065fdf3;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0065fdf3;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0052cc;
}

.faq-question {
    font-weight: bold;
    color: #ffffff;
}

.faq-answer {
    color: #9ca3af;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.product-image-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    padding: 20px;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.nav-background {
    background: #f5f5f5;
    border-bottom: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        opacity 0.3s ease;
    opacity: 1;
}

.nav-scrolled {
    background: #000000;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-background .nav-link,
.nav-background .logo-container a,
.nav-background #mobile-menu a {
    color: #000000 !important;
}

.nav-background .nav-link:hover,
.nav-background .logo-container a:hover,
.nav-background #mobile-menu a:hover {
    color: #76b900 !important;
}

.nav-background .mobile-menu-button svg {
    stroke: #000000;
}

.nav-scrolled .nav-link,
.nav-scrolled .logo-container a,
.nav-scrolled #mobile-menu a {
    color: white !important;
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .logo-container a:hover,
.nav-scrolled #mobile-menu a:hover {
    color: #76b900 !important;
}

.nav-scrolled .mobile-menu-button svg {
    stroke: white;
}

.nav-scrolled + #mobile-menu {
    background: #000000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f2937;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 0.25rem;
}

.dropdown-content a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.75rem;
}

.dropdown-content a:hover {
    background-color: #374151;
}

.mobile-menu-button {
    display: none;
}

@media (max-width: 767px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-menu {
        display: none;
    }
}

#mobile-menu {
    display: none;
    background: #f5f5f5;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

#mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #000000;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

#mobile-menu a:hover {
    color: #76b900;
}

.carousel {
    position: relative;
}

.carousel-inner {
    display: flex;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel:hover .carousel-prev,
.carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-prev,
.carousel-next {
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        opacity: 1;
    }
}

.products-container {
    margin-top: 2rem;
}

.products-container > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-container .p-6 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-description {
    flex-grow: 1;
}

.product-button {
    width: 100%;
    height: 48px;
    background-color: #0065fdf3;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.875rem;
}

.product-button:hover {
    background-color: #0052cc;
}

@media (min-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .product-image-container {
        height: 150px;
    }
}

@media (max-width: 640px) {
    .product-button {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    .product-image-container {
        height: 150px;
    }
}

/* Navigation Styles */
.nav-background {
    background: #f5f5f5;
    border-bottom: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease,
        opacity 0.3s ease;
    opacity: 1;
}

.nav-scrolled {
    background: #000000;
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-background .nav-link,
.nav-background .logo-container a,
.nav-background #mobile-menu a {
    color: #000000 !important;
}

.nav-background .nav-link:hover,
.nav-background .logo-container a:hover,
.nav-background #mobile-menu a:hover {
    color: #76b900 !important;
}

.nav-background .mobile-menu-button svg {
    stroke: #000000;
}

.nav-scrolled .nav-link,
.nav-scrolled .logo-container a,
.nav-scrolled #mobile-menu a {
    color: white !important;
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .logo-container a:hover,
.nav-scrolled #mobile-menu a:hover {
    color: #76b900 !important;
}

.nav-scrolled .mobile-menu-button svg {
    stroke: white;
}

.nav-scrolled + #mobile-menu {
    background: #000000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.75rem;
    color: #000000;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.nav-link:hover {
    color: #76b900;
}

.dropdown-container:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1f2937;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 0.25rem;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.75rem;
}

.dropdown-content a:hover {
    background-color: #374151;
}

/* Hero Section */
.hero-background {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
        url("https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80")
            no-repeat center center/cover;
}

/* Buttons and Cards */
.primary-blue {
    background-color: #0065fdf3;
}

.primary-blue-hover:hover {
    background-color: #0052cc;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.case-card {
    background-color: #1f2937;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.case-image {
    width: 100%;
    min-height: 200px;
    object-fit: contain;
}

/* Typography */
.section-heading {
    font-size: 2.25rem;
    font-weight: bold;
    color: white;
}

.banner-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.banner-description {
    font-size: 1rem;
    color: #ffffff;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.footer-link {
    font-size: 0.875rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #0065fdf3;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #1f2937;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.input-field {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #374151;
    border: 1px solid #4b5563;
    border-radius: 0.375rem;
    color: white;
}

.input-field:focus {
    outline: none;
    border-color: #0065fdf3;
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0065fdf3;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0052cc;
}

/* Warning Labels */
.warning-label {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #dc2626;
    color: white;
    font-weight: 600;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

.warning-label svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Social Buttons */
.social-button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #374151;
    color: white;
    border-radius: 0.375rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s;
}

.case-card {
    display: block; /* Pastikan case-card bisa disembunyikan/tampilkan */
}
