* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
}

section {
    margin: 0 auto 2.5% auto;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.content {
    position: absolute;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    bottom: 15%;
    left: 30%;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    /* justify-content: flex-start; */
}

.content h1 {
    font-size: 6rem;
    /* margin-bottom: 1rem; */
}

.content .btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgb(255 147 0);
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    width: fit-content;
}

.content .btn:hover {
    background: #ff4500;
}


/* project */

.projects {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.projects h2 {
    font-size: 2.5rem;
    text-align: left;
    margin: auto 6.5%;
}

.bigger>* {
    font-size: 1.5rem;
}

.projects-wrapper {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    gap: 20px;
}

.project {
    /* position: relative; */
    max-height: 360px;
    padding: 8px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
    max-width: 550px;
    text-align: center;
    border-radius: 8px;
    position: relative;
}

.project img {
    max-height: 350px;
    /* height: unset; */
    /* width: 100%; */
    height: 100%;
    border-radius: 4px;
    width: 100%;
}

.project h3 {
    font-size: 1.75rem;
    margin-top: 10px;
    position: absolute;
    bottom: 5%;
    left: 65%;
    transform: translateX(-50%);
    text-wrap: nowrap;
    color: white;
}

.project p {
    color: gray;
    font-size: 1rem;
}

.project a {
    display: inline-block;
    padding: 4px;
    background: rgb(255 147 0);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
    width: fit-content;
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.map {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Responsive Design */

@media (max-width: 900px) {
    .projects {
        flex-direction: column;
        align-items: center;
    }
}


/* About Section */

.about {
    position: relative;
    width: 100%;
    height: 400px;
    background: url('./img/about-bg.png') no-repeat center center/cover;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
    /* Adjust text position */
    color: white;
}

.about-content {
    position: absolute;
    top: 50%;
    left: 10%;
    max-width: 550px;
    transform: translateY(-50%);
}

.about-content h1 {
    font-size: 3rem;
}

.about-content p {
    font-size: 18px;
}


/* Footer */

footer {
    background: #f8f8f8;
    padding: 80px 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    font-size: 16px;
    color: #333;
}

.footer-center {
    display: flex;
    gap: 15px;
}

.footer-center a {
    text-decoration: none;
    display: inline-block;
}

.footer-center img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-center img:hover {
    transform: scale(1.1);
}


/* Responsive */

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .footer-left,
    .footer-right {
        margin-bottom: 10px;
    }
    .footer-center {
        justify-content: center;
    }
}


/* 
 */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 700px;
    background: #000;
    padding: 0;
    border-radius: 8px;
}

.modal-content iframe {
    width: 100%;
    height: 400px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .projects-wrapper {
        flex-direction: column;
    }
    .hero {
        height: 50vh;
    }
    .hero video {
        height: 50vh;
    }
    .content {
        position: absolute;
        zoom: 0.75;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .projects h2 {
        font-size: 1.5rem;
    }
    section {
        margin: 10% auto;
    }
    section.hero {
        margin: 0;
    }
}