@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    background-color: #FFFFFF;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: grid;
    justify-items: center;
    overflow-x: hidden !important;
}

/* Header */
header {
    max-width: 1980px;
    width: 100%;
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    z-index: 1000 !important;
    box-shadow: 0 8px 10px -4px rgba(0, 0, 0, 0.2);
}

.top-header {
    width: 100%;
    background-color: #B9423D;
    padding: 8px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-header .contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-header .contact p {
    font-size: 0.8rem;
    color: #F6E3E2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin: 0;
}

.top-header .contact p img {
    width: 20px;
}

.top-header .contact .line {
    width: 2px;
    height: 20px;
    background-color: #8C2F2B;
}

.top-header .links {
    display: flex;
    align-items: center;
    gap: 50px;
    user-select: none;
}

.top-header .links .social-media {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.top-header .links .social-media a {
    display: flex;
    align-items: center;
}

.top-header .links .social-media img {
    width: 22px;
    height: 22px;
}

.top-header .links .language {
    position: relative;
}

.top-header .links .language p {
    font-size: 0.8rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
}

.top-header .links .language p span:first-child img {
    width: 21px;
}

.top-header .links .language #header-arrow {
    transition: transform 0.4s linear;
    width: 10px;
}

.top-header .links .language.drop #header-arrow {
    transform: rotate(180deg);
}

.top-header .links .language .all {
    position: absolute;
    background-color: rgb(150, 49, 46);
    border-radius: 4px;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    opacity: 0;
    animation: backdrop 0.4s linear forwards;
    z-index: 100;
}

@keyframes backdrop {
    0% {
        top: 25px;
        opacity: 1;
    }

    50% {
        top: 10px;
        opacity: 0.5;
    }

    100% {
        top: 0px;
        opacity: 0;
        display: none;
    }
}

.top-header .links .language .all a {
    text-decoration: none;
}

.top-header .links .language .all a p {
    padding: 10px;
    border-radius: 4px;
}

.top-header .links .language .all a p:hover {
    background-color: rgba(185, 66, 61, 0.8);

}

.top-header .links .drop .all {
    display: block;
    animation: drop 0.4s linear forwards;
}

@keyframes drop {
    0% {
        top: 0px;
        opacity: 0;
    }

    50% {
        top: 10px;
        opacity: 0.5;
    }

    100% {
        top: 25px;
        opacity: 1;
    }
}

@media (width <=1200px) {

    .top-header .contact p,
    .top-header .links .language p {
        font-size: 0.7rem;
        gap: 10px;
    }

    .top-header .contact {
        gap: 10px;
    }

    .top-header .contact .line {
        height: 15px;
    }

    .top-header .contact p img {
        width: 16px;
    }

    .top-header .links .social-media img {
        width: 15px;
    }

    .top-header .links .language p span:first-child img {
        width: 16px;
    }

    .top-header .links .language #header-arrow {
        width: 7px;
    }

}

@media (width <=800px) {
    .top-header .contact {
        display: none;
    }

    .top-header .links {
        width: 100%;
        justify-content: space-between;
        gap: auto;
    }
}

@media (width <=1000px) {
    .top-header {
        padding-inline: 20px;
    }
}

@media (height <=720px) {
    .top-header {
        padding: 3px 30px;
    }
}

@media (width <=1000px) and (height <=720px) {
    .top-header {
        padding: 3px 20px;
    }
}

/* Main Header */
.header {
    width: 100%;
    background-color: #FFFFFF;
    user-select: none;
    padding: 1px 30px;
}

.header .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    width: 70px;
}

.header .navbar .menus a {
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    font-weight: 500;
    color: #050505;
    transition: color 0.1s ease-in;
}

.eader .navbar .menus a:first-child {
    margin: 0 15px 0 0;
}

.header .navbar .menus a:last-child {
    margin: 0 0 0 15px;
}

.header .navbar .menus a:hover {
    color: #B9423D;
}

.header .navbar .menus a#page-selected {
    color: #B9423D;
    border-bottom: 2px solid #B9423D;
    padding-bottom: 5px;
}

.header .navbar .contact-us {
    display: flex;
    align-items: center;
    justify-content: center;
}


.header .navbar .contact-us a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #B9423D;
    padding: 9px 18px;
    border-radius: 6px;
    line-height: 18px;
    transition: transform 0.2s ease-in;
}

.header .navbar .contact-us a:hover {
    transform: scale(0.98);
}

.mobile-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-navbar .mobile-contact-us {
    position: relative;
    width: 33px;
    height: 33px;
    background-color: rgba(27, 22, 22, 0.1);
    border-radius: 50%;
}

