body {
    margin: 0;
    font-family: "Playfair Display", serif;
    background: linear-gradient(to bottom right, #e7f4ec, #fdf6e3); /* Soft background gradient */
    scroll-behavior: smooth;
    color: #334e4c; /* Dark teal for text */
}

.navbar {
    font-family: "Playfair Display", serif;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Transparent background with blur */
    backdrop-filter: blur(10px);
}

.nav-item {
    position: relative;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-left: 20px;
    color: #5a8770; /* Calming greenish color */
}

.nav-item:hover {
    color: #334e4c; /* Dark teal on hover */
    transform: translateY(-2px);
}

/* Hamburger Menu */
.w-6 {
    background-color: #5a8770; /* Greenish color for hamburger icon */
}

/* Mobile Dropdown */
.navbar .absolute.top-2.right-2 {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.1); /* Transparent background with blur */
    backdrop-filter: blur(10px);
}

.hover-effect::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #5a8770; /* Greenish underline effect */
    transition: width 0.3s ease-in-out;
}

.hover-effect:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-item {
        margin-bottom: 15px;
        color: #5a8770; /* Greenish color for mobile items */
    }
    .navbar {
        background-color: transparent;
        backdrop-filter: none; /* Remove blur on mobile */
        justify-content: flex-start;
    }
    .navbar .absolute.top-2.right-2 {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-item {
        margin-bottom: 15px;
        color: #5a8770;
    }
    /* Remove glassmorphism on mobile */
    .navbar {
        background-color: transparent;
        /* Solid background for mobile */
        backdrop-filter: none;
        /* Remove the blur effect */
        justify-content: flex-start;
        /* Align items to the left on mobile */
    }
    .navbar .absolute.top-2.right-2 {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}
