.main-wrapper{
    width: 100%;
    overflow: hidden;
}


.aboutus-link-box{
    width: 100%;
    display: flex;
    justify-content: center;
}



.box-aboutus{
    width: 45%;
    height: 7rem;
    border-radius: 40px;
    background-color:var( --white-color);
    box-shadow:0px 0px 15px  var(--text-color-shadow);
    margin-top: 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-family: var( --primary-font-bold);
    z-index: 10;
}



.aboutus-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    height: 60%;
    border-left: 8px solid var(--primary-color);
    font-size:1.5rem;
    font-weight:bold;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

.aboutus-link-active{
    color: var(--primary-color);
}

.aboutus-link-mission{
    border-left:none;
}

.upper-part{
    display: flex;
    flex-direction: row;
}

.upper-part-left{
    width: 40%;
    margin-top: -10%;
    z-index: 1;
}

.image-background{
    transform: translateX(5%);
    height: 180rem;
}

.upper-part-right{
    display: flex;
    flex-direction: column;
    width: 60%;
    padding-right: 10%;
    padding-top: 8%;
    z-index: 5;
}

.about-us-description{
    width: 100%;
}

.tabcontent{
    font-size: 1.3rem;
    color: var(--text-color);
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 11;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tabcontent ul{
    margin-right:40px;
}
.unactive {
    color: var(--text-color);
}

.active {
    color:var(--primary-color);
}



.great-offer{
    width: 70%;
    margin-top: 40%;
}

.great-offer h3{
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family:var(--primary-font-bold);
}

.great-offer h2{
    color: var(--text-color);
    font-size: 2rem;
    font-family:var(--primary-font-bold);
    margin-top: 5%;
}

.offer-box{
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto auto auto ;
    row-gap: 20%;
    margin-top: 8%;
}

.offer-box a{
    width: 100%;
    height: 100%;
}

.offer-item{
    width: 75%;
    height: 6.5rem;
    box-shadow:0px 3px 5px  var(--text-color);
    border-radius: 25px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.offer-item img{
    width:100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
}
.analysis-box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 70%;
}

.analysis-box h3{
    color: var(--primary-color);
    font-size: 1.3rem;
    font-family:var(--primary-font-bold);
}

.analysis-box h2{
    color: var(--text-color);
    font-size: 2rem;
    font-family:var(--primary-font-bold);
    margin-top: 5%;
}


.lower-part{
    display: flex;
    flex-direction: row;
}

.lower-part-right{
    width: 40%;
    margin-top: -100rem;
    z-index: 2;
}

.lower-part-right img{
    transform: translateX(70%);
    height: 180rem;
}


.lower-part-left{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: -100rem;
    z-index: 8;
}




.achievements-box{
    display: flex;
    flex-direction: row;
    width: 80%;
}

.achievements-itemes{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10%;
}

.achievements-itemes p{
    font-size: 1rem;
    color: var(--text-color);
    font-family: var(--primary-font-bold);
    white-space: nowrap;
    width: 120px;
    text-align: center;
    text-wrap: wrap;
}

.achievements{
    width:65%;
    height: 6.5rem;
    box-shadow:0px 3px 5px  var(--text-color);
    border-radius: 25px;
    display:flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15%;
}

.about-us-description-left{
    width: 80%;
    margin-top: 60%;
}

.about-us-description-left p{
    font-size: 1.3rem;
    color: var(--text-color);
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 11;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.counseling-box{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    margin-top: -40rem;
    margin-bottom: 10%;
    position:relative;
    z-index: 8;
}

.counseling-box-next{
    margin-bottom: 45%;
}


.counseling-box img{
    width: 9%;
    height: 4.5rem;
}

.counseling{
    width: 30%;
    height: 4.5rem;
    background-color: var(--primary-color);
    border-radius: 40px;
    margin-inline: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

}

.counseling button{
    background-color: unset;
    font-size: 1.4rem;
    font-family:var(--primary-font-bold) ;
    border: none;
    color: var(--white-color);
    cursor: pointer;
    z-index: 10;
}

.counseling-specs{
    width: 100%;
    height:auto;
    background-color: var(--primary-color);
    position: absolute;
    top: 55%;
    z-index: 5;
    border-radius: 0 0 40px 40px;
    display: none;
}

.counseling-specs-next{
    display: block;
}

.counseling-specs form{
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    margin-top: 5%;
    margin-bottom: 10%;
}

.counseling-specs input{
    width: 100%;
    height: 2.5rem;
    border-radius: 40px;
    margin-top:5%;
    border: none;
    outline: none;
    padding-inline: 2%;
    font-size: 1rem;
    font-family: var(--primary-font);
    color: var(--primary-color);
}

.counseling-specs textarea{
    margin-top: 5%;
    width: 100%;
    height: 13rem;
    border-radius: 20px;
    padding: 4%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--primary-color);
    font-family: var(--primary-font);
}

#counseling-submit{
    width: 40%;
    height: 2.5rem;
    background-color: var(--white-color);
    font-family: var(--primary-font-bold);
    font-size: 1.5rem;
    cursor: pointer;
}



