/* MAIN SLIDER */
.main-slider {
    padding: 50px 0;
}

.main-slider .container{
    position: relative;
}

.main-slider .slide {
    height: calc(80vh - 160px);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 60px;
}

.main-slider .slide .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.main-slider .slide .tagline {
    font-weight: 800;
    font-size: 28px;
    line-height: 43px;
    color: #B8A27C;
}

.main-slider .slide .title {
    font-family: 'Yekan Bakh FaNum';
    font-style: normal;
    font-weight: 800;
    font-size: 56px;
    line-height: 87px;
    color: #fff;
    margin: 0;
}

.main-slider .slide .desc {
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: #fff;
}

.main-slider .pagination {
    position: absolute;
    left: 20px;
    top: 0;
    z-index: 9;
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    height: 100%;
    align-items: center;
}

.main-slider .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 1;
    width: 12px;
    height: 12px;
    position: relative;
}

.main-slider .swiper-pagination-bullet::before {
    content: '';
    width: 1px;
    height: 62px;
    position: absolute;
    left: 50%;
    top: -25px;
    background-color: #fff;
}

.main-slider .swiper-pagination-bullet-active::after {
    content: '';
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: -7px;
    top: -7px;
}

.main-slider .navigation {
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 1;
    display: flex;
    gap: 10px;
}

.main-slider .navigation>* {
    cursor: pointer;
}

.main-slider .counselors-holder {
    position: absolute;
    left: 50px;
    bottom: -50px;
    z-index: 1;
    background: #FFFFFF;
    box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.main-slider .counselors-holder .avatars {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.main-slider .counselors-holder .avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.main-slider .counselors-holder .avatars a{
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1;
    top: -2px;
}

.main-slider .counselors-holder .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.main-slider .counselors-holder .info>span:first-child {
    font-weight: 800;
    font-size: 20px;
    line-height: 27px;
    color: var(--primary-color);
}

.main-slider .counselors-holder .info>span:last-child {
    font-weight: 400;
    font-size: 13px;
    line-height: 27px;
    color: var(--muted-color);
}

/* SERVICES */

.services {
    padding: 80px 0;
    background-repeat: no-repeat;
    background-position: top 70px center;
    background-size: 80%;
    background-image: url(../img/home/services-star.svg);
}

.services .container {
    position: relative;
}

.services .content {
    max-width: 950px;
    text-align: center;
    margin: auto;
}

.services .title {
    padding: 0;
    margin: 0;
    font-weight: 800;
    font-size: 32px;
    line-height: 50px;
    color: var(--primary-color);
}

.services .title span {
    color: var(--secondary-color);
}

.services .content>p {
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    text-transform: capitalize;
    color: #8F98A1;
}

.services .items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 600px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 50%;
    background-image: url(../img/home/services-window.png);
}

.services .items .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.services .items .item>.title {
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    color: #193046;
    margin: 0;
}

.services .items .item>p {
    margin: 0;
}

.services .items .item:nth-child(1) {
    align-items: flex-start;
}

.services .items .item:nth-child(2) {
    align-items: center;
    position: relative;
    top: 230px;
}

.services .items .item:nth-child(3) {
    align-items: flex-end;
}

.services .cloud {
    position: absolute;
}

.services .cloud.v1 {
    top: 25%;
    right: 150px;
    animation: cloudAnimationLeft 20s infinite;
}

.services .cloud.v2 {
    top: 20%;
    left: 200px;
    animation: cloudAnimationRight 27s infinite;
}

.services .cloud.v3 {
    top: 35%;
    left: 350px;
    animation: cloudAnimationLeft 35s infinite
}

.services .cloud.v4 {
    top: 40%;
    right: 340px;
    animation: cloudAnimationRight 39s infinite
}


@keyframes cloudAnimationLeft {
    0% {
        transform: translateX(-50px);
    }

    50% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(-50px);
    }
}

@keyframes cloudAnimationRight {
    0% {
        transform: translateX(50px);
    }

    50% {
        transform: translateX(-50px);
    }

    100% {
        transform: translateX(50px);
    }
}

/* PORTFOLIO */

.portfolio {
    position: relative;
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-size: 259px;
    background-position: top -4px center;
    background-image: url(../img/home/portfolio-shape.png);
    margin-top: 130px;
    padding-top: 80px;
}

.portfolio .down-btn {
    position: absolute;
    width: 175px;
    height: 165px;
    top: -110px;
    left: calc(50% - 87.5px);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../img/home/down-btn.svg);
}

.portfolio .container {
    background-repeat: no-repeat;
    background-size: 95%;
    background-position: right 5px top;
    background-image: url(../img/home/portfolio-bg.svg);
}

.portfolio .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 20px;
    gap: 20px
}

.portfolio .content>.title {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    margin: 0;
}

.portfolio .content>.title>a {
    font-weight: inherit;
    font-size: inherit;
    color: var(--primary-color);
}

.portfolio .content>p {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
    margin: 0;
}

