* {
    box-sizing: border-box;
}

:root {
    --primary-bg-color: #10375c;
    --white-color: #ffffff;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: "Sora", sans-serif;
    background-color: var(--white-color);
}

.container {
    width: 1170px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #575f66;
    background-color: transparent;
    cursor: pointer;
}

.action-btn svg {
    color: #575f66;
}

.action-btn:hover {
    background-color: #2e80ce;
    border: 1px solid #2e80ce;
}

.action-btn:hover svg {
    color: #ffffff;
}

.action-btn:first-child {
    margin-right: 18px;
}

.btn {
    --btn-bg-color: #2e80ce;

    background-color: var(--btn-bg-color);
    max-width: 205px;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.8rem;
    text-align: center;
    color: #fff;
}

.btn:hover {
    opacity: 0.89;
}

a {
    text-decoration: none;
}

.header {
    background-color: var(--primary-bg-color);
    padding-top: 30px;
}

.header__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    position: relative;
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}

.logo__circle::before,
.logo__circle::after {
    content: "";
    border-radius: 50%;
    display: inline-block;
}

.logo__circle::before {
    content: "";
    width: 3em;
    height: 3em;
    background-color: #2e80ce;
}

.logo__circle::after {
    content: "";
    width: 1.6em;
    height: 1.6em;
    background-color: var(--white-color);
    top: 1.1em;
    left: 1.1em;
    position: absolute;
}

.logo__brand {
    display: block;
}

.logo__text {
    color: #fff;
}

.logo__brand:first-child {
    font-weight: 400;
    font-size: 1.8em;
    line-height: 78%;
    text-align: right;
}

.logo__brand:last-child {
    font-weight: 300;
    font-size: 1.2em;
    line-height: 117%;
    text-align: right;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 222px;
}

.header__nav-list {
    display: flex;
    gap: 42px;
}

.header__nav-link {
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 175%;
    text-align: center;
    color: #c9d2da;
    transition: all ease-in 0.2s;
}

.header__nav-link--active {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 175%;
    color: #fff;
    position: relative;
}

.header__nav-link--active::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--white-color);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: -10px;
}

.header__nav-link:hover {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 175%;
    color: #fff;
}

.header__btn-signup {
    margin-left: 28px;
    padding: 8px 20px;
    display: inline-block;
}

/* hero */

.hero {
    padding-top: 46px;
    padding-bottom: 110px;
    background-color: var(--primary-bg-color);
}

.hero__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero__content {
    width: 44%;
}

.hero__sologan {
    font-weight: 600;
    font-size: 70px;
    line-height: 114%;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero__desc {
    padding-top: 22px;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 167%;
    color: #c9d2da;
}

.hero__action {
    padding-top: 38px;
}

.hero__action-btn {
    padding: 15px 46px;
    margin-right: 39px;
    display: inline-block;
}

.hero__action-call {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 167%;
    text-align: center;
    color: #fff;
    display: inline;
}

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

.hero__image-item {
    border-radius: 6px;
    object-fit: cover;
}

.hero__image-item:first-child {
    width: 330px;
    height: 540px;
    position: relative;
    margin-right: -11px;
}

.hero__image-item:last-child {
    width: 210px;
    height: 410px;
}

/* service */

.services {
    padding: 170px 0;
}

.services__heading {
    text-align: center;
}

.services__heading-title {
    font-weight: 600;
    font-size: 5rem;
    line-height: 6rem;
    letter-spacing: -0.02em;
    text-align: center;
    color: #10375c;
}

.services__heading-desc {
    font-weight: 300;
    font-size: 18px;
    line-height: 167%;
    text-align: center;
    color: #575f66;
    margin-top: 18px;
}

.services__content {
    display: flex;
    margin-top: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 130px;
}

.services__media {
    width: 49%;
}

.services__media-img {
    width: 570px;
    height: 570px;
    object-fit: cover;
    border-radius: 12px;
}

.services__list {
    margin-bottom: 55px;
}

.services__card {
    width: 470px;
    padding: 22px;
    display: flex;
    gap: 19px;
    border-radius: 10px;
}

.services__card:hover {
    box-shadow: 0 14px 28px 0 rgba(0, 0, 0, 0.05);
}

.services__card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eff6fd;
    flex-shrink: 0;
    display: flex;
}

