html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    background: #f9f9f9;
    color: #414042;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.hidden {
    display: none;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
    font-stretch: 100%;
}

.banner-img {
    max-height: 125px;
    padding: 15px;
}

.bank-img {
    max-height: 150px;
    max-width: 150px;
}

.question-text {
    margin: 10px 0px 10px 0px;
    font-weight: 500;
    font-size: 25px;
}

.answer-input {
    margin: 0px 0px 30px 0px;
}

.final-details {
    margin: 0px 0px 20px 0px;
    height: 22px;
    padding: 2px;
    border-width: 2px;
}

.question-text {
    margin: 10px 0px 10px 0px;
    font-weight: 500;
    font-size: 25px;
}

.answer-input {
    margin: 0px 0px 30px 0px;
}

.final-details {
    margin: 0px 0px 20px 0px;
    height: 22px;
    padding: 2px;
    border-width: 2px;
}


.bank-list {
    margin: 0 auto;
    max-width: 400px;
    text-align: left;
}

.hidden-radio {
    display: none;
}

.bank-select {
    width: 100%;
    cursor: pointer;
}

.bank-select-container {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

    .bank-select-container:hover,
    .bank-select-container:focus-within {
        background-color: #ffe5e5; /* Color change on hover or focus */
    }

/* Change the background color of the .bank-select-container when the radio button is checked */
.hidden-radio:checked + label .bank-select-container {
    background-color: #f9bda9;
}

.bank-img-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bank-img {
    height: 65px;
    margin-right: 10px;
}

.bank-name-container {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

/* index only end */
.index-subtitle {
    font-size: 25px;
    color: #444142;
    font-weight: 600;
    margin-bottom: 50px;
}

.index-content {
    width: 80%;
    margin: auto;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.index-logo {
    max-height: 150px;
    padding: 15px;
    margin-bottom: 50px;
}

.index-highlight-txt {
    font-weight: 560;
    background: linear-gradient(to right, #f15a29, #da1c5c);
    -webkit-background-clip: text;
    color: transparent; /* Makes the text color transparent, showing the gradient */
    background-clip: text;
}

.grid-container {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 10px;
}

.grid-item {
    text-align: center;
    display: flex;
}

.grid-number {
    justify-content: flex-end;
    align-items: flex-end;
    font-size: 80px;
    font-weight: 800;
}

.grid-title {
    justify-content: flex-start;
    align-items: flex-end;
    max-width: 65vw;
    font-size: 35px;
    font-weight: 700;
    padding-bottom: 35px;
}

.grid-description {
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 65vw;
    text-align: left;
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .grid-title {
        max-width: 95vw;
    }

    .grid-description {
        max-width: 90vw;
    }
}

.how-it-works-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 50px;
}

.how-it-works-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    background-color: #d7dada;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2), /* Outer shadow for depth */
    0 8px 25px 0 rgba(0, 0, 0, 0.25), /* Additional layer for more depth */
    0 0 15px 0 rgba(255, 255, 255, 0.9); /* Inner glow effect */
}

    .how-it-works-item img {
        margin-top: 10px;
        width: 100%;
        height: 30%;
        object-fit: contain; /* This ensures the image covers the area without distorting */
        border-top-left-radius: 10px; /* Rounded corners for the image */
        border-top-right-radius: 10px;
    }

    .how-it-works-item h3 {
        height: 20%;
        margin: 0;
        padding: 5px;
        text-align: center;
        margin-top: 15px;
        justify-content: center;
        font-size: 30px;
        font-weight: 600;
    }

    .how-it-works-item p {
        height: 50%;
        margin: 0;
        padding: 5px;
        text-align: center;
    }

@media screen and (max-width: 600px) {
    .how-it-works-container {
        flex-direction: column;
        align-items: center;
    }

    .how-it-works-item {
        width: 90%; /* Full width on mobile */
        margin-bottom: 20px; /* Adds space below each item */
    }

        .how-it-works-item img {
            width: 30%;
        }
}

.index-partner-pics-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
}

.index-partner-item {
    flex: 1; /* Allows each item to grow and take available space */
    max-width: 100%; /* Full width on larger screens */
}

    .index-partner-item img {
        width: auto; /* Allows width to adjust while maintaining aspect ratio */
        height: auto; /* Keeps the image aspect ratio */
        max-height: 200px; /* Limits image height to 200px */
    }

@media screen and (max-width: 600px) {
    .index-partner-item img {
        max-width: 300px; /* Limits image height to 200px */
    }
}



/* index only end */
/* Bootstrap overrides Start */
h4 {
    font-size: 35px;
    color: #444142;
    font-weight: 700;
}

.btn {
    border: 0px;
    border-radius: 35px;
    padding: 5px 20px;
}

.btn-primary {
    background-color: #da1c5c;
    border-color: #da1c5c;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: #f15a29;
        border-color: #f15a29;
        box-shadow: 0 0 0 0;
    }

    .btn-primary.disabled {
        background-color: #e7759b;
    }

    .btn-primary:disabled {
        background-color: #e7759b;
    }

.btn-secondary:focus, .btn-secondary:active {
    box-shadow: 0 0 0 0;
}

.form-control {
    border-color: #da1c5c;
}
/* Bootstrap overrides End */

/* Loading Grid Start */

.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-grid div {
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #e53c41;
        animation: lds-grid 1.2s linear infinite;
    }

        .lds-grid div:nth-child(1) {
            top: 8px;
            left: 8px;
            animation-delay: 0s;
        }

        .lds-grid div:nth-child(2) {
            top: 8px;
            left: 32px;
            animation-delay: -0.4s;
        }

        .lds-grid div:nth-child(3) {
            top: 8px;
            left: 56px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(4) {
            top: 32px;
            left: 8px;
            animation-delay: -0.4s;
        }

        .lds-grid div:nth-child(5) {
            top: 32px;
            left: 32px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(6) {
            top: 32px;
            left: 56px;
            animation-delay: -1.2s;
        }

        .lds-grid div:nth-child(7) {
            top: 56px;
            left: 8px;
            animation-delay: -0.8s;
        }

        .lds-grid div:nth-child(8) {
            top: 56px;
            left: 32px;
            animation-delay: -1.2s;
        }

        .lds-grid div:nth-child(9) {
            top: 56px;
            left: 56px;
            animation-delay: -1.6s;
        }

@keyframes lds-grid {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Loading Grid End */
