/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif, Arial;
}

body {
    background-color: #f4f4f4;
}

/* Navbar */
nav {
    background-color: #1e3a8a;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 5px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    vertical-align: middle;
    z-index: 1000;
}


nav .logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav ul li a:hover {
    color: #93c5fd;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo p {
    font-size: 16px;
    font-weight: bold;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Home Section */
#home {
    height: 100vh;
    background: url('Background.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-top: 55px;
}

#home:before {
    background: rgba(54, 52, 52, 0.682);
    content: '';
    position: absolute;
    top: 39px;
    height: 100vh;
    width: 100%;
    margin-top: 20px;
}

.hero {
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #f4f4f4;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #d5d3d3;
}

.hero button {
    padding: 10px 20px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.hero button:hover {
    background-color: #3b82f6;
}

/* About Section */
#about {
    padding: 50px;
    text-align: center;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Our Work Section */
#work {
    background: url('Work\ Background.png') no-repeat center center/cover;
    padding: 60px;
    background-color: #e5e7eb;
    text-align: center;
}

#work h2 {
    font-size: 36px;
    margin-bottom: 35px;
    
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.work-item {
    overflow: hidden;
    height: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.work-item h3 {
    margin-bottom: 10px;
}

/*Resize according to image */
.work-image {
    height: 250px;
    width: 100%;
    background-color: #d1d5db;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}


.work-image img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Hover effect */
.work-image:hover img {
    transform: scale(1.05);
}

.work-item:hover .work-image {
    transform: scale(1.05);
}

/* Contact Section */
#contact {
    padding: 50px;
    text-align: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

form input,
form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background-color: #1e3a8a;
    color: white;
    border: none;
    cursor: pointer;
}

form button:hover {
    background-color: #3b82f6;
}

/* Footer */
.footer-address {
    background-color: #d1d5db;
    text-align: center;
    padding-bottom: 1rem;
}

.footer-bottom {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    justify-content: center;
    padding: 2px;
}
.footer-address h2{
    font-size: 2rem;
    padding: 1rem 0;
}
.footer-address i{
    font-size: 1rem;
    margin-right: 0.5rem;
}
#home img{
    height:38cqh;
    position:relative ;
    top: -2.8rem;
    left: -0.7rem;
}
.contact-detail a{
    text-decoration: none;
}

/* @media screen and (min-width:1px) and (max-width:1365px) {
    nav {
        padding: 5px 10px;
    } */
 @media screen and (max-width: 768px) {
         nav {
             padding: 5px 10px;
             }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 50%;
        background-color: #1e3a8a;
        color: white;
        position: absolute;
        top: 50px;
        left: 50%;
        text-align: center;
        padding: 0;
        border: 1px solid white;
        border-top: none;
        border-radius: 0 0 10px 10px;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: block;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .logo img {
        height: 50px;
    }

    .logo p {
        font-size: 16px;
        font-weight: bold;
    }

    #work {
        padding: 20px;
    }

    .work-grid {
        display: block;
        margin-bottom: 20px;
    }

    .work-item {
        margin-bottom: 20px;
        height: auto;
    }
    #home img{
        height: 15rem;
        /* position: relative; */
        top: 1rem;
    }
    .hero h1 {
        font-size: 40px;

    }

}