.services__card:hover .services__card-icon {
    background-color: #2e80ce;
}

.services__card-icon svg {
    margin: auto;
    color: #10375c;
}

.services__card:hover svg {
    color: #ffffff;
}

.services__card-content {
    flex: 1;
}

.services__card-title {
    font-weight: 600;
    font-size: 18px;
    color: #10375c;
}

.services__card-desc {
    font-weight: 300;
    font-size: 16px;
    line-height: 175%;
    color: #575f66;
    margin-top: 8px;
}

.services__btn {
    padding: 15px 48px;
    display: inline-block;
}

/* Work */

.works {
    padding: 100px 0;
    background-color: #f6fbff;
}

.works__heading-title {
    font-weight: 600;
    font-size: 5rem;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #10375c;
}

.works__heading-desc {
    width: 468px;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 167%;
    color: #575f66;
    margin-top: 18px;
}

.works-list {
    margin-top: 86px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
}

.works-list__item {
    border: 16px solid #eaf6ff;
    border-radius: 4px;
    padding: 43px;
    transition: transform ease-in 0.15s;
}

.works-list__item:hover {
    transform: translateY(-16px);
    border-color: #2e80ce;
}

.works-item__icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.works-item__heading {
    margin-top: 18px;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 138%;
    color: #10375c;
}

.works-item__desc {
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 175%;
    color: #575f66;
    margin-top: 28px;
}

.work__item-link {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 175%;
    color: #575f66;
    display: inline-block;
    margin-top: 18px;
}

.works-list__item:hover .work__item-link {
    color: #2e80ce;
}

/* Feature */

.feature {
    padding: 170px 0;
}

.feature-body {
    display: flex;
    gap: 130px;
}

.feature-media {
    width: 49%;
    position: relative;
    margin-bottom: 121px;
    flex-grow: 1;
    margin-right: 58px;
}

.feature-media__img:first-child {
    border-radius: 6px;
    width: 512px;
    height: 370px;
    object-fit: cover;
}

.feature-media__img:last-child {
    border-radius: 6px;
    width: 332px;
    height: 370px;
    position: absolute;
    right: -58px;
    bottom: -121px;
    object-fit: cover;
}

.feature__heading {
    font-weight: 600;
    font-size: 5rem;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #10375c;
}

.feature__desc {
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 167%;
    color: #575f66;
    margin-top: 18px;
}

.feature__link {
    padding: 15px 51px;
    display: inline-block;
    margin-top: 38px;
}

.feature-slogan {
    margin: auto;
}
/* dentist */

.dentist__body-top {
    display: flex;
    flex-direction: column;
}

.dentist__heading {
    text-align: center;
    font-weight: 600;
    font-size: 5rem;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #10375c;
    margin: auto;
}

.dentist__link {
    display: block;
    text-align: center;
    padding: 15px 26px;
    margin: auto;
    margin-top: 53px;
}

.detist-list {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
}

.detist__media {
    width: 270px;
    height: 318px;
    background-color: #eaf6ff;
    border-radius: 6px;
}

.dentist__card-title {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 175%;
    text-align: center;
    color: #10375c;
    margin-top: 12px;
}

.dentist__card-desc {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 186%;
    text-align: center;
    color: #575f66;
}

.dentist__action {
    margin-top: 38px;
    display: flex;
    justify-content: center;
}

.dentist__action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-align: center;
    border: 1px solid #575f66;
    background-color: transparent;
    cursor: pointer;
}

.dentist__action-btn svg {
    color: #575f66;
}

.dentist__action-btn:hover {
    background-color: #2e80ce;
    border: 1px solid #2e80ce;
}

.dentist__action-btn:hover svg {
    color: #ffffff;
}

.dentist__action-btn:first-child {
    margin-right: 18px;
}

.detist__media {
    position: relative;
}

.dentist__card-img {
    position: absolute;
    bottom: 0;
    object-fit: cover;
}

/* cta */
.cta {
    margin-top: calc(170px + 95px); /* = 265px */
    margin-bottom: 170px;
}

.cta-body {
    display: flex;
    align-items: flex-end;
    background-color: #2e80ce;
    border-radius: 4px;
    padding: 0 70px;
    height: 427px;
    position: relative;
}

