@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Bebas+Neue&family=Open+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&family=Oswald&family=Playfair+Display&display=swap');

*{
    margin: 0;
    box-sizing: border-box;
    color: white;
}

@font-face {
    font-family: "century-gothic";
    src: url(../fonts/century-gothic/CenturyGothic.ttf);
}

:root{
    --century-gothic: "century-gothic";
    --font1: 'Open Sans', sans-serif;
    --font2: 'Arvo', serif;
    --font3: 'Playfair Display', serif;
    --font4: 'Instrument Serif', serif;
    --font-head: 'Didact Gothic', sans-serif;
    --font-content: 'Oswald', sans-serif;
    --primary-color : #1A7248;
    --secondary--color : #816309;  
    --black1: #191919; 
}

h1{
    font-family: var(--century-gothic);
    font-weight: 400;
}

p{
    font-family: var(--century-gothic);
}

a{
    font-family: var(--century-gothic);
    text-decoration: none;
}


.main{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--black1);
}

/* ======secton - 1========= */

.section1{
    height: 100vh;
    width: 100%;
    /* padding-top: 100px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroImg{
    height: 100%;
    width: 100%;
    background-image: url(../images/service/hero-section-4.jpg);
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

.heroContent{
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.heroContent h1{
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 2px;
    color: var(--black1);
}

.heroContent p{
    font-size: 1rem;
    width: 50%;
    text-align: left;
    color: var(--black1);
}

.heroContent a{
    width: 10rem;
    text-decoration: none;
    color: var(--black1);
    padding: 5px 15px;
    border: 2px solid var(--black1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 500;
    transition: 0.5s ease-in-out;
}

.heroContent a i{
    color: var(--black1);
    font-size: 1.6rem;
    transition: 0.5s ease-in-out;
}

.heroContent a:hover {
    color: white;
    background-color: var(--primary-color);
    transition: 0.5s ease-in-out;
    transform: scale(0.95);
    border: 2px solid var(--primary-color);
}

.heroContent a:hover i{
    color: white;
    transition: 0.5s ease-in-out;
    transform: rotatez(-90deg);
}


/* =========service 2======== */

.section2{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0px;
}

.ourService{
    height: 100%;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ourServiceHead{
    height: 100%;
    width: 30%;
    border-bottom: 4px solid var(--primary-color);
    text-align: center;
    padding: 5px 0px;
}

.ourServiceHead h1{
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 2px;
}

.ourServiceContent{
    height: 100%;
    width: 80%;
    padding: 20px;
    text-align: center;
}


/* =======section - 3======== */

.section3{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.serviceHead{
    height: 100%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
}
.serviceHead h1{
    width: fit-content;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 2px 0px;
    border-bottom: 3px solid var(--primary-color);
}

.serviceDesc{
    height: 100%;
    width: 90%;
    padding: 10px 0px;
}

.typology{
    height: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.typologyBg{
    height: 100%;
    width: 100%;
    background-image: url(../images/service/section-2.jpg);
    background-position: center;
    background-size: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typologyBg img{
    /* position: absolute; */
    height: 550px;
    width: 100%;
    object-fit: cover;
}

#img1{
    z-index: 3;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

#img2{
    position: absolute;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

#img3{
    position: absolute;
    opacity: 0;
    transition: 0.5s ease-in-out;
}



.typologyContent{
    z-index: 99;
    position: absolute;
    height: 550px;
    width: 90%;
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
}

.type{
    height: 100%;
    width: 100%;
    padding: 50px;
    display: flex;
    align-items: start;
    justify-content: end;
    flex-direction: column;
    gap: 10px;
    background-color: #1919193e;
    cursor: pointer;
    overflow: hidden;
}

.type a{
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 500;
    transition: 0.5s ease-in-out;
}

.type a i{
    font-size: 1.6rem;
    transition: 0.5s ease-in-out;
}

.type a:hover {
    color: white;
    background-color: var(--primary-color);
    transition: 0.5s ease-in-out;
    transform: scale(0.95);
    border: 2px solid var(--primary-color);
}

.type a:hover i{
    color: white;
    transition: 0.5s ease-in-out;
    transform: rotatez(-90deg);
}

.archi:hover #img1{
    /* background-image: url(../images/service/section-2.jpg); */
    display: block;
}

#architect{
    overflow: hidden;
    transition: 0.5s ease-in-out;
    /* border-left: 1px solid white; */
    /* border-right: 1px solid white; */
}

#interior{
    /* border-left: 0.1px solid white; */
    /* border-right: 0.5px solid white; */
    transition: 0.5s ease-in-out;
}

#construction{
    /* border-right: 1px solid white; */
    transition: 0.5s ease-in-out;
}

#architect:hover {
    background-color: #191919d2;
    transition: 0.5s ease-in-out;
    transform: scale(1.02);
}

#interior:hover {
    background-color: #191919d2;
    transition: 0.5s ease-in-out;
    transform: scale(1.02);
}

#construction:hover {
    background-color: #191919d2;
    transition: 0.5s ease-in-out;
    transform: scale(1.02);
}



/* ========section 4======= */
.section4{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weOffer{
    height: 100%;
    width: 90%;
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
}

.weOfferHead{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.weOfferHead h1{
    width: fit-content;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 4px 0px;
    border-bottom: 3px solid var(--primary-color);
}

.weOfferContent{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0px;
}

.weOfferContent ul{
    list-style: none;
    line-height: 2;
}
.weOfferContent ul li{
    font-family: var(--century-gothic);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weOfferContent ul li i{
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* ==========media query========== */


@media screen and (max-width: 600px) {
    .ourServiceHead{
        width: 100%;
    }
    .ourServiceContent{
        width: 100%;
    }

    .typology{
        height: 100%;

    }
    .typologyBg{
        display: none;
    }
    .typologyContent{
        height: 100%;
        /* flex-direction: column; */
        width: 100%;
        grid-template-columns: 1fr;
        position: static;
        background-color: #191919d2;
    }
    #architect{
        background-image: url(../images/service/hero-section.jpg);
        background-position: center;
        background-size: cover;
    }

    #interior{
        background-image: url(../images/service/interior-2.jpg);
        background-position: center;
        background-size: cover;
    }

    #construction{
        background-image: url(../images/service/construction-2.jpg);
        background-position: center;
        background-size: cover;
    }

    /* #construction h1 , #construction p{
        color: #191919;
    } */

    .weOfferHead h1{
        font-size: 1.8rem;
    }
    .weOfferContent ul{
        padding: 0;
    }
    .weOfferContent ul li{
        /* display:block; */
        align-items: start;
        font-size: 1.6rem;
    }
    .weOfferContent ul li i{
        font-size: 1.6rem;
    }
}