*,
::after,
::before {
    box-sizing: border-box;
}

:root {
    --primary-color: #5d3bee;
    --heading-color: #080415;
    --text-color: #51586a;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

/* Common */
input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
}

a {
    text-decoration: none;
}

.btn {
    --height: 62px;

    display: inline-block;
    min-width: 170px;
    line-height: var(--height);
    text-align: center;
    color: #fdfdfd;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-color);
    outline: none;
    border: none;
}

.btn:hover {
    cursor: pointer;
    opacity: 0.9;
}

.section-heading {
    color: var(--heading-color);
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 1.18; /* 117.857% */
}

.section-desc {
    margin-top: 20px;
    color: var(--text-color);
    font-size: 1.8rem;
    line-height: 1.67; /* 166.667% */
}

.line-clamp {
    --line: 3;

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

.ripplePrimary.aos-animate {
    animation: ripplePrimary 3s infinite;
    animation-delay: 1s;
}

/* Header */
.fixed {
    position: sticky;
    z-index: 10;
    top: -20px;
    background: #fbfaff;
}

.header {
    padding-top: 20px;
    background: #fbfaff;
}

.inner {
    display: flex;
    align-items: center;
    width: 1330px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
}

.contact-badge {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.contact-badge__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgb(93, 59, 238, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.contact-badge:hover .contact-badge__icon-wrap {
    border-color: var(--primary-color);
}

.contact-badge__email {
    position: relative;
    color: var(--heading-color);
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.36; /* 136.364% */
}

.contact-badge__email::after {
    position: absolute;
    height: 2px;
    width: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    content: "";
    background: var(--heading-color);
    border-radius: 2px;
    transition: 0.3s;
}

.contact-badge:hover .contact-badge__email::after {
    width: 100%;
}

.logo-pc {
    margin-left: 357px;
}

.navbar__list {
    display: flex;
    margin-left: 200px;
}

.navbar-item__link {
    position: relative;
    padding: 16px 22px;
    color: var(--text-color);
    font-size: 1.8rem;
    transition: 0.3s;
}

.navbar-item__link::after,
.navbar-item__link--active::after {
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}

.navbar-item__link:hover,
.navbar-item__link--active {
    color: var(--primary-color);
    text-shadow: 1px 0 0 var(--primary-color);
}

.navbar-item__link:hover::after,
.navbar-item__link--active::after {
    width: calc(100% - 44px);
}

/* Hero */
.hero {
    position: relative;
    padding-top: 44px;
    background: #fbfaff;
    overflow: hidden;
}

.hero__inner {
    display: flex;
    align-items: center;
    column-gap: 156px;
}

.hero__img-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 514px;
}

.hero__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__img-deco {
    position: absolute;
    bottom: 0;
}

.hero__content {
    position: relative;
}

.hero__heading {
    color: var(--heading-color);
    font-size: 8rem;
    font-weight: 500;
    line-height: 0.95; /* 95% */
    /* letter-spacing: -3.2px; */
}

.hero__desc {
    max-width: 370px;
}

.hero__cta {
    display: flex;
    align-items: center;
    column-gap: 30px;
    margin-top: 50px;
}

.hero__my-works {
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.67; /* 166.667% */
}

.hero__my-works:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.hero__footer {
    display: flex;
    align-items: center;
    column-gap: 15px;
    margin-top: 109px;
}

.hero__socials {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.hero__social-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgb(8, 4, 21, 0.2);
    transition: border 0.25s;
}

.hero__social-wrap:hover {
    cursor: pointer;
    border-color: var(--primary-color);
}

.hero__deco-content {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* Company */
.company {
    padding: 110px 0 67px;
}

.company__inner {
    display: flex;
    align-items: center;
    column-gap: 105px;
}

.company__heading {
    position: relative;
    margin-left: 100px;
    max-width: 253px;
    color: var(--heading-color);
    font-size: 4.2rem;
    font-weight: 500;
    line-height: 1.19;
}

.company__heading::before {
    position: absolute;
    left: -100px;
    top: 22px;
    content: "";
    width: 86px;
    height: 2px;
    background: var(--primary-color);
}

.company__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 40px;
}

.company-item {
    display: flex;
    align-items: center;
    column-gap: 12px;
}

.company-item__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.company-item:nth-child(2) .company-item__icon-wrap {
    background: #fbfaff;
}

.company-item:nth-child(3) .company-item__icon-wrap {
    background: #fee101;
}

.company-item:nth-child(4) .company-item__icon-wrap {
    background: #ff0000;
}

.company-item:nth-child(5) .company-item__icon-wrap {
    background: #14a800;
}

.company-item:nth-child(7) .company-item__icon-wrap {
    background: #7f54b3;
}

.company-item__label {
    color: var(--heading-color);
    font-weight: 600;
    font-size: 1.8rem;
    white-space: nowrap;
    letter-spacing: -1px;
}

/* Service */
.service {
    padding: 67px 0 140px;
}

.service__heading {
    text-align: center;
}

.service__desc {
    margin: 20px auto 0;
    max-width: 534px;
    text-align: center;
}

.service-item {
    margin-top: 45px;
    padding: 32px 42px;
    background: #fbfaff;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-20px);
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.07);
}

.service-item__title {
    margin-top: 22px;
    color: var(--heading-color);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25; /* 125% */
    /* letter-spacing: -1.28px; */
}

.service-item__desc {
    margin-top: 15px;
}

/* Projects */
.project {
    padding: 86px 0;
    background: var(--primary-color);
}

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

.project__heading {
    color: #fff;
}

.project__desc {
    max-width: 370px;
    margin-top: 0;
    margin-right: 172px;
    color: #fff;
}

.project__list {
    margin-top: 55px;
}

.project-item {
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 47px;
    padding: 24px 23px 23px 34px;
    background: #fbfaff;
    transition: 0.3s;
}

.project-item:hover {
    transform: translateY(-20px);
}

.project-item__info {
    position: relative;
    z-index: 1;
}

.project-item__title {
    white-space: nowrap;
    color: var(--heading-color);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25; /* 125% */
    /* letter-spacing: -1.28px; */
}

.project-item__desc {
    --line: 3;

    margin-top: 10px;
    max-width: 220px;
    color: var(--text-color);
    font-size: 1.6rem;
    line-height: 1.44; /* 143.75% */
}

.project-item__study {
    display: inline-block;
    margin-top: 20px;
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.67; /* 166.667% */
}

.project-item__study:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.project-item__thumb {
    width: 246px;
    height: 187px;
}

.project-item__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-item__deco {
    position: absolute;

    right: 0;
    bottom: 0;
}

.project__all {
    display: flex;
    justify-content: center;
    margin-top: 65px;
}

.project__btn {
    color: var(--heading-color);
    background: #fff;
    animation: rippleWhite 3s infinite;
}

/* About */
.about {
    padding-top: 140px;
}

.about-label {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 9px;
}

.about-label__desc {
    color: var(--primary-color);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25; /* 125% */
}

.about__heading {
    margin-top: 10px;
    text-align: center;
}

.about__desc {
    margin: 15px auto 0;
    max-width: 570px;
    text-align: center;
}

.about__list {
    position: relative;
    display: flex;
    justify-content: center;
    column-gap: 158px;
    margin-top: 90px;
}

.about__list::before,
.about__list::after {
    position: absolute;
    content: "";
    width: 946px;
    height: 1px;
    background: rgb(8, 4, 21, 0.2);
}

.about__list::before {
    top: -20px;
}

.about__list::after {
    bottom: -20px;
}

.about-item__stats {
    display: inline-block;
    position: relative;
    color: var(--heading-color);
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 1.36; /* 135.714% */
    letter-spacing: 1.68px;
}

.about-item__stats::after {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--heading-color);
    content: "";
}

