
/* linked style-all.css file */

:root{
    /* font sizes */
    --default-fs: 16px;
    --hero-text-fs: 4.2vw;      /* 80px */
    --para-text-fs: 1.47vw;        /* 28px */
    --service-item-heading-fs: 0.94vw;        /* 18px */
    --service-item-text-fs: 1.05vw;        /* 20px */
    --service-item-link-fs: 0.89vw;        /* 17px */
    --box-item-heading-fs: 0.94vw;        /* 18px */
    --box-item-text-fs: 1.05vw;        /* 20px */
    --box-heading-fs: 4vw;
    --box-para-fs: 2vw;
    --border-text-fs: 14px;
    --contol-icons-fs: 1.31vw;        /* 25px */

    /* padding */
    --section-padding: 100px 150px;

    /* border radius */
    --card-border-radius: 5px;
    --scrollbar-border-radius: 10px;

    /* gaps */
    --gap-flex: 20px;
    --gap-row: 30px;
}

/* styling buttons */
.btn-green{
    text-decoration: none;
    color: var(--primary-theme);
    font-weight: bold;
    border-radius: var(--card-border-radius);
    background-color: var(--green-theme);
    padding: 15px 30px;
    font-size: var(--default-fs);
}
.btn-green:hover, .btn-green:focus{
    color: var(--primary-theme);
}

/* styling text */
.hero-text{
    font-size: var(--hero-text-fs);
    line-height: 1.2;
}
.hero-text > .curved-text:nth-child(1){
    display: block;
    padding-left: 10px;
}
.curved-text{
    color: var(--green-theme);
    font-family: var(--papillon-font);
}
.middle-text{
    color: black;
    font-family: var(--volkolak-font);
}
.para-text{
    color: var(--dark-gray-text);
    font-family: var(--volkolak-font);
    font-size: var(--para-text-fs);
    padding-top: 40px;
}
.box-text{
    color: var(--dark-gray-text);
    font-family: var(--montserrat-font);
}
.box-item-heading{
    color: var(--green-theme);
    text-transform: uppercase;
    font-family: var(--montserrat-font);
    font-weight: bold;
    letter-spacing: 5px;
    font-size: var(--box-item-heading-fs);
}
.box-item-text{
    color: black;
    font-family: var(--volkolak-font);
    font-weight: 500;
    font-size: var(--box-item-text-fs);
}
.box-heading{
    color: var(--green-theme);
    font-family: var(--monoton-font);
    font-weight: normal;
    text-transform: uppercase;
    font-size: var(--box-heading-fs);
}
.box-para{
    color: black;
    font-family: var(--volkolak-font);
    font-size: var(--box-para-fs);
    line-height: 1.4;
    padding-top: 40px;
}
.service-item-heading{
    color: var(--green-theme);
    text-transform: capitalize;
    font-family: var(--montserrat-font);
    font-weight: bold;
    letter-spacing: 5px;
    font-size: var(--service-item-heading-fs);
}
.service-item-text{
    color: black;
    font-family: var(--volkolak-font);
    font-weight: 500;
    font-size: var(--service-item-text-fs);
}
.service-item-link{
    color: var(--green-theme);
    font-family: var(--volkolak-font);
    font-weight: 500;
    font-size: var(--service-item-link-fs);
    display: flex;
    align-items: center;
}
.service-item-link:hover, .service-item-link:focus{
    color: var(--green-theme);
}
.service-item-link > i{
    transform: rotate(180deg);
    margin-left: 10px;
    transition: margin-left .5s;
}
.service-item-link:hover > i{
    background-color: var(--green-theme);
    color: var(--primary-theme);
    padding: 2px 3px;
    margin-left: 25px;
}


