.body1{
    
    background-image:url(../images/propetybuybackground.jpeg);
    background-position:center;
    background-size: cover;
    background-repeat: repeat;
    width:100%;
    height:400px;
    padding:0%;
    margin: auto;
}
.h1{
    text-align: center;
    color: white;
    font-weight: bolder;
    padding-bottom: 600px;
    padding-top: 80px;
}
.navbar{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0px 0px;
}
.nav-menu{
    list-style: none;
    display: flex;
    gap: 80px;
}
.nav-menu li{
    position: relative;
    padding: 10px;
}
.nav-menu a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    transition: all 0.8 ease;
}
.nav-menu a:hover {
    color: white;
    background-color: black;
    transition: background-color 0.59s ease;

}
.nav-menu a:hover {
    color: #007BFF; /* Highlight on hover */
}
.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute; /* Positioned relative to parent */
    top: 100%; /* Align below the parent */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Subtle shadow */
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000; /* Ensure dropdown is above other content */
    min-width: 150px; /* Minimum width for dropdown */
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block; /* Make the links block elements */
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #007BFF; /* Highlight background on hover */
    color: white;
}
/* Dropdown Menu Styling */
.dropdown2:hover .dropdown-menu2 {
    display: block; /* Show dropdown on hover */
}

.dropdown-menu2 {
    display: none; /* Hidden by default */
    position: absolute; /* Positioned relative to parent */
    top: 100%; /* Align below the parent */
    left: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Subtle shadow */
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000; /* Ensure dropdown is above other content */
    min-width: 150px; /* Minimum width for dropdown */
}

.dropdown-menu2 li {
    margin: 0;
}

.dropdown-menu2 a {
    display: block; /* Make the links block elements */
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu2 a:hover {
    background-color: #007BFF; /* Highlight background on hover */
    color: white;
}
