*,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
}

a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

button {
    outline: none;
    border: none;
}

input {
    outline: none;
    border: none;
}

textarea {
    outline: none;
    border: none;
    resize: none;
}

img {
    max-width: 100%;
}

/* Reuseble styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    cursor: pointer;

    font-weight: 500;
    font-size: 16px;
    line-height: 24px;

    background-color: unset;
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;

    max-width: fit-content;
    padding: 13px 24px;
}

.btn-blue {
    background: linear-gradient(90.97deg, #1BADFF 0%, #1F6CFF 100%);
}

.ui-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 32px;
    line-height: 48px;
    color: #000000;
}

.ui-section-title::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000000;
}

.preloader {
    display: none;
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-image: url(../images/preloader.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}

.ui-input {
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    background: #000000;
    border: 1px solid #FFFFFF;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 16px;
}

textarea.ui-input {
    height: 200px;
}
textarea.ui-input::-webkit-scrollbar {
    width: 5px;
}

textarea.ui-input::-webkit-scrollbar-track {
    display: none;
}

textarea.ui-input::-webkit-scrollbar-thumb {
    background: #FFFFFF;
}

.ui-input::placeholder {
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
}

/* firstScreen section */
.firstScreen__background {
    background-image: url(../images/firstScreen-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 120px;
}

.firstScreen__title {
    font-weight: 600;
    font-size: 66px;
    line-height: 99px;

    text-align: center;

    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 26.61%, #FFFFFF 51.04%, rgba(255, 255, 255, 0.8) 76.28%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-box-decoration-break: clone;

    margin-bottom: 16px;
}

.firstScreen__subtitle {
    font-size: 22px;
    line-height: 35px;

    text-align: center;

    color: #FFFFFF;

    margin-bottom: 45px;
}

.firstScreen__button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 143px;
}

.firstScreen__videos-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}

.firstScreen__video {
    cursor: pointer;
    position: relative;
}

.firstScreen__video-preview {
    width: 100%;
}

.firstScreen__video:hover::after {
    content: url(../images/play-button.png);
    position: absolute;
    z-index: 3;
    opacity: 1;
    top: calc(50% - (52px / 2));
    right: calc(50% - (52px / 2));
    width: 52px;
    height: 52px;
}

.firstScreen__video:hover::before {
    content: "";
    position: absolute;
    z-index: 2;
    opacity: 1;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}


/* Header */
.header {
    padding: 30px 0;
    margin-bottom: 108px;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    max-width: 150px;
    width: 100%;
}

.header__list {
    display: flex;
    align-items: center;
    list-style: none;
}

.header__list-item {
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    transition: all 0.3s ease-in-out;
    margin-left: 40px;
}

.header__list-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FFFFFF;
    margin-right: 40px;
}

.header__list-item:first-child {
    margin-left: 0;
}

.header__list-item:first-child::before {
    display: none;
}

.header__list-item:hover {
    color: #1BADFF;
}

.header__button {
    border: 1px solid #FFFFFF;
}

.header__button:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.header__burger {
    position: relative;
    z-index: 10;
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #000000;
    border: 1px solid #FFFFFF;
    cursor: pointer;
}

.header__burger-icon {
    width: 22px;
    height: 1px;
    background: #FFFFFF;
}

.header__burger-icon::before,
.header__burger-icon::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 1px;
    background: #FFFFFF;
}

.header__burger-icon::before {
    transform: translateY(-6px);
}

.header__burger-icon::after {
    transform: translateY(6px);
}

.header__burger.active .header__burger-icon::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

.header__burger.active .header__burger-icon::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.header__burger.active .header__burger-icon {
    transform: translateX(-50px);
    background: transparent;
}

/* about-us section */
.about-us {
    padding: 120px 0;
}

.about-us__title {
    margin-bottom: 60px;
}

.about-us__wrapper {
    display: flex;
    flex-direction: column;
}

.about-us__descriptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 16px;
    margin-bottom: 24px;
}

.about-us__descriptions-item {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
}

.about-us__illustration-item-mob {
    display: none;
} 

/* what-we-do section */
.what-we-do {
    padding: 120px 0;
    background: #000000;
}

.what-we-do__title {
    color: #FFFFFF;
    margin-bottom: 60px;
}

.what-we-do__title::after {
    background-color: #FFFFFF;
}

.what-we-do__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}

.what-we-do__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #FFFFFF;
}

.what-we-do__card:last-child {
    padding: 0;
    background-image: url(../images/icon\ -\ 8.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.what-we-do__card-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    margin-bottom: 40px;
}

.what-we-do__card-number {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.what-we-do__card-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 35px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.what-we-do__card-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
}

.what-we-do__card-more {
    max-width: fit-content;
    display: flex;
    align-items: center;
    font-size: 16px;
    line-height: 22px;
    color: #848484;
    /* transition: all 0.3s ease-in-out; */
    margin-top: 32px;
}

.what-we-do__card-more:hover {
    filter: invert(48%) sepia(77%) saturate(1370%) hue-rotate(178deg) brightness(104%) contrast(103%);
}

.what-we-do__card-more-text {
    margin-right: 12px;
}

.what-we-do__card-author {
    height: 100%;
    object-fit: cover;
}

/* our-cases section */
.our-cases {
    padding: 120px 0;
}

.our-cases__title {
    margin-bottom: 60px;
}

.our-cases__category {
    margin-bottom: 120px;
}

.our-cases__category:last-child {
    margin-bottom: 0;
}

.our-cases__category-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 35px;
    color: #000000;
    margin-bottom: 44px;
}

