@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;600;700&family=Ropa+Sans&display=swap');
/* font-family: 'Jost', sans-serif;
font-family: 'Ropa Sans', sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: #f7f7f7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Ropa Sans', sans-serif;
}
p {
    font-family: 'Jost', sans-serif;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
}

#video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay */
    z-index: 1; /* Ensure the overlay is above the video */
}


.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    background-color: hsla(0, 31%, 55%, 0.3);
    height: 550px;
    border-radius: 16px;
}

.content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: crimson; /* Crimson color for heading */
}

.content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
   
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff; 
    
}

.form-group input,
.form-group textarea {
    width: 350px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
}

button[type="submit"] {
    width: 350px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: crimson; /* Crimson color for button */
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: rgb(0, 66, 153); /* Darker shade of crimson on hover */
}

/* Navigation bar styles */
.navbar {
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: #000;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-right: 20px;
    position: relative;
}

.nav-item a {
    color: hsla(0, 0%, 75%, 1);
    text-decoration: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: hsla(0, 0%, 20%, 0.5);
    padding: 10px;
    list-style: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #000;
    width: 100px;
    z-index: 2;
}

.dropdown-menu li {
    margin-bottom: 5px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu li:hover {
    background-color: hsla(0, 0%, 20%, 1);
    color: #000;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body{
        background-color: #000;
    }
    .content {
        height:500px;
        margin-top: 80px;
        width: 350px;
    }
    .content h1 {
        font-size: 1rem; /* Reduce heading size for smaller screens */
    }
    .content p {
        font-size: 1rem; /* Reduce paragraph size for smaller screens */
    }
    .form-container {
        padding: 20px; /* Reduce padding for smaller screens */
    }
   /* CSS for mobile navigation */
   .navbar {
    position: relative;
    z-index: 1;
}
.nav-list {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 250px;
    background-color: rgba(22, 136, 212, 0.5);
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.nav-list.active {
    display: block;
}
.nav-item {
    display: block;
    margin-bottom: 10px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100px;
    /* Display to the right of the parent */
    width: 120px;
    background-color: rgba(197, 33, 55, 0.5);
    /* Semi-transparent background */
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    /* Optional: Add shadow */
}
.dropdown-menu.active {
    display: block;
}
.dropdown-toggle {
    display: block;
}
/* Hide hamburger icon on larger screens */
.menu-toggle {
    display: none;
    z-index: 1;
}
.menu-toggle img{
    width: 40px;
    height: 40px;
    margin-top: 20px;
    margin-left: 20px;
    z-index: 1;
}
/* Show hamburger icon only on smaller screens */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 10px;
        /* Adjust as needed */
        left: 10px;
        /* Adjust as needed */
        cursor: pointer;
        z-index: 1;
    }
    .nav-list {
        position: fixed;
        top: 0;
        left: 0;
        max-width: 100vw;
        overflow-x: hidden;
        overflow-y: auto;
    }
}
/* Initially hide the navigation */
.nav-list {
display: none;
}
.navbar:hover .nav-list {
display: block;
}
.nav-list {
transition: opacity 0.5s ease-in-out;
}
.navbar:not(:hover) .nav-list {
opacity: 0;
pointer-events: none; 
}

.form-group input,
.form-group textarea {
    width: 300px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
}

button[type="submit"] {
    width: 300px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: crimson; /* Crimson color for button */
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: -30px;
}

button[type="submit"]:hover {
    background-color: rgb(0, 66, 153); /* Darker shade of crimson on hover */
}
#video-bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

}
