@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #242323;
    font: 18px 'Open Sans', Arial, Helvetica, sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
    transition: .4s;
}
ul li,
ol li {
    list-style: none;
}
img {
    max-width: 100%;
    max-height: 100%;
}
button {
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: .4s;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}
.btn-primary {
    padding: 15px 0;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    background: #45B871;
    box-shadow: 0px 8px 80px rgba(9, 188, 77, 0.2);
}
.btn-primary:hover {
    background-color: #3c9f62;
}

/* Header */
#header-section {
    padding: 50px 0 0;
    background-color: #E4F5EB;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #575859;
    font-size: 20px;
    font-weight: 600;
}
.header__logo {
    color: #242323;
    font-size: 24px;
    font-weight: 700;
}
.header__logo_green {
    color: #45B871;
}
.nav-main__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}
.nav-main__item:hover,
.nav-main-btn:hover,
.header-action__log:hover,
.courses-info__title:hover {
    color: #45B871;
}
.nav-main__item_active {
    color: inherit !important;
    font-weight: 700;
    cursor: default;
}
.nav-main-btn {
    position: relative;
    padding-right: 20px;
    color: #575859;
    font-size: 20px;
    font-weight: 600;
}
.nav-main-btn::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    width: 10px;
    height: 10px;
    background: url(img/arrow.svg) 50%/100% no-repeat;
    transform: translateY(-50%);
    transition: .4s;
}
.nav-main-btn:hover::after {
    background: url(img/arrow-green.svg) 50%/100% no-repeat;
}
.header-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.header-action__item .btn-primary {
    display: block;
    width: 135px;
}

/* Home */
#home-section {
    padding: 10px 0 75px;
    background-color: #E4F5EB;
}
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home-info {
    max-width: 625px;
    padding-top: 60px;
    font-weight: 600;
}
.home-info__title {
    margin-bottom: 32px;
    font-size: 64px;
    line-height: 83px;
}
.home-info__text {
    margin-bottom: 50px;
    color: #6C6C6A;;
    line-height: 30px;
}
.home-btn-wrap,
.home-video,
.steps-video {
    display: flex;
    align-items: center;
}
.home-video,
.steps-video {
    cursor: pointer;
}
.home-btn-wrap .btn-primary {
    width: 200px;
    margin-right: 30px;
}
.home-video__btn,
.steps-video__btn {
    position: relative;
    width: 66px;
    height: 66px;
    margin-right: 15px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 8px 40px rgba(69, 184, 113, 0.2);
}
.home-video__btn::after,
.steps-video__btn::after {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 25px;
    height: 25px;
    background: url(img/play.svg) 100% no-repeat;
    transform: translate(-50%, -50%);
}
.home-video__text,
.steps-video__text {
    font-size: 20px;
    transition: .4s;
}
.home-video:hover .home-video__text,
.steps-video:hover .steps-video__text {
    color: #45B871
}
.home-img__wrap {
    min-width: 500px;
}

/* Steps */
#steps-section {
    padding: 75px 0 150px;
}
.companies,
.companies__list,
.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.companies__text {
    max-width: 335px;
    color: #575859;
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
}
.companies__list {
    gap: 70px;
}
.steps {
    gap: 20px;
    margin-top: 185px;
}
.steps-left {
    position: relative;
}
.steps-left::after {
    position: absolute;
    content: '';
    z-index: 1;
    top: 0;
    left: 0;
    width: 492px;
    height: 477px;
    background: url(img/steps-bg.jpg) 0%/100% no-repeat;
}
.steps__list {
    display: grid;
    grid-template-columns: repeat(2, 255px);
    gap: 30px;
    margin: 72px 0 0 65px;
}
.steps__item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 225px;
    padding-bottom: 50px;
    border-radius: 10px;
    font-size: 28px;
    font-weight: 600s;
    background-color: #fff;
    box-shadow: 5px 5px 100px rgba(87, 88, 89, 0.1);
}
.steps__item::after {
    position: absolute;
    content: '1';
    top: 50px;
    left: 50%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 74px;
    text-align: center;
    background-color: #45B871;
    transform: translateX(-50%);
}
.steps__item:nth-child(2):after {
    content: '2';
}
.steps__item:nth-child(3):after {
    content: '3';
}
.steps__item:nth-child(4):after {
    content: '4';
}
.steps__item:nth-child(2n) {
    position: relative;
    top: 30px;
}
.steps__item_active {
    color: #fff;
    background-color: #45B871;
}
.steps__item_active::after {
    color: #242323;
    background-color: #fff;
}
.steps-right {
    max-width: 610px;
}
.steps__title {
    max-width: 415px;
    margin-bottom: 30px;
    font-size: 58px;
    font-weight: 700;
    line-height: 74px;
}
.steps__text {
    margin-bottom: 30px;
    color: #8C8E90;
    line-height: 30px;
}
.steps-video {
    display: inline-flex;
}
.steps-video__btn {
    width: 58px;
    height: 58px;
    margin-right: 18px;
    background-color: #DDEEF2;
    box-shadow: 0px 6px 18px rgba(149, 205, 220, 0.2);
}
.steps-video__text {
    text-decoration: underline;
}

