*{
    padding: 0;
    margin: 0;
    text-transform: capitalize;
}

:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Barlow",  sans-serif;
  --nav-font: "Inter",  sans-serif;
}


:root { 
  --background-color: #ffffff;
  --default-color: #14201c; 
  --heading-color: #0a3223; 
  --accent-color: #12a16b; 
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}


:root {
  --nav-color: #ffffff;
  --nav-hover-color: #12a16b;
  --nav-mobile-background-color: #ffffff; 
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #14201c; 
  --nav-dropdown-hover-color: #12a16b;
}



.light-background {
  --background-color: #f4f9f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #000704;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}


body {
    overflow-x: hidden;
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}



.bg-img{
    padding-bottom: 50px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.836)), url(img/bg/bg-14.webp);
}

nav{
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 30px 80px;
}

.logo>h1{
    font-size: 30px;
}

.list>ul{
    display: flex;
    gap: 20px;
    list-style-type: none;

}


/* responsive nav bar */


.fa-bars{
    position: absolute;
    right: 40px;
    font-size: 30px;
    top: 50px;
    color: var(--primary-color);
    display: none !important;
}
.fa-xmark{
    z-index: 9999;
    position: relative;
    left: 75%;
    top: 30px;
    font-size: 26px;
    color: #4d7b6b;
    display: none;
}


@media (max-width:1279px){
    .fa-xmark{
        display: block;
    }
    .fa-bars{
        display: block !important;
    }
    .list{
        z-index: 99;
        padding-left: 30px;
        position: absolute;
        top: 0;
        display: none;
        background-color: #fff;
        color: var(--nav-dropdown-color);
        width: 30%;
        height: 100vh;
        left: 0;
    }
    .list>ul{
        position: relative;
        top: 50px;
        justify-content: center;
        flex-direction: column;
    }
    .list>ul>li{
        font-size: 20px;
    }
}


/* main */
.left-main>.btn>button{
    margin-bottom: 20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 40px;
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    font-weight: 900;
    font-size: 14px;
}

.left-main>h1{
    font-size: 60px;
    width: 600px;
    color: #fff;
}

.left-main>p{
    color: #fff;
    line-height: 2;
    margin: 30px 0px;
    width: 500px;
}
.button{
    padding: 20px 40px;
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    color: #fff;
    font-weight: 800;
}

