body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #005f3c;
    color: white;
    margin: 5px;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo h1 {
    margin-left: 10px;
    font-size: 24px;
    color: white;
    
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}
header nav ul li a.active {
    text-decoration: underline;
}
a:hover {
    color: #2980b9;
    text-decoration: underline;
}


#map {
    height: 400px;
    width: 100%;
    margin-top: 10px;
}

#events{
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#events-list {
    list-style-type:circle;
    padding: 0;
}
 /* Styling for the search container and dropdown */
 .search-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    z-index: 1000; /* Very high z-index for the search container */
}

#search-bar {
    width: 100%;
    padding: 8px;
    border: 1px solid black;
    border-radius: 10px;
    background-color: white;
    color:black;
}
#search-bar:hover{
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1050; /* Ensure it’s above the map */
    border-radius: 4px;
    margin-top: 4px;
}

.dropdown-item {
    color: #333;
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #ddd;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);

}
section{
    padding: 10px;
    margin: 20px 0;
    background-color:white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}
h2{
    text-align: center;
}

#migration {
    background-image: url("https://th.bing.com/th/id/R.23bcd8905c5440b4817a580885c4ec3f?rik=Gk4pOrgGmSx2Qg&riu=http%3a%2f%2fwallup.net%2fwp-content%2fuploads%2f2016%2f01%2f214916-animals-wildlife-nature-jaguars.jpg&ehk=%2bd4KdX1OytOgqC5Xsvld79IQgtVDYVBu8W8EJwBXPwU%3d&risl=&pid=ImgRaw&r=0");
    background-size: cover;
    background-position: center;
    color: rgb(255, 255, 255); 
    padding: 20px;
    border-radius: 8px;
    height: 100vh;
}

.info-map-container {
    display: flex;
    gap: 20px;
}

.info {
    flex: 1;
    width: 30%;
    padding: 15px;
    background-color: #ffffff;
    background-image: url("");
    color: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    line-height:35px;
    border:3px solid  #000000;
}
.info:hover{
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4);
}
/* Optional: adjust layout for smaller screens */
@media (max-width: 768px) {
    .info-map-container {
        flex-direction: column;
    }

    #map {
        min-width: 100%;
    }
}
#map {
    flex: 1;
    width:auto;
    height: 500px;
    margin: 20px;
    border-radius: 8px;
    
}

footer {
    background-color: #4d724d; /* Dark green background */
    color: #ffffff; /* White text color */
    padding: 20px 0;
    text-align: center;
    position: relative;
    width: 100%;
    bottom: 0;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-content p {
    margin: 0;
    font-size: 1em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #76b983; /* Lighter green for hover effect */
}