.portfolio .portfolio-card {
    width: 313px !important;
    min-height: 330px;
    background: #FFFFFF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 15px;
}

.portfolio .portfolio-card img {
    max-width: 100%;
}

.portfolio .portfolio-card .content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portfolio .portfolio-card .content>* {
    margin: 0;
    padding: 0;
}

.portfolio .portfolio-card .content>.title {
    font-weight: 400;
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    color: #193046;
}

.portfolio .portfolio-card .content>p {
    font-weight: 400;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    color: #8F98A1;
}

.portfolio .swiper {
    margin-top: 20px;
    padding-top: 80px;
    padding-bottom: 30px;
}

.portfolio .swiper .swiper-slide {
    width: auto !important;
    position: relative;
}

.portfolio .swiper .swiper-slide::before {
    position: absolute;
    content: '';
    width: 90%;
    height: 100%;
    left: 5%;
    top: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../img/home/portfolio-card-bg.svg);
    z-index: -1;
}

.portfolio .swiper .navigation {
    position: absolute;
    top: 0;
    left: calc(50% - (((52px * 2) + 10px)) / 2);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.portfolio .swiper .navigation>div {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(1px);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

/* TESTIMONIALS */

.testimonial {
    background-color: var(--primary-color);

}

.testimonial .content {
    padding-top: 140px;
    position: relative;
    background-color: #fff;
    border-radius: 60px 60px 0px 0px;
    z-index: 1;
}

.testimonial .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial .comments-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.testimonial .comments-row .title {
    max-width: 40%;
}

.testimonials-preview {
    max-width: 50%;
}


.testimonial .title>* {
    font-weight: 800;
    font-size: 28px;
    line-height: 60px;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
}

.testimonial .title span {
    color: var(--secondary-color);
}

.testimonial .main-row {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.testimonial .form-holder {
    width: 350px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    gap: 20px;
    background: #FFFFFF;
    box-shadow: 0px 20px 60px -20px rgba(0, 0, 0, 0.06);
    border-radius: 20px;
}

.testimonial .form-holder .title {
    font-weight: 400;
    font-size: 24px;
    line-height: 40px;
    color: var(--primary-color);
}

.testimonial .form-holder .desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--muted-color);
}

.testimonial .form-holder form .fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial .form-holder form p {
    margin: 0;
}

.testimonial .form-holder form .btn {
    width: 100%;
}

.testimonial .tabs-holder {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial .icon-boxes .item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    text-transform: capitalize;
    color: var(--primary-color)
}

.testimonial .tabs-holder .tabs {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.testimonial .tabs-holder .tabs .head {
    flex: 0.4;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial .tabs-holder .tabs .head>a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 20px;
    font-weight: 400;
    font-size: 20px;
    line-height: 40px;
    color: var(--primary-color);
}

.testimonial .tabs-holder .tabs .head>a.a {
    background-color: #F5F2ED;
}

.testimonial .tabs-holder .tabs .head>a span {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.testimonial .tabs-holder .tabs .head>a.a span {
    align-items: flex-end;
}

.testimonial .tabs-holder .tabs .content {
    flex: 0.6;
    box-sizing: border-box;
    padding: 36px;
    background: #F8F8F8;
    border-radius: 16px;

}

.testimonial .tab-content {
    display: none;
}

.testimonial .tab-content.a {
    display: flex;
}

.testimonial .portfolio-tab {
    width: 100%;
    justify-content: center;
    align-content: center;
    gap: 20px;
}

.testimonial .portfolio-tab .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial .portfolio-tab .item .label {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: var(--muted-color);
}

.testimonial .portfolio-tab .item .value {
    font-weight: 600;
    font-size: 24px;
    line-height: 37px;
    text-align: center;
    color: var(--primary-color);
}

.testimonial .portfolio-tab .item .value>span {
    color: var(--secondary-color);
    font-size: 14px;
}

.testimonial .news-tab ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial .news-tab a {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: var(--primary-color);
    padding-left: 20px;
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: left center;
    background-image: url(../img/link.svg);
}

.testimonial .icon-boxes {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.testimonial .icon-boxes .item svg {
    width: 40px;
    height: 40px;
}

/* ABOUT */

section.about {
    background-color: #F8F8F8;
    padding: 0;
}

.about>.c {
    background: #FFFFFF;
    padding-bottom: 60px;
    border-radius: 0 0 60px 60px;
    padding: 120px 0;
}

section.about .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.about .container>* {
    width: 49%;
}

section.about .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
}

section.about .content .title {
    margin: 0;
    padding: 0;
    font-weight: 800;
    font-size: 28px;
    line-height: 60px;
    color: var(--primary-color);
}

section.about .content .desc {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 40px;
    color: var(--primary-color);
}

section.about .content .title span {
    color: var(--secondary-color);
}

section.about .content .more {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

section.about .image img {
    width: 100%;
}

section.about .more .btn {
    padding-right: 20px;
    padding-left: 20px;
}