*, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--main-background-green-olive);
    font-family: "Baskervville", serif;
}

main {
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: unset;
}

img {
    width: 100%;
    height: 100%;
}

ul {
    list-style: none;
}

button {
    border: none;
    background-color: transparent;
    color: unset;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--main-background-green-olive) inset !important;
  -webkit-text-fill-color: var(--main-text-color) !important;
}

:root {
    --duration-animation: 0.3s;
    --duration-animation-double: 0.6s;
    --main-background-green-olive: #3A3B2B;
    /* --main-background-green-olive: white; */
    --main-text-color: #f0efe9;
    /* --main-text-color: rgb(32, 32, 32); */
    --main-text-color-hover: #ffc954;
    --main-footer-background-color: var(--main-text-color);
    --main-footer-text-color: var(--main-background-green-olive);
    --main-padding-box: 1.5rem;
    --main-padding-box-mobile: 1rem;
}



.banner {
    max-width: 100vw;
    position: relative;
    z-index: 2 !important;
}

.banner>.color_denser {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 100;
}

.banner>.cover {
    width: 100%;
    overflow: hidden;
}

.banner>.cover>ul {
    display: flex;
    width: 500%;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.banner>.cover>ul .slides {
    height: 100vh;
    width: 20%;
    position: relative;
}

.banner>.cover>ul>.slides>img {
    object-position: bottom;
    object-fit: cover;
}

.banner>.cover>ul .slides>.image_cover {
    position: absolute;
    z-index: 120;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-align: center;
}

.banner>.cover>ul .slides>.image_cover>h2 {
    margin: auto;
    font-size: 2rem;
    font-weight: 200;
    background-color: rgba(128, 128, 128, 0.5);
    padding: 0.2rem 2rem;
}

.banner>.cover>ul .slides>.image_cover>h4 {
    margin-bottom: 6rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
}



.status-container {
    display: flex;
    gap: 5px;
    width: 300px;
    position: relative;
    bottom: 4rem;
    margin: auto;
    z-index: 101;
}

.status-bar {
    flex: 1;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: flex 0.3s ease-in-out;
    cursor: pointer;
}

.fill {
    width: 100%;
    height: 100%;
    background-color: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s linear;
}

.status-bar.active {
    flex: 2;
    height: 2px;
}

@media (max-width: 769px) {
    
    .banner>.cover>ul .slides>.image_cover>h2 {
        font-size: 1.6rem;
        font-weight: 200;
        background-color: rgba(128, 128, 128, 0.5);
        padding: 0.2rem;
        max-width: 85%;
    }

    .status-container {
        width: 250px;
    }

}











.services {
    background-color: transparent;
    padding: 8rem var(--main-padding-box);
}

.services .cover {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
}

.services .links {
    margin-top: auto;
}

.services .links ul {
    list-style: none;
    padding: 0 0 1rem 0;
}

.services .links li {
    cursor: pointer;
    margin: 10px 0px;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--main-text-color);
    position: relative;
    left: calc(0.6rem + 2px);
}

.services .links li::before {
    content: " ";
    position: absolute;
    width: 2px;
    height: 100%;
    left: -0.6rem;
    transform: scaleY(0);
    transform-origin: bottom;
    background-color: var(--main-text-color-hover);
    transition: transform 0.3s ease-out;
}

.services .links ul>.active {
    color: var(--main-text-color-hover);
}

.services .links ul>.active::before {
    transform: scale(1);
}

.services .links li:hover {
    color: var(--main-text-color-hover);
}

.services .links li:hover::before {
    transform: scaleY(1);
    transition: transform 0.3s ease-out;
}

.services .image_cover {
    position: relative;
    width: 45rem;
    height: 28rem;
    overflow: hidden;
}

.services .image_cover ul {
    margin: 0;
    padding: 0;
}

.services .image_cover li {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    z-index: 10;
    /* Base transition for all properties */
    transition: all 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: clip-path; /* Optimize for animation */
}

.services .image_cover li.previous {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 10;
    /* No separate transition - inherits from base */
}

.services .image_cover li.active {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 12;
    /* No separate transition - inherits from base */
}

.services .image_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services>.cover>.image_cover>ul>.slides2>img {
    object-fit: cover;
    width: 100%;
}

@media (max-width: 769px) {

    .services {
        padding: 6rem var(--main-padding-box-mobile) 0rem var(--main-padding-box-mobile);
    }

    .services .cover {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .services .image_cover {
        width: 100%;
        height: 15rem;
    }
}








.projects {
    padding: 5rem var(--main-padding-box);
}

.projects>.cover {
    /* max-width: 1200px; */
    display: flex;
    gap: 1rem;
    margin: auto;
}

.projects>.cover>a {
    width: 50%;
    height: 45vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.projects>.cover>a>h2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    font-size: 1.8rem;
    font-weight: 400;
    color: white;
}

.projects>.cover>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.2s ease;
}

.commercial:hover>img,
.residential:hover>img {
    transform: scale(1.03) !important;
}

@media (max-width: 769px) {
    
    .projects {
        padding: 8rem var(--main-padding-box-mobile);
    }

    .projects>.cover {
        flex-direction: column;
    }

    .projects>.cover>a {
        width: 100%;
        height: 20rem;
    }
}








