* {
    box-sizing: border-box;
}

:root {
    --primary-color: #0f1b4c;
    --link-color: #4f5361;
}

html,
body {
    scroll-behavior: smooth;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: "Poppins", "sans-serif";
}

.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: var(--line-clamp, 2);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.row {
    display: flex;
}

.content {
    width: 1110px;
    max-width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    min-width: 98px;
    border-radius: 12px;
    background: var(--primary-color);
    color: #ffffff;
    text-align: center;
    padding: 18px 16px;
    font-size: 1.4rem;
}

.btn:hover {
    opacity: 0.9;
}
a {
    text-decoration: none;
}

/* ========================================HEADER======================================== */

.fixed-header {
    background: #e6f0ff;
    padding-top: 26px;
    position: sticky;
    top: -27px;
    z-index: 1;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.navbar ul {
    display: flex;
    margin-left: 50px;
}

.navbar .actions {
    margin-left: auto;
}

.navbar ul a {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--link-color);
    padding: 8px 14px;
}
.navbar ul a:hover {
    text-decoration: underline;
}

.navbar .action-link {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 500;
}

.navbar .action-btn {
    padding: 13px 16px;
    margin-left: 18px;
    border-radius: 8px;
}

.hero-wrap {
    position: relative;
    display: flex;
    background: #e6f0ff;
    flex-direction: column;
    height: calc(100vh - 90px);
    justify-content: center;
}

.hero-wrap .info {
    width: 51%;
}

.hero-wrap .sub-title {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: #687690;
}

.hero-wrap .title {
    margin-top: 8px;
    font-weight: 700;
    font-size: 6.2rem;
    line-height: 1.19;
    color: #000336;
}

.hero-wrap .desc {
    color: #5a6473;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.78;
    margin-top: 30px;
}

.hero-wrap .hero-cta {
    min-width: 170px;
    margin-top: 40px;
}

.hero-wrap .hero-img {
    position: absolute;
    right: calc(calc(100vw - 1110px) / 2 - 100px);
    bottom: 0;
}

/* ==========================================CLIENTS======================================== */

.clients {
    margin-top: 79px;
    padding-top: 43px;
    padding-bottom: 23px;
}

.clients .row {
    justify-content: space-between;
    align-items: center;
}

.clients .row-logo {
    display: flex;
}

.clients .desc {
    color: #7d8589;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.25; /* 125% */
}

.row-desc {
    margin-top: 23px;
}

.row-logo {
    margin-top: 70px;
}

.row-logo a {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 90px;
    padding: 0 42px;
    border-radius: 12px;
}