/* Courses */
#courses-section {
    padding: 75px 0 105px;
    background-color: #E4F5EB;
}
.courses-title {
    margin-bottom: 80px;
    font-size: 58px;
    font-weight: 700;
}
.courses-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 50px;
}
.courses {
    position: relative;
    max-width: 450px;
    min-width: 33%;
    border-radius: 15px;
    border: 1px solid #F2EFEF;
    box-shadow: 0px 20px 100px rgba(87, 88, 89, 0.1);
    background-color: #fff;
}
.courses:nth-child(2),
.courses:nth-child(5) {
    top: -50px;
}
.courses__img {
    width: 100%;
    max-height: 285px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.courses-info {
    padding: 30px;
    font-weight: 600;
}
.courses-info__title {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 30px;
}
.lectures {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 50px;
    color: #575859;
}
.lectures::after {
    position: absolute;
    content: '';
    bottom: 25px;
    left: 50%;
    width: 98%;
    height: 1px;
    background-color: rgba(38, 142, 170, 0.5);
    transform: translateX(-50%);
}
.lectures__count,
.lectures__learners {
    position: relative;
    padding-left: 36px;
}
.lectures__count {
    font-size: 20px;
}
.lectures__count::before,
.lectures__learners::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
}
.lectures__count::before {
    top: 65%;
    background: url(img/video.svg) 50%/100% no-repeat;
}
.lectures__learners::before {
    background: url(img/learners.svg) 50%/15px 20px no-repeat;
}
.courses-details {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-weight: 700;
}
.courses-details__img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
}
.courses-details__status {
    position: absolute;
    top: -5px;
    left: 50px;
    width: 18px;
    height: 18px;
    border: 1.25926px solid #FFF;
    border-radius: 50%;
    background-color: #2BDE6F;
}
.courses-details__status_offline {
    background-color: #FF4848;
}
.courses-details-profile {
    margin-right: auto;
}
.courses-details__name {
    display: block;
    font-size: 20px;
}
.courses-details__link {
    color: #45B871;
    font-size: 12px;
    text-decoration: underline;
}
.courses-details__price {
    color: #4C68FF;
    font-size: 34px;
}
.courses__btn {
    display: block;
    width: 250px;
    margin: 25px auto 0;
    padding: 25px 0;
}

/* Feedback */
#feedback-section {
    padding: 150px 0 140px;
}
.feedback__title {
    margin-bottom: 50px;
    font-size: 58px;
    font-weight: 600;
    text-align: center;
}
.feedback {
    display: flex;
    justify-content: space-between;
    gap: 78px;
}
.feedback-main {
    max-width: 700px;
}
.feedback-card {
    border: 1px solid rgba(231, 231, 231, 0.7);
    border-radius: 15px;
    color: #8C8E90;
    box-shadow: 30px 30px 70px rgba(99, 98, 98, 0.06);
    background-color: #fff;
}
.feedback-main .feedback-card  {
    padding: 80px 50px;
}
.feedback-others .feedback-card  {
    padding: 50px 40px;
    box-shadow: none;
}
.feedback-others .feedback-card:first-child {
    margin-bottom: 50px;
}
.feedback__img {
    margin-bottom: 30px;
    border: 1px solid #45B871;
    border-radius: 50%;
}
.feedback-main .feedback__img  {
    width: 125px;
    height: 125px;
}
.feedback-others .feedback__img  {
    width: 82px;
    height: 82px;
}
.feedback__text {
    line-height: 1.8;
}
.feedback-main .feedback__text {
    font-size: 20px;
}
.feedback__name {
    display: block;
    margin: 45px 0 5px;
    color: #242323;
    font-weight: 600;
}
.feedback-main .feedback__name {
    font-size: 30px;
}
.feedback-others .feedback__name {
    font-size: 20px;
}
.feedback__job {
    color: #636262;
}
.feedback-main .feedback__job {
    font-size: 20px;
}
.feedback-others .feedback__job {
    font-size: 13px;
}

/* Trial */
#trial-section {
    margin-bottom: 110px;
}
.trial {
    padding: 105px 0;
    color: #fff;
    background: url(img/trial-bg.jpg) 0%/cover no-repeat;
}
.trial__text {
    max-width: 725px;
    margin: 0 auto 50px;
    font-weight: 700;
    font-size: 50px;
    line-height: 68px;
    text-align: center;
}
.trial-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}
.trial-link__secondary {
    width: 150px;
    padding: 15px 0;
    border: 1px solid #FFF;
    border-radius: 5px;
    color: #fff;
}
.trial-link__primary {
    width: 205px;
    padding: 15px 0;
    border-radius: 5px;
    color: #242323;
    background-color: #fff;
}
.trial-link__secondary:hover {
    color: #242323;
    background-color: #fff;
}
.trial-link__primary:hover {
    background-color: #dddddd;
}