@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
    --thm-font: "Inter", sans-serif;
    --thm-font-2: "reeyregular";
    --thm-base: #ff7a00;
    --thm-base-rgb: 255, 122, 0;
    --thm-primary: #182978;
    --thm-primary-rgb: 24, 41, 120;
    --thm-gray: #515151;
    --thm-gray-rgb: 81, 81, 81;
    --thm-white: #ffffff;
    --thm-white-rgb: 255, 255, 255;
    --thm-black: #202020;
    --thm-black-rgb: 32, 32, 32;
    --thm-gray-bg: #f5f5f5;
    --thm-main-bg: #202020;
}

:root {
    --swiper-theme-color: #007aff;
}

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0));
}

* {
    box-sizing: border-box;
}

* {
    margin: 0;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: var(--thm-font);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

#root,
#__next {
    isolation: isolate;
}



/* ENDS HERE */

/* WHERE THE BODY STARTS IMMEDIATELY AFTER ALL THE NAVS */
.header {
    height: 800px;
    /* background-color: #202020; */
    padding-top: 200px;
    background-image: url(../images/bank3.JPG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
    /* Smooth transition over 1 second */

    .its-cover{
        width: 100%;
        height: 800px;
        background-color: rgba(0,0,0,0.5);
        /* background-color: #202020; */
        position: absolute;
        top: 190px;
        left: 0;
        bottom: 0;
    }

    .simple-text {
        width: 50%;
        max-width: 500px;
        height: 50px;
        /* background-color: #869af5; */
        color: var(--thm-white);
        font-weight: 700;
        padding-left: 35px;
        margin-bottom: 10px;
        font-size: 20px;
        position: relative;
        overflow-x: hidden;

        .topic {
            width: 100%;
            height: 100%;
        }
    }

    .header-text {
        width: 70%;
        max-width: 850px;
        height: 250px;
        /* background-color: #8d96bd; */
        line-height: 80px;
        padding-left: 35px;
        margin-bottom: 10px;
        position: relative;
        overflow: hidden;

        .note2 {
            width: 100%;
            height: 100%;
        }

        p {
            font-size: 75px;
            font-weight: 900;
            color: var(--thm-white);
        }
    }

    .header-note {
        width: 60%;
        max-width: 750px;
        height: 100px;
        /* background-color: #8d96bd; */
        padding-left: 35px;
        position: relative;
        overflow-x: hidden;

        .note {
            width: 100%;
            height: 100%;
        }

        p {
            font-size: 20px;
            color: var(--thm-white);
            font-weight: 700;
        }
    }

    .buttons {
        width: 60%;
        max-width: 750px;
        height: 90px;
        /* background-color: #8d96bd; */
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        padding-left: 35px;

        .appoint {
            width: 50%;
            height: 100%;
            background-color: var(--thm-base);
            display: flex;
            justify-content: center;
            text-align: center;
            align-items: center;
            color: var(--thm-white);
            font-size: 20px;
            font-weight: 700;
            cursor: pointer;

            i {
                background-color: #e6a466;
                margin-left: 10px;
                padding: 7px;
                border-radius: 50%;
                color: var(--thm-white);
            }
        }

        .appoint {
            background-color: var(--thm-base);
            position: relative;
            overflow: hidden;
            /* Prevent content from spilling out during animation */
            transition: background-color 0.3s ease;

            i {
                margin-left: 5px;
                background-color: #e6a466;
                border-radius: 100px;
                padding: 5px 5px;
            }
        }

        .appoint::after {
            content: "";
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background-color: var(--thm-black);
            transition: right 0.7s ease;
            z-index: -1;
        }

        .appoint:hover::after {
            right: 0;
        }

        .appoint i {
            margin-left: 10px;
            /* Space between the text and the icon */
            transition: color 0.1s ease;
            /* Smooth transition for icon color */
        }

        .appoint:hover i {
            background-color: #515151;
        }

        .apply {
            width: 45%;
            height: 100%;
            background-color: var(--thm-white);
            display: flex;
            justify-content: center;
            text-align: center;
            align-items: center;
            color: var(--thm-black);
            font-size: 20px;
            font-weight: 700;
            cursor: pointer;

            i {
                background-color: var(--thm-base);
                margin-left: 10px;
                padding: 7px;
                border-radius: 50%;
                color: var(--thm-white);
            }
        }

        .apply {
            position: relative;
            overflow: hidden;
            /* Prevent content from spilling out during animation */
            transition: background-color 0.3s ease;

            i {
                margin-left: 5px;
                background-color: var(--thm-base);
                border-radius: 100px;
                padding: 5px 5px;
            }
        }

        .apply::after {
            content: "";
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background-color: var(--thm-black);
            transition: right 0.7s ease;
            z-index: -1;
        }

        .apply:hover::after {
            right: 0;
        }

        .apply i {
            margin-left: 10px;
            /* Space between the text and the icon */
            transition: color 0.1s ease;
            /* Smooth transition for icon color */
        }

        .apply:hover i {
            background-color: #515151;
        }

        .apply:hover {
            color: var(--thm-white);
        }
    }
}

/* FOREX CONTAINER BEGINS HERE */

.forex {
    width: 95%;
    height: 75px;
    display: flex;
    background-color: var(--bs-blue);
    margin-left: auto;

    .forex-head {
        width: 25%;
        height: 100%;
        display: flex;
        background-color: var(--thm-primary);
        color: var(--thm-white);
        text-align: center;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        font-weight: 700;
    }
}

.forex-update {
    width: 75%;
    height: 100%;
    display: flex;
    color: var(--thm-white);
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

/* THE SERVICES BEGINS HERE */

.services {
    width: 100%;
    height: 300px;
    background-color: var(--thm-gray-bg);
    padding-top: 100px;

    .details {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-self: start;
        text-align: center;
        align-items: center;
        font-size: 20px;
        font-weight: 600;
        color: var(--bs-blue);
    }

    .services-head {
        width: 100%;
        height: 80px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 50px;
        font-weight: 700;
    }

    .services-list {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 18px;
    }
}

/* FOR THE RETURN SECTION */

.return-section {
    width: 100%;
    height: fit-content;
    background-color: var(--thm-gray-bg);
    /* background-color: #182978; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default to 3 items per row */
    gap: 20px;
    padding: 20px 90px;
    padding-bottom: 100px;

    .mobile-banking,
    .return,
    .saving {
        height: 450px;
        background-color: var(--thm-white);
        transition: height 0.5s ease, background-color 0.5s ease;
        /* Smooth transition for height and background-color */
    }

    .return {
        height: 500px;
        background-color: var(--thm-primary);
    }

    .mobile-banking:hover,
    .saving:hover {
        background-color: var(--thm-primary);
        height: 500px;

    }

    /* HERE IS FOR THE FIRST CONTAINER */

    .mobile-banking {
        padding: 50px;

        .mobile-banking-head {
            width: 100%;
            height: 50%;
            display: flex;

            .icon-font {
                width: 70%;
                height: 100%;

                i {
                    font-size: 100px;
                    margin-top: 40px;
                }

            }

            .gradient {
                width: 30%;
                height: 45%;
                border-radius: 50%;
                background:
                    conic-gradient(#515151 0deg 4deg, transparent 40deg 90deg, #515151 90deg 135deg, transparent 135deg 180deg, #515151 180deg 225deg, transparent 225deg 270deg, #515151 270deg 315deg, transparent 315deg 360deg);
                /* Conic gradient */
                /* Dotted pattern */
                ;
                background-size: 10px 10px;
                /* Adjust the spacing for the dots */
                animation: spin 80s linear infinite;
                /* Animation to spin */
                visibility: hidden;
            }



        }

        .mobile-topic {
            width: 100%;
            height: 15%;
            display: flex;
            font-size: 25px;
            font-weight: bold;
        }

        .mobile-banking-list {
            width: 100%;
            height: 27%;
            display: flex;
            font-size: 18px;
            /* background-color: #198754; */
        }

        .button {
            width: 100%;
            height: 15%;

            .read {
                color: var(--thm-base);
                font-size: 18px;
                font-weight: 600;
                cursor: pointer;
                visibility: hidden;

                i {
                    background-color: var(--thm-base);
                    color: var(--bs-white);
                    padding: 5px;
                    border-radius: 50%;
                }
            }

        }
    }

    .mobile-banking:hover .gradient {
        visibility: visible;
    }

    .mobile-banking:hover .icon-font {
        color: var(--thm-base);
    }

    .mobile-banking:hover .mobile-topic {
        color: var(--thm-base);
    }

    .mobile-banking:hover .mobile-banking-list {
        color: var(--bs-white);
    }

    .mobile-banking:hover .read {
        visibility: visible;
    }

    /* HERE IS THE STYLING FOR THE MIDDLE CONTAINER */

    .return {
        padding: 50px;

        .mobile-banking-head {
            width: 100%;
            height: 50%;
            display: flex;


            .icon-font {
                width: 70%;
                height: 100%;

                i {
                    font-size: 100px;
                    margin-top: 40px;
                    color: var(--thm-base);
                }

            }

            .gradient {
                width: 30%;
                height: 45%;
                border-radius: 100%;
                background:
                    conic-gradient(#515151 0deg 4deg, transparent 40deg 90deg, #515151 90deg 135deg, transparent 135deg 180deg, #515151 180deg 225deg, transparent 225deg 270deg, #515151 270deg 315deg, transparent 315deg 360deg);
                /* Conic gradient */
                /* Dotted pattern */
                ;
                background-size: 10px 10px;
                /* Adjust the spacing for the dots */
                animation: spin 80s linear infinite;
                /* Animation to spin */
            }
        }

        .mobile-topic {
            width: 100%;
            height: 15%;
            display: flex;
            font-size: 25px;
            font-weight: bold;
            color: var(--thm-base);
        }

        .mobile-banking-list {
            width: 100%;
            height: 27%;
            display: flex;
            font-size: 18px;
            /* background-color: #198754; */
            color: var(--bs-white);
        }

        .button {
            width: 100%;
            height: 15%;

            .read {
                color: var(--thm-base);
                font-size: 18px;
                font-weight: 600;
                cursor: pointer;


                i {
                    background-color: var(--thm-base);
                    color: var(--bs-white);
                    padding: 5px;
                    border-radius: 50%;
                }
            }

        }
    }


    /* STYLING FOR THE LAST CONTAINER BEGINS HERE */

    .saving {
        padding: 50px;

        .mobile-banking-head {
            width: 100%;
            height: 50%;
            display: flex;

            .icon-font {
                width: 70%;
                height: 100%;

                i {
                    font-size: 100px;
                    margin-top: 40px;
                }

            }

            .gradient {
                width: 30%;
                height: 45%;
                border-radius: 50%;
                background:
                    conic-gradient(#515151 0deg 4deg, transparent 40deg 90deg, #515151 90deg 135deg, transparent 135deg 180deg, #515151 180deg 225deg, transparent 225deg 270deg, #515151 270deg 315deg, transparent 315deg 360deg);
                /* Conic gradient */
                /* Dotted pattern */
                ;
                background-size: 10px 10px;
                /* Adjust the spacing for the dots */
                animation: spin 80s linear infinite;
                /* Animation to spin */
                visibility: hidden;
            }
        }

        .mobile-topic {
            width: 100%;
            height: 15%;
            display: flex;
            font-size: 25px;
            font-weight: bold;
        }

        .mobile-banking-list {
            width: 100%;
            height: 27%;
            display: flex;
            font-size: 18px;
            /* background-color: #198754; */
        }

        .button {
            width: 100%;
            height: 15%;

            .read {
                color: var(--thm-base);
                font-size: 18px;
                font-weight: 600;
                cursor: pointer;
                visibility: hidden;

                i {
                    background-color: var(--thm-base);
                    color: var(--bs-white);
                    padding: 5px;
                    border-radius: 50%;
                }
            }

        }
    }

    .saving:hover .gradient {
        visibility: visible;
    }

    .saving:hover .icon-font {
        color: var(--thm-base);
    }

    .saving:hover .mobile-topic {
        color: var(--thm-base);
    }

    .saving:hover .mobile-banking-list {
        color: var(--bs-white);
    }

    .saving:hover .read {
        visibility: visible;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
        /* Start rotation at 0 degrees */
    }

    to {
        transform: rotate(360deg);
        /* Rotate to 360 degrees */
    }
}

/* PERSONAL AND COOPERATE CONTAINER STARTS HERE */

.personal-cooperate {
    width: 100%;
    padding: 10px 0px 10px 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* background-color: var(--bs-gray); */

    .personal {
        height: 500px;
        background-color: #0dcaf0;
        background: url(../images/personal.JPG);

        .content {
            width: 100%;
            height: 100%;
            background-color: rgba(24, 42, 120, 0.441);
            /* opacity: 0.5; */
            color: var(--bs-white);

            .details {
                width: 100%;
                color: white;
                justify-content: center;
                padding: 100px 40px 50px 120px;

                h2 {
                    font-size: 40px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }

                p {
                    font-size: 20px;
                    margin-bottom: 55px;
                }

                a {
                    text-decoration: none;
                    color: var(--bs-white);
                    padding: 20px;
                    font-size: 18px;
                    border: 2px solid var(--bs-white);
                }

                i {
                    color: white;
                    background-color: var(--bs-gray);
                    padding: 5px;
                    border-radius: 50%;
                }
            }
        }
    }

    .cooperate {
        height: 500px;
        background-color: var(--bs-dark);
        background: url(../images/cooperate.JPG);

        .content {
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.839);
            /* opacity: 0.5; */

            .details {
                width: 100%;
                color: white;
                justify-content: center;
                padding: 100px 40px 50px 120px;

                h2 {
                    font-size: 40px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }

                p {
                    font-size: 20px;
                    margin-bottom: 55px;
                }

                a {
                    text-decoration: none;
                    color: var(--bs-white);
                    padding: 20px;
                    font-size: 18px;
                    border: 2px solid var(--bs-white);
                }

                i {
                    color: white;
                    background-color: var(--bs-gray);
                    padding: 5px;
                    border-radius: 50%;
                }

            }
        }
    }
}

/* ENDS HERE */

/* EMI CALCULATOR BEGINS HERE */

.emi-calc {
    width: 100%;
    height: 300px;
    background-color: var(--thm-gray-bg);
    padding-top: 100px;


    .offer {
        width: 100%;
        height: 20%;
        color: var(--swiper-theme-color);
        font-weight: 500;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .emi {
        width: 100%;
        height: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 45px;
        font-weight: 700;
        color: var(--bs-dark);
    }

    .get {
        width: 100%;
        height: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        font-weight: 600;
        color: var(--bs-gray);
    }
}

.logos {
    width: 100%;
    height: 300px;
    background-color: var(--bs-white);

    .pic {
        width: 85%;
        height: 250px;
        background-color: #202020;
        margin: auto;
        position: relative;
        background: url(../images/cal1.jpg);
        background-size: cover;


        .holder {
            width: 42%;
            height: 100px;
            display: flex;
            margin: auto;
            justify-content: space-around;
            position: absolute;
            /* Position the holder absolutely */
            bottom: -15%;
            /* Move the holder down so half is outside */
            left: 50%;
            /* Position horizontally at the center */
            transform: translateX(-50%);
            /* Offset by 50% of its width to truly center it */

            .home,
            .car,
            .school,
            .perso {
                width: 110px;
                height: 110px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 40px;
                border-radius: 50%;
                background-color: var(--thm-gray-bg);
                border: 10px solid var(--bs-white);
                transition: background-color 0.8s ease;

                i {
                    color: var(--thm-primary);
                }
            }

            /* Default hover color */
            .home:hover,
            .car:hover,
            .school:hover,
            .perso:hover {
                background-color: #ff7a00;

                i {
                    color: var(--thm-white);
                }
            }

            /* Active class to show clicked item */
            .active {
                background-color: #ff7a00 !important;

                i {
                    color: var(--thm-white);
                }
            }

            .pic .holder .active:hover {
                background-color: #ff7a00;
            }


        }
    }
}


.loan {
    width: 100%;
    height: 130px;
    /* Set height for the loan container */
    background-color: var(--bs-white);
    position: relative;
    overflow: hidden;
    /* Hide the content when transitioning */
}

.type {
    width: 100%;
    height: 80px;
    /* Same height as the .loan container */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    position: absolute;
    bottom: -100%;
    /* Initially position the .type element below the container */
    transition: bottom 0.5s ease-out;
    /* Transition from bottom */
}

.type.active {
    bottom: 0;
    /* Bring the .type element to the visible area */
}

/* ENDS HERE */

/* CALC SECTION */

.calc {
    width: 100%;
    height: fit-content;
    padding-top: 60px;
    padding-bottom: 50px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: var(--bs-white);
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    .loan-amount,
    .loan-terms,
    .interest-rate {
        height: 200px;
        border-right: 1px solid var(--thm-gray);


        .input-field {
            width: 85%;
            height: 100%;
            margin: auto;
            display: flex;
            flex-direction: column;
            padding-bottom: 30px;

            label {
                font-size: 18px;
                font-weight: 600;

            }

            input[type="range"]::-webkit-slider-runnable-track {
                height: 15px;
                border-radius: 1px;
                background: #ddd;
            }


            .value-display {
                height: 70px;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                border: 1px solid var(--thm-gray);
                margin-top: auto;
            }
        }
    }
}

/* EMI CONTAINER BEGINS HERE */

.emi-result {
    width: 100%;
    height: fit-content;
    background-color: var(--bs-white);
    padding-bottom: 100px;


    .result {
        width: 90%;
        height: fit-content;
        margin: auto;
        background-color: var(--thm-gray-bg);
        display: flex;


        .emi {
            width: 30%;
            height: 150px;
            color: var(--thm-gray);
            padding-left: 50px;
            padding-top: 30px;
            font-size: 25px;
            font-weight: 0;

            p {
                color: var(--bs-dark);
                font-weight: 800;
                font-size: 30px;
                margin-top: 10px;
            }
        }

        .interest {
            width: 20%;
            height: 150px;
            color: var(--thm-gray);
            padding-top: 30px;
            font-size: 25px;
            font-weight: 0;

            p {
                color: var(--bs-dark);
                font-weight: 800;
                font-size: 30px;
                margin-top: 10px;
            }
        }

        .amount {
            width: 25%;
            height: 150px;
            color: var(--thm-gray);
            padding-top: 30px;
            font-size: 25px;
            font-weight: 0;


            p {
                color: var(--bs-dark);
                font-weight: 800;
                font-size: 30px;
                margin-top: 10px;
            }
        }

        .apply-button {
            width: 25%;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding-right: 10px;
            border-left: 1px solid var(--bs-secondary);
            margin: auto;

            button {
                text-decoration: none;
                color: var(--thm-white);
                background-color: var(--thm-base);
                padding: 20px;
                font-weight: 600;
                font-size: 20px;
                border: none;
                position: relative;
                overflow: hidden;
                transition: background-color 0.7s ease, color 0.7s ease;
                z-index: 1;

                i {
                    margin-left: 5px;
                    background-color: #e6a466;
                    border-radius: 100px;
                    padding: 5px 5px;
                }
            }

            button:after {
                content: "";
                position: absolute;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100%;
                background-color: var(--thm-black);
                transition: right 0.7s ease;
                z-index: -1;
            }

            button:hover:after {
                right: 0;
            }

            button:hover i {
                background-color: #9f9696;
                color: var(--thm-gray);
            }
        }
    }
}

/* ENDS HERE */

/* LOANS AND FINANCES STARTS HERE */

.loan-finances {
    width: 100%;
    height: fit-content;
    background: url(../images/personal3.JPG);
    background-repeat: no-repeat;
    background-size: cover;

    .topic2 {
        width: 100%;
        height: 300px;
        padding-top: 50px;
        background-color: #20202097;


        .offer {
            width: 100%;
            height: 50px;
            color: var(--swiper-theme-color);
            font-weight: 600;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .loans-f {
            width: 100%;
            height: 70px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 48px;
            font-weight: 800;
            color: var(--thm-white);
        }

        .info {
            width: 100%;
            height: 30%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            font-weight: 600;
            color: var(--thm-white);
        }
    }

    .landf {
        width: 100%;
        height: 500px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 20px;
        background-color: #20202097;
        padding-left: 60px;
        padding-right: 60px;



        .homes,
        .students,
        .business {
            height: 600px;
            background-color: var(--thm-gray-bg);
            /* padding: 20px; */

            .top {
                width: 100%;
                height: 50%;


                .icon {
                    width: 100px;
                    height: 100px;
                    background-color: var(--thm-white);
                    margin: auto;
                    position: relative;
                    /* bottom: -15%; */
                    top: 80%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: var(--thm-base);
                    font-size: 25px;
                    transition: background-color 0.8s ease;


                }
            }

            .down {
                width: 100%;
                height: 50%;
                text-align: center;
                padding: 90px 20px 0px 20px;

                p {
                    margin-top: 15px;
                    font-size: 18px;
                    font-weight: 500;
                    color: var(--bs-gray);
                    padding-left: 20px;
                    padding-right: 20px;
                }

               

                .apply-cont {
                    width: 100%;
                    margin-top: 70px;


                    a {
                        text-decoration: none;
                        padding: 20px;
                        border: 1px solid var(--bs-gray);
                        font-size: 18px;
                        font-weight: 600;
                        color: var(--bs-gray-dark);
                        background-color: var(--thm-white);

                        i {
                            margin-left: 5px;
                            background-color: var(--bs-gray);
                            padding: 5px;
                            border-radius: 50%;
                        }
                    }
                    
                }


            }
        }

        .homes .top {
            background: url(../images/home3.JPG);
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            transition: background-size 10s ease;
        }

        .students .top {
            background: url(../images/stud1.JPG);
            background-size: cover;
            background-repeat: no-repeat;
        }

        .business .top {
            background: url(../images/bus2.JPG);
            background-size: cover;
            background-repeat: no-repeat;
        }

        .homes:hover,
        .students:hover,
        .business:hover {
            /* background-size: 120%; */

            i {
                color: var(--thm-white);
            }

            .icon {
                background-color: var(--thm-primary);
            }
        }

        .homes:hover .top,
        .students:hover .top,
        .business:hover .top {
            background-size: 130%;
        }
    }
}


/* BANKING CARD CONTAINER */

.banking-card {
    width: 100%;
    height: fit-content;
    /* padding: 20px; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 300px;
    padding-left: 60px;
    padding-bottom: 110px;

    .card-pic {
        height: 650px;
        background: url(../images/card2.JPG);
        background-size: cover;
        background-repeat: no-repeat;
        margin-right: 50px;
    }



    .card-info {
        height: 650px;
        /* background-color: #515151; */
        padding-right: 40px;


        .card-head {
            width: 100%;
            height: 30%;
            background-color: var(--thm-white);

            p {
                font-size: 16px;
                font-weight: 500;
                color: var(--bs-primary);

                i {
                    color: var(--thm-base);
                }
            }

            h2 {
                font-size: 50px;
                font-weight: 800;
                color: var(--bs-dark);
                line-height: 60px;
                margin-top: 30px;
            }
        }

        .card-body {
            width: 100%;
            height: 20%;
            background-color: var(--thm-white);
            color: var(--thm-gray);
            font-size: 18px;
        }

        .card-foot {
            width: 100%;
            height: 50%;
            background-color: var(--thm-white);
            display: flex;

            .foot-left {
                width: 30%;
                height: 100%;
                background-color: var(--thm-white);
                border-right: 1px solid var(--thm-gray);
                color: var(--thm-primary);


                .top {
                    width: 75%;
                    height: 33%;
                    border-bottom: 1px solid var(--thm-gray);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 55px;
                }

                .middle {
                    width: 75%;
                    height: 33%;
                    border-bottom: 1px solid var(--thm-gray);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 55px;
                }

                .down {
                    width: 75%;
                    height: 33%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 55px;
                }
            }

            .foot-right {
                width: 70%;
                height: 100%;
                background-color: var(--thm-white);
                padding-left: 35px;


                p {
                    color: var(--thm-gray);
                }

                .top {
                    width: 100%;
                    height: 33%;
                    padding-top: 20px;
                }

                .middle {
                    width: 100%;
                    height: 33%;
                    padding-top: 20px;
                }

                .down {
                    width: 100%;
                    height: 33%;
                    padding-top: 20px;
                }

            }

        }
    }
}

/* SECURE CONTAINER STARTS HERE */

.secure-container {
    width: 100%;
    height: fit-content;
    background: url(../images/sec.gif);
    background-repeat: no-repeat;
    background-size: cover;

    .secure-head {
        width: 100%;
        height: 320px;
        background-color: rgba(0, 0, 0, 0.73);
        padding-top: 100px;

        .detail1 {
            width: 100%;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;

            p {
                color: var(--swiper-theme-color);
                font-weight: 600;

                i {
                    color: var(--thm-base);
                }
            }
        }

        .detail2 {
            width: 100%;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;

            h2 {
                font-weight: 700;
                color: var(--thm-white);
                font-size: 50px;
            }
        }

        .detail3 {
            width: 100%;
            height: 70px;
            display: flex;
            justify-content: center;
            align-items: center;

            p {
                color: var(--thm-white);
                font-weight: 600;
                font-size: 18px;
            }
        }
    }

    .secure-body {
        width: 100%;
        height: 600px;
        background-color: rgba(0, 0, 0, 0.73);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding-left: 60px;
        padding-right: 60px;
        padding-bottom: 50px;

        .trade {
            background: url(../images/fx.JPG);
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            border-radius: 5px;
        }

        .mutual {
            background: url(../images/mutual1.gif);
            background-repeat: no-repeat;
            background-position: center;
        }

        .multi {
            background: url(../images/multi.JPG);
            background-position: center;
            background-size: contain;
            border-radius: 5px;
        }

        .trade,
        .mutual,
        .multi {
            height: 500px;
            border-radius: 5px;

            .top {
                width: 100%;
                height: 50%;
                background-color: rgba(0, 0, 0, 0.73);
                border-radius: 5px;
            }

            .buttom {
                width: 100%;
                height: 50%;
                background-color: rgba(0, 0, 0, 0.73);
                border-radius: 5px;

                .info {
                    width: 90%;
                    height: 50%;
                    margin: auto;
                    color: var(--thm-white);
                    padding: 20px;

                    h2 {
                        margin-bottom: 15px;
                    }
                }

                .learn {
                    width: 80%;
                    height: 30%;
                    /* background-color: #182978; */
                    margin: auto;
                    display: flex;
                    margin-top: 20px;
                    position: relative;
                    overflow: hidden;
                    /* Set up for absolute positioning of <a> */

                    .arrow {
                        position: absolute;

                        i {
                            color: var(--thm-white);
                            background-color: var(--thm-base);
                            padding: 5px;
                            border-radius: 50%;
                            margin-top: 10px;
                            font-size: 20px;
                        }
                    }

                    p {
                        font-weight: 600;
                        font-size: 18px;
                        color: var(--thm-white);
                        padding: 20px 30px;
                        background-color: var(--thm-base);
                        overflow: hidden;
                        transition: background-color 0.5s ease, color 0.5s ease;
                        position: relative;
                        z-index: 1;

                        i {
                            margin-left: 5px;
                            background-color: #e6a466;
                            padding: 5px;
                            border-radius: 50%;
                        }
                    }

                    p::after {
                        content: "";
                        position: absolute;
                        top: 0;
                        right: -100%;
                        width: 100%;
                        height: 100%;
                        background-color: var(--thm-black);
                        transition: right 0.7s ease;
                        z-index: -1;
                    }

                    p:hover::after {
                        right: 0;
                    }

                    p:hover i {
                        background-color: var(--bs-secondary);
                    }

                    a {
                        text-decoration: none;
                        transform: translateY(100%);
                        transition: transform 0.5s ease, opacity 0.5s ease;
                        opacity: 0;
                    }

                    p:hover {
                        background-color: #ff7a00;
                    }

                }
            }
        }

        .trade:hover .learn a,
        .mutual:hover .learn a,
        .multi:hover .learn a {
            transform: translateY(0);
            /* Move to the original position */
            opacity: 1;
            /* Make it visible */
        }
    }
}

.news-container {
    width: 100%;
    height: fit-content;
    padding-top: 20px;
    padding-bottom: 20px;


    .news-head {
        width: 100%;
        height: 300px;
        padding-top: 100px;

        .detail1 {
            width: 100%;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;

            p {
                color: var(--swiper-theme-color);
                font-weight: 600;

                i {
                    color: var(--thm-base);
                }
            }
        }

        .detail2 {
            width: 100%;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;

            h2 {
                font-weight: 800;
                color: var(--thm-black);
                font-size: 50px;
            }
        }

        .detail3 {
            width: 100%;
            height: 70px;
            display: flex;
            justify-content: center;
            align-items: center;

            p {
                color: var(--thm-black);
                font-weight: 600;
                font-size: 18px;
            }
        }
    }

    .news-body {
        width: 100%;
        height: fit-content;
        display: flex;
        padding-bottom: 20px;


        .news-left {
            width: 55%;
            height: 600px;
            /* background-color: #202020; */
            padding-left: 60px;
            padding-top: 30px;


            .holder {
                width: 100%;
                height: fit-content;
                padding-bottom: 20px;


                .news-pic {
                    width: 95%;
                    height: 350px;
                    background-color: var(--thm-gray-bg);
                    /* background: url(/home/images/current3.JPG); */
                    background-size: cover;
                    background-repeat: no-repeat;
                    border-radius: 10px;
                    margin-bottom: 20px;
                    position: relative;
                    overflow: hidden;

                    img {
                        width: 100%;
                        height: 100%;
                    }

                    .for-hover {
                        width: 100%;
                        height: 100%;
                        position: absolute;
                        background-color: rgba(0, 0, 0, 0.586);
                        top: -100%;
                        /* Initially placed above the container */
                        transition: top 0.7s ease-in-out;
                        /* Add transition for smooth effect */
                    }
                }

                .date-comments {
                    width: 95%;
                    height: 50px;
                    display: flex;
                    background-color: var(--thm-gray-bg);
                    margin-bottom: 20px;


                    .date {
                        width: 50%;
                        max-width: 150px;
                        display: flex;
                        align-items: center;

                        a {
                            text-decoration: none;
                            color: var(--bs-gray-dark);
                            font-weight: 600;
                            font-size: 13px;
                        }

                        i {
                            color: var(--thm-base);
                            margin-right: 10px;
                            font-size: 15px;
                        }
                    }

                    .comments {
                        width: 50%;
                        max-width: 150px;
                        display: flex;
                        align-items: center;


                        a {
                            text-decoration: none;
                            color: var(--bs-gray-dark);
                            font-weight: 600;
                            font-size: 13px;
                        }

                        i {
                            color: var(--thm-base);
                            margin-right: 10px;
                            font-size: 15px;
                        }
                    }

                    .comments a:hover,
                    .date a:hover {
                        color: var(--thm-base);
                    }
                }

                .news-item {
                    width: 95%;
                    height: 50px;
                    display: flex;
                    align-items: center;
                    background-color: var(--thm-gray-bg);

                    a {
                        text-decoration: none;
                        color: var(--bs-gray-dark);
                        font-weight: 700;
                        font-size: 20px;
                        /* text-transform: uppercase; */

                    }
                }

                .news-item a:hover {
                    color: var(--thm-base);
                }
            }

            .holder:hover .for-hover {
                top: 0;
                /* Move the element into view when hovering over .holder */
            }
        }


        .news-right {
            width: 45%;
            height: 600px;
            /* background-color: var(--bs-gray); */
            padding-top: 30px;

            .holder {
                width: 100%;
                height: fit-content;

                .top {
                    width: 90%;
                    height: 180px;
                    display: flex;
                    /* background-color: var(--thm-gray-bg); */
                    border-bottom: 1px solid var(--bs-gray);

                    .top-left {
                        width: 30%;
                        height: 100%;

                        .pic {
                            width: 90%;
                            height: 80%;
                            background-color: var(--thm-gray-bg);
                            border-radius: 10px;
                            overflow: hidden;

                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }

                    .top-right {
                        width: 70%;
                        height: 100%;
                        padding-left: 20px;
                        /* background-color: var(--thm-gray); */

                        .date-comments {
                            width: 100%;
                            height: 20%;
                            display: flex;

                            .date {
                                width: 50%;
                                max-width: 130px;
                                height: 100%;
                                display: flex;
                                align-items: center;

                                a {
                                    color: var(--thm-gray);
                                    text-decoration: none;
                                    font-weight: 600;
                                    font-size: 14px;
                                }

                                i {
                                    margin-right: 10px;
                                    color: var(--thm-base);
                                }
                            }

                            .comment {
                                width: 50%;
                                max-width: 130px;
                                height: 100%;
                                display: flex;
                                align-items: center;

                                a {
                                    color: var(--thm-gray);
                                    text-decoration: none;
                                    font-weight: 600;
                                    font-size: 14px;
                                }

                                i {
                                    margin-right: 10px;
                                    color: var(--thm-base);
                                }
                            }

                            .date:hover a,
                            .comment:hover a {
                                color: var(--thm-base);
                            }

                        }
                    }

                    .news-item {
                        width: 90%;
                        height: 50%;
                        display: flex;
                        align-items: center;
                        background-color: var(--thm-gray-bg);


                        a {
                            text-decoration: none;
                            color: var(--bs-gray-dark);
                            font-weight: 700;
                            font-size: 18px;
                            /* text-transform: uppercase; */

                        }

                        a:hover {
                            color: var(--thm-base);
                        }
                    }
                }

                a:hover {
                    color: var(--thm-base);
                }

                .middle {
                    width: 90%;
                    height: 180px;
                    display: flex;
                    border-bottom: 1px solid var(--bs-gray);


                    .middle-left {
                        width: 30%;
                        height: 100%;

                        .pic {
                            width: 90%;
                            height: 80%;
                            border-radius: 10px;
                            overflow: hidden;

                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }

                    .middle-right {
                        width: 70%;
                        height: 100%;
                        padding-left: 20px;
                        /* background-color: var(--thm-gray); */

                        .date-comments {
                            width: 100%;
                            height: 20%;
                            display: flex;

                            .date {
                                width: 50%;
                                max-width: 130px;
                                height: 100%;
                                display: flex;
                                align-items: center;

                                a {
                                    color: var(--thm-gray);
                                    text-decoration: none;
                                    font-weight: 600;
                                    font-size: 14px;
                                }

                                i {
                                    margin-right: 10px;
                                    color: var(--thm-base);
                                }
                            }

                            .comment {
                                width: 50%;
                                max-width: 130px;
                                height: 100%;
                                display: flex;
                                align-items: center;

                                a {
                                    color: var(--thm-gray);
                                    text-decoration: none;
                                    font-weight: 600;
                                    font-size: 14px;
                                }

                                i {
                                    margin-right: 10px;
                                    color: var(--thm-base);
                                }
                            }

                            .date:hover a,
                            .comment:hover a {
                                color: var(--thm-base);
                            }


                        }
                    }

                    .news-item {
                        width: 90%;
                        height: 50%;
                        display: flex;
                        align-items: center;
                        background-color: var(--thm-gray-bg);


                        a {
                            text-decoration: none;
                            color: var(--bs-gray-dark);
                            font-weight: 700;
                            font-size: 18px;
                            /* text-transform: uppercase; */

                        }
                    }

                    a:hover {
                        color: var(--thm-base);
                    }
                }

                .down {
                    width: 90%;
                    height: 130px;
                    display: flex;
                    align-items: center;
                    padding-top: 20px;

                    a {
                        text-decoration: none;
                        color: var(--thm-white);
                    }

                    p {
                        position: relative;
                        background-color: var(--thm-base);
                        /* Initial background color */
                        padding: 20px 40px;
                        font-weight: 700;
                        color: var(--thm-white);
                        /* Initial text color */
                        overflow: hidden;
                        transition: background-color 0.3s ease, color 0.3s ease;
                        z-index: 1;

                        i {
                            margin-left: 5px;
                            background-color: #e6a466;
                            padding: 5px;
                            border-radius: 50%;
                        }
                    }

                    p::after {
                        content: "";
                        position: absolute;
                        top: 0;
                        right: -100%;
                        width: 100%;
                        height: 100%;
                        background-color: var(--thm-black);
                        transition: right 0.7s ease;
                        z-index: -1;
                    }

                    p:hover::after {
                        right: 0;
                        /* Slide the background in */
                    }

                    p:hover {
                        background-color: #6c757d;
                        /* Change background on hover */
                        color: var(--thm-white);
                        /* Change text color on hover */
                    }

                    p:hover i {
                        background-color: #f5f5f5;
                        /* Change background color of the icon */
                        color: var(--thm-gray);
                        /* Change icon color */
                    }

                    i {
                        margin-left: 5px;
                        background-color: #e6a466;
                        /* Initial background color for the icon */
                        padding: 5px;
                        border-radius: 50%;
                        transition: background-color 0.3s ease, color 0.3s ease;
                    }
                }
            }
        }
    }
}