.cta__media {
    width: 284px;
    flex-shrink: 0;
    position: relative;
    margin-right: 160px;
}

.cta__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.cta__slogan {
    flex: 1;
    color: white;
    margin: auto;
}

.cta__heading {
    font-weight: 600;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #fff;
}

.cta__desc {
    margin-top: 18px;
    font-weight: 300;
    font-size: 18px;
    line-height: 167%;
    color: #fff;
}

.cta__btn {
    margin-top: 18px;
}

.cta__btn-link {
    display: inline-block;
    margin-right: 38px;
}

.news-body {
    display: flex;
    gap: 130px;
}

.news__heading {
    width: 40%;
    margin: auto 0;
}

.news__title {
    font-weight: 600;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #10375c;
}

.news__link {
    font-weight: 600;
    font-size: 18px;
    line-height: 156%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #10375c;
    margin-top: 28px;
    display: inline-block;
}

.news__action-btn {
    margin-top: 28px;
}

.news__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
}

.news__card {
    border: 1px solid #e8ebee;
    border-radius: 12px;
    width: 270px;
    height: 375px;
    overflow: hidden;
}

.news__card:hover {
    box-shadow: 0 18px 50px 0 rgba(0, 0, 0, 0.05);
    background: #fff;
}

.news__card:hover .news__card-link {
    color: #2e80ce;
}

.news__card-img {
    width: 270px;
    height: 172px;
    object-fit: cover;
    cursor: pointer;
}

.news__card-content {
    padding: 18px 22px;
}

.news__card-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 162%;
    color: #10375c;
    cursor: pointer;
}

.news__card-desc {
    font-weight: 300;
    font-size: 14px;
    line-height: 171%;
    color: #575f66;
    margin-top: 10px;
}

.news__card-link {
    margin-top: 12px;
    font-weight: 400;
    font-size: 14px;
    color: #10375c;
    display: inline-block;
}

/* welcome */

.welcome {
    margin: 170px 0;
}

.welcome-body {
    padding: 100px 178px;
    background-color: #f6fbff;
    text-align: center;
}

.welcome__title {
    font-weight: 600;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.02em;
    text-align: center;
    color: #10375c;
    position: relative;
    vertical-align: baseline;
}

.welcome__title::after {
    content: "";
    width: 136px;
    height: 2px;
    background: #2e80ce;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
}

.welcome__desc {
    font-weight: 300;
    font-size: 16px;
    line-height: 175%;
    text-align: center;
    color: #575f66;
    width: 617px;
    margin: auto;
    margin-top: 38px;
}

.welcome__btn {
    padding: 15px 40px;
    display: inline-block;
    margin-top: 38px;
}

.footer {
    background-color: #10375c;
}

.footer__body {
    padding-top: 100px;
    display: flex;
    justify-content: space-between;
    gap: 78px;
}

.footer__desc {
    margin-top: 21px;
    width: 336px;
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #a9b3bb;
}

.footer__item-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 175%;
    color: #fff;
}

.footer__item-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__column-item {
    margin-top: 28px;
}

.footer__item-link a {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    color: #a9b3bb;
    white-space: nowrap;
}

.footer__social-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 20px;
}

.footer__social-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.footer__item-link svg {
    color: #2e80ce;
}

.footer__item-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    color: #a9b3bb;
    margin-top: 20px;
    width: 273px;
}

.footer__cta {
    display: flex;
    margin-top: 10px;
    gap: 12px;
}

.footer__item-input {
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    color: #9ca8b1;
    background-color: transparent;
    border: 1px solid #406181;
    border-radius: 4px;
    padding: 10px;
    width: 212px;
    height: 46px;
}

.footer__item-input:focus-visible {
    border-color: #2e80ce;
    outline: none;
}

.footer__btn {
    border-radius: 4px;
    background: #2e80ce;
    padding: 10px 21px;
    display: inline-block;
    border-style: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 186%;
    color: #fff;
    cursor: pointer;
}

.footer__btn:hover {
    opacity: 0.8;
}

.footer__separator {
    width: 100%;
    height: 1px;
    background-color: #406181;
    border: 1px solid #406181;
    margin-top: 28px;
}

.footer__copyright {
    padding-top: 28px;
    padding-bottom: 40px;
    margin: auto;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 186%;
    color: #aab3ba;
}
