/* Loading Screen Styles */

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F3F4F6;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF5EA;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
    color: black;
}

.loading-logo {
    width: 210px;
    height: 210px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.loading-dot {
    width: 12px;
    height: 12px;
    background: #2D5A3A;
    border-radius: 50%;
}

.page-transition {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Classes */
.animate-hero {
    opacity: 0;
    transform: translateY(50px);
}

.animate-feature {
    opacity: 0;
    transform: translateX(-30px);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2D5A3A;
    text-align: center;
    margin-bottom: 5px;
}

.sub-title {
    font-size: 1.25rem;
    color: #2D5A3A;
    text-align: center;
    margin-bottom: 40px;
}

@keyframes float {

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

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

/* Custom styles to complement Tailwind CSS */

html {
    scroll-behavior: smooth;
}

/* Custom transition effects for hover states */
.transition-colors {
    transition: all 0.3s ease;
}

/* Navbar styles */
.nav-link {
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.25rem 0;
}

/* Prevent vertical movement or size changes on hover */
.nav-link:hover {
    transform: none;
}

/* Navigation items animation */
.nav-item {
    position: relative;
}

/* Navigation scroll effect */
.nav-scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Button hover effects enhancement */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.shadow-md:hover {
    transform: translateY(-5px);
}

/* Add overlay to the BinaBumi logo */
.logo-overlay {
    position: relative;
}

.logo-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 90, 58, 0.05);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-overlay:hover:after {
    opacity: 1;
}

/* Add JavaScript to enable scroll effect on navigation */