
/* ===================================
   LOAN ENQUIRY FORM
=================================== */

.hero-calc {
    --form-primary: #2457d6;
    --form-primary-dark: #1944b0;
    --form-text: #17243b;
    --form-muted: #718096;
    --form-border: #e0e6ef;

    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 25px auto;
    padding: 38px 34px 28px;
    background: #ffffff;
    border: 1px solid #edf0f6;
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(26, 46, 86, 0.12);
    overflow: visible;
}

/* Floating badge */

.hero-calc .float-chip {
    position: absolute;
    top: -15px;
    right: 28px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    color: #ffffff;
    background: linear-gradient(135deg, #2457d6, #4788ff);
    border-radius: 30px;
    box-shadow: 0 7px 20px rgba(36, 87, 214, 0.25);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.hero-calc .float-chip i {
    font-size: 13px;
}

/* Header */

.hero-calc .calc-head {
    margin-bottom: 27px;
}

.hero-calc .form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 17px;
    color: #2457d6;
    background: #edf3ff;
    border-radius: 18px;
    font-size: 26px;
}

.hero-calc .calc-head h2 {
    margin: 0 0 10px;
    color: var(--form-text);
    font-size: clamp(23px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.7px;
}

.hero-calc .calc-head p {
    max-width: 390px;
    margin: 0 auto;
    color: var(--form-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Fields */

.hero-calc .w-field {
    margin-bottom: 5px;
}

.hero-calc .w-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--form-text);
    font-size: 13px;
    font-weight: 700;
}

.hero-calc .w-field label span {
    color: #e5484d;
}

.hero-calc .input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-calc .input-wrap > i {
    position: absolute;
    left: 16px;
    z-index: 1;
    color: #8996ab;
    font-size: 15px;
    pointer-events: none;
}

.hero-calc .w-field input,
.hero-calc .w-field select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 15px 0 44px;
    color: #26344d;
    background-color: #f9faff;
    border: 1px solid var(--form-border);
    border-radius: 11px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.25s ease,
                background-color 0.25s ease,
                box-shadow 0.25s ease;
}

.hero-calc .w-field input::placeholder {
    color: #a0aabc;
    font-weight: 400;
}

.hero-calc .w-field input:hover,
.hero-calc .w-field select:hover {
    border-color: #b8c9ed;
}

.hero-calc .w-field input:focus,
.hero-calc .w-field select:focus {
    background-color: #ffffff;
    border-color: var(--form-primary);
    box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.10);
}

.hero-calc .w-field input:focus + i {
    color: var(--form-primary);
}

