@import url("globals.css");

/* hero section */
.hero__section {
    padding: 16px;
    height: 350px;
    background: linear-gradient(123.43deg, #1EB8E4 22.97%, #BBCD1D 87.64%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.hero__section__title {
    text-align: center;
    color: var(--white);
    font-size: 50px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.01em;
}

.hero__section__breadcrumbs {
    text-align: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.01em;
}

/* hero section responsive styles */

@media screen and (max-width: 1280px) {
    .hero__section__title {
        font-size: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .hero__section__title {
        font-size: 36px;
    }

    .hero__section__breadcrumbs {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .hero__section__title {
        font-size: 28px;
    }

    .hero__section__breadcrumbs {
        font-size: 18px;
    }
}

/* custom software development section */
.custom__software__dev__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom__software__dev__section__breadcrumbs {
    color: var(--primary-dark-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: 0.01em;
}

.custom__software__dev__section__content {
    display: flex;
    align-items: center;
    gap: 56px;
}

.custom__software__dev__section__content img {
    min-width: 50%;
    max-width: 50%;
}

.custom__software__dev__section__content__desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom__software__dev__section__content__desc p {
    font-size: 16px;
}

/* custom software development section responsive styles */
@media screen and (max-width: 1024px) {
    .custom__software__dev__section__content {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .custom__software__dev__section__content img {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 768px) {
    .custom__software__dev__section__content__desc p {
        font-size: 14px;
    }

    .custom__software__dev__section__breadcrumbs {
        font-size: 16px;
    }
}

/* services section */
.services__section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.services__section__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.services__section__title h2 {
    max-width: 650px;
}

.services__section__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 16px;
}

.services__section__list__card {
    min-height: 500px;
    padding: 32px;
    background: #F7F6F2;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.services__section__list__card img {
    width: 100px;
    object-fit: cover;
    transition: filter 0.3s ease;
    filter: none;
}

.services__section__list__card__title,
.services__section__list__card__desc,
.services__section__list__card__btn {
    color: var(--primary-dark-blue);
    transition: color 0.3s ease;
}

.services__section__list__card__title {
    color: var(--primary-dark-blue);
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
}

.services__section__list__card__desc {
    font-size: 12px;
    color: var(--primary-dark-blue);
}

.services__section__list__card__btn {
    display: flex;
    flex: 1;
    align-items: flex-end;
    color: var(--primary-dark-blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 130%;
}

.services__section__list__card:hover {
    background: linear-gradient(180deg, #1EB8E4 0%, #BBCD1D 100%);
}

.services__section__list__card:hover .services__section__list__card__title,
.services__section__list__card:hover .services__section__list__card__desc,
.services__section__list__card:hover .services__section__list__card__btn {
    color: var(--white);
}

.services__section__list__card:hover img {
    filter: invert(89%) sepia(99%) saturate(38%) hue-rotate(197deg) brightness(107%) contrast(99%);
}

/* services section responsive styles */
@media screen and (max-width: 1024px) {
    .services__section {
        gap: 56px;
    }

    .services__section button {
        white-space: nowrap;
    }

    .services__section__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .services__section {
        gap: 40px;
    }

    .services__section button {
        width: 100%;
    }

    .services__section__title {
        flex-direction: column;
        gap: 16px;
    }

    .services__section__list {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px
    }
}

/* why choose us section */

.why__choose__us__section {
    padding: 112px 0;
    background: var(--primary-gray-bg-section);
    display: flex;
    justify-content: center;
}

.why__choose__us__section__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.why__choose__us__section__container img {
    width: 50%;
    border-radius: 32px;
}

.why__choose__us__section__container__content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why__choose__us__section__container__content__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why__choose__us__section__container__content__list__item {
    margin-left: 40px;
    position: relative;
}

.why__choose__us__section__container__content__list__item::before {
    position: absolute;
    left: -40px;
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../../images/check-icon.svg");
    background-repeat: no-repeat;
}

/* why choose us section responsive styles */
@media screen and (max-width: 1024px) {
    .why__choose__us__section {
        padding: 64px 0;
    }

    .why__choose__us__section__container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .why__choose__us__section__container img {
        width: 100%;
    }

    .why__choose__us__section__container__content {
        gap: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .why__choose__us__section {
        padding: 40px 0;
    }

    .why__choose__us__section__container__content {
        gap: 16px;
    }
}

/* enhance your business section */

.enhance__your__business__section {
    padding: 100px 16px;
    background: linear-gradient(123.43deg, #1EB8E4 22.97%, #BBCD1D 87.64%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.enhance__your__business__section h2 {
    max-width: 780px;
    color: var(--white);
    text-align: center;
}

.enhance__your__business__section .secondary__text {
    color: var(--white);
}

/* enhance your business section responsive styles */
@media screen and (max-width: 640px) {
    .enhance__your__business__section {
        gap: 24px;
    }
}

/* trusted by companies section */

.trust__by_companies__section {
    padding: 56px 48px;
    display: flex;
    justify-content: center;
    background: var(--primary-gray-bg-section);
}

.trust__by_companies__section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.trust__by_companies__section__description {
    max-width: 700px;
    text-align: center;
}

.trust__by_companies__section__companies {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 56px;
}

.trust__by_companies__section__companies img {
    width: 100%;
}

.trust__by_companies__section__help {
    width: 100%;
    margin-bottom: -164px;
    background: var(--primary-dark-blue);
    border-radius: 12px;
    box-shadow: 4px 4px 15px 0px #00000026;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.trust__by_companies__section__help__content {
    padding: 16px 0 16px 56px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.trust__by_companies__section__help__content__title {
    color: var(--white);
    font-size: 40px;
    line-height: 120%;
}

.trust__by_companies__section__help__content__buttons {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust__by_companies__section__help__content__buttons__secondary {
    padding: 12px 56px;
    border-radius: 100px;
    border: 1px solid var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 800;
    line-height: 175%;
    letter-spacing: 0.01em;
    transition: all 0.5s ease, transform 0.3s ease;
}

.trust__by_companies__section__help__image {
    padding: 32px;
    min-width: 45%;
    max-width: 45%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* trusted by companies section responsive styles */

@media screen and (max-width: 1280px) {
    .trust__by_companies__section {
        padding: 64px 48px;
    }

    .trust__by_companies__section__help__content {
        padding: 24px 0 24px 32px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 30px;
    }

    .trust__by_companies__section__help__content__buttons {
        flex-direction: column;
    }

    .trust__by_companies__section__help__content__buttons>button,
    .trust__by_companies__section__help__content__buttons>a,
    .trust__by_companies__section__help__content__buttons>a>button {
        width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .trust__by_companies__section {
        padding: 56px 32px;
    }

    .trust__by_companies__section .container {
        gap: 32px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 24px;
    }

    .trust__by_companies__section__help {
        margin-bottom: -148px;
    }
}

@media screen and (max-width: 768px) {
    .trust__by_companies__section {
        padding: 32px 24px;
    }

    .trust__by_companies__section {
        gap: 24px;
    }

    .trust__by_companies__section .container {
        gap: 16px;
    }

    .trust__by_companies__section .container h2 {
        text-align: center;
    }

    .trust__by_companies__section__help {
        margin-top: 32px;
        margin-bottom: -132px;
        flex-direction: column-reverse;
    }

    .trust__by_companies__section__help__content {
        padding: 0 24px 24px;
        gap: 24px;
    }

    .trust__by_companies__section__help__content__title {
        font-size: 20px;
    }

    .trust__by_companies__section__help__image {
        width: 100%;
        max-width: none;
    }
}

@media screen and (max-width: 640px) {
    .trust__by_companies__section {
        padding: 32px 16px;
    }

    .trust__by_companies__section__companies {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 0 16px;
    }

    .trust__by_companies__section__companies img {
        width: 25%;
    }

    .trust__by_companies__section__help {
        margin-bottom: -128px;
        flex-direction: column-reverse;
    }

    .trust__by_companies__section__help__content__buttons {
        width: 100%;
    }

    .trust__by_companies__section__help__content__buttons a {
        align-self: center;
        width: fit-content;
    }
}

@media screen and (min-width: 1024px) {
    .trust__by_companies__section__help__content__buttons__secondary:hover {
        background: var(--white);
        color: var(--primary-dark-blue);
    }
}

/* footer responsive styles */

@media screen and (max-width: 1024px) {
    .footer {
        padding: 164px 32px 32px;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 164px 24px 32px;
    }
}

@media screen and (max-width: 640px) {
    .footer {
        padding: 164px 16px 24px;
    }
}