main{
    
    padding: 20px 50px;
    gap: 40px;
    justify-content: center;
    display: flex;
}
.box{
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 14px 70px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100px;
}
.boxes{
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.box>p{
    color: #fff;
}
.box>i{
    font-size: 30px;
    color: var(--nav-hover-color);
}


/* responsive section of main */


@media (max-width: 1363px) {
    main {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .left-main {
        padding: 20px 40px;
    
    }

    .left-main h1 {
        font-size: 45px;
        width: 100%;
    }

    .left-main p {
        width: 100%;
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .boxes{
        flex-wrap: wrap;
    }
    .box {
        padding: 20px;
    }

    .left-main h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {

    .left-main h1 {
        font-size: 28px;
    }

    .button,
    .left-main .btn button {
        padding: 8px 20px;
        font-size: 14px;
    }

    .box {
        font-size: 14px;
        padding: 15px;
    }

    .box i {
        font-size: 24px;
    }
}




/* ideass */

.ideas{
    padding: 100px 90px;
    display: flex;
    gap: 60px;
}

.left-ideas>h1{
    font-size: 50px;
    
    color: var(--heading-color);
    font-family: var(--heading-font);
}
.left-ideas>h3{
    margin: 30px 0px;
    color: #5c5c5c;
    font-family: var(--heading-font);
    
    font-weight: 600;
    line-height: 2;
    font-size: 18px;
}
.right-ideas>img{
    width: 500px;
}

.left-ideas>p{
    margin: 20px 0px;
}

.numbers{
    text-align: center;
    gap: 30px;
    margin: 30px 0px;
    justify-content: space-evenly;
    display: flex;
}

.num>h1{
    color: var(--accent-color);
}
.team>button{
    margin-top: 30px;
    transition: 0.5s ease-in-out;
    padding: 15px 25px;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
}
.team{
    display: flex;
    gap: 30px;
}
.team>button:nth-child(1){
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
}

.team>button:nth-child(1):hover{
    font-weight: 700;  
    background-color: transparent;
    color: var(--accent-color);
}


.team>button:nth-child(2):hover{
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
}


.team>button:nth-child(2){
    font-weight: 700;
    background-color: transparent;
    color: var(--accent-color);
}

.left-ideas>hr{
    margin-right: 20px;
}


/* responsive  */

@media (max-width: 1190px) {

    .left-ideas{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ideas {
        flex-direction: column-reverse;
        padding: 30px 40px;
        justify-content: center;
        text-align: center;
    }
    .left-ideas > h1 {
        font-size: 32px;
        max-width: 100%;
    }

    .left-ideas > h3 {
        font-size: 16px;
        max-width: 100%;
    }

    .right-ideas > img {
        max-width: 100%;
    }
    .team{
        justify-content: center;
    }
}


@media (max-width: 500px) {
    .ideas {
        padding: 20px;
        gap: 20px;
    }

    .left-ideas > h1 {
        font-size: 26px;
    }

    .left-ideas > h3 {
        font-size: 14px;
        margin: 15px 0;
    }

    .numbers {
        flex-direction: column;
        gap: 15px;
    }

    .team {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .team > button {
        width: 100%;
    }
}


/* features */

.features{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fea-flex{
    margin: 20px 0px;
    align-items: center;
    display: flex;
}
.fea-flex>hr{
    width: 50px;
}

.divider{
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
}
.features>h2{
    font-size: 40px;
}

.fea{
    justify-content: center;
    padding: 20px 90px;
    display: flex;
    gap: 50px;
}
.left-fea>.btn>button{
    padding: 15px 35px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    color: #12a16b;
    background-color: rgba(18, 161, 106, 0.103);
}
.right-fea>img{
    width: 600px;
}



.left-fea>h1{
    margin: 30px 0px;
    color:var(--heading-color);
    font-size: 40px;
    font-weight: 600;
}


.left-fea>p{
    line-height: 1.6;
    margin-bottom: 30px;
}


.left-fea>button{
    padding: 15px 20px;
    background-color: var(--accent-color);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border-radius: 10px;
}


@media (max-width:1257px){
    .features{
        padding: 50px 0px;
    }
    .fea{
        align-items: center;
        text-align: center;
        flex-direction: column-reverse;
    }
    .right-fea>img{
        width: 100%;
    }
    .left-fea>h1{
        font-size: 30px;
        width: 100%;
    }
    .left-fea>p{
        width: 100%;
    }
}



/* rating */

.rate{
    padding: 60px 40px;
    text-align: center;
    display: flex;
    gap: 70px;
    justify-content: center;
    background-color: var(--accent-color);
    color: #fff;
    margin: 100px 90px;
    border-radius: 25px;
    flex-wrap: wrap;
}

.h1{
    text-align: center;
}



/* cards */


.cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    transition: 0.5s ease-in-out;
    padding: 120px 0px;
}

.card{
    border-radius: 20px;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 2px 2px 10px grey;
    width: 300px;
    transition: 0.5s ease-in-out;
}
.card>p{
    margin: 30px 0px;
}
.row{
    transition: 0.5s ease-in-out;
    display: flex;
    flex-direction: row;
    width: 120px;
    align-items: center;
    gap: 6px;
}
.i{
    transition: 1s ease-in-out;
    width: 40px;
    padding: 20px;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background-color: var(--accent-color);
    margin-bottom: 30px;
}
.i>i{
    font-size: 30px;
}

.row>hr{
    border: none;
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}
.card:hover .row{
    color: #fff;
    padding-left: 0;
    padding-right: 10px;
    transform: scaleX(-1);
}
.card:hover .row>h4{
    transform: scaleX(-1);
}
.card:hover .row>hr{
    background-color: #fff;
}


.card>.fa-up-right-from-square{
    position: relative;
    left: 370px;
    padding: 20px;
    border-radius: 50%;
    bottom: 90px;
    font-size: 20px;
    color: transparent;
    transition: 0.5s ease-in-out;
    background-color: transparent;
}

.card:hover{
    background-color: var(--accent-color);
}

.card:hover .i{
    background-color: #fff;
    color: var(--accent-color);
}

.card:hover .fa-up-right-from-square{
    background-color: #fff;
    left: 240px;
    color: var(--accent-color);
    bottom: 10px; 
}
.h{
    transition: 0.5s ease-in-out;
}
.card:hover .h{
    color: #fff;
}






/* long-card */


.l-card{
    background-color: #fff;
    width: 190px;
    border-radius: 30px;
    padding: 30px 30px;
    text-align: center;
    box-shadow: 2px 2px 10px grey;
}

.l-card>button{
    background-color: var(--accent-color);
    padding: 10px 18px;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
}

.work>p{
    margin-bottom: 40px;
}

.long-card{
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.work>h1{
    text-align: center;
}

.l-card>.icc{
    position: relative;
    left: 29px;
}


.long-card{
    margin: 10px 40px;
}

.work{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.l-card>i{
    padding: 20px;
    border-radius: 50%;
    font-size: 25px;
    margin-bottom: 20px;
    color: var(--accent-color);
    background-color: rgba(18, 161, 106, 0.219);
}
.ic>h1{
    font-size: 20px;
    margin: 40px 0px;
    font-family: var(--heading-font);
}
.ic{
    display: flex;
}

.ic>.fa-arrow-right{
    font-size: 20px;
    padding: 30px;
    background-color: var(--accent-color);
}

.l-card>p{
    line-height: 1.5;
}

.l-flex{
    gap: 0px;
    display: flex;
    align-items: center;
}


.r-flex>i{
    margin-left: -20px;
    padding: 10px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.l-flex{
    position: relative;
    bottom: 0px;
    transition: 0.5s ease-in-out;
}

.l-flex:hover{
    position: relative;
    bottom: 20px;
}

.l-card{
    border: 2px solid transparent;
}

.l-card:hover{
    border: 2px solid var(--accent-color);
}

.l-card:hover .l-card>.i{
    background-color: var(--accent-color);
}



/* all-slide left right slide */


.icn{
    align-items:center ;
    margin-bottom: 20px;
    padding: 20px;
}

.all-slide{
    margin-top: 30px;
    justify-content: center;
    padding: 30px 60px;
    gap: 40px;
    display: flex;
}
.icn{
    display: flex;
    gap: 20px;
}



.ii>i{
    color: var(--nav-hover-color);
    padding: 12px;
    border-radius: 50%;
    background-color: rgba(18, 161, 106, 0.219);
    font-size: 20px
}

.i-text{
    gap: 20px;
    display: flex;
    align-items: start;
}


.slidee{
    padding: 50px 30px;
    gap: 30px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px gray;
    display: flex;
}


.slidee>.leftu>.divider{
    margin-top: 20px;
}

.slide-2{
    display: flex;
}

.rightu>img{
    width: 350px;
    border-radius: 20px;
}



.leftu>h1{
    font-size: 30px;
}


.leftu>p{
    margin: 20px 0px;
    width: 330px;
    line-height: 1.5;
}


.blue{
    line-height: 1.5;
    margin: 30px 0px;
    margin-right: 40px;
    border-radius: 20px;
    width: 330px;
    padding: 20px 10px;
    background-color: rgba(18, 161, 106, 0.103);
}


.i-text>i{
    color: #12a16b;
    padding: 6px;
    border: 1px solid #12a16b;
    border-radius: 50%;
}

.i-text{
    padding: 10px;
    position: relative;
    left: 0px;
    transition: 0.5s ease-in-out;
}

.i-text:hover{
    position: relative;
    left: 20px;
    border-radius: 20px;
    box-shadow: 2px 2px 10px grey;
}

.icn{
    transition: 0.5s ease-in-out;
}

.icn:hover{
    background-color: var(--accent-color);
    border-radius: 20px;
}

.text{
    transition: 0.5s ease-in-out;
}

.icn:hover .ii>i{
    color: #12a16b;
    background-color: #fff;
}

.icn:hover .text{
    color: #fff;
}


/* slides none */


.slide-4,
.slide-2,
.slide-3,
.slide-5{
    display: none;
}




@media (max-width:1331px){
    .all-slide{
        flex-direction: column;
    }    
    .leftu{
        width: 100%;
    }

    .left-slide{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .slidee{
        justify-content: space-evenly;
    }
}



@media (max-width:981px){
    .slidee{
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: space-evenly;
        margin: 10px -40px;
    }
    .leftu{
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .leftu>p{
        width: 100%;
    }
    .blue{
        width: 100%;
        display: flex;
        justify-content: center;
        margin-right: 0px;
    }
}


/* footer */


footer{
    flex-wrap: wrap;
    color: #fff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.foo{
    width: 200px;
}

.footer{
    padding-bottom: 5%;
    background-color: #000704;
}

.icon>i{
    border-radius: 50%;
    border: 1px solid #fff;
    padding: 12px;
    transition: 0.5s ease-in-out;
}

.icon{
    font-size: 22px;
    display: flex;
    gap: 20px;
}


.icon>i:hover{
    border: 1px solid #12a16b;
    color: #12a16b;
}


footer>.foo:nth-child(1){
    width: 350px;
}

footer>.foo:nth-child(1)>p{
    margin: 30px 0px;
}

.foo>ul{
    cursor: pointer;
    margin-top: 20px;
    line-height: 2;
    list-style-type: none;
}

.foo>ul>li{
    transition: 0.5s ease-in-out;
}

.foo>ul>li:hover{
    color: #37d498;
}

.foo>h2{
    width: 200px;
    font-size: 23px;
}

.small-footer{
    font-size: 18px;
    border-radius: 30px;
    margin: 10px 100px;
    line-height: 1.9;
    text-align: center;
    padding: 50px 30px;
    background-color: var(--nav-dropdown-color);
    color: #fff;
}


@media (max-width:603px){
    .small-footer{
        font-size: 15px;
    }
}