.hero-calc .w-field select {
    padding-right: 32px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.hero-calc .select-wrap::after {
    content: "\f078";
    position: absolute;
    right: 15px;
    color: #8996ab;
    font-family: "Font Awesome 5 Free";
    font-size: 11px;
    font-weight: 900;
    pointer-events: none;
}

/* Submit button */

.hero-calc .ld-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-height: 56px;
    margin-top: 7px;
    padding: 8px 10px 8px 23px;
    color: #ffffff;
    background: linear-gradient(135deg, #2457d6, #3978f6);
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(36, 87, 214, 0.20);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
}

.hero-calc .ld-btn:hover {
    background: linear-gradient(135deg, #1944b0, #2457d6);
    box-shadow: 0 12px 25px rgba(36, 87, 214, 0.28);
    transform: translateY(-2px);
}

.hero-calc .ld-btn:focus-visible {
    outline: 3px solid rgba(36, 87, 214, 0.35);
    outline-offset: 4px;
}

.hero-calc .btn-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    color: #2457d6;
    background: #ffffff;
    border-radius: 9px;
    font-size: 15px;
    transition: transform 0.25s ease;
}

.hero-calc .ld-btn:hover .btn-ic {
    transform: translateX(3px);
}

/* Form status */

.hero-calc .form-status {
    margin-top: 12px;
    color: #2457d6;
    font-size: 13px;
    text-align: center;
}

/* Privacy note */

.hero-calc .calc-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
    color: #8490a4;
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.hero-calc .calc-note i {
    margin-top: 3px;
    color: #2a9d72;
}

/* Responsive */

@media (max-width: 767px) {
    .hero-calc {
        margin: 25px auto 15px;
        padding: 32px 22px 24px;
        border-radius: 18px;
    }

    .hero-calc .calc-head {
        margin-bottom: 23px;
    }

    .hero-calc .calc-head h2 {
        font-size: 25px;
    }

    .hero-calc .w-field {
        margin-bottom: 16px;
    }

    .hero-calc .w-field input,
    .hero-calc .w-field select {
        height: 50px;
    }

    .hero-calc .float-chip {
        right: 20px;
    }
}

@media (max-width: 400px) {
    .hero-calc {
        padding: 30px 16px 22px;
    }

    .hero-calc .calc-head h2 {
        font-size: 23px;
    }

    .hero-calc .w-field label {
        font-size: 12px;
    }
}

.pt-90{
    padding-top: 90px;
}

.pt-50{
    padding-top: 50px;
}

.clients-head h4{
    font-size: 30px;
}

.clients-head .why_choose{
    color: #fff;
}

.clients-head .why_choose_p{
    color: #fff;
}

.pb-30{
    padding-bottom: 30px;
}

.clients-head p{
        color: var(--ld-color-ink);
}

.ld-logo h2{
    font-size: 25px;
}

/* -------------------------------------------- */

/* ==================================
   PARTNER BANKS LOGO SLIDER
================================== */

.clients-area {
    padding: 50px 0;
    background: #ffffff;
    overflow: hidden;
}



.clients-head {
    margin-bottom: 35px;
}


.clients-head p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
}

/* Slider viewport */

.clients-slider {
    position: relative;
    width: 100%;
    overflow: hidden;

    /* Soft fade at the edges */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
}

/* Moving track */

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 24px;
    animation: bankLogoScroll 30s linear infinite;
    will-change: transform;
}

/* Logo card */

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 190px;
    width: 190px;
    height: 105px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(23, 36, 59, 0.04);
    transition: transform 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

/* Bank logos */

.client-item img {
    display: block;
    max-width: 100%;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    
    transition: filter 0.3s ease,
                opacity 0.3s ease,
                transform 0.3s ease;
}

/* Hover effects */

.client-item:hover {
    border-color: #d8e3fa;
    box-shadow: 0 10px 25px rgba(23, 36, 59, 0.09);
    transform: translateY(-4px);
}

.client-item:hover img {
 
    transform: scale(1.05);
}

/* Pause when hovering */

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

/* Seamless loop: track contains two identical sets */

@keyframes bankLogoScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 12px));
    }
}

/* Tablet */

@media (max-width: 991px) {
    .clients-head h4 {
        font-size: 25px;
    }

    .clients-track {
        gap: 18px;
        animation-duration: 26s;
    }

    .client-item {
        flex-basis: 165px;
        width: 165px;
        height: 95px;
        padding: 17px;
    }

    .client-item img {
        max-height: 58px;
    }
    .ld-btn{
        display: none;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .clients-area {
        padding: 35px 0;
    }

    .clients-head {
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .clients-head h4 {
        font-size: 22px;
    }

    .clients-head p {
        font-size: 13px;
    }

    .clients-track {
        gap: 14px;
        animation-duration: 22s;
    }

    .client-item {
        flex-basis: 140px;
        width: 140px;
        height: 82px;
        padding: 14px;
        border-radius: 11px;
    }

    .client-item img {
        max-height: 50px;
    }
}

/* Accessibility: respect reduced motion */

@media (prefers-reduced-motion: reduce) {
    .clients-track {
        animation: none;
        transform: none;
    }

    .clients-slider {
        overflow-x: auto;
        -webkit-mask-image: none;
        mask-image: none;
    }
}