.row-logo a:hover {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

/* ======================================================GUIDES======================================================*/

.guides {
    padding: 79px 0;
    margin-top: 40px;
}

.guides .sub-title {
    text-align: center;
    position: relative;
    color: #000339;
    font-size: 3.5rem;
    line-height: 1; /* 100% */
    font-weight: 600;
    margin-bottom: 20px;
}

.guides .sub-title::before {
    content: "";
    display: inline-block;
    width: 41px;
    height: 4px;
    border-radius: 1.2rem;
    background: #000339;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.guides .desc {
    text-align: center;
    color: #5a6473;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.875; /* 187.5% */
    width: 459px;
    max-width: 100%;
    margin: 20px auto;
}

.guides .list-guide {
    margin-top: 70px;
    display: flex;
    justify-content: center;
}

.guide-item {
    margin: 0 70px;
    text-align: center;
}

.guide-item .title {
    margin-top: 26px;
    color: #3b3c45;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1; /* 110% */
}

.guide-item .link {
    margin-top: 10px;
    color: #0689ff;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.guide-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.guide-btn .btn {
    min-width: 170px;
}

/* ================================================================FEATURES============================================================= */

.features {
    margin-top: 41px;
    background-color: #f5fafe;
    padding: 110px 0;
}

.features .row {
    display: flex;
    justify-content: space-between;
}

.features .sub-title {
    color: #000339;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1; /* 100% */
    margin-bottom: 15px;
}

.features header .desc {
    color: #5a6473;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.875; /* 187.5% */
}

.features header .link {
    color: #0689ff;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.features .link .arrow {
    margin-left: 8px;
}

.features .list {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.features .item {
    flex: 1;
    background: #fff;
    border-radius: 12px;
}

.features .item .thumb {
    width: 100%;
    height: 227px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.features .item .body {
    padding: 17px 20px 24px;
}

.features .body .title a {
    color: #000339;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.5;
}

.features .item .desc {
    margin-top: 11px;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #a3a6ab;
    --line-clamp: 3;
    word-break: break-all;
}

.features .body .info {
    margin-top: 22px;
    display: flex;
    align-items: center;
}

.features .info .icon {
    margin-left: 23px;
}

.features .info .icon:first-child {
    margin-left: 0;
}

.features .info .label {
    margin-left: 8px;
    color: #4d4d52;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.014rem;
}

/* ==============================STATS================================== */
.stats {
    padding: 50px 0;
    margin-top: 75px;
}

.stats .content {
    width: 1048px;
}

.stats .img-block,
.stats .info {
    width: 50%;
}

.stats .img-block {
    position: relative;
}
.stats .img-block .stat-img {
    width: 400px;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-left: auto;
}

.stats .info {
    padding: 79px 0 0 165px;
}

.stats .row .sub-title {
    width: 269px;
    color: #000339;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.28571;
    position: relative;
    margin-bottom: 20px;
}

.stats .row .sub-title::before {
    content: "";
    display: inline-block;
    width: 41px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 1.2rem;
    position: absolute;
    top: -10px;
    left: 0;
}

.stats .info .desc {
    width: 309px;
    color: #5a6473;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.875;
}

/* ========================TREND========================== */

.stats-trend {
    position: absolute;
    top: 0;
    width: 239px;
    border-radius: 0 0 1.2rem 1.2rem;
    box-shadow: 90px 85px 100px 0 rgba(0, 0, 0, 0.06);
    background: #fff;
    padding: 45px 22px 40px;
}

.stats-trend .value {
    color: #000339;
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: 0.026rem;
}

.stats-trend .icon {
    margin-left: auto;
}

.stats-trend .desc {
    margin-top: 8px;
    color: #a7a7a7;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5; /* 150% */
}

.stats-trend .separate {
    margin-top: 25px;
    height: 1.2px;
    background: #e9e9e9;
}

.stats .stats-trend .users {
    width: 24px;
    height: 25px;
    object-fit: cover;
}

.stats .avatar-block {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 14px;
}

.stats .avatar-group {
    display: flex;
}

.stats .avatar {
    width: 16px;
    height: 16px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color, #f97f6b);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 450;
}
.stats .avatar:first-child {
    margin-left: 0;
}

/* .avatar-anonymous {
    background-color: #f97f6b;
    color: #fff;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 450;
    line-height: 16px;
    letter-spacing: -0.0145rem;
}

.avatar-anonymous1 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f97f6b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 450;
} */

.stats .row-qty {
    justify-content: space-between;
    padding: 0 32px;
}

.stats .qty-item {
    margin-top: 110px;
}

.stats .qty-item .qty {
    color: #000;
    font-size: 6.4rem;
    font-weight: 600;
}

.stats .qty-item .qty-desc {
    color: #7b8087;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 22px;
}

/* =======================================Subscription======================================= */

.subscription {
    margin-top: 90px;
}

.subscription .body {
    border-radius: 2rem;
    display: flex;
    align-items: center;
    height: 370px;
    background: #063183;
    position: relative;
}

.subscription .info {
    padding: 0 80px;
    width: 671px;
}

.subscription .sub-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.5;
}
.subscription .desc {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.875;
    margin-bottom: 20px;
}

.subscription .btn {
    background-color: #fff;
    color: #002366;
    min-width: 151px;
}

.subscription .image {
    position: absolute;
    bottom: 0;
    right: 221px;
}

/* ====================================FOOTER======================================== */

.footer {
    margin-top: 55px;
    padding: 60px 0;
}

.footer .row-top {
    gap: 185px;
}

.footer .heading {
    font-family: "Lato", sans-serif;
    color: #1c1c1d;
    font-family: Lato;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 42px;
}

.footer .list .item {
    margin-bottom: 18px;
}

.footer .item a {
    color: #7a7a7e;
    font-size: 1.6rem;
    font-weight: 400;
    white-space: nowrap;
}

.footer .column p {
    color: #7a7a7e;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75; /* 175% */
    margin-bottom: 40px;
    white-space: normal;
}

.footer .row .copyright {
    color: #c2c2c2;
    font-size: 1.4rem;
    font-weight: 400;
}

.footer .row-bottom {
    margin-top: 81px;
    justify-content: space-between;
    align-items: center;
}

.footer .social {
    display: flex;
    align-items: center;
}

.footer .social-link {
    background-color: #f9f9f9;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-right: 16px; */
    border-radius: 3px;
}

.footer .social-link + .social-link {
    margin-left: 16px;
}

.footer .social-link:hover {
    background: #ebebeb;
}
