body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background: #0f2027;
}

#animatedBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom, #00111a, #000);
    z-index: -2;
}

.background-blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: -1;
}

/* Common Styles */
.responsive-navbar {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2), 
                0 0 25px rgba(0, 150, 255, 0.1);
    z-index: 2000;
    display: flex;
    gap: 2rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #cccccc; 
    justify-content: center;
    align-items: center;
}

.responsive-navbar:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transform: translateY(1px);
    border: 2px solid  rgba(0, 150, 255, 0.1); 
}

/* Buttons */
.responsive-navbar .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: transform 0.2s ease;
}

.responsive-navbar .nav-item:hover {
    transform: scale(1.05);
}

.responsive-navbar .nav-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* Desktop View (top-right) */
@media (min-width: 769px) {
.responsive-navbar {
    position: absolute;
    top: 5.5rem;
    right: -1rem;
    max-width: 20%;
}
}

/* Mobile View (bottom inline) */
@media (max-width: 768px) {
.responsive-navbar {
    position: static; /* Make it flow below content */
    margin: 2rem auto 1rem auto;
    width: fit-content;
    padding: 0.6rem 2rem;
}
}
/* Responsive Glass Navbar (Non-Sticky) */
.responsive-navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 0.6rem 1rem;
    margin: 2rem auto;
    width: 90%;
    max-width: 500px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Common Nav Item Styles */
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: black;
    font-size: 0.85rem;
    transition: all 0.3s ease-in-out;
    padding: 0.4rem 1rem;
    border-radius: 1rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.nav-icon {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 8px rgba(94, 87, 87, 0.103);
    transform: scale(1.1);
}

/* Mobile View */
@media (max-width: 768px) {
.responsive-navbar {
    flex-direction: row;
}
}

/* Desktop View */
@media (min-width: 769px) {
.responsive-navbar {
    justify-content: flex-end;
    margin-top: 2rem;
    margin-right: 2rem;
    max-width: 13%;
}

.nav-item {
    flex-direction: row;
    gap: 0.5rem;
}

.nav-label {
    display: inline;
    font-weight: 500;
}
}

/* Map Styling */
#map {
width: 100%;
height: 100vh;
}

/* Search box style same as index.html */
.map-search {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 8px 12px;
    z-index: 2000;
}

.map-search input {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.map-search button {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.map-search button:active {
    background: rgba(255, 255, 255, 0.25);
box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.3) ,
            inset -2px -2px 4px #2c2a2a ;
transform: translateY(0px);
}

.map-search button:hover {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
.map-search {
    margin-top: 6.5rem;
align-items: end;
}
#map {
margin-top: 5rem;}
}
