  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

:root {
    --green-color: #5C6E1D;
    --white-color: #FFFFFF;
    --black-color: #000000;
    --gray-color: #E0E2D9;
}

body {
    background-color: var(--white-color);
    overflow-x: hidden;
}

.navbar {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 25px;
    font-weight: 300;
    padding: 10px 20px;
}

.first-container {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: url(../img/header.png);
    background-size: cover;
    background-position: center;
    padding: 140px 5%;
}

.h1-one {
    text-align: center;
    font-size: 100px;
    line-height: 110px;
    font-weight: 800;
    color: var(--white-color);
}

.h1-two {
    background-color: var(--black-color);
    color: var(--white-color);
    font-size: 100px;
    line-height: 100px;
    padding: 5px 15% 15px 15%;
    margin-top: 15px;
}

.second-container {
    width: 100%;
    background-color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 4rem 5%;
    color: var(--green-color);
}

.second-container h1 {
    font-size: 65px;
    line-height: 75px;
    font-weight: 800;
}

.second-container h2 {
    font-size: 45px;
}

.third-contianer {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(var(--green-color) 0%,var(--green-color) 59.99%,var(--gray-color) 60%,var(--gray-color) 100%);
    text-align: center;
    padding: 3rem 5% 0 5%;
}

.p-01 {
    color: var(--white-color);
    font-size: 22px;
    width: 70%;
    margin-bottom: 50px;
}

.third-circle {
    width: 360px;
    aspect-ratio: 1/1;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: #2D318B;
    padding: 10px 15px;
}

.third-circle h2 {
    font-size: 50px;
    font-weight: 800;
}

.third-circle p {
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
}

.curve-text {
    width:350px;
    margin-top: -60px;
}

.forth-container {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    padding: 1rem 7% 5rem 7%;
    background-color: var(--gray-color);
}