.our-cases__category-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 64px;
    grid-row-gap: 60px;
}

.our-cases__category-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.our-cases__category-item-title {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.our-cases__category-item-icon {
    width: 80px;
    height: 80px;
    margin-right: 16px;
    border-radius: 22px;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.1));
}

.our-cases__category-item-titleText {
    font-weight: 600;
    font-size: 22px;
    line-height: 35px;
    color: #000000;
}

.our-cases__category-item-description {
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.our-cases__category-item-downloads {
    font-size: 16px;
    line-height: 22px;
    color: #848484;
    margin-top: 23px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.our-cases__category-item-downloads .bold {
    font-weight: 600;
    font-size: 22px;
    line-height: 35px;
    color: #000000;
    margin-right: 8px;
}

/* contact-us section */
.contact-us {
    background-image: url(../images/contact-us-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

.contact-us__title {
    font-weight: 600;
    font-size: 66px;
    line-height: 99px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.8) 26.61%, #FFFFFF 51.04%, rgba(255, 255, 255, 0.8) 76.28%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    text-align: center;
    margin-bottom: 16px;
}

.contact-us__subtitle {
    font-size: 22px;
    line-height: 35px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 44px;
}

.contact-us__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 588px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1220px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 1023px) {
    .what-we-do__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .what-we-do__card:last-child {
        background-position: top;
    }
}

@media (max-width: 900px) {
    .header {
        padding: 35px 0;
        margin-bottom: 103px;
    }

    .header__list.active {
        transform: translateY(0);
    }

    .header__list {
        transform: translateY(-200%);
        max-width: 360px;
        width: 100%;
        position: absolute;
        z-index: 6;
        top: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-end;
        background-color: #FFFFFF;
        padding: 125px 20px;
        transition: all 0.5s ease-in-out;
    }

    .header__list-item {
        font-weight: 700;
        font-size: 24px;
        line-height: 36px;
        color: #000000;
        margin: 0;
        color: #000000;
        margin-bottom: 20px;
    }

    .header__list-item:last-child {
        margin-bottom: 0;
    }

    .header__list-item::before {
        display: none;
    }

    .header__button {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .firstScreen__title {
        font-size: 54px;
        line-height: 81px;
    }

    .firstScreen__videos-subtitle {
        margin-bottom: 48px;
    }

    .firstScreen__videos-wrapper {
        max-width: 540px;
        margin: 0 auto;
        grid-template-columns: repeat(1, 1fr);
    }

    .firstScreen__background {
        padding-bottom: 60px;
    }

    .about-us {
        padding: 60px 0;
    }

    .about-us__wrapper {
        flex-direction: column-reverse;
    }

    .about-us__illustration-item {
        margin-bottom: 32px;
    }
    

    .about-us__descriptions {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 0;
    }

    .what-we-do {
        padding: 60px 0;
    }

    .our-cases {
        padding: 60px 0;
    }

    .our-cases__category {
        margin-bottom: 80px;
    }

    .our-cases__category-title {
        margin-bottom: 40px;
    }

    .our-cases__category-wrapper {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 40px;
        padding: 0 20px;
    }

    .contact-us {
        padding: 60px 0;
    }

    .contact-us__form {
        max-width: 540px;
    }
}

@media (max-width: 768px) {
    .what-we-do__card:last-child {
        background-position: center;
    }
}

@media (max-width: 670px) {
    .container {
        padding: 0 10px;
    }

    .header {
        margin-bottom: 57px;
    }

    .firstScreen__title {
        font-size: 46px;
        line-height: 69px;
    }

    .firstScreen__subtitle {
        font-size: 20px;
        line-height: 30px;
    }

    .firstScreen__button-wrapper {
        margin-bottom: 98px;
    }

    .firstScreen__videos-subtitle {
        margin-bottom: 32px;
        padding: 0 25px;
    }

    .firstScreen__videos-wrapper {
        grid-row-gap: 12px;
    }

    .firstScreen__background {
        padding-bottom: 50px;
    }

    .ui-section-title {
        font-size: 24px;
        line-height: 36px;
    }

    .about-us {
        padding: 50px 0;
    }

    .about-us__title {
        margin-bottom: 30px;
    }

    .about-us__illustration-item {
        display: none;
    }

    .about-us__illustration-item-mob {
        display: block;
        width: 100%;
        margin-bottom: 25px;
    }

    .what-we-do {
        padding: 50px 0;
    }

    .what-we-do__title {
        margin-bottom: 30px;
    }

    .what-we-do__wrapper {
        grid-template-columns: repeat(1, 1fr);
        grid-row-gap: 12px;
    }

    .what-we-do__card:last-child {
        min-height: 360px;
        background-position: top;
    }

    .our-cases {
        padding: 50px 0;
    }

    .our-cases__title {
        margin-bottom: 30px;
    }

    .our-cases__category {
        margin-bottom: 60px;
    }

    .our-cases__category-wrapper {
        padding: 0;
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-us {
        padding: 50px 0;
    }

    .contact-us__title {
        font-size: 46px;
        line-height: 69px;
    }

    .contact-us__subtitle {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 49px;
    }
}

@media (max-width: 460px) {
    .header__list {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .what-we-do__card:last-child {
        background-position: center;
    }
}