/* General Reset */
body, ul, h1, h2 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Body Background */
.body1 {
    background-image: url(../images/backgroundrent.jpeg);/* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    font-family: 'Arial', sans-serif;
    height: 500px;
    width: 100%;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px 80px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 80px;
}

.nav-menu li {
    position: relative;
    padding: 10px;
}

.nav-menu a {
    text-decoration: none;
    color: black;
    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: black;
    background-color: black;
    transition: background-color 0.59s ease;

}

/* General Navbar Styling */
.nav-menu li {
    position: relative; /* For dropdown positioning */
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    padding: 8px 12px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007BFF; /* Highlight on hover */
}

/* Dropdown Menu Styling */
.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;
}
.h1{
    text-align: center;
    padding-top: 40px;
    font-size: xx-large;
    color:white;
    font-weight: lighter;
}
.h2{
    text-align: center;
    color:white;
    font-size: xx-large;
    padding-left: 100px;
    padding-top: 20px;
}
.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;
}