body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.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;
}

.snap-scroll-container {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: calc(100vh - 100px);
}

.snap-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: flex; /* Ensure flex for centering content */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    position: relative; /* Needed for absolute positioning of text-container */
    height: 100%;
    opacity: 0.8; /* Example opacity */
}

.item1 {
    background-image: url('slider1.jpg');
    background-size: cover;
    background-position: center;
}

.text-container1 {
    position: absolute;
    top: 50%;
    width: 700px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-container2 {
    position: absolute;
    top: 65%;
    width: 700px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.fontstyleh {
    color: black;
    font-weight: bold;
    font-size: 50px;
    margin: 10px;
}

.fontstylep {
    color: black;
    font-weight: bold;
    font-size: 30px;
    margin: 10px 0 0 0;
}


  
.item2 {
    background-image: url('slider2.jpg');
    background-size: cover;
    background-position: center;
}

h2{
    margin-left: 30px;
    margin-right: 30px;
}

p{
    font-size: 20px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}