.about-item__desc {
    color: var(--text-color);
    font-size: 1.8rem;
    line-height: 1.67; /* 166.667% */
}

.about__video {
    position: relative;
    margin-top: 90px;
}

.about__img {
    display: block;
    width: 100%;
    height: 628px;
    object-fit: cover;
    cursor: pointer;
}

.about__play-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 111px;
    height: 111px;
    border-radius: 50%;
    background: rgb(255, 255, 255, 0.7);
    color: var(--primary-color);
    cursor: pointer;
}

.about__intro-video {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 16px 28px;
    background: #fff;
}

.about__intro {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.67;
    cursor: pointer;
}

/* Review */
.review {
    margin-top: -323px;
    /* margin-top: calc(-1 * 25%); */
    padding: 473px 0 75px;
    background: #fbfaff;
}

.review__heading {
    text-align: center;
}

.review__desc {
    max-width: 570px;
    text-align: center;
    margin: 20px auto 0;
}

.review__list {
    display: flex;
    overflow: hidden;
    margin-top: 60px;
}

.review-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.review-item__quote {
    max-width: 679px;
    color: var(--text-color);
    text-align: center;
    font-size: 2.4rem;
    line-height: 1.67;
}

.review-item__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 36px;
}

.review-item__info {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.review-item__avt {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f29764;
    overflow: hidden;
}

.review-item__img {
    width: 100%;
    object-fit: cover;
}

.review-item__name {
    color: var(--heading-color);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.33;
}

.review-item__desc {
    margin-top: 3px;
    color: #51586a;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.81;
}

.controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 15px;
}

