* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    overflow: hidden; /* Prevents scrollbars due to video overflow */
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire background */
    z-index: -2; /* Ensures the video stays behind all other content */
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 5%; /* Adjusted for better spacing on smaller devices */
    z-index: 1; /* Keeps the container on top of the video */
}

.contact-box {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #000000;
    box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);
    position: relative;
}

.left,
.right {
    padding: 25px 40px;
}

.right {
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.resize-handle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: #2ecc71;
    cursor: se-resize;
    border-radius: 50%;
}

h2 {
    position: relative;
    padding: 0 0 10px;
    margin-bottom: 10px;
    color: #fff;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: #2ecc71;
}

.field {
    width: 100%;
    border: 4px solid rgba(255, 255, 255, 0);
    outline: none;
    background-color: rgba(136, 84, 84, 0.6);
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    margin-bottom: 22px;
    transition: .3s;
}

.field:hover {
    background-color: rgb(255, 255, 255);
    border-color: rgb(1, 255, 9);
}

textarea {
    min-height: 150px;
}

.btn {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: #2ecc71;
    color: #fff;
    font-size: 1.1rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition: .3s;
}

.btn:hover {
    background-color: #02f567;
}

.field:focus {
    border: 2px solid rgba(30, 85, 250, 0.47);
    background-color: #fff;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 1200px) {
    .contact-box {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        padding: 20px; /* Reduce padding for smaller screens */
    }

    .right {
        height: 300px; /* Adjusted for smaller screens */
    }
}

@media screen and (max-width: 880px) {
    .contact-box {
        grid-template-columns: 1fr; /* Stack columns */
    }

    .right {
        height: auto; /* Allow the height to adjust automatically */
    }

    .container {
        padding: 20px 10px; /* Adjust padding for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 1.5rem; /* Smaller font size for headers */
    }

    .field,
    .btn {
        font-size: 1rem; /* Smaller font size for input fields and buttons */
    }

    .field {
        padding: 0.5rem; /* Smaller padding */
    }
}
/* Footer */
footer {
    background-color: #111;
    width: 100%;
    padding: 20px;
    color: white;
}
.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.socialIcons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
}
.socialIcons a i {
    font-size: 2em;
    color: rgb(3, 125, 255);
    opacity: 0.9;
}
/* Hover effect on social media icons */
.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}
.footerNav {
    margin: 20px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBottom {
    background-color: #080a0b;
    padding: 20px;
    text-align: center;
}
.footerBottom p {
    color: white;
}
.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}
header {
    height: 6vh;
    background-color: #000000;
    font-family: Samarkan;
    font-size: 3.5vh;
    text-shadow: 0 0 55px #00aeff, 0 0 75px #00a9f8, 2px 0px 6px rgba(105, 36, 143, 0);
}

/*For the Header*/
.glass-navbar {
    background: rgba(50, 56, 7, 0.691); /* Slight white background for glass effect */
    backdrop-filter: blur(10px); /* Blurring effect */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding around the navbar */
    position: fixed; /* Fix the navbar to the top */
    top: 0; /* Align to the top */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust to perfectly center it */
    z-index: 1000; /* Ensure it stays above other elements */
    width: 90%; /* Set a width */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Center vertically */
}

.glass-navbar .logo {
    color: #ffffff; /* Logo text color */
    font-size: 1.5rem; /* Font size for the logo */
}

.glass-navbar .nav-links {
    list-style: none; /* Remove list styling */
    display: flex; /* Use flexbox for horizontal layout */
    gap: 20px; /* Space between links */
}

.glass-navbar .nav-links li {
    display: inline; /* Inline for list items */
}

.glass-navbar .nav-links a {
    text-decoration: none; /* Remove underline from links */
    color: #ffffff; /* Link color */
    font-size: 1rem; /* Font size for links */
    padding: 5px 10px; /* Padding for clickable area */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.glass-navbar .nav-links a:hover {
    background-color: rgb(0, 0, 0); /* Light background on hover */
    border-radius: 5px; /* Rounded corners on hover */
    color: #ffffff;
}

/* Add some margin to the content to prevent overlap with navbar */
.content {
    margin-top: 80px; /* Space for the fixed navbar */
    padding: 20px; /* Padding for content */
}
.logo img {
    max-width: 100%; /* Ensure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    width: 50px; /* Set a fixed width for the logo */
    border-radius: 5px; /* Optional: rounded corners */
}

.logo img:hover{
    color: green;
    background-color: #080a0b;
}