.forth-card {
    width: 32%;
    height: fit-content;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.centered-card {
    margin-top: 150px;
}

.centered-card::before,.top-card::before,.bottom-card::before {
    content: '';
    width: 120px;
    height: 2px;
    background-color: #c0c2bb;
    rotate: 90deg;
    position: absolute;
    top: -17%;
}
.top-card::before{
   rotate: 138deg;
   left: 80%;
   top: -10%;
}
.bottom-card::before{
    rotate: -138deg;
    right: 80%;
    top: -10%;
}

.forth-card img {
    width: 50%;
    border-radius: 50%;
    border: 12px solid var(--white-color);
}

.forth-card h2 {
    margin: 20px 0;
    color: #2D318B;
    font-size: 35px;
    font-weight: 700;
}

.forth-card p {
    color: var(--black-color);
    font-size: 18px;
    font-weight: 700;
}

.fifth-container {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 7%;
    background: linear-gradient(var(--gray-color) 0%,var(--gray-color) 17.99%,var(--white-color) 18%,var(--white-color) 100%);
}

.fifth-container img {
    width: 48%;
    margin-bottom: 30px;
}

.fifth-txt {
    width: 48%;
}

.fifth-txt p,.fifth-remain-txt {
    color: var(--black-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 55px;
}

.fifth-remain-txt {
    width: 86%;
    margin-left: 7%;
}

.bottm-g-txt {
   text-align: center;
   color: var(--green-color);
   width: 60%;
   margin-left: 20%;
   font-size: 25px;
   margin-bottom: 4rem;
}

.green-footer {
    width: 100%;
    height: 12rem;
    background-color: var(--green-color);
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.green-footer h3 {
    font-size: 30px;
   color: var(--white-color);
}

@media(max-width:1000px) {
    .first-container {
        padding: 120px 5%;
    }
    
    .h1-one {
        font-size: 70px;
        line-height: 80px;
    }
    
    .h1-two {
        font-size: 70px;
        line-height: 70px;
        padding: 5px 15% 15px 15%;
        margin-top: 10px;
    }
    
    .second-container {
        padding: 4rem 5%;
    }
    
    .second-container h1 {
        font-size: 50px;
        line-height: 60px;
    }
    
    .second-container h2 {
        font-size: 35px;
    }
    
    .third-contianer {
        padding: 3rem 5% 0 5%;
    }
    
    .p-01 {
        font-size: 22px;
        width: 90%;
        margin-bottom: 50px;
    }
    
    .third-circle {
        width: 340px;
        padding: 10px 15px;
    }
    
    .third-circle h2 {
        font-size: 40px;
    }
    
    .third-circle p {
        font-size: 22px;
        line-height: 27px;
    }
    
    .curve-text {
        width:350px;
        margin-top: -60px;
    }
    
    .forth-container {
        padding: 1rem 5% 5rem 5%;
    }
    
    .forth-card {
        width: 33%;
        padding: 0 10px;
    }
    
    .centered-card {
        margin-top: 150px;
    }
    
    .centered-card::before,.top-card::before,.bottom-card::before {
        content: '';
        width: 100px;
        top: -17%;
    }
    .top-card::before{
       left: 60%;
       top: -10%;
    }
    .bottom-card::before{
        right: 60%;
        top: -10%;
    }
    
    .forth-card img {
        width: 70%;
    }
    
    .forth-card h2 {
        margin: 17px 0;
        color: #2D318B;
        font-size: 30px;
    }
    
    .forth-card p {
        font-size: 18px;
    }
    
    .fifth-container {
        padding: 0 5%;
    }
    
    .fifth-container img {
        width: 49%;
        margin-bottom: 30px;
    }
    
    .fifth-txt {
        width: 49%;
    }
    
    .fifth-txt p,.fifth-remain-txt {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .fifth-remain-txt {
        width: 90%;
        margin-left: 5%;
    }
    
    .bottm-g-txt {
       width: 80%;
       margin-left: 10%;
       font-size: 25px;
       margin-bottom: 4rem;
    }
    
    .green-footer {
        height: 12rem;
        margin-bottom: 5rem;
    }
    .green-footer h3 {
        font-size: 25px;
    }
}

@media(max-width:750px) {
    .navbar {
        font-size: 18px;
    }
    .first-container {
        padding: 100px 5%;
    }
    
    .h1-one {
        font-size: 45px;
        line-height: 60px;
    }
    
    .h1-two {
        font-size: 50px;
        line-height: 60px;
        padding: 0px 5% 5px 5%;
        margin-top: 5px;
    }
    
    .second-container {
        padding: 3rem 5%;
    }
    
    .second-container h1 {
        font-size: 35px;
        line-height: 45px;
    }
    
    .second-container h2 {
        font-size: 25px;
    }
    
    .third-contianer {
        padding: 2rem 5% 0 5%;
    }
    
    .p-01 {
        font-size: 20px;
        width: 100%;
        margin-bottom: 40px;
    }
    
    .third-circle {
        width: 70%;
    }
    
    .third-circle h2 {
        font-size: 28px;
    }
    
    .third-circle p {
        font-size: 20px;
        line-height: 23px;
    }
    
    .curve-text {
        width: 70%;
        margin-top: -40px;
    }
    
    .forth-container {
        display: flex;
        justify-content: center;
        flex-direction: column;align-items: center;
        padding: 3rem 5% 5rem 5%;
    }
    
    .forth-card {
        width: 100%;
        padding: 0 10px;
        margin-bottom: 50px;
    }

    .forth-card img {
        width: 50%;
        border: 10px solid var(--white-color);
    }
    
    .centered-card {
        margin-top: 0px;
    }
    
    .centered-card::before,.top-card::before,.bottom-card::before {
        display: none;
    }
    
    .forth-card img {
        width: 50%;
    }
    
    .forth-card h2 {
        margin: 10px 0;
        font-size: 30px;
    }
    
    .forth-card p {
        font-size: 18px;
        text-align: center;
    }
    
    .fifth-container {
        padding: 0 5%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .fifth-container img {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .fifth-txt {
        width: 100%;
    }
    
    .fifth-txt p,.fifth-remain-txt {
        font-size: 18px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .fifth-remain-txt {
        width: 90%;
        margin-left: 5%;
    }
    
    .bottm-g-txt {
       width: 90%;
       margin-left: 5%;
       font-size: 22px;
       margin-bottom: 3rem;
    }
    
    .green-footer {
        height: 10rem;
        margin-bottom: 3rem;
    }
    .green-footer h3 {
        font-size: 20px;
    }
}