.dot-inner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(8, 4, 21, 0.2);
    transition: 0.3s;
}

.dot-inner:hover {
    background: var(--primary-color);
    cursor: pointer;
}

.dot--active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.dot--active .dot-inner {
    cursor: default;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
}

/* Frequently Asked Questions */
.faq {
    padding: 95px 0 80px;
}

.faq__heading {
    max-width: 575px;
}

.faq__list {
    width: 1010px;
    max-width: 100%;
    margin-top: 80px;
}

.faq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--heading-color);
    transition: 0.3s;
    margin-top: 60px;
}

.faq-item__body {
    padding-left: 23px;
}

.faq-item__question {
    color: var(--heading-color);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25;
    transition: 0.3s;
}

.faq-item__answer {
    max-width: 487px;
    height: 0;
    color: #51586a;
    font-size: 1.8rem;
    line-height: 1.67;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}

.faq-item__control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgb(8, 4, 21, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.faq-item__control::before {
    content: "";
    width: 14px;
    border-bottom: 2px solid #161a1c;
    transition: 0.3s;
}

.faq-item__control::after {
    position: absolute;
    content: "";
    height: 14px;
    border-left: 2px solid #161a1c;
    transition: 0.3s;
}

.faq-item__check:checked ~ .faq-item__control {
    border-color: rgb(93, 59, 238, 0.2);
}

.faq-item__check:checked ~ .faq-item__control::after {
    visibility: hidden;
    opacity: 0;
}

.faq-item__check:checked ~ .faq-item__control::before,
.faq-item:has(.faq-item__check:checked) {
    border-color: var(--primary-color);
}

.faq-item:has(.faq-item__check:checked) .faq-item__question {
    color: var(--primary-color);
}

.faq-item:has(.faq-item__check:checked) .faq-item__answer {
    margin-top: 23px;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    padding-bottom: calc(10% + 21px);
}

/* Gallery */
.gallery {
    padding: 80px 0 140px;
}

.gallery__heading {
    text-align: center;
}

.gallery__desc {
    max-width: 528px;
    text-align: center;
    margin: 20px auto 0;
}

.gallery__tag {
    display: block;
    text-align: center;
    margin-top: 30px;
    color: var(--primary-color);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.25;
}

.gallery__tag:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.gallery__list {
    margin-top: 55px;
}

.gallery-item {
    width: 370px;
    height: 529px;
    overflow: hidden;
}

.gallery-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-item__img:hover {
    transform: scale(1.2);
}

/* Call to action */
.cta__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fbfaff;
    padding: 68px 0;
}

.cta__heading {
    margin-top: 15px;
}

.cta__desc {
    max-width: 570px;
    text-align: center;
}

.cta__btn {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.cta__deco {
    position: absolute;
}

.cta__deco-01 {
    left: 0;
    bottom: 0;
}

.cta__deco-02 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta__deco-03 {
    top: 0;
    right: 0;
}

/* Footer */
.footer {
    padding: 50px 0 30px;
}

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

.footer__content {
    border-bottom: 2px solid rgb(8, 4, 21, 0.2);
}

.footer__inner {
    padding-bottom: 32px;
}

.footer__row {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 18px;
}

.footer__link,
.footer__copy-right {
    color: #525771;
    font-size: 1.8rem;
    line-height: 1.67; /* 166.667% */
    opacity: 0.6;
}

.footer__privacy {
    display: flex;
    align-items: center;
    column-gap: 13px;
}

.footer-privacy__inner {
    display: flex;
    column-gap: 16px;
}

.footer__link:first-child {
    display: flex;
    align-items: center;
    column-gap: 23px;
}

.footer__link:first-child::after {
    display: inline-block;
    content: "";
    width: 1px;
    height: 14px;
    background: #525771;
}

.footer__link:hover {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}
