body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('contactus.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.6; /* Adjust the opacity to your preference */
    z-index: -1; /* Ensure the background is behind all other elements */
}

.navbar {
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the contents of the navbar */
    padding: 0 20px;
    height: 100px;
    position: relative;
}

.logo {
    position: absolute;
    left: 20px;
}

.logo-img {
    height: 80px;
    width: 100px;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white; /* Set the link color to white */
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, text-decoration 0.3s ease;
    margin-left: 30px;
    margin-right: 30px;
    font-size: large;
}

.nav-link:hover,
.nav-link:focus {
    background-color: 495057;
    color: white; /* Ensure the color remains white on hover */
    text-decoration: underline;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    width: 300px;
    top: 100%;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0; /* Add padding to the dropdown menu */
    z-index: 1000; /* Ensure the dropdown appears above other elements */
}

.dropdown-item {
    color: #333;
    padding: 10px 10px; /* Add padding to dropdown items */
    margin: 20px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:not(:last-child) {
    margin-bottom: 5px; /* Add space between items */
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #575757;
    color: white;
    text-decoration: underline;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

h2{
    font-size: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

p{
    font-size: 20px;
    padding-left: 40px;
    padding-right: 40px;
}

.container {
    margin-top: 40px;
    text-align: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7); /* White background with 70% opacity */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    width: 500px;
    margin-left: 350px;
}

h1 {
    margin-bottom: 20px;
    font-size: 40px;
    color: #333;
}

.containerp {
    margin: 10px 0;
    font-size: 20px;
}
