/*innovating_software*/

.innovating-software {
    padding: 130px 0;
}

.innovating-software .cards {
    width: 100%;
    max-width: 1272px;
    margin: 0px auto 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.innovating-software .card {
    width: 100%;
    border: 1px solid var(--2k25-border-1);
    border-radius: 18px;
    padding: 27px 73px 20px 29px;
    display: flex;
    gap: 24px;
    transition: var(--transition3);
}

.innovating-software .card:hover {
    box-shadow: 0 12px 40px 4px rgba(10, 22, 94, 0.0784313725);
    border-color: var(--white);
}

.innovating-software .card:hover .card-icon {
    background-color: var(--2k25-blue-primary);
}

.innovating-software .card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

.innovating-software .card-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 10px;
    background-color: var(--2k25-light-blue);
    transition: var(--transition3);
}

.innovating-software .card-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.innovating-software .card-body h3 {
    width: 100%;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: var(--2k25-text-heading);
    margin: 0 0 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--poppins);
}

.innovating-software .card-body p {
    width: 100%;
    font-weight: 400;
    /* font-size: 16px; */
    /* line-height: 30px; */
    /* color: var(--2k25-text-body); */
    margin: 0 0 15px;
    /* overflow: hidden; */
    /* display: -webkit-box; */
    /* -webkit-box-orient: vertical; */
    /* -webkit-line-clamp: 2; */
}

.innovating-software .card-body {
    display: flex;
    flex-direction: column;
}

.innovating-software .card-body .arrow-learn-more {
    margin-top: auto;
}

.innovating-software .btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* NEW SECTION */
.core-services {
    padding: 130px 0 65px;
}

.core-services-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}
.core-services-wrapper + .btn {
    text-align: center;
}

.core-services-item {
    height: 430px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.core-services-item::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 150%;
    left: 0;
    bottom: -20%;
    background-image: linear-gradient(359deg, var(--2k25-dark-blue2), transparent 70%);
    z-index: 1;
    transition: var(--transition5) linear;
}

.core-services-item:hover:before {
    bottom: 0%;
    height: 200%;
}

.core-services .container {
    max-width: 1840px;
    width: 100%;
}

.core-services-item img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    object-fit: cover;
    z-index: 0;
}

.core-services-item h3,
.core-services-item ul {
    position: relative;
    z-index: 1;
}

.core-services-item .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    /* gap: 20px; */
}

.core-services-item .inner h3 {
    color: var(--white);
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    font-family: var(--poppins);
}

.core-services-item .inner ul {}

.core-services-item .inner ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 0;
    transition: var(--transition5) linear;
    overflow: hidden;
    margin-top: 0;
}

.core-services-item:hover .inner ul {
    margin-top: 20px;
    max-height: 190px;
}

.core-services-item .inner ul li {
    font-size: 16px;
    display: flex;
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: var(--transition3);
    padding-left: 16px;
}

.core-services-item .inner ul li:hover {
    /* text-decoration: underline; */
    /* text-underline-offset: 5px; */
}

.core-services-item .inner ul li::before {
    position: absolute;
    content: '';
    width: 5px;
    height: 5px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    top: 10px;
    left: 0;
}

@media (max-width: 1440px) {

    .core-services {
        padding: 100px 0 50px;
    }

    .core-services-item:hover .inner ul {
        max-height: 340px;
    }

    .core-services-item {
        height: 530px;
    }

    .innovating-software .cards {
        gap: 20px;
    }

    .innovating-software .card {
        border-radius: 14px;
        padding: 24px 60px 24px 24px;
        gap: 20px;
    }

    .innovating-software .card-icon {
        width: 60px;
        height: 60px;
        padding: 15px;
    }

    .innovating-software .card-body h3 {
        font-size: 20px;
        line-height: 1.2;
    }

    .innovating-software .card-body p {
        font-size: 14px;
        line-height: 1.6;
    }

}

@media (max-width: 1280px) {

    .innovating-software {
        padding: 100px 0;
    }

    .innovating-software .cards {
        gap: 16px;
        margin: 0px auto 30px;
    }

    .innovating-software .card {
        border-radius: 10px;
        padding: 20px;
        gap: 16px;
    }

    .innovating-software .card-icon {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .innovating-software .card-body h3 {
        font-size: 16px;
    }

    .core-services-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .innovating-software {
        padding: 80px 0;
    }

    .core-services {
        padding: 80px 0 40px;
    }

    .core-services-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-services-item {
        height: 470px;
    }

    .core-services-item .inner ul {
        max-height: fit-content;
        margin-top: 20px;
    }

    .core-services-item::before {
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .innovating-software {
        padding: 55px 0;
    }

    .core-services {
        padding: 55px 0 36px;
    }

    .core-services-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .innovating-software .cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .innovating-software .card {
        padding: 16px;
        gap: 16px;
        flex-direction: column;
    }

    .innovating-software .card-icon {
        width: 40px;
        height: 40px;
        padding: 8px;
        border-radius: 5px;
    }

    .innovating-software .card-body p {
        margin: 0 0 10px;
    }

    .innovating-software .card-body h3 {
        font-size: 18px;
    }
}