.banner_like {
    width: 100%;
    height: 40rem;
    overflow: hidden;
    background-color: beige;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner_like>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner_like .heading {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2rem 1.5rem;
    display: flex;
    align-items: flex-end;
}

.banner_like .heading>h2 {
    width: 80%;
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
    max-width: 35rem;
}

@media (max-width:769px) {
    .banner_like {
        height: 25rem;
    }
    
    .banner_like .heading>h2 {
        font-size: 1.8rem;
        width: 100%;
    }

}










.project_like {
    padding: 15rem var(--main-padding-box);
}

.project_like>.cover {
    max-width: 1200px;
    margin: auto;
}

.project_like>.cover>ul {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

.project_like>.cover>ul li {
    width: 15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project_like>.cover>ul li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project_like>.cover>ul li>a>.heading {
    position: absolute;
    bottom: -3.5rem;
    left: 0;
}

.project_like>.cover>ul li>a>.heading>h3 {
    font-size: 1.2rem;
    font-weight: 200;
    color: var(--main-text-color);
    /* margin-top: 1rem; */
}

.project_like>.cover>ul li>a>.heading>p {
    font-size: 0.7rem;
    opacity: 0.6;
    color: var(--main-text-color);
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 0.5rem;
    letter-spacing: 0.2rem;
}

.project_like>.cover>ul li>a>img {
    width: 15rem;
    object-fit: cover;
    /* margin: auto; */
}

.project_like>.cover>ul li:nth-child(1)>a>img,
.project_like>.cover>ul li:nth-child(3)>a>img {
    height: 20rem;
}

.project_like>.cover>ul li:nth-child(2)>a>img,
.project_like>.cover>ul li:nth-child(4)>a>img {
    height: 10rem;
}



@media (max-width: 769px) {

    .project_like {
        padding: 8rem var(--main-padding-box-mobile);
    }

    .project_like .cover {
        width: 90%;
        margin: auto;
    }

    .project_like>.cover>ul {
        gap: 7rem;
    }

    .project_like>.cover>ul li {
        width: 100%;
    }
    
    .project_like>.cover>ul li>a,
    .project_like>.cover>ul li>a>img {
        width: 100%;
    }
    
    .project_like>.cover>ul li:nth-child(1)>a>img,
    .project_like>.cover>ul li:nth-child(3)>a>img {
        height: 25rem;
        /* height: auto; */
        /* max-height: 100vw; */
    }
    
    .project_like>.cover>ul li:nth-child(2)>a>img,
    .project_like>.cover>ul li:nth-child(4)>a>img {
        height: 12rem;
        /* height: auto; */
        /* max-height: 70vw; */
}
}








.subscribe {
    display: flex;
    padding: 5rem var(--main-padding-box);
}

.subscribe .cover {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.subscribe .cover .connect {
    width: 35%;
    color: var(--main-text-color);
}

.subscribe .cover .connect p {
    font-size: 1rem;
    position: relative;
    left: 1.5rem;
}

.subscribe .cover .connect p::before {
    content: " ";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1.5rem;
    width: 0.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--main-text-color);
}

.subscribe .cover .connect h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-top: 2rem;
}

.subscribe input,
.subscribe textarea {
    border: none;
    background-color: transparent;
    color: var(--main-text-color);
    outline: none;
    letter-spacing: 0.1rem;
    font-size: 0.7rem;
}

.subscribe .cover .input {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.subscribe .cover .input .name_email {
    display: flex;
    justify-content: space-between;
}

.subscribe .cover .input .name_email input {
    width: calc(50% - 2px - 1rem);
    border-bottom: 1px solid var(--main-text-color);
    padding-bottom: 0.5rem;
}

.subscribe .cover .input .message {
    width: 100%;
}

.subscribe .cover .input .message textarea {
    width: 100%;
    height: 7rem;
    border-bottom: 1px solid var(--main-text-color);
    padding-bottom: 0.5rem;
    resize: none;
}

.subscribe .cover .input .button {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid var(--main-text-color);
    background-color: transparent;
    padding: 0.8rem 4rem;
    font-size: 1rem;
    font-weight: 450;
    color: var(--main-text-color);
    overflow: hidden;
    z-index: 10;
    width: fit-content;
    cursor: pointer;
}

.subscribe .cover .input .button:hover {
    color: rgb(41, 41, 41);
    border-color: rgb(41, 41, 41);
}

.subscribe .cover .input .button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--main-text-color);
    left: 0%;
    top: 0;
    z-index: -1;
    transition: clip-path 0.3s ease-out;
    clip-path: circle(0.4% at 0 100%);
}

.subscribe .cover .input .button:hover::before  {
    transition: clip-path 0.3s ease-out;
    clip-path: circle(141.2% at 0 100%);
}

@media (max-width: 769px) {
    
    .subscribe {
        padding: 6rem var(--main-padding-box-mobile);
    }

    .subscribe .cover {
        flex-direction: column;
        gap: 1.5rem;
    }

    .subscribe .cover .connect {
        width: 100%;
    }

    .subscribe .cover .input {
        width: 100%;
        gap: 2rem;
    }

    .subscribe .cover .input .name_email {
        flex-direction: column;
        gap: 2rem;
    }

    .subscribe .cover .input .name_email input {
        width: 100%;
    }

}