.mobile-navbar .mobile-contact-us img {
    width: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-icon {
    background-color: rgba(27, 22, 22, 0.1);
    width: 32px;
    height: 30px;
    border-radius: 5px;
    padding: 5px 3px;
    position: relative;
    cursor: pointer;
}

.menu-icon .line {
    background-color: #1B1616;
    width: 22px;
    height: 2.5px;
    border-radius: 5px;
    position: absolute;
    top: 5px;
    right: 5px;
    transform-origin: right;
    transform: rotate(0deg);
    transition: transform 0.3s linear;
}

.menu-icon .line-2 {
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
}

.menu-icon .line-3 {
    top: auto;
    bottom: 5px;
    width: 22px;
}

.menu-open .line {
    width: 27px;
}

.menu-open .line-1 {
    transform: rotate(-40deg);
}

.menu-open .line-2 {
    visibility: hidden;
}

.menu-open .line-3 {
    transform: rotate(40deg);
}

.mobile-menu {
    width: 100%;
    transform: translateY(-500px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 88px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    border-radius: 0 0 15px 15px;
    z-index: 99 !important;
    transition: transform 0.4s ease;
}

.mobile-menu a {
    text-decoration: none;
    color: #050505;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 15px 0;
}

.mobile-menu a:hover {
    color: #B9423D;
}

.mobile-menu #page-selected {
    color: #B9423D;
}

.mobile-menu a:last-child {
    margin-bottom: 20px;
}

.open {
    transform: translateY(0);
}

@media (min-width: 1000px) {
    .header .navbar {
        display: flex;
    }

    .header .mobile-navbar {
        display: none;
    }
}

@media (max-width: 1000px) {
    .header .navbar {
        display: none;
    }

    .header .mobile-navbar {
        display: flex;
    }

    .header {
        padding: 5px 20px;
    }

    .header .logo img {
        width: 65px;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .header .navbar .menus a {
        margin: 0 8px;
    }

    .header .navbar .menus a:first-child {
        margin: 0 8px 0 0;
    }

    .header .navbar .menus a:last-child {
        margin: 0 0 0 8px;
    }
}

@media (width <=768px) {
    .mobile-menu {
        margin-top: 75px;
    }

    .mobile-menu a {
        font-size: 0.9rem;
        margin: 15px 0;
    }
}

@media (height <=720px) {
    .mobile-menu {
        margin-top: 75px;
    }

    .mobile-menu a {
        font-size: 0.8rem;
        margin: 10px 0;
    }
}

@media (height >=721px) {
    .mobile-menu {
        margin-top: 90px;
    }

    .mobile-menu a {
        font-size: 0.8rem;
        margin: 10px 0;
    }
}

@media (height <=720px) and (width >=1000px) {
    .header .navbar {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* VIEW */
.view {
    width: 100%;
    padding: 0 30px;
    margin-top: 140px;
    overflow: hidden;
}

.view-image {
    width: 100%;
}

#big-image {
    width: 100%;
    display: none;
}

#big-image-show {
    width: 100%;
    height: 600px !important;
    object-fit: contain;
    border-radius: 20px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 0.4s ease-in;
}

.view .small-image {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    margin-top: 20px;
}

.small-image img {
    width: 15%;
    border-radius: 14px;
    cursor: pointer;
    object-fit: cover;
    height: 150px;
}
.custom-img{
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    border-radius: 14px;
    cursor: pointer;
    object-fit: cover;
    height: 150px;
}


#img-slider{
    display: flex;
    justify-content: center;
    flex: 1;
    overflow: hidden;
    flex-wrap: nowrap;
    gap: 10px;
    width: 92%;
}

.btn-carousel{
    width: 4%;
}



.about-project .info {
    border-radius: 20px;
    border: 2px solid #E4E4E4;
    padding: 20px;
    margin-top: 12px;
    margin-left: 10px;
    margin-right: 10px;
    width: 50%;
    max-width: 50%;
}

.about-project .info p {
    color: #302E2E;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
}

.about-project .info strong {
    color: #131A1E;
    font-size: 16px;
    font-weight: 600;
}

.title h1 {
    color: #000000;
    font-size: 40px;
    font-weight: 500;
    line-height: 60px;
}

.title p {
    color: #000000;
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
}

.description p {
    color: #302E2E;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.major-project h2 {
    margin: 60px 0;
    font-size: 35px;
    font-weight: 600;
    color: #131A1E;
}

.project {
    position: relative;
    border: 2px solid #E4E4E4;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: box-shadow 0.2s ease-in;
    transition: all 0.4s ease-in;
}

.project:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.project.project-left {
    transform: translateX(-100px);
    opacity: 0;
}

.project.project-right {
    transform: translateX(100px);
    opacity: 0;
}

.project.project-up {
    transform: translateY(50px);
    opacity: 0;
}

.project.project-left.show,
.project.project-right.show,
.project.project-up.show {
    opacity: 1;
    transform: translate(0, 0);
}

.project img {
    width: 100%;
    object-fit: cover;
    height: 450px;
}

.project .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    padding: 20px;
    height: 170px;
}

.project .info h3 {
    font-size: 24px;
    font-weight: 500;
    line-height: 35px;
    color: #131A1E;
    margin: 0;
}

.project .info p {
    font-size: 16px;
    font-weight: 400;
    color: #302E2E;
    margin: 15px 0 0 0;
    line-height: 27px;
}