/* header, navigation bar */
.container-header{
    width: 100%;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
}
.container-header > .wrapper-leaf{
    width: 15%;
    bottom: 0;
    left: 40%;
    transform: rotate(50deg);
}
.container-header > .hero-section{
    width: 50%;
    border-right: var(--section-border);
    position: relative;
}
.hero-section::after{
    content: "";
    background-color: var(--primary-theme);
    writing-mode: vertical-rl;
    padding: 10px 0px;
    color: var(--green-theme);
    font-family: var(--montserrat-font);
    font-weight: bold;
    font-size: var(--border-text-fs);
    letter-spacing: 2px;
    position: absolute;
    top: 20%;
    left: 100%;
    z-index: 10;
    transform: translateX(-50%);
}
.hero-section > .header{
    width: 100%;
    height: 13vh;
    border-bottom: var(--section-border);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.header > a.site-link{
    width: 70%;
    display: flex;
    align-items: center;
}
a.site-link > img:nth-child(1){
    width: 14%;
}
a.site-link > img:nth-child(2){
    width: 80%;
}
.hero-section > .page-description{
    width: 70%;
    height: calc(100% - 13vh);
    overflow: hidden;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.page-description > img{
    width: 100%;
}
/* styling container slider */
.container-header > .container-slider{
    width: 50%;
    height: 100%;
    position: relative;
}
.control-arrows{
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    transform: translate(-20%, 20%);
    display: flex;
    column-gap: 10px;
    padding: 20px;
}
.arrow-left, .arrow-right{
    cursor: pointer;
    font-size: var(--contol-icons-fs);
    color: var(--green-theme);
    border: 1px solid var(--green-theme);
    transition: .5s all;
    padding: 20px;
}
.arrow-left:hover, .arrow-right:hover{
    color: var(--primary-theme);
    background-color: var(--green-theme);
}
.arrow-right > i{
    transform: rotate(180deg);
}
.container-slider > .wrapper-slider{
    width: 100%;
    height: 100%;
    /* background-color: rebeccapurple; */
}
.wrapper-slider .slider-item{
    /* background-color: yellow; */
    width: 100%;
    height: 100%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 20px;
}
.slider-item > .box-images{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}
.box-images > .cover-image{
    width: 46%;
}
.cover-image > img{
    width: 100%;
}
.slider-item > p:nth-child(3){
    width: 60%;
    line-height: 1.5;
}



/* styling sections */
.section{
    width: 100%;
    position: relative;
    overflow: hidden;
    border-top: var(--section-border);
    padding: var(--section-padding);
}
.container-boxes{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.container-boxes > .wrapper-box{
    /* background-color: rebeccapurple; */
    width: 30%;
    height: inherit;
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-row);
}
.wrapper-box > .wrapper-box-image{
    width: 100%;
}
.wrapper-box > .wrapper-box-image > img{
    width: 100%;
}

/* other services section */
.other-services > .wrapper-leaf{
    width: 15%;
    top: 0;
    right: 0;
}
.other-services > p{
    font-size: var(--hero-text-fs);
    padding-bottom: 50px;
    line-height: 1.2;
}
.other-services > .container-services{
    display: flex;
    justify-content: space-between;
}
.container-services > .wrapper-service{
    width: 22%;
    height: inherit;
    display: flex;
    flex-direction: column;
    row-gap: var(--gap-row);
}
.wrapper-service > .wrapper-service-image{
    width: 100%;
    overflow: hidden;
}
.wrapper-service > .wrapper-service-image > img{
    width: 100%;
    height: 100%;
    transition: all .5s;
}
.wrapper-service > .wrapper-service-image:hover > img{
    transform: scale(1.3);
}


/* media queries */
/* mobile - 0px to 768px */ 
@media screen and (max-width: 768px) {
    
    /* variables */
    :root{
        /* font sizes */
        --default-fs: 3.6vw;
        --hero-text-fs: 7vw;
        --para-text-fs: 4.2vw;
        --service-item-heading-fs: 4vw;
        --service-item-text-fs: 4.1vw;
        --service-item-link-fs: 3.5vw;
        --box-item-heading-fs: 4vw;
        --box-item-text-fs: 4.1vw;
        --box-heading-fs: 10.5vw;
        --box-para-fs: 5vw;
        --border-text-fs: 12px;
        --contol-icons-fs: 5vw;

        /* padding */
        --section-padding: 40px;
    }

    /* styling buttons */
    .btn-green{
        padding: 10px 20px;
    }

    /* styling text */
    a.service-item-text{
        font-size: 14px;
    }
    .box-item-heading{
        letter-spacing: 3px;
    }
    .box-para{
        padding-top: 20px;
    }
    .service-item-heading{
        letter-spacing: 3px;
    }

    /* header, navigation bar */
    .container-header{
        flex-direction: column;
    }
    .container-header > .wrapper-leaf{
        width: 30%;
        bottom: unset;
        top: 40%;
        left: -15%;
    }
    .container-header > .hero-section{
        width: 100%;
        height: 40vh;
        border-right: none;
        border-bottom: var(--section-border);
    }
    .hero-section::after{
        writing-mode: horizontal-tb;
        top: unset;
        left: unset;
        transform: unset;
        padding: 0px 10px;
        bottom: 0;
        left: 10%;
        transform: translateY(50%);
    }
    .hero-section > .header{
        height: 12vh;
    }
    .header > a.site-link{
        width: 75%;
    }
    a.site-link > img:nth-child(1){
        width: 15%;
    }
    .hero-section > .page-description{
        width: 100%;
        height: calc(100% - 12vh);
        flex-direction: row;
        align-items: center;
    }
    .page-description > img{
        width: 48%;
    }
    .page-description > .hero-text{
        width: 42%;
    }
    /* styling container slider */
    .container-header > .container-slider{
        width: 100%;
        height: 60vh;
    }
    .control-arrows{
        transform: translate(0%, 0%);
        padding: 15px;
    }
    .arrow-left, .arrow-right{
        padding: 12px;
    }
    .wrapper-slider .slider-item{
        padding: var(--section-padding);
        row-gap: 10px;
    }
    .slider-item > p:nth-child(3){
        width: 100%;
        text-align: justify;
        line-height: 1.4;
    }

    /* styling sections */
    .container-boxes{
        flex-direction: column;
        row-gap: 50px;
    }
    .container-boxes > .wrapper-box{
        width: 100%;
        row-gap: var(--gap-flex);
    }

    /* other services section */
    .other-services > .wrapper-leaf{
        width: 20%;
        top: 1%;
        right: -2%;
    }
    .other-services > p{
        padding-bottom: var(--section-padding);
        line-height: 1.2;
    }
    .other-services > .container-services{
        flex-direction: column;
        row-gap: 50px;
    }
    .container-services > .wrapper-service{
        width: 100%;
        row-gap: var(--gap-flex);
    }
}
