body {
    font-family: 'nunito', sans-serif;
    line-height: 1.6;
    color: black;
    margin: 0;
    padding: 0;
}

body h1 {
    text-align: center;
    font-size: 35px;
}

.header {
    min-height: 100vh;
    position: relative;
    color: black;
    overflow: hidden; /* Ensure video does not overflow */
}

/* Background video styling */
#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
    z-index: -1; /* Place it behind the content */
}

/* Top Bar (Logo and Search Bar) */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.top-bar img {
    width: 300px;
    height: auto;
    padding-left: 10px;
}

/* Search Bar Styling */
#search-bar {
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    outline: none;
    
    background-color: #f1f1f1;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: width 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

#search-bar:focus {
    width: 300px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

/* Navigation Styling */
nav {
    display: flex;
    justify-content: right;
    margin-top: 10px;
}

.nav_links ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav_links ul li {
    padding: 8px 20px;
}

.nav_links ul li a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

.nav_links ul li a:hover {
    color: rgb(85, 198, 243);
}

.menu-toggle {
    display: none;
}

/* Hero Content */
.hero-content {
    text-align: left;
    position: relative;
    padding-left: 10px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: left;
}

#typing-container {
    list-style: none;
    padding: 0;
    font-size: 20px;
    padding-bottom: 10px;
}

.header-slideshow {
    width: 600px;
    height: 500px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    border-radius: 10px;
    padding-left: 600px;
    padding-bottom: 10px;
}

.header-slideshow img {
    width: 700px;
    height: 500px;
    position: absolute;
    opacity: 0;
    transition: opacity 1s;
    border-radius: 10px;
}

.header-slideshow img.active {
    opacity: 1;
}

/* Main Section */
.main h1 {
    text-align: center;
    font-size: 35px;
}

.main h3 {
    color: green;
    padding-left: 10px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.cta-button {
    background-color: #5cb85c;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.cta-button:hover {
    background-color: #4cae4c;
    transform: scale(1.05);
}

.cta-button:active {
    transform: scale(0.98);
}

/* Contact Section */
.Contact {
    color: black;
    margin-bottom: 20px;
}

.Contact h3 {
    color: green;
    margin-top: -10px;
    padding-left: 10px;
}

/* Contact Form and Map Styling */
.contact-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.contact_form {
    width: 50%;
    padding-left: 20px;
    margin-bottom: 10px;
}

.contact_form  input,
.contact_form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.contact_form textarea {
    height: 150px;
}

.contact_form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #5cb85c;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.contact_form button:hover {
    background-color: #4cae4c;
}

.map {
    width: 50%;
    padding-left: 20px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* General Form Styling */
.form-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ccc;
    z-index: 9;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    animation: twistIn 0.5s ease-in-out;
}

.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
    color: black;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin: 5px 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-container .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #5cb85c;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    margin-bottom: 10px;
}

.form-container .btn.cancel {
    background-color: #d9534f;

}

.form-container .btn:hover {
    background-color: #4cae4c;
}

.form-container .btn.cancel:hover {
    background-color: #c9302c;
}

/* Twist Animation */
@keyframes twistIn {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
        opacity: 1;
    }
}


.why{
    padding-left: 10px; 
}

#typing-container2 {
    list-style: none;
    padding: 0;
    font-size: 20px;
    padding-bottom: 10px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}
.hamburger-menu span {
    background: #333;
    height: 3px;
    margin: 4px 0;
    width: 25px;
    border-radius: 15px;
}


/* Notification styling */
#notification {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50; /* Success background color */
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 9999;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 4s forwards;
}

/* Fade in/out animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}




/* ///responsiveness  */
@media screen and (max-width: 768px){
    .header{
        min-height: 40vh;
    }

    .header .top-bar img{
       scale: 0.6;
       margin-left: -15px;
    }

    body{
        overflow:auto;
        scrollbar-width: 0px;
        overflow-x: hidden;
        
       
    }
    body::-webkit-scrollbar {
        display: none; 
    }
    .header .top-bar{
        display: block;
        align-content: center;
    }

    .header .top-bar input{
        margin-top: 5px;
        margin-left: 0;
        scale: 0.9;
    }

    .nav_links ul {
        display: none; /* Initially hide navigation links */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        position: absolute;
        top: 10px;
        left: 0;
        width: 100%;
        height: 10px;
        padding: 10px 0;
    }
    .hamburger-menu {
        display: flex;
        margin-top: -120px;
        
    }
    #search-bar {
        max-width: 100%;
        margin-left: 70px;
    }

    .logo{
        margin-left: -10%;
    }
    .hero-content h1{
        font-size: 20px;
        margin-left: 1px;
        text-align: left;
        margin-top: 10px;
    }
    #typing-container {
        font-size: 15px;
        margin-left:1px;
    }
    .cta-button{
        font-size: 15px;
        padding: 5px 15px;
        border-radius: 20px;
        margin-top: 10px;
       
    }
    
    .nav_links ul.active {
        display: flex; /* Show links when active */
        width: 50%;
        height: 100%;        
        text-align: left;
        background-color: rgba(255, 255, 255, 0.993);
        z-index: 1000;
        border-radius: 10px;
    }
    .nav_links ul li a{
        font-size: 15px;
    }
    .header-slideshow{
        margin-left: -200px;
        height: 200px;
        margin: 10px;
        width: 90%;
        z-index: 1;
        border-radius: 10px;
    }
    .header-slideshow img{
        object-fit: cover;
        width: 100%;
        height: 200px;
        
    }
   .hidden{
    display: none;
   }



.Contact h3{
    margin-top: -10px;
    margin-left: 2%;
}
.Contact h1{
    font-size: 20px;
    margin-top: 10;
}
form{
    font-size: 10px;
    margin-top: -19px;
}

/* Contact Form and Map Styling */
.contact-container {
    display: block;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.contact_form {
    width: 100%;
    padding-left: 10px;
    margin-left: -15px;
    margin-top: 20px;
    /* margin-bottom: -120vh; */
}

.contact_form input,
.contact_form textarea {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 10px;
    font-family: 'nunito', sans-serif;
}

.contact_form textarea {
    height: 150px;
}

.contact_form button {
    width: 100%;
    padding: 5px;
    font-family: 'nunito', sans-serif;
    font-size: 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    background-color: #5cb85c;
    color: white;
}

.contact_form button:hover {
    background-color: #4cae4c;
}

.map {
    width: 100%;
    margin-left: -20px;
    margin-top: 5px;
    height: 180px;
    position: relative;
    
}

.map iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #ccc;
}


.main h3{
    font-size: 15px;
    margin-bottom: -10px;
}

.cta-buttons {
    gap: 10px;
    margin: 5px;
}

.cta-button {
    padding: 5px;
    font-size: 10px;
    border-radius: 10px;
    font-family: 'nunito', sans-serif;
}


.cta-button:active {
    transform: scale(1);
}

.why{
    padding-left: 10px; 
   
}

.why h2{
    font-size: 20px;
    margin-top: 5px;
}

.why #typing-container2{
    font-size: 15px;
    margin-top: -9%;

}

.form-popup {
    border-radius: 12px;
}

.form-container {
    width: 300px;
    padding: 10px;
    
}


.form-container input {
    width: 100%;
    padding: 10px;
    font-family: 'nunito',serif;
    font-size: 10px;
    /* margin: 5px 0 10px 0; */
    border-radius: 20px;
}

.form-container .btn {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    font-size: 15px;
}



}