.top-heading{
    display: flex;
    align-items: flex-end;
    margin: 0px -15px;
}
.top-heading .left-text{
    width: 45%;
    padding: 0px 15px;
}
.top-heading .left-text h2{
    margin-bottom: 0px;
}
.top-heading .right-text{
    width: 55%;
    padding: 0px 15px;
    margin-bottom: 15px;
}
.loan-agreement .top-heading{
    margin-bottom: 80px;
}
.loan-agreement-col{
    width: 33.33%;
    padding: 0px 10px;

}
.loan-agreement{
    overflow: hidden;
    margin-bottom: 130px;
}
.loan-agreement-item {
    background: linear-gradient(120deg, #3B3E45, #69908F, #B5C4CB);
    background-size: 250% 250%;
    padding: 35px 20px 20px 35px;
    height: calc(100% - 15px);
    margin-bottom: 15px;
    animation: gradientFlow 20s ease-in-out infinite;
    overflow: hidden;
    transition: var(--transition);
  }
  
.loan-agreement-col:nth-child(even) .loan-agreement-item {
    animation: gradientFlowReverse 20s ease-in-out infinite;
    }

    @keyframes gradientFlow {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
    }

    @keyframes gradientFlowReverse {
    0% {
        background-position: 100% 100%;
    }
    50% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.loan-agreement-item *{
    color: var(--white);
}
.loan-agreement-item .top-text h2{
    margin-bottom: -10px;
}
.loan-agreement-item .top-text h4{
    font-size: 40px;
    margin-bottom: 0px;
}
.get-in-touch {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-in-out; /* smooth transform */
}
.get-in-touch span{
    transition: var(--transition);
    display: inline-block;
}
.get-in-touch::before{
    content: "";
    position: relative;
    width: 16px;
    height: 16px;
    object-fit: contain;
    background: url(../images/button-arow.svg) no-repeat;
    background-size: contain;
    display: inline-flex;
    margin-right: 10px;
    top: 2px;
    transition: var(--transition);

}
.loan-agreement-item .bottom-button{
    text-align: right;
    margin-top: 60px;
}
.loan-agreement-item:hover{
    transform: translateY(-10px);
}

.loan-agreement-item:hover .get-in-touch span{
    color: var(--black);
}
.loan-agreement-item:hover .get-in-touch {
    transform: translateX(4px);
}

.loan-agreement-item:hover .get-in-touch::before{
    filter: brightness(0%);

}

@media (max-width: 1300px) {
    .top-heading .left-text {
        width: 50%;
    }
    .top-heading .right-text {
        width: 50%;
    }
}
@media (max-width: 1199px) {
    .top-heading .left-text h2{
        font-size: 50px;
    }
    .loan-agreement-item{
        padding: 30px 20px 20px 30px;
    }
    .loan-agreement-item .top-text h4 {
        font-size: 30px;
    }
    .loan-agreement-item .top-text h2 {
        margin-bottom: -5px;
    }
    .loan-agreement{
        margin-bottom: 70px;
    }
}
@media (max-width: 991px) {
    .top-heading{
        flex-direction: column;
    }
    .top-heading .left-text {
        width: 100%;
        margin-bottom: 20px;
    }
    .top-heading .right-text {
        width: 100%;
    }
    .loan-agreement .top-heading {
        margin-bottom: 30px;
    }
    .loan-agreement-col {
        width: 50%;
    }    
}

@media (max-width: 767px) {
    .top-heading .left-text h2 {
        font-size: 40px;
    }
    .loan-agreement {
        margin-bottom: 35px;
    }
    .loan-agreement-col {
        width: 100%;
    }
    .loan-agreement .top-heading {
        margin-bottom: 25px;
    }
    .loan-agreement-item {
        padding: 25px;
    }
    .loan-agreement-item .top-text h2{
        margin-bottom: 0;
    }
}

@media (max-width: 375px) {
    .top-heading .left-text h2 {
        font-size: 30px;
    }
}