/* -----media query----- */

@media screen and (max-width:1400px) {
    .counseling-box {
        margin-top: -65rem;
    }
}
@media screen and (max-width:1300px) {

    .lower-part-right img {
        transform: translateX(75%);
    }

    .counseling-box {
        margin-top: -60rem;
    }
    .counseling-box-next{
        margin-bottom: 50%;
    }
    .offer-item {
        width: 80%;
    }

    .achievements {
        width: 75%;
    }
}
@media screen and (max-width:1200px) {
    .lower-part-right img {
        transform: translateX(80%);
    }

    .achievements-box{
        width: 90%;
    }

    .great-offer {
        width: 80%;

    }
}
@media screen and (max-width:1100px) {
    .counseling-box {
        margin-top: -65rem;
    }
}
@media screen and (max-width:1000px) {
    .counseling-box {
        margin-top: -70rem;
    }

    .achievements-box {
        width: 100%;
    }

    .box-aboutus {
        width: 55%;
        margin-top: 25%;
    }

    .great-offer {
        width: 100%;
    }

    .counseling-box-next {
        margin-bottom: 50%;
    }

    .counseling {
        width: 40%;
    }
    .counseling-box-next{
        margin-bottom: 60%;
    }
}
@media screen and (max-width:1000px) {
    .lower-part-right {
        width: 30%;
    }

    .lower-part-left {
        width: 70%;
    }

    .lower-part-right img {
        transform: translateX(85%);
    }

    .achievements {
        width: 80%;
    }

    .achievements-itemes p {
        font-size: .9rem;
    }
}
@media screen and (max-width:900px) {
    .counseling-box-next {
        margin-bottom: 35rem;
    }
}
@media screen and (max-width:768px) {
    .upper-part-left {
        display: none;
    }

    .upper-part-right {
        width: 80%;
        padding-right:0;
        padding-top:0;
        margin-inline: auto;
        margin-top: 10%;
    }

    .lower-part-right {
        display: none;
    }

    .lower-part-left {
        width: 80%;
    }

    .box-aboutus {
        width: 70%;
        height: 5rem;
    }

    .lower-part-left {
        margin-top: 0;
        margin-inline: auto;
        width: 80%;
    }

    .box-aboutus {
        margin-top: 30%;
    }

    .great-offer {
        width: 100%;
        margin-top: 20%;
    }

    .great-offer h3 {
        text-align: center;
    }

    .great-offer h2 {
        text-align: center;
    }

    .analysis-box {
        margin-top: 20%;
    }

    .counseling-box {
        margin-top: 20%;
    }

    .about-us-description-left {
        margin-top: 20%;
    }

    .about-us-description-left {
        width: 100%;
    }

    .offer-item {
        width: 70%;
    }

    .achievements {
        width: 85%;
    }

    .counseling-box-next {
        margin-bottom: 80%;
    }

    .counseling-box img {
        width: 15%;
        height: 3.5rem;
    }
}
@media screen and (max-width:668px) {

    .achievements-box {
        width: 100%;
        display: grid;
        grid-template-columns: auto auto;
        justify-items: center;
        align-items: center;
    }

    .achievements {
        width: 100%;
    }

    .achievements-itemes {
        width: 35%;
    }
    .counseling-box-next {
        margin-bottom: 40rem;
    }
    .achievements-itemes p {
        font-size: .9rem;
        height: 30px;
    }
    .achievements-itemes p {
        height: 30px;
    }
}
@media screen and (max-width: 568px) {
    .box-aboutus {
        width: 85%;
    }

    .offer-item {
        width: 80%;
    }

    .achievements-itemes {
        width: 40%;
    }

    .aboutus-link {
        font-size: 1.2rem;
        border-left: 4px solid var(--primary-color);
    }

    .aboutus-link-mission{
        border-left:none;
    }

    .aboutus-link-mission {
        font-size: 1.2rem;
    }

    .counseling-box {
        width: 90%;
    }

    .counseling-box img {
        display: none;
    }
    .counseling {
        width: 85%;
    }
    .counseling button {
        font-size: 1.1rem;
    }
}
@media screen and (max-width: 468px) {
    .box-aboutus {
        margin-top: 40%;
    }

    .great-offer h2 {
        font-size: 1.5rem;
    }

    .great-offer h3 {
        font-size: 1.1rem;
    }

    .analysis-box h3 {
        font-size: 1.1rem;
    }

    .analysis-box h2 {
        font-size: 1.5rem;
    }

    .offer-box{
        grid-template-columns: auto auto;
        justify-items: center;
    }

    .offer-box a{
        display: flex;
        justify-content: center;
    }
    .offer-item {
        width: 60%;
    }
    .analysis-box {
        margin-top: 90%;
    }
    .achievements-itemes {
        width: 60%;
    }
    .counseling-box {
        width: 100%;
    }
}
@media screen and (max-width: 368px) {
    .box-aboutus {
        width: 95%;
    }
    .analysis-box {
        margin-top: 20rem;
    }
    .analysis-box h2 {
        font-size: 1.2rem;
    }

}