@media (max-width: 1338px) {
    .title h1 {
        font-size: 35px;
        line-height: 60px;
    }

    .title p {
        font-size: 20px;
    }


}

@media (max-width: 1250px) {
    .project .info h3 {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {

    .about-project .info p,
    .about-project .info strong {
        font-size: 14px;
    }

    .major-project h2 {
        font-size: 35px;
    }

    .title h1 {
        font-size: 30px;
        line-height: 50px;
    }

    .title p,
    .description p {
        font-size: 17px;
    }
}

@media (min-width: 992px) and (max-width: 1090px) {
    .about-project .info p {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .last-project {
        display: none;
    }
}

@media (max-width: 992px) {
    .view .small-image {
        flex-wrap: wrap;
        gap: 10px;
    }

    .small-image img {
        width: 32%;
    }


    #img-slider{
        max-width: 92%;
    }

    .btn-carousel{
        width: 2%;
        max-width: 2%;
    }

    .custom-img{
        width: 32%;
    }
}

@media (max-width: 900px) {
    .project .info h3 {
        font-size: 19px;
    }

    .project .info p {
        font-size: 15px;
    }
}

@media (max-width: 850px) {
    .project .info p {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .view {
        padding: 0 20px;
    }

    .title h1 {
        font-size: 25px;
        line-height: 45px;
    }

    .title p,
    .description p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {

    .view {
        margin-top: 100px;
    }

    .small-image img {
        width: 48%;
    }


    .custom-img{
        width: 140%;
    }

    #img-slider{
        max-width: 84%;
    }

    .btn-carousel{
        width: 8%;
        max-width: 8%;
    }

    .btn-carousel button {
        width: 25px;
        height: 25px;
        font-size: 24px;
        line-height: 40px;
    }

    .about-project .info{
        width: 100% !important;
        max-width: 100%;

    }

    .about-project .info p {
        display: block;
        line-height: 27px;
        margin: 0 0 14px 0;
    }

    .about-project .info p:last-child {
        margin-bottom: 0;
    }

    .about-project .info strong {
        margin-right: 10px;
    }

    .title h1 {
        font-size: 23px;
    }

    .major-project h2 {
        font-size: 27px;
        margin-bottom: 50px;
    }
}

/* FOOTER */
footer {
    /* max-width: 1500px; */
    width: 100%;
    background-color: #FEFEFE;
    padding: 50px 30px 20px 30px;
    overflow-x: hidden;
    margin-top: 50px;
}

footer .links {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

footer .links .about {
    width: 40%;
    margin-top: 0;
}

footer .links .company,
footer .links .product,
footer .links .contact {
    width: 20%;
    margin-top: 0;
}

footer .links .about p {
    font-size: 16px;
    font-weight: 500;
    color: #302E2E;
    line-height: 27px;
    max-width: 350px;
}

footer .links .company p,
footer .links .product p,
footer .links .contact p {
    color: #212629;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 38px;
}

footer .links .company a,
footer .links .product a {
    color: #424C52;
    font-size: 16px;
    font-weight: 500;
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.1s ease-in;
}

footer .links .company a:hover,
footer .links .product a:hover {
    color: #B9423D;
}

footer .links .contact strong {
    font-size: 16px;
    font-weight: 500;
    color: #424C52;
    display: flex;
    margin-bottom: 20px;
    line-height: 27px;
}

footer .links .contact strong span {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-right: 10px;
    margin-top: 2px;
}

footer hr {
    width: 100%;
    height: 2px;
    background-color: #F0F2F3;
    border: 0;
    margin: 25px 0;
}

footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .copyright p {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #302E2E;
}

footer .copyright .social-media {
    display: flex;
    gap: 15px;
}

footer .copyright .social-media a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

}

footer .copyright .social-media img {
    width: 22px;
    height: 22px;
}

footer .copyright .social-media img:hover {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    footer .links {
        flex-wrap: wrap;
    }

    footer .links .about,
    footer .links .company,
    footer .links .product,
    footer .links .contact {
        width: 48%;
    }
}

@media (max-width: 810px) {

    footer .links .about,
    footer .links .company,
    footer .links .product,
    footer .links .contact {
        width: 47%;
    }
}

@media (max-width: 768px) {
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 710px) {
    footer .copyright {
        flex-direction: column-reverse;
        gap: 50px;
    }

    footer .copyright p {
        text-align: center;
        line-height: 30px;
    }

    footer .copyright .social-media {
        gap: 0;
    }

    footer .copyright .social-media a {
        margin: 0 10px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        padding: 15px !important;
    }

    footer .copyright .social-media a img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {

    footer .links .about,
    footer .links .company,
    footer .links .product,
    footer .links .contact {
        width: 100%;
        text-align: center;
    }

    footer .links .about p {
        max-width: 100%;
    }

    footer .links .contact strong {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 538px) {
    footer .links .contact strong:last-child {
        padding: 0 20px;
    }
}
