/* styles.css */

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}



/* General Styling */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Header and Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 60px;
    box-sizing: border-box;
    transition: .5s;
    z-index: 1;
    font-size: 0.8em;
}

nav.black {
    background: rgba(127, 13, 13, 0.8);
    height: 60px;
    padding: 0;
    backdrop-filter: blur(30px);
    /* box-shadow: 1px 1px 30px rgba(127, 13, 13, 0.37); */
}

nav .logo {
    display: block;
}

nav .logo img {
    height: 25px;
    margin-left: 20px;
}

nav.black .logo img {
    height: 25px;
    filter: drop-shadow(1px 1px 9px #fff);
}

nav>ul {
    /* width: 65%; */
    margin: 0;
    padding: 0;
    display: flex;
    /* justify-content: space-evenly; */
    align-items: center;
}

nav>ul>li {
    list-style: none;
    text-align: center;
    /* display: block; */
}

nav>ul>li>a:hover {
    background: #7f0d0d;
    color: #fff;
    padding: 10px 8px;
    border-radius: 10px;
    transition: 0.5s all ease-in-out;
    cursor: pointer;
}

nav.black>ul>li>a:hover {
    background: #fff;
    color: #262626;
    padding: 10px 8px;
    border-radius: 10px;
    transition: 0.5s all ease-in-out;
    cursor: pointer;
}

nav>ul>li>a {
    color: #262626;
    text-decoration: none;
    text-transform: uppercase;
    padding: 10px 8px;
    transition: .5s;
    margin: 8px;
}

nav.black>ul>li>a {
    color: #fff;
    line-height: 80px;
}

/* Hero Section */
.hero {
    background-image: url('../assets/hero.jpg');
    /* background-color: #faf9f6; */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    color: #faf9f6;
}

.hero-content {
    text-align: left;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-left: 20px;
    justify-content: center;
    /* background-color: #faf9f6; */
}

.hero .hero-content h1 {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    padding: 0;
    margin: 0;
}

.hero .hero-content h2 {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    max-width: 60%;
    margin: 0;
}

.hero .hero-content p {
    display: block;
    font-size: 1.5rem;
    margin: 0;
}

.btn-contact {
    background-color: #9e0000;
    color: #fff;
    padding: 10px 20px;
    height: 20px;
    width: 80px;
    display: flex;
    align-items: center;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: 20px;
}

.btn-contact:hover {
    background-color: #fff;
    color: #7f0d0d;
    transition: 0.5s all ease-in-out;
    scale: 1.05;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* About Us Section */
.about {
    padding: 20px;
    margin: 0;
}

.container-about {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    /* border: 2px solid red; */
}

.about-txt {
    /* background-color: aqua; */
    position: relative;
    display: block;
    text-align: left;
}

.about-txt h2 {
    display: block;
    font-size: 2.3rem;
}

.about-txt p {
    display: block;
    font-size: 1.1rem;
}

.about-txt>p:last-of-type {
    font-size: 1.1rem;
    margin-top: 0px;
    margin-bottom: 50px;
}

.about-img {
    padding: 50px;
}

.about-img img {
    max-width: 400px;
}

.btn-about {
    display: flex;
    background-color: #9e0000;
    justify-content: center;
    height: 20px;
    color: #fff;
    padding: 10px 20px;
    width: 80px;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.9em;
    border-radius: 5px;
}

.btn-about:hover {
    background-color: #faf9f6;
    color: #7f0d0d;
    transition: 0.5s all ease-in-out;
    scale: 1.05;
}

/* About Page */
.about-page {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-page>.container-about {
    padding: 30px;
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: justify;
    align-items: center;
    width: 70%;
}

.about-page>.container-about h2 {
    font-size: 3rem;
    font-weight: 800;
}

.about-page>.container-about p {
    display: block;
}

.about-page>.container-about img {
    max-height: 400px;
    margin-bottom: 10px;
}

.about-page>.container-vision {
    height: max-content;
    width: 100%;
    background: linear-gradient(0deg, rgba(170, 170, 170, 1) 0%, rgba(250, 249, 246, 1) 100%);
    /* background-image: url(../assets/v880-kul-13.jpg); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vision {
    width: 50%;
    padding: 10px;
    text-align: center;
    /* font-weight: bold; */
    /* text-shadow: 1px 1px 1px rgba(225, 225, 225, 0.5); */
    color: #7f0d0d;
}

.vision h2 {
    font-size: 2rem;
}

.vision p {
    font-size: 1.2rem;
    text-align: justify;
}

.mission {
    width: 50%;
    padding: 10px;
    text-align: center;
    /* font-weight: bold; */
    /* text-shadow: 1px 1px 1px rgba(225, 225, 225, 0.5); */
    color: #7f0d0d;
}

.mission h2 {
    font-size: 2rem;
}

.mission ul {
    padding: 0;
}

.mission>ul>li {
    text-align: justify;
    word-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 8px;
    /* margin: 5px; */
}

/* Services Section */
.services {
    margin-top: 20px;
}

.container-services {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    background-color: #f9f9f9;
}

.services h2 {
    font-size: 2.3rem;
    /* margin-bottom: 30px; */
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* flex-wrap: wrap; */
    margin-top: 0px;
    padding: 10px;
}

.service-card {
    /* background-image: url(../assets/josue-isai-ramos-figueroa-qvBYnMuNJ9A-unsplash.jpg); */
    /* background-position: center; */
    box-sizing: border-box;
    /* background-size: cover; */
    background-color: rgba(170, 170, 170, 1);
    /* padding: 30px; */
    width: 280px;
    /* text-align: left; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    /* margin: 10px; */
    border-radius: 10px;
    align-items: center;
}

/* .service-card:first-child {
    background-image: url(../assets/architecture\ dummy.jpg);
}

.service-card:nth-child(2) {
    background-image: url(../assets/civil\ engineering\ dummy.jpg);
}

.service-card:nth-child(3) {
    background-image: url(../assets/electrical\ dummy.jpg);
}

.service-card:nth-child(4) {
    background-image: url(../assets/mechanical\ dummy.jpg);
    filter: opacity(0.6);
} */
.service-card img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service-card:hover {
    scale: 1.05;
    opacity: 0.8;
    transition: 0.5s all ease-in-out;
    cursor: pointer;
}

.service-card h3 {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
    color: #faf9f6;
}

.btn-service {
    background-color: #9e0000;
    display: flex;
    color: #fff;
    padding: 10px 20px;
    height: 20px;
    width: 80px;
    margin: 50px auto;
    text-align: center;
    justify-content: center;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.9em;
    border-radius: 5px;
}

.btn-service:hover {
    background-color: #eaeaea;
    color: #7f0d0d;
    /* padding: 15px 25px; */
    transition: 0.5s all ease-in-out;
    scale: 1.05;
}

/* Service Page */
.services-page {
    margin-top: 100px;
}

.services-page>h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* align-items: stretch; */
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 10px;
    gap: 10px;
    /* border: 2px solid red; */
}

.card {
    display: flex;
    flex-direction: column;
    padding: 0px;
    /* border: 2px solid blue; */
    width: 48%;
}

.wg-box-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.wg-box-content .wg-box-content-overlay {
    background: rgba(0, 0, 0, 0.7);
    position: absolute;
    height: 71%;
    width: 100%;
    border-radius: 16px;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.wg-box-content:hover .wg-box-content-overlay {
    opacity: 1;
}

.wg-box-content-image {
    max-width: 100%;
    border-radius: 16px;
}

.wg-box-content-details {
    position: absolute;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.wg-box-content:hover .wg-box-content-details {
    top: 50%;
    left: 50%;
    opacity: 1;
}

.wg-box-content-details h3 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-top: -4em;
    margin-bottom: 0em;
    text-transform: uppercase;
    text-align: center;
    align-items: center;
}

.wg-box-content-details p {
    color: #fff;
    font-size: 0.8em;
}

.wg-box-fadeIn-bottom {
    top: 80%;
}

.title>h4 {
    margin: 0;
    text-align: left;
}

.content>p {
    font-size: 1em;
    text-align: left;
}

/* Partner Section */
.partner {
    display: flex;
    flex-direction: column;
    /* padding: 20px 10px; */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    background-color: #ddd;
}

.logo-container {
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    border-radius: 20px;
    margin-bottom: 50px;
    /* border: 2px solid red; */
}

.partner-logo {
    display: flex;
    flex-shrink: 0;
    gap: 3rem;
    padding: 1rem;
    animation: infinite-scroll 15s infinite linear;

    /* &:hover {
        animation-play-state: paused;
    } */
}

.partner-logo img {
    height: 3rem;
    filter: grayscale(1);
}

.partner-logo img:hover {
    filter: grayscale(0);
    scale: 1.2;
    transition: 0.5s all ease-in-out;
    cursor: pointer;
    animation-play-state: paused;
}

@keyframes infinite-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Projects Page */
.projects {
    margin-top: 100px;
}

.projects h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
}

.container-project {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* align-items: stretch; */
    box-sizing: border-box;
    height: auto;
    width: 100%;
    padding: 10px;
    gap: 10px;
    /* border: 2px solid blue; */
}

.card-project {
    display: flex;
    flex-direction: column;
    padding: 0px;
    /* border: 2px solid blue; */
    width: 30%;
    /* border: 2px solid red; */
}

.box-content-project {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    justify-content: center;
}

.myImg {
    max-width: 100%;
    height: 230px;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg>img {
    width: 600px;
}

.myImg:hover {
    opacity: 0.7;
}

.title-project {
    text-align: left;
}

.title-project>h4 {
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
    color: #575757;
}

.title-project>h5 {
    margin: 0;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1.2em;
    color: #262626;
}

.content-project {
    text-align: left
}

.content-project>p {
    font-size: 0.8em;
    text-transform: capitalize;
    color: #575757;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 150px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: 0 auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* address section */
.address {
    /* position: relative; */
    /* margin-top: 20px; */
    background-color: #faf9f6;
}

.container-address {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* flex-wrap: wrap; */
}

.main-address {
    margin-left: 20px;
    margin-right: 85px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.address-logo {
    display: flex;
    /* border: 2px solid red; */
    /* justify-content: center; */
    margin: 0;
}

.main-address>.address-logo img {
    margin-bottom: 20px;
    max-width: 90px;
}

.main-address div {
    display: flex;
    align-items: center;
}

.main-address div i {
    margin-right: 15px;
}

.maps {
    width: 50%;
}

.maps iframe {
    height: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.main-address a {
    text-decoration: none;
    color: #7f0d0d;
}

.main-address a:hover {
    cursor: pointer;
}

.social>a>i {
    color: #262626;
}

.social>a>i:hover {
    scale: 1.05;
    transition: 0.3s all ease-in-out;
}

/* Document Section */
.documents {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    margin: 0px auto;
    height: 100vh;
}

.document-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 50px;
    /* border: 2px solid red; */
}

.document-container img {
    max-width: 30%;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
    background-color: #7f0d0d;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Media Queries for Tablet */
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        width: 100%;
    }

    .nav-toggle {
        margin-right: 30px;
    }

    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        margin-top: 456px;
        position: absolute;
        background-color: #7f0d0d;
    }

    nav ul {
        align-items: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        font-size: 1rem;
        line-height: 30px !important;
        color: #faf9f6;
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    .hero .hero-content h1 {
        display: block;
        font-size: 3rem;
    }

    .hero .hero-content h2 {
        display: block;
        font-size: 2rem;
        text-align: center;
    }

    .hero-content .hero p {
        display: block;
        font-size: 1.2rem;
    }

    .about .container-about {
        align-items: center;
        justify-content: center;
    }

    .about-txt {
        text-align: center;
    }

    .about-img {
        display: none;
    }

    .btn-about {
        margin: 0 auto;
    }


    .service-cards {
        flex-direction: column;
        align-items: center;
        width: 70%;
    }

    .service-card {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .service-card>img {
        width: 100%;
    }

    .services-page {
        margin-top: 60px;
    }

    .services-page>.container>.card {
        width: 100%;
    }

    .partner h1 {
        font-size: 2rem;
    }

    .container-address {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .main-address {
        margin: 0;
        margin-bottom: 20px;
        align-items: center;
        text-align: center;
        width: 50%;
    }

    .main-address img {
        margin-top: 20px;
    }

    .main-address p {
        margin: 5px;
    }

    .main-address>div>i {
        margin-right: 5px;
    }

    .maps {
        width: 90%;
    }

    .about-page {
        margin-top: 60px;
    }

    .about-page>.container-about h2 {
        margin: 0;
    }

    .about-page>.container-about img {
        margin-top: 20px;
    }

    .projects {
        padding: 0;
        margin-top: 60px;
    }

    .container-project {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .card-project {
        width: 100%;
    }

    .modal-content {
        margin-top: 150px;
        width: 100%;
    }

    .document-container {
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        width: 100%;
        height: 100vh;
    }

    .document-container img {
        max-width: 300px;
    }
}

/* Media Queries for Mobile */
@media (max-width: 480px) {
    nav {
        display: flex;
        justify-content: space-between;
        box-sizing: border-box;
        width: 100%;
    }

    .nav-toggle {
        margin-right: 30px;
    }

    .nav-links.nav-active {
        display: flex;
        margin-top: 456px;
        background-color: #7f0d0d;
        justify-content: space-around;
    }

    .navbar .logo img {
        max-height: 20px;
    }

    .nav-toggle {
        display: block;
    }

    nav ul li a {
        font-size: 0.8rem;
    }

    .hero {
        height: 100vh;
    }

    .hero .hero-content {
        text-align: center;
        padding: 10px;
    }

    .hero .hero-content h1 {
        display: block;
        font-size: 3rem;
    }

    .hero .hero-content h2 {
        display: block;
        font-size: 1.5rem;
    }

    .hero .hero-content p {
        display: block;
        font-size: 1rem;
    }


    .about-page>.container-about {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        padding: 10px;
    }

    .container-vision>.vision {
        width: 80%;
    }

    .container-vision>.mission {
        width: 80%;
    }

    .mission ul {
        padding: 0;
    }

    .mission ul li {
        text-align: jus;
    }


    .about-txt h2 {
        font-size: 2rem;
    }

    .about-txt p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 40px;
    }

    .btn-about {
        margin: 0 auto;
    }

    .container-address {
        justify-content: center;
    }

    .main-address {
        margin: 0;
        width: 80%;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-address p:nth-child(3) {
        margin: 5px;
    }

    .main-address p:nth-child(4) {
        margin: 5px;
    }

    .main-address p:nth-child(5) {
        margin: 5px;
    }

    .main-address>div>i {
        margin-right: 5px;
    }

    .maps {
        width: 90%
    }

    .maps iframe {
        max-width: 370px;
    }

    .about-page>.container-about h2 {
        font-size: 2.5rem;
    }

    .about-page>.container-about p {
        font-size: 1rem;
        text-align: justify;
    }

    .about-page>.container-about img {
        max-width: 300px;
    }

    .services-page {
        height: auto;
    }

    .services-page h2 {
        font-size: 2rem;
    }

    .services-page>.service-cards {
        width: 80%;
    }

    .services-page footer {
        display: block;
    }

    .services h2 {
        font-size: 1.8rem;
    }

    .service-cards {
        width: 100%;
    }

    .service-card {
        width: 100%;
    }

    .logo-container {
        width: 80%;
    }

    .contact {
        align-items: center;
        justify-content: center;
        height: 85vh;
    }

    .projects {
        height: auto;
        margin-top: 60px;
        padding: 0;
        /* border: 2px solid blue; */
    }

    .project-gallery {
        display: flex;
        justify-content: space-around;
        max-width: 400px;
        align-items: center;
        /* border: 2px solid red; */
    }

    .project-gallery h2 {
        text-align: center;
        font-size: 2rem;
    }

    .project-item {
        width: 100%;
    }

    .project-item img {
        max-width: 300px;
    }

    .modal-content {
        width: 80%;
    }

    .document-container img {
        max-width: 300px;
    }

}

/* Add this CSS for the toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    background-color: #ccc;
    height: 2px;
    width: 25px;
}

.navbar .black .nav-toggle>span {
    background-color: #ccc;
}

/* Show toggle on mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navbar {
        flex-direction: row;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }
}




/* Dropdown Menu Styling */
.nav-links .dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
    z-index: 1;
    padding: 0px;
    border-radius: 3px;
    left: -30px;
}

.dropdown-content li {
    text-decoration: none;
    list-style: none;
    top: 20px;
    align-items: center;
    justify-content: center;
}

.dropdown-content li a {
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown-content li a:hover {
    background-color: #575757;
}

/* Show the dropdown menu on hover */
.nav-links .dropdown:hover .dropdown-content {
    display: block;
    opacity: 0.5;
}

/* Show the dropdown menu with animation */
.nav-links .dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Responsive dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-content {
        position: relative;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }

    .dropdown .dropdown-content {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #444;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        visibility: hidden;
    }

    .dropdown .dropdown-content.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .dropdown .dropdown-content li a {
        padding: 10px 20px;
    }

    .nav-links.nav-active .dropdown-content {
        display: flex;
    }
}