/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Navbar */
.navbar {
    background: #333;
    height: 100px;
    padding: 0;
    position: relative;
    overflow: hidden;
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end ;
    align-items: center;
}
/* nav bar home and contact us buttons */

nav a {
    height: 100%;
    text-decoration: none;
    display: flex;
    color:#2a93d1;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    
}
nav a:hover{
    background-color: rgba(153, 145, 145, 0);
}
nav li:first-child{
    margin-right: auto;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color:#ffffff9a;
    box-shadow: -10px 0 10px rgba(16, 15, 15, 0.975);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content:flex-start;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-button{
 display: none;
}

@media(max-width: 800px){
    .hideOnMobile{
        display: none;
        
    }
    .menu-button{
        display: block;
    }
}
@media(max-width:400px){
    .sidebar {
        width: 100%;
    }
}


.navbar_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 90%;
    margin: auto;
}

#navbar_logo img {
    height: 290px;
    max-height: 100%;
    width: auto;
}

.navbar_menu {
    display: flex;
    list-style: none;
}

.navbar_menu li {
    margin: 0 20px;
}

.navbar_links {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.navbar_btn {
    background-color: #38b6ff;
    padding: 10px 20px;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

#hero_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#hero_video img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the area without distortion */
}

.hero_container {
    position: relative;
    z-index: 1;
}

.hero_btn {
    background-color: #38b6ff;
    padding: 0.75em 1.5em; /* Adjust padding with relative units */
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em; /* Adjustable font size */
    font-weight: bold; /* Optional for better visibility */
    transition: font-size 0.3s ease; /* Smooth transition for resizing */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000;
}

.hero h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #000;
}

/* Services Section */
.services {
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service_item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service_item h3 {
    margin-top: 15px;
    font-size: 1.5rem;
}

/* Projects Section */
.projects {
    padding: 50px;
    background-color: #f4f4f4;
    text-align: center;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.projects_row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.projects_item {
    flex: 1 1 300px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects_item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
}

.projects_item > div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
@media (max-width: 768px) {
    .projects_row {
        flex-direction: column; /* Stack items vertically */
        gap: 15px;
    }

    .projects_item {
        max-width: 100%; /* Allow items to stretch full-width on smaller screens */
    }
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer_container {
    max-width: 1100px;
    margin: auto;
}

.social_icons img {
    height: 30px;
    margin: 0 10px;
}

/* Contact Section */
.contact {
    padding: 50px;
    background-color: #fff;
    text-align: center;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #555;
}

.contact_details p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.contact_form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact_form input
.contact_form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact_form button {
    align-self: center;
    background-color: #38b6ff;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

.contact_form button:hover {
    background-color: #2a93d1;
}

/* Mobile-first approach */



    /* Adjust Hero Section */
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero_btn {
        padding: 10px 20px;
    }

    /* Services Section */
    .services_grid {
        grid-template-columns: 1fr 1fr;
    }

    .service_item h3 {
        font-size: 1.2rem;
    }

    /* Projects Section */
    .projects_row {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .projects_item {
        flex: 1 1 300px; /* Flex-grow: 1, Flex-shrink: 1, Flex-basis: 300px */
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .projects_item img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Footer Section */
    .footer_container {
        padding: 10px;
    }

    .social_icons img {
        height: 25px;
    }
