@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
    /* Defa.menut font */
    line-height: 1.6;

}

html {
    scroll-behavior: smooth;
    font-size: 16px;

}

form,
form input,
form select,
form textarea{
    font-size: 16px !important;
}

.text-center {
    text-align: center;
    margin: 1em auto;
}

a {
    text-decoration: none;
    color: #000;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    /* Headings using Poppins */
}

/* Load Settings */
.no-scroll-y {
    overflow-y: hidden;
}

#preloader-section {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* Preloader */
.ctn-preloader {
    -webkit-box-align: center;
    align-items: center;

    /* Show or Hide cursor when hover of Preloader*/
    cursor: none;
    display: -webkit-box;
    display: flex;
    height: 100%;
    -webkit-box-pack: center;
    justify-content: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.ctn-preloader .animation-preloader {
    position: absolute;
    z-index: 100;
}

/* Spinner loading */
.ctn-preloader .animation-preloader .spinner {
    -webkit-animation: spinner 1s infinite linear;
    animation: spinner 1s infinite linear;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--primary-color);
    /* It is not identified in alphabetical order so that it does not overwrite it */
    height: 9em;
    margin: 0 auto 3.5em auto;
    width: 9em;
}

/* Text Loading */
.ctn-preloader .animation-preloader .txt-loading {
    font: bold 5em 'Montserrat', sans-serif;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:before {
    -webkit-animation: letters-loading 4s infinite;
    animation: letters-loading 4s infinite;
    color: var(--primary-color);
    content: attr(data-text-preloader);
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading {
    color: rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Letters Animation */
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before {
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before {
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(9):before {
    -webkit-animation-delay: 1.6s;
    animation-delay: 1.6s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(10):before {
    -webkit-animation-delay: 1.8s;
    animation-delay: 1.8s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(11):before {
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(12):before {
    -webkit-animation-delay: 2.2s;
    animation-delay: 2.2s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(13):before {
    -webkit-animation-delay: 2.4s;
    animation-delay: 2.4s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(14):before {
    -webkit-animation-delay: 2.6s;
    animation-delay: 2.6s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(15):before {
    -webkit-animation-delay: 2.8s;
    animation-delay: 2.8s;
}

.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(16):before {
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

/* Loader section Settings */
.ctn-preloader .loader-section {
    background-color: #ffffff;
    height: 100%;
    position: fixed;
    top: 0;
    width: calc(50% + 1px);
}

.ctn-preloader .loader-section.section-left {
    left: 0;
}

.ctn-preloader .loader-section.section-right {
    right: 0;
}

/* Fade effect in loading animation */
.loaded .animation-preloader {
    opacity: 0;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
}

/* Curtain effect */
.loaded .loader-section.section-left {
    -webkit-transform: translateX(-101%);
    transform: translateX(-101%);
    -webkit-transition: 3.5s 0.1s all cubic-bezier(0.1, 0.1, 0.1, 2.000);
    transition: 3.5s 0.1s all cubic-bezier(0.1, 0.1, 0.1, 2.000);
}

.loaded .loader-section.section-right {
    -webkit-transform: translateX(101%);
    transform: translateX(101%);
    -webkit-transition: 3.5s 0.1s all cubic-bezier(0.1, 0.1, 0.1, 2.000);
    transition: 3.5s 0.1s all cubic-bezier(0.1, 0.1, 0.1, 2.000);
}

/* Preloader Animation */
@-webkit-keyframes spinner {
    to {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

@keyframes spinner {
    to {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

/* Animation of the letters loading from the preloader */
@-webkit-keyframes letters-loading {

    0%,
    75%,
    100% {
        opacity: 0;
        -webkit-transform: rotateY(-90deg);
        transform: rotateY(-90deg);
    }

    25%,
    50% {
        opacity: 1;
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
}

@keyframes letters-loading {

    0%,
    75%,
    100% {
        opacity: 0;
        -webkit-transform: rotateY(-90deg);
        transform: rotateY(-90deg);
    }

    25%,
    50% {
        opacity: 1;
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }
}

/* Backward laptop size (laptop, tablet, cell phone) */
@media screen and (max-width: 767px) {

    /* Preloader */
    /* Spinner Loading */
    .ctn-preloader .animation-preloader .spinner {
        height: 8em;
        width: 8em;
    }

    /* Text Loading */
    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 3.5em 'Montserrat', sans-serif;
    }
}

@media screen and (max-width: 500px) {

    /* Prelaoder */
    /* Spinner Loading */
    .ctn-preloader .animation-preloader .spinner {
        height: 7em;
        width: 7em;
    }

    /* Text Loading */
    .ctn-preloader .animation-preloader .txt-loading {
        font: bold 2em 'Montserrat', sans-serif;
    }
}

.row {
    display: flex;
    align-items: center;
}

.col {
    flex: 1;
}

img {
    width: 100%;
}

.container {
    max-width: 1250px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

#loading {
    display: none;
    /* Hidden by default */
    font-size: 16px;
    color: #007BFF;
    /* Change color as needed */
    margin-top: 10px;
    /* Spacing */
}

.message {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wrap {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.arrow {
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

.link {
    width: max-content;
    padding: .7em 1.2em;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.link:hover {
    background: transparent;
}

.link a {
    color: #fff;
    transition: var(--transition);
}

.link:hover a {
    color: #000;
}

#message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

:root {
    --primary-color: #005695;
    --secondary-color: #000000;
    --accent-color: #F0F0F0;

    /* font-sizes */
    --header: clamp(1em, 1.7vw, 1.8rem);
    --header-sm: clamp(1em, 1.4vw, 1.6rem);
    --text-size: clamp(1em, 1.3vw, 1.5rem);
    --text-sm: clamp(.9em, 1vw, 1.2rem);
    --sm-text: clamp(.8em, .9vw, 1rem);

    /* transition */
    --transition: .5s ease-in-out;

    /* box-shadow */
    --box-shadow1: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --box-shadow2: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;


    /* filter */
    --filter-1: brightness(0) saturate(100%) invert(42%) sepia(85%) saturate(3251%) hue-rotate(184deg) brightness(95%) contrast(96%);

    /* font family */
    --font-family: 'Poppins', sans-serif;
}

body,
html{
    font-family: var(--font-family);
}

/* header styling */

header {
    width: 100%;
    height: 4rem;
    position: fixed;
    top: 0;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    z-index: 999;
    transition: all .5s ease-in;
}

header.scrolled{
     max-width: 100%;
    width: 100%;
    background-color: #f9f9f9;
    box-shadow: var(--box-shadow1);
    top: 0;
    left: 0;
    right: 0;
    padding: 0 20px;
}

.second_menu {
    display: none;
}

/* landing page */
.land_page.assoc {
    background-image: url('../images/assoc.png');
}

.land_page.career {
    background-image: url('../images/career.png');
}

.land_page.mortage {
    background-image: url('../images/mortages.png');
}

.land_page.investment {
    background-image: url('../images/investment.png');
}

.land_page.wealth {
    background-image: url('../images/wealth.png');
}

.land_page.personal {
    background-image: url('../images/personal.png');
}

.land_page.business {
    background-image: url('../images/business.png');
}

.land_page.about {
    background-image: url('../images/pexels-pixabay-50987 (1).jpg');
}

.wealth_img {
    width: 350px;
}

.land_page {
    max-width: 100%;
    width: 100%;
    height: 100%;
    background-image: url('../images/landingbg.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: block;
    position: relative;
    background-blend-mode: darken;
    padding: 3em 0;
}

.land_page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0), #E4EEF3 60%);
    z-index: 1;
    /* Ensure it is above the background image */
}


.landing_page_row {
    display: flex;
    flex-direction: column;
    /* Stack columns vertically */
    justify-content: space-between;
    /* Space between the columns */
    height: 100%;
    /* Full height of the viewport */
    padding: 150px 0 0 0;

}

.landing_page_col {
    padding: 2em;
    width: 50%;
    z-index: 2;
}

.landing_page_col:first-child {
    align-self: flex-start;
    /* Align first column to the top */
}

.landing_page_col:nth-child(2) {
    align-self: flex-end;
    /* Align second column to the bottom */
    background: #fff;
}


.landing_page_col h1 {
    font-size: var(--header);
    text-transform: uppercase;
    font-family: roboto;
    color: var(--primary-color);
    max-width: 800px;

}

.landing_page_col h2 {
    font-size: var(--header);
    text-transform: uppercase;
    font-family: roboto;
    color: #000;
    max-width: 800px;
    margin-bottom: 10px;

}

.landing_page_col .landing_link {
    width: 200px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .8em 2em;
}

.landing_page_col .landing_link a {
    color: #ffffff;
    box-shadow: var(--box-shadow2);
}

.landing_page_col form label {
    margin-bottom: 30px;
    width: 100px;
}

.landing_page_col form select {
    padding: .4em 1em;
    outline: none;
    border: none;
    border-bottom: 1px solid var(--primary-color);
    font-size: 16px;
}

/* section5 */
.section5 {
    margin: 60px auto;
}

.section5 .heading {
    margin: 30px auto;
    font-family: var(--font-family);
    max-width: 700px;
}

.section5 .heading .title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--header-sm);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section5 .heading p {
    font-size: var(--text-sm);
}

.section5_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    row-gap: 50px;
    margin: 40px auto;
}

.section5_items {
    border: 4px solid var(--primary-color);
    padding: 2em;
    position: relative;
    font-family: var(--font-family);
}

.section5_items:nth-child(odd) {
    border: 4px solid #037D87;
}

.section5_items:nth-child(odd) .title {
    background: #D9EEEF;
}

.section5_items:nth-child(odd) .up h1 {
    color: #037D87;
}

.section5_items .up {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: .9em 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section5_items .up h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    font-weight: 700;
}

.section5_items .title {
    width: 100%;
    background: #CCDDEA;
    margin-top: 30px;
    text-align: center;
    padding: 1.6rem;
    margin-bottom: 10px;
}

.section5_items .title h1 {
    font-weight: 400;
    font-size: var(--text-size);
}

.section5_items .content li {
    list-style: none;
    padding: .7em 0;
    display: flex;
    flex-direction: column;
}

.section5_items .content label {
    font-size: var(--text-sm);
    color: var(--primary-color);
}

/* ==== new landing page ==== */
.slider-container {
    margin-top: 70px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slider-wrapper .slider-item {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    align-items: center;
}

.slider-wrapper .slider-item::before {
    position: absolute;
    content: '';
    background-image:
        linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
        url('../images/slider1.png');
    filter: grayscale(0);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.slider-wrapper .slider-item:nth-child(2)::before {
    background-image:
        linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
        url('../images/slider4.png');
}

.slider-wrapper .slider-item:nth-child(3)::before {
    background-image:
        linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
        url('../images/slider3.png');
}

.slider-wrapper .slider-item:nth-child(4)::before {
    background-image:
        linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
        url('../images/slider5.png');
}

.slider-wrapper .slider-item .slider-content {
    color: #fff;
    z-index: 20;
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px 10px;
    opacity: 0;
}

.slider-item.swiper-slide-active .slider-content {
    animation: animate_opacity 0.8s 0.6s linear forwards;
}

@keyframes animate_opacity {
    100% {
        opacity: 1;
    }
}

.slider-wrapper .slider-item .slider-content>* {
    max-width: 35%;
}

.slider-item .slider-content .slide-subtitle {
    font-size: var(--text-sm);
    font-weight: normal;
    opacity: 0;
    transform: translateY(60%);
}


.slider-item .slider-content .slide-title {
    font-size: var(--text-size);
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active :where(.slide-subtitle, .slide-title) {
    animation: animate_text 0.6s 0.6s linear forwards;
}

@keyframes animate_text {
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.slider-item .slider-content .slide-description {
    margin-top: 14px;
    line-height: 25px;
    font-size: var(--sm-text);
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active .slide-description {
    animation: animate_desc 0.6s 1s linear forwards;
}

@keyframes animate_desc {
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.slider-item .slider-content .slider-button {
    color: #fff;
    display: block;
    margin-top: 20px;
    border: 2px solid #fff;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    padding: 13px 0;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    transition: 1s ease-in-out;
    opacity: 0;
    width: 0;
    white-space: nowrap;
}

.slider-item .slider-content .slider-button span {
    opacity: 0;
}

.slider-item .slider-content .slider-button span {
    animation: animate_button 0.6s 1.6s linear forwards;
}

.slider-item.swiper-slide-active .slider-button {
    animation: animate_button 0.6s 1.3s linear forwards;
}

@keyframes animate_button {
    100% {
        opacity: 1;
        width: 250px;
    }
}

.slider-container .slider-controls {
    position: absolute;
    bottom: 40px;
    z-index: 20;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-controls .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
}

.slider-pagination .slider-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all .5s ease-in-out;
    background: var(--primary-color);
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.slider-pagination .slider-tab {
    font-size: var(--text-sm);
    text-align: center;
    cursor: pointer;
    width: 40px;
    height: 10px;
    border-radius: 10px;
    background-color: #fff;

}

@media screen and (max-width: 1536px) {

    .slider-wrapper .slider-item .slider-content,
    .slider-controls .slider-pagination {
        max-width: 85%;
    }
}

@media screen and (max-width: 1024px) {

    .slider-wrapper .slider-item .slider-content,
    .slider-controls .slider-pagination {
        max-width: 100%;
    }

    .slider-wrapper .slider-item .slider-content>* {
        max-width: 66%;
    }

    .slider-wrapper .slider-item::before {
        background-image:
            linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
            url('../images/slidermobil1.png');
    }
}

@media screen and (max-width: 768px) {
    .slider-wrapper .slider-item .slider-content>* {
        max-width: 100%;
    }
}

@media screen and (max-width:568px) {
    .slider-wrapper .slider-item .slider-content {
        margin: 0 auto;
    }

    .slider-item .slider-content .slider-button::before {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        border: none;
    }

    .slider-wrapper .slider-item::before {
        background-image:
            linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
            url('../images/slidermobile2.png');
    }

    .slider-wrapper .slider-item:nth-child(2)::before {
        background-image:
            linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
            url('../images/slidermobile3.png');
    }

    .slider-wrapper .slider-item:nth-child(3)::before {
        background-image:
            linear-gradient(to right, rgba(0, 62, 95, 1) 0%, rgba(0, 62, 95, 0) 100%),
            url('../images/slidermobile4.png');
    }
}


/* ====new landing page end ==== */

/* why choose us */
.why_choose-us {
    max-width: 100%;
    width: 100%;
    display: block;
    height: auto;
    opacity: 0;
    transform: translateY(-100px);
    /* Slide up from below */
    transition: opacity 1s ease, transform 1s ease;
}

.right_by_you .right_by_you_desc {
    font-size: .9em;
    max-width: 900px;
    display: block;
    margin: 50px auto;
    line-height: 2;

}


.why_choose-us.visible {
    opacity: 1;
    transform: translateY(0);
    /* Return to normal */
}

.right_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right_links a {
    font-size: .8em;
    color: var(--primary-color);
}

.why_choose-us .heading {
    margin: 50px 0;
}

.why_choose-us .heading h2 {
    font-size: var(--header);
}

.why_choose-us .heading h3 {
    color: var(--primary-color);
    font-size: calc(var(--header));
    margin-bottom: 10px;
}

.why_choose-us .why_choose_us_link {
    width: 300px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0.8em 1.4em;
    box-shadow: var(--box-shadow1);
    /* Retain your original shadow */

    /* Add additional box-shadow for a stronger effect */
    box-shadow:
        var(--box-shadow1),
        /* Existing shadow */
        0 4px 20px rgba(0, 0, 0, 0.2);
    /* Custom drop shadow */

    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    /* Optional: Add filter drop shadow */
    transition: all var(--transition);
    border: 1px solid var(--primary-color);
}

.why_choose-us .why_choose_us_link:hover {
    background: transparent;
}

.why_choose-us .why_choose_us_link:hover a {
    color: var(--primary-color);
}

.why_choose-us .why_choose_us_link a {
    color: #fff;
    transition: all var(--transition);
}

.why_choose-us .why_choose_us_row {
    display: grid;
    place-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 50px 0;
}

.why_choose_us_down_row.s h3 {
    font-size: 1.2em;
}

.why_choose_us_down_col {
    background: var(--primary-color);
    border-left: 3px solid #fff;
    padding: .8em .8em 4em .8em;
}

.why_choose-us .col .why_choose_us_img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.why_choose_us_down_row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    place-items: center;
    margin: 0 auto;

}

.why_choose_us_down_col {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.why_choose_us_down_col h3 {
    font-size: var(--text-size);
    display: block;
    color: #f9f9f9;
    font-family: var(--font-family);
}

.why_choose_us_down_col p {
    font-size: calc(var(--text-sm) - 2px);
    line-height: 1.9;
    display: block;
    margin: 0 auto;
    /* Center align horizontally */
    color: #f9f9f9;
    font-family: sans-serif;
    padding: 0 1em;
    /* Add padding for better spacing on sides */
    text-align: center;
    /* Center text for visual balance */
    max-width: 90%;
    /* Limit width for better appearance */
    font-family: var(--font-family);
}

/* benefits */

.benefits {
    max-width: 100%;
    display: block;
    width: 100%;
    margin: 0 auto;
    opacity: 0;
    transform: translate(-40px, 60px);
    /* Slide diagonally */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.benefits.visible {
    opacity: 1;
    transform: translate(0);
    /* Return to original position */
}

.benefits .container {
    background: #EDF3F8;
    padding: 2em;
    border-radius: 5px;
}

.benefits .heading h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
}

.benefits_col:first-child {
    margin-top: -60px;
}

.benefits_col:last-child img {
    width: 400px;
}

.benefits_col .col_wrap {
    display: flex;
    gap: 20px;
    padding: 1em 0;
}

.benefits_col .col_wrap:hover .benefits_img {
    background: var(--primary-color);
    filter: none;
}

.benefits_col .col_wrap .benefits_img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 10px;
    transition: all var(--transition);

}

.benefits_col .col_wrap h3 {
    font-size: var(--text-size);
    margin-bottom: 10px;
}

.benefits_col .col_wrap .bennefit_text p {
    font-size: calc(var(--text-sm) - 2px);
    font-weight: 100;
    line-height: 1.9;
    max-width: 400px;
}

.benefits_col .col_link {
    width: 250px;
    padding: .7em 1em;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.benefits_col .col_link:hover {
    background: transparent;
}

.benefits_col .col_link:hover a {
    color: #000;
}

.benefits_col .col_link a {
    color: #fff;
    transition: var(--transition);
}

.benefits_col_img {
    transform: translateY(200px);
    opacity: 0;
    transition: all 1s ease-in-out;
}

.benefits_col_img.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefits_col_img img {
    transition: opacity 0.3s ease;
}

/* right_by_you */
.right_by_you {
    display: block;
    margin: 50px auto;
    max-width: 100%;
    width: 100%;
    height: auto;
    opacity: 0;
    transform: translateY(-200px);
    /* Start slightly smaller */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.right_by_you.visible {
    opacity: 1;
    transform: translateY(0);
}

.right_by_you .right_by_you_row {
    gap: 30px;
}

/* .right_by_you_row.mission .right_by_you_col:first-child{
    margin-top: -200px;
} */
.right_by_you_col_img {
    max-width: 500px;
    height: 100%;
    object-fit: cover;
    background-blend-mode: darken;
    background: #000;
    transform: translateX(-200px);
    opacity: 0;
    transition: all .5s ease-in-out;
    position: relative;
}

.right_by_you_col_img {
    max-width: 700px;
}

.right_by_col_ul {
    position: absolute;
    bottom: 20px;
    left: -40px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.right_by_col_ul>div {
    background: #fff;
    padding: .5em .8em .5em 2.5rem;
    transition: all .7s linear;
    transform: translateY(-200px);
    opacity: 0;
}

.right_by_col_ul>div.visible {
    opacity: 1;
    transform: translateY(0);
}

.right_by_you_col_img.visible {
    opacity: 1;
    transform: translateX(0);
}

.right_by_you .img_wrap {
    width: 100%;
}

.right_by_you .right_by_you_col:first-child img {
    aspect-ratio: 1;
    object-fit: cover;
}

.right_by_you .right_by_you_col h4 {
    font-size: small;
    color: #005695;
}

.right_by_you .right_by_you_col .sub_title {
    font-size: var(--text-sm);
    margin-top: 10px;
}

.right_by_you .right_by_you_col h3 {
    font-size: var(--text-size);
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.right_by_you .right_by_you_col p {
    line-height: 1.9;
    font-size: .9em;
    font-weight: 400;
    padding: .8em 0;
}

.right_by_you .right_by_you_col ul {
    margin: 10px 0;
    padding: 0 1em;
    max-width: 500px;
    list-style: none;
}

.right_by_you .right_by_you_col ul li {
    font-size: .9em;
    line-height: 2;
    padding: .3em;
    position: relative;
}

.right_by_you .right_by_you_col ul li::before {
    position: absolute;
    content: '';
    top: 6px;
    left: -30px;
    width: 20px;
    /* Set your desired width */
    height: 20px;
    /* Set your desired height */
    background-image: url('../svg/check.svg');
    background-size: contain;
    /* Adjusts the image to fit the dimensions */
    background-repeat: no-repeat;
}

.right_by_you .right_by_you_col span {
    background: #005695;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--header);
    margin: 20px 0;
}

.right_by_you .right_by_you_col span img {
    width: 10px;
}

.right_by_you_link {
    margin: 40px 0;
    transition: all var(--transition);
}

.right_by_you_link:hover {
    background: transparent;
}

.right_by_you_link a {
    transition: all var(--transition);
}

.right_by_you_link:hover a {
    color: #000;
}

/* loan_enquiry */
.loan_enquiry {
    position: relative;
    /* Required for positioning the pseudo-element */
    max-width: 100%;
    width: 100%;
    height: 500px;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: scale(.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loan_enquiry.visible {
    opacity: 1;
    transform: scale(1);
}

.loan_enquiry::before {
    content: '';
    position: absolute;
    /* Position it relative to the parent */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/loan.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: rgba(0, 0, 0, 0.2);
    /* Optional: you can adjust this */
    filter: brightness(0.5);
    /* Darken the image */
    z-index: 1;
    /* Place it below the content */
}

.loan_enquiry>* {
    position: absolute;
    /* Ensure content is above the pseudo-element */
    z-index: 2;
    /* Content appears above the background */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.loan_enquiry .title {
    font-size: var(--text-size);
    font-weight: 600;
}

.loan_enquiry .subtitle {
    font-size: var(--header);
}

.loan_enquiry .loan_link {
    padding-left: 2.1em;
    padding-right: 2.1em;
}

.loan_enquiry .loan_link:hover a {
    color: #fff;
}

/* faq */
.faq {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background: linear-gradient(to left top, #00355b, #005695);
    padding: 0 35px;
    opacity: 0;
    transform: translateY(90px);
    transition: all 1s ease-in-out;
}

.faq.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.faq .container {
    max-width: 1100px;
    width: 100%;
    position: relative;
}

.faq .carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 3) - 12px);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: 0;
    scroll-behavior: smooth;
}

.faq .carousel.no-transition {
    scroll-behavior: auto;
}

.faq .carousel::-webkit-scrollbar {
    display: none;
}

.faq .carousel.dragging {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.faq .carousel.dragging .card {
    cursor: grab;
    user-select: none;
}

.faq .carousel :where(.card, .img) {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.faq .carousel .card {
    list-style: none;
    background: #fff;
    border-radius: 8px;
    height: 342px;
    padding-bottom: 15px;
    cursor: pointer;
    scroll-snap-align: start;
}

.faq .card .img {
    background: #005695;
    width: 148px;
    height: 148px;
    border-radius: 50%;

}

.faq .card .img img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

.faq .carousel .card h2 {
    font-weight: 500;
    font-size: 1.18rem;
    margin: 30px 0 5px;
}

.faq .carousel .card a {
    color: var(--primary-color);
    font-size: 1.13rem;
}

.faq .navivation {
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    line-height: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
}

.faq .navivation:first-child {
    left: -30px;
}

.faq .navivation:last-child {
    right: -30px;
}

.faq .navivation img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(14%) sepia(91%) saturate(3389%) hue-rotate(189deg) brightness(103%) contrast(112%);
}

/* newsletter */
.newsletter {
    max-width: 100%;
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 200px;
    background: #00355b;
    position: relative;
}

.newsletter .newsletter_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.newsletter form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    color: #fff;
}

.newsletter form .input_wrap {
    position: relative;
    display: flex;
    width: 50%;
}

.newsletter form label {
    font-size: var(--text-size);
}

.newsletter form input[type="text"] {
    width: 100%;
    padding: .8em 1.4em;
    outline: none;
}

.newsletter form input[type="submit"] {
    padding: .8em 1.4em;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 500;
}

/* explore section */
.highlights,
.explore {
    transform: translateY(-120px);
    transition: all .6s ease-in;
    opacity: 0;
    font-family: var(--font-family);
}

.highlights.visible,
.explore.visible {
    opacity: 1;
    transform: translateY(0);
}

.explore .heading {
    margin: 80px auto;
    max-width: 800px;
    display: block;
    font-family: var(--font-family);
}

.explore .heading .title {
    font-size: calc(var(--header-sm) - 10px);
    font-weight: 550;
    color: var(--primary-color);
    margin: 15px auto;
}

.explore .heading p {
    font-weight: lighter;
    font-family: var(--font-family);
    font-size: .9em;
    line-height: 1.9;
}

.explore .explore_row.s {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 10px;
}

.explore .explore_row.s .explore_col {
    width: 100%;
    height: 100%;
    padding: 1.12em 1em;
    min-height: 100%;
    display: block;
    margin: 0 auto;
}

.explore .explore_row.s .explore_col a {
    font-size: var(--font-size2);
    --font-size2: clamp(.9em, 1.1rem, 1.4vw);
    width: 100%;
    height: max-content;
}

.explore .explore_row.s .explore_col p {
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

.explore .explore_row.s .explore_img {
    margin: 8px auto;
}

.explore .explore_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 20px;
    align-items: stretch;
    /* Stretch items to have the same height */
}

.explore_row.investment .explore_col {
    min-height: 200px;
    min-width: 200px;
    width: 100%;
}

.explore .explore_col {
    display: flex;
    /* Use flexbox */
    flex-direction: column;
    /* Arrange children vertically */
    justify-content: space-between;
    /* Space children evenly */
    padding: 3em;
    box-sizing: border-box;
    /* Include padding in height/width calculations */
    min-height: 300px;
    /* Adjust to your desired height */
}

.explore .explore_col:nth-child(even) {
    background-color: #CCDDEA;
}

.explore .explore_col:nth-child(odd) {
    background-color: #D9EEEF;
}

.explore .explore_col .explore_img {
    width: 50px;
    display: block;
    margin: 30px auto;
}

.explore .explore_col .explore_img.last_img {
    width: 20px;
}

.explore .explore_col .content {
    display: block;
    margin: 0;
    font-family: var(--font-family);
}

.explore .explore_col .content p {
    font-size: .8em;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.9;
    margin: 10px 0;
}

.explore .explore_col .content a {
    font-size: var(--text-size);
    color: var(--primary-color);
    text-decoration: underline;
    font-family: var(--font-family);

}

/* disclosure */
.disclosure {
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    height: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    padding: 30px;
    font-family: var(--font-family);
}

.disclosure .disclosure_wrapper {
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

.disclosure .disclosure_wrapper .disclosure_ a {
    width: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 15px 0;
}

.disclosure .disclosure_wrapper .disclosure_content ol {
    padding: 0 2em;
}

.disclosure .disclosure_wrapper .disclosure_content ol li {
    font-size: .8em;
    font-family: var(--font-family);
    padding: .4em 0;
}

.disclosure h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    letter-spacing: 2px;
}

.disclosure p {
    line-height: 1.9;
    display: block;
    margin: 0 auto;
    padding: .8em 0;
    font-size: .9em;
}

/* welcome */
.welcome.sba7 {
    background-image: url('../images/sba13.png');
}

.welcome.sba6 {
    background-image: url('../images/sba9.png');
}

.welcome.sba5 {
    background-image: url('../images/sba5.png');
}

.welcome.sba {
    background-image: url('../images/sba.png');
}

.welcome.team {
    background-image: url('../images/teambg.png');
}

.welcome.ssssssss {
    background-image: url('../images/student.png');
}

.welcome.sssssss {
    background-image: url('../images/side29.png');
}

.welcome.ssssss {
    background-image: url('../images/side27.png');
}

.welcome.sssss {
    background-image: url('../images/resources.png');
}

.welcome.ssss {
    background-image: url('../images/promote.png');
}

.welcome.sss {
    background-image: url('../images/digital.png');
}

.welcome.ss {
    background-image: url('../images/savings.png');
}

.welcome.s {
    background-image: url('../images/checking.png');
}

.welcome {
    max-width: 100%;
    width: 100%;
    height: 500px;
    background-image: url('../images/welcome.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.welcome::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
}

.welcome>* {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.welcome .text {
    display: flex;
    align-items: center;
    gap: 30px;
}

.welcome .text img {
    width: 40px;
}

.welcome .text h1 {
    font-size: var(--header);
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-family);
}

/* highlight */
.highlights {
    margin: 50px auto;
}

.hightlists_row {
    position: relative;
    gap: 30px;
}

.highlight_col:first-child {
    position: sticky;
    /* Make the first column sticky */
    bottom: 100%;
    /* Stick to the top of the viewport */
    z-index: 10;
    /* Keep it above other content */
    height: 100vh;
    /* Optional: make it fill the viewport height */
    /* You can set a padding or margin as needed */

}


.highlight_col:first-child h1 {
    color: var(--primary-color);
    font-family: var(--primary-color);
    font-size: var(--header-sm);
}

.highlight_col:first-child p {
    line-height: 2em;
    font-family: var(--font-family);
    font-size: .8em;
    padding: 1em 0;
}

.highlight_col:last-child {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.highlight_col:last-child img {
    width: 20px;
}

.highlight_col_wrap {
    border: 1px solid #ccc;
    padding: 2em;
    font-family: var(--font-family);
}

.highlight_col_wrap:last-of-type {
    width: 100%;
    background: #CCDDEA;
}

.highlight_col_wrap h1 {
    font-size: 1.4em;
    color: var(--primary-color);
}

.highlight_col_wrap p {
    font-size: .8em;
    line-height: 1.5;
    margin: 10px 0;
}

.highlight_col_wrap ul {
    margin: 20px 0;
}

.highlight_col_wrap ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: .8em;
}

.highlight_col_wrap .link {
    margin: 30px auto;
}

/* section1 */
.section1 {
    background-color: #00355b;
    height: 400px;
    position: relative;
    transform: scale(.6);
    opacity: 0;
    transition: all var(--transition);
}

.section1.visible {
    opacity: 1;
    transform: scale(1);
}

.section_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-family);
    color: var(--accent-color);
    display: block;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5em;
}

.section_wrap h1 {
    font-size: var(--header-sm);
    font-weight: 600;
}

.section_wrap p {
    font-size: .8em;
    margin: .8em auto;
    line-height: 1.6;
    display: block;
    font-weight: 300;
}

.section_wrap .link {
    background: #fff;
}

.section_wrap .link a {
    color: #000;
}

/* section2 */
.section2 {
    background: #eee;
    margin: -17px 0 0 0;
    padding: 50px auto;
    display: block;
    height: 100%;
    padding: 0 1.5em;
    transform: translateY(300px);
    transition: all .9s ease-in-out;
    opacity: 0;
}

.section2.visible {
    opacity: 1;
    transform: translateY(0);
}

.asked_questions .container,
.section2 .container {
    max-width: 900px;
}

.section2 .content {
    padding: 100px 0;
    font-family: var(--font-family);
    text-align: left;
}

.section2 .content h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    font-weight: 600;
}

.section2 .content p {
    max-width: 800px;
    line-height: 1.8;
    display: block;
    margin: 0 0;
    padding: 10px 0;
    font-size: 1em;
    font-weight: lighter;
}

.section2 .content ul {
    padding: 0 2em;
    margin: 10px 0;
}

.section2 .content ul li {
    font-size: .8em;
    line-height: 2;
    padding: .3em;
}

/* section3 */
.section3 {
    font-family: var(--font-family);
    margin: 50px auto;
    transform: translateZ(200px) scale(.8);
    transition: all 1s linear;
    opacity: 0;
}

.section3.visible {
    opacity: 1;
    transform: translateZ(0) scale(1);
}

.section3 .heading {
    margin: 60px auto;
    display: block;
}

.section3 .heading h2 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    font-weight: 600;
    margin-bottom: 10px;
}

.section3 .heading p {
    max-width: 800px;
    display: block;
    margin: 30px auto;
    line-height: 1.9;
    font-weight: lighter;
    font-size: .7em;

}

.section3_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-family: var(--font-family);

}

.section3_col {
    height: 400px;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.4em;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-200px);
    transition: all 1s ease-in-out;
}

.section3_col.visible {
    opacity: 1;
    transform: translateX(0);
}

.section3_col h3 {
    font-size: var(--text-size);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section3_col p {
    font-size: .9em;
    margin: 15px auto;
    line-height: 1.8;
}

.section3_col ul {
    list-style: none;
}

.section3_col ul li {
    position: relative;
    font-size: .9em;
    line-height: 1.4;
    padding: .6em 1.5em;
    display: block;
    margin: 0;
    font-weight: lighter;
    box-sizing: border-box;
}

.section3_col ul li::before {
    position: absolute;
    content: '';
    background-image: url('../svg/check.svg');
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;
    width: 20px;
    height: 20px;
    top: 10px;
    left: -5px;
}

/* section4 */
.section4 {
    margin: 60px auto;
}

.section4 .container {
    background: #D9EEEF;
    text-align: center;
    padding: 2em;
    font-family: var(--font-family);
}

.section4 .container h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    margin: 30px 0;
}

.section4 .container p {
    max-width: 900px;
    width: 100%;
    display: block;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: lighter;
    font-size: var(--text-sm);
}

/* asked_questions */
.asked_questions .title {
    margin: 30px auto;
    font-size: var(--text-size);
    color: #00355b;
    font-weight: 600;
}

.questions_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

.questions_wrap {
    background: #eee;
    padding: 2em;
    font-family: var(--font-family);
    transition: all .6s ease-in-out;
    transform: scale(.9);
}

.questions_wrap:hover {
    transform: scale(1);
}

.questions_title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.questions_title a h3 {
    font-size: calc(var(--text-sm));
}

.questions_title img {
    width: 20px;
}

.questions_title span {
    color: orange;
    font-weight: bold;
    font-size: 1.4em;
    padding-right: 4px;
}

.questions_title div {
    display: flex;
    align-items: center;
}

.questions_content {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition);
    font-family: var(--font-family);
}


.questions_content.show {
    max-height: 100%;
    height: 100%;
    padding-top: 10px;
}

.questions_content.show p {
    line-height: 1.8;
    font-size: .9em;
    padding: .8em 0;
}

.questions_content.show ul,
.questions_content.show ol {
    padding: 0 1em;
    margin: 8px 0;
}

.questions_content.show ul li,
.questions_content.show ol li {
    font-size: .8em;
    line-height: 1.9;
    padding: .5em 0;

}

.questions_content.show p a {
    color: var(--primary-color);
}

.asked_questions .bottom {
    display: flex;
    flex-direction: column;
}

.asked_questions .bottom a {
    font-size: 1.1em;
    color: var(--primary-color);
    font-weight: 600;
}

/* rate calculator */
.rate-calculator {
    background: #ececec;
    padding: 2em;
}

.rate-list {
    display: grid;
    grid-template-columns: 30% 70%;
    /* Set first column to 30% and second to 70% */
    gap: 20px;
    /* Adjust the gap between items */
    margin: 30px auto;
}

.rate-item .title {
    font-size: var(--text-size);
    color: var(--primary-color);
    margin: 20px 0;
    font-family: var(--font-family);
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.rate-item:first-child {
    grid-column: 1;
    /* Ensure first child is in the first column */
}

.rate-item:nth-child(2) {
    grid-column: 2;
    /* Ensure second child is in the second column */
    position: relative;
}

.rate-item:nth-child(2) .content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    width: 100%;
    height: 90%;
    margin: 0 auto;
    gap: 20px;
}

.rate-item:nth-child(2) .content>div:not(:last-child) {
    border-right: 2px solid var(--primary-color);
    padding-right: 30px;
    height: max-content;
}

.rate-item:nth-child(2) .content span {
    color: #727272;
    font-size: var(--text-sm);
}

.rate-item:nth-child(2) .content h2 {
    color: var(--primary-color);
    font-size: var(--header-sm);
}

.rate-item:first-child form {
    background: #CCDDEA;
    padding: 2em;
    font-family: var(--font-family);
}

.rate-item:first-child form .input_wrap {
    width: 300px;
    margin: .8em 0;
}

.rate-item:first-child form .input_wrap label {
    font-size: .9em;
    margin-bottom: .8em;
}

.rate-item:first-child form .input_wrap input {
    width: 100%;
    padding: 1em;
    outline: none;
}

.rate-item:first-child form .input_wrap input[type="submit"] {
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

.rate-calculator .text-center {
    font-size: .8em;
    color: var(--primary-color);
    max-width: 600px;
}

/* testimonial */
.testimonial {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px auto;
    padding: 50px 0;
}

.testimonial .container {
    padding: 0 30px;
}

.testimonial_list {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--font-family);
}

.testimonial_list .head {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial_list .head h3 {
    font-size: var(--header-sm);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

.testimonial_list .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 30px 0;
}

.testimonial_list .thumbnail {
    width: 150px;
    height: 150px;
    position: relative;
    flex-shrink: 0;
}

.testimonial_list .thumbnail img {
    object-fit: cover;
    height: 100%;
    border-radius: 50%;
    transform: scale(2);
    transition: transform .5s;
}

.testimonial_list .thumbnail::before {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: calc(100% + 30px);
    height: calc(100% + 10px);
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    box-shadow: var(--box-shadow1);
    transition: border-radius .5s .3s;
}

.testimonial_list .aside {
    position: relative;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.testimonial_list .aside>p {
    position: relative;
    font-size: 14px;
    line-height: normal;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(10%);
    transition: transform 1s, opacity 1s;
}

.testimonial_list .aside>p::after,
.testimonial_list .aside>p::before {
    font-family: serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    color: #ccc;
    height: 40px;
    z-index: -1;
}

.testimonial_list .aside>p::before {
    content: open-quote;
    top: -40px;
    left: 10px;
}

.testimonial_list .aside>p::after {
    content: close-quote;
    right: 0;
}

.testimonial_list .aside .name {
    width: fit-content;
    position: relative;
    line-height: 1;
    opacity: 0;
    transform: translateX(30px);
    transition: transform 1s .2s, opacity 1s .3s;
}

.testimonial_list .aside .name h4 {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    opacity: .8;
}

.testimonial_list .aside .name p {
    font-size: 12px;
    text-align: right;
}

.testimonial_list li {
    list-style: none;
}

/* slider for testimonial */
.testimonial_list :is(.swiper-button-next, .swiper-button-prev) {
    background-color: #ccc;
    top: 35%;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background-color .3s;
    box-shadow: var(--box-shadow2);
}

.testimonial_list :is(.swiper-button-next, .swiper-button-prev):hover {
    background-color: var(--primary-color);
}

.testimonial_list :is(.swiper-button-next, .swiper-button-prev)::after {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.testimonial_list .swiper-pagination {
    position: relative;
}

.testimonial_list .swiper-pagination span {
    background-color: #ccc;
    transition: width .3s;
    opacity: 1;
}

.testimonial_list .swiper-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 4px;
    background-color: var(--primary-color);
}

.testimonial_list .swiper-slide-active .thumbnail::before {
    border-radius: 33% 67% 50% 50% / 50% 14% 86% 50%;
}

.testimonial_list .swiper-slide-active .thumbnail img {
    transform: scale(1);
}

.testimonial_list .swiper-slide-active .aside>p {
    transform: translateX(0);
    opacity: 1;
}

.testimonial_list .swiper-slide-active .name {
    transform: translateX(0);
    opacity: 1;
}

@media screen and (min-width: 768px) {
    .testimonial .wrapper {
        flex-direction: row;
        padding: 30px 100px;
    }

    .testimonial_list .thumbnail {
        width: 200px;
        height: 200px;
    }

    .testimonial_list :is(.swiper-button-next, .swiper-button-prev) {
        top: 50%;
    }

}

/* middle */
.middle {
    padding: 30px;
    margin: 80px auto 40px auto;
}

.middle.second .container {
    background: #CCDDEA;
    padding: 2em;
    max-width: 1200px;
}

.middle .container {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.middle .container h1 {
    font-size: var(--header-sm);
    font-family: var(--font-family);
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.middle .container p {
    font-size: var(--text-sm);
    line-height: 1.9;
}

/* team section */
.team {
    padding: 30px;
}

.team .head {
    text-align: center;
    margin: 0 auto;
    font-family: var(--font-family);
}

.team .head h1 {
    color: var(--primary-color);
    letter-spacing: 2px;
    font-size: var(--header-sm);
}

.team_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin: 50px;
}

.team_items {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-family);
    box-shadow: var(--box-shadow2);
}

.team_items img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform var(--transition);
}

.team_items:hover img {
    transform: scale(1.2);
}

.team_items:hover .overlay {
    height: 100%;
}

.team_items .overlay {
    height: 0;
    width: 100%;
    background: linear-gradient(transparent, #1c1c1c 58%);
    border-radius: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height var(--transition);
}

.team_items .overlay h3 {
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 80%;
    font-size: var(--text-size);
    letter-spacing: 2px;
    color: var(--primary-color);
}

.team_items .overlay .item_link {
    margin-top: 10px;
    color: #262626;
    text-decoration: none;
    font-size: 14px;
    background: #fff;
    border-radius: 50px;
    text-align: center;
    padding: 5px 15px;
}

.team_items .name h3 {
    font-size: var(--text-sm);
    text-align: center;
    margin: 20px auto;
    color: var(--primary-color);
    font-weight: 300;
}

.team_items p {
    font-size: var(--text-sm);
    text-align: center;
    margin: 20px auto;
    color: var(--accent-color);
}

/* vision */
.vision {
    padding: 30px;
    font-family: var(--font-family);
}

.right_by_you .head {
    padding: 0 1.3em;
}

.right_by_you .head h2,
.vision .head h2 {
    font-size: var(--header);
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 2px;
    padding: 0 1.3em;
}

.right_by_you .head p,
.vision .head p {
    font-size: var(--text-sm);
}

.vision .vision_list {
    flex-wrap: wrap;

}

.vision .vision_item {
    background: #037B85;
    min-width: 300px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 1.5em;
}

.vision .vision_item p {
    color: #fff;
    font-size: var(--sm-text);
    margin: 20px auto;
}

.vision .vision_item:not(:first-child) {
    border-left: 2px solid #fff;
}

.vision .vision_item h1 {
    color: #fff;
    font-size: var(--text-size);
    font-weight: 600;
}

/* section6 */
.section6.s {
    background-color: var(--primary-color);
    margin: 0;
}

.section6.s .container :is(p, h1) {
    color: #fff;
}

.section6.s .container h1 {
    font-weight: 500;
}

.section6.s .container p {
    font-weight: lighter;
    font-size: var(--sm-text);
}

.section6.s .container .link {
    background: #fff;
}

.section6.s .container .link a {
    color: var(--primary-color);
}

.section6 {
    margin-top: 60px;
    background-color: #ececec;
    padding: 150px 30px;
}

.section6 .container {
    text-align: center;
    font-family: var(--font-family);
}

.section6 .container h1 {
    color: var(--primary-color);
    font-size: var(--header-sm);
    font-weight: 600;
}

.section6 .container p {
    max-width: 700px;
    display: block;
    margin: 0 auto;
    width: 100%;
    font-size: var(--text-sm);
    line-height: 1.9;
}

/* contact_col */
.contact_us {
    margin: 100px auto;
    padding: 35px;
}

.contact_row {
    flex-wrap: wrap;
    gap: 20px;
}

.contact_col {
    font-family: var(--font-family);
}

@media screen and (max-width: 1000px) {
    .contact_row {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .contact_col iframe {
        width: 100%;
    }

}

.contact_col h1 {
    font-size: var(--text-size);
    color: var(--primary-color);
    font-weight: 400;
}

.contact_col form {
    width: 100%;
    padding: .8em 0;
}

.contact_col form .wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact_col form .wrap>img {
    left: 100px;
}

.contact_col form .input_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: .6em 0;
    justify-content: center;
}

.contact_col form .input_wrap input {
    padding: 1em 3rem;
    display: flex;
    align-items: center;
    width: 100%;
    outline: none;
    border: 1px solid #ccc;
}

.contact_col form .input_wrap input[type="submit"] {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    font-size: var(--text-sm);
}

.contact_col form .input_wrap textarea {
    width: 100%;
    height: 7rem;
    resize: none;
    padding: .4rem 3rem;
}

.contact_col form .input_wrap label {
    font-size: 14px;
    position: relative;
    padding: .3rem 0;
}

.contact_col form .input_wrap label::after {
    position: absolute;
    content: '*';
    top: 0;
    color: red;
    padding-left: 5px;
}

.contact_col form .input_wrap img {
    user-select: none;
    width: 20px;
    position: absolute;
    display: flex;
    align-items: center;
    vertical-align: middle;
}

.contact_col form .input_wrap .form_img {
    top: 55%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.contact_col form .input_wrap>div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact_col form .input_wrap .last_img {
    top: 30%;
    left: 0;
    margin-left: 20px;
}

.last_img {
    top: 0;
}

/* down_section_row */
.down_section {
    padding: 30px;
}

.down_section_row {
    gap: 20px;
    flex-wrap: wrap;
    margin: 50px auto;
}

.down_section_col {
    background: var(--primary-color);
    padding: .8em;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100px;
}

.down_section_col .down_section_img {
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.down_section_col .down_section_img img {
    width: 30px;
}

.down_section_col :is(a, h3, address) {
    color: #fff;
    font-family: var(--font-family);
    font-size: .9em;
}

/* login */
.login {
    width: 0;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    background: linear-gradient(to right, #D9EEEF, #CCDDEA);
    z-index: 999;
    box-shadow: var(--box-shadow2);
    font-family: var(--font-family);
    overflow: hidden;
    transition: width var(--transition);
}

.login.show {
    padding: 30px;
    width: 400px;
}

.login .close {
    width: 30px;
    margin: 10px 0;
    float: right;
}

.login form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login .input_wrap {
    width: 100%;
    padding: .9em 0;
}

.login .input_wrap select,
.login .input_wrap input {
    width: 100%;
    padding: .9em 1.3em;
    border: none;
    border-bottom: 1.5px solid #000;
    background: transparent;

}

.login .input_wrap select:focus,
.login .input_wrap input:focus {
    outline: 1.5px solid #ccc;
}

.login .input_wrap input[type="submit"] {
    background: #fff;
    border: none;
    box-shadow: var(--box-shadow2);
    color: #000;
    font-size: var(--text-sm);
    cursor: pointer;
}

.login .input_wrap label {
    font-size: 14px;
}

.down_wrap {
    display: flex;
    align-items: center;
    padding: 0;
    float: left;
    width: max-content;
    gap: 15px;
    margin: 10px 0;
}

.down_wrap input {
    width: max-content;
    border: none;
    outline: none;
}

.down_wrap span {
    white-space: nowrap;
}

.input_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.input_wrapper a {
    color: var(--primary-color);
}

.account {
    width: 100vw;
    height: 100vh;
    background: var(--accent-color);
    font-family: var(--font-family);
    position: relative;
    margin-top: 4em;
    padding: 30px;
}

/* form */
.reset_form.s {
    margin-top: 0;
}

.reset_form,
.form_wrapper {
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(to left,
            #005695 0%,
            #0072a8 25%,
            #00355b 50%,
            #002c47 75%,
            #001f34 100%);
    padding: 30px 0;
    margin-top: 5em;
    font-family: var(--font-family);
    padding: 0 20px;
}



.form_container {
    position: relative;
    max-width: 900px;
    width: 100%;
    border-radius: 6px;
    padding: 30px;
    margin: 0 15px;
    background: var(--accent-color);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

.form_container h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
}

.form_container h3::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    width: 27px;
    border-radius: 8px;
    background-color: var(--primary-color);
}

.form_wrapper.logins .form_container form {
    min-height: max-content;
}

.form_container form {
    position: relative;
    margin-top: 16px;
    min-height: 490px;
    background-color: var(--accent-color);
}

.form_container form .title {
    font-size: 16px;
    font-weight: 500;
    margin: 6px 0;
    color: #333;
}

.form_container form .fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form_wrapper.logins .form_container {
    max-width: 600px;
}

.form_wrapper.logins .form_container form .fields {
    flex-direction: column;
}

.form_wrapper.logins .form_container .fields .input_fields {
    width: 100%;
}

.form_container form .fields .input_fields {
    display: flex;
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    margin: 4px 0;
    position: relative;
}

.form_container form .fields .input_fields span {
    position: absolute;
    top: 50%;
    left: 5%;
    font-size: 12px;
    color: #333;
    width: 40px;
    padding-left: 12px 8px;
    background: var(--accent-color);
    margin-right: 40px;
    white-space: nowrap;
}

.form_container form .fields .input_fields input[type="number"] {
    padding-left: 60px;
}

.form_container form .fields .input_fields label {
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.form_container form .fields .input_fields select,
.form_container form .fields .input_fields input {
    margin: 8px 0;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    outline-color: transparent;
    border: 1px solid #aaa;
    padding: 12px 15px;
    border-radius: 5px;
    background: transparent;
}

.input_fields input:is(:focus, :valid) {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.input_fields input[type="date"] {
    color: #707070;
}

.input_fields input[type="date"]:valid {
    color: #333;
}

.form_container .buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nextBtn.back {
    background: red;
}

.nextBtn.back img {
    transform: rotate(180deg);
}

#login_btn,
.form_container form .submit_field {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    max-width: 200px;
    width: 100%;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 5px;
    margin: 25px 0;
    gap: 10px;
    background: transparent;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.form_container form .submit_field input {
    width: 100%;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
}

#login_btn,
.form_container form .submit_field:hover {
    background: #0072a8;
}

.navigator_btn {
    width: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(213deg) brightness(101%) contrast(101%);
}

.reset_form form {
    max-width: 450px;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 20px;
}

.reset_form .reset_form_input {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.reset_form .reset_form_input input {
    width: 100%;
    padding: .6em;
    outline: none;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.reset_form .reset_form_input input[type="submit"] {
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: var(--text-sm);
    cursor: pointer;
}


/* otp_container */
.otp_container {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, #002c47, #0072a8, #007BFF, #000000);
    width: 100vw;
    height: 100vh;
}

.otp_card {
    text-align: center;
    background-color: var(--accent-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--box-shadow2);
}

.otp_card a {
    font-size: var(--text-sm);
    color: var(--primary-color);
}

.otp_card-inputs form {
    width: 100%;
}

.otp_card-inputs {
    margin: 30px 0;
    display: grid;
    gap: 30px;
    justify-content: center;
    grid-template-columns: repeat(6, auto);
}

.otp_card-inputs input {
    width: 60px;
    height: 70px;
    font-size: 35px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #333;
}

.otp_card-inputs input:focus {
    outline: 1px solid #00355b;
    background-color: transparent;
}

.otp_card-inputs input:user-valid {
    background-color: transparent;
}

.otp_card-inputs input[type="number"] {
    -moz-appearance: textfield;
    /* For Firefox */
}

.otp_card-inputs input[type="number"]::-webkit-inner-spin-button,
.otp_card-inputs input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* For Chrome, Safari, and newer Edge */
    margin: 0;
    /* Reset margin */
}

.otp_resend,
.otp_card .otp_submit {
    background-color: #00355b;
    border: none;
    padding: 15px 50px;
    font-size: clamp(.9rem, 18px, 1.8rem);
    color: var(--accent-color);
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.otp_card .otp_submit:hover {
    opacity: .9;
}

.otp_submit:disabled {
    opacity: .6;
    cursor: default;
}

/* policy */
.policy {
    margin-top: 2em;
    width: 100%;
    padding: 0 20px;
}

.policy .policy_wrap {
    padding: .6em 0;
    font-family: var(--font-family);
}

.policy .policy_wrap h2 {
    font-size: calc(var(--text-size) - 3px);
    margin-bottom: .3em;
}

.policy .policy_wrap p {
    font-size: var(--sm-text);
}

/* footer */
footer {
    display: flex;
    flex-flow: row wrap;
    padding: 50px;
    color: #fff;
    background-color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

footer>* {
    flex: 1 100%;
}

.footer-left {
    margin-right: 1.25em;
    margin-bottom: 2em;
}

.footer-left .logo_img {
    width: 50%;
}

footer h2 {
    font-weight: 600;
    font-size: var(--text-size);
}

footer ul {
    list-style: none;
    padding-left: 0;
}

.footer li {
    line-height: 2em;
}

footer ul li a {
    color: #ececec;
    font-size: var(--sm-text);

}

.footer-right {
    display: flex;
    flex-flow: row wrap;
}

.footer-right>* {
    flex: 1 50%;
    margin-right: 1.25em;
}

.footer_box {
    color: #999;
}

.footer_bottom {
    text-align: center;
    color: #999;
    padding-top: 50px;
}

.footer-left p {
    padding-right: 20%;
    color: #999;
    line-height: 2;
    margin-bottom: 10px;
    font-size: var(--text-sm);
}

.footer_socials a {
    background: #f9f9f9;
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 10px;
    border-radius: 50%;
}

.footer_bottom p {
    font-size: small;
}

header .logo a {
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .logo a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media screen and (min-width:1250px) {
    header {
        width: 100%;
        height: 5rem;
        position: fixed;
        top: 0;
        background-color: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 2em;
    }

    header .menu {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    header .menu li {
        position: relative;
    }

    header .menu li a {
        font-size: var(--text-sm);
        color: var(--secondary-color);
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 5px;
    }

    header .menu li a:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }

    header .menu li a img {
        width: 20px;
        height: auto;
        object-fit: cover;
    }

    header .right_nav .menu li:last-child {
        background-color: var(--primary-color);
        padding: .4em 1.2em;
    }

    header .right_nav .menu li:last-child a {
        color: #ffffff;
    }

    header .right_nav .menu li:last-child img {
        filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(4%) hue-rotate(349deg) brightness(101%) contrast(105%);
        width: 25px;
    }

    header .right_nav .menu li a img {
        filter: var(--filter-1);
    }

    header .right_nav .menu .line {
        width: 1px;
        height: 40px;
        background-color: var(--primary-color);
    }

    header .menu li:hover .sub_menu {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }

    header .menu li .sub_menu {
        position: absolute;
        top: 100%;
        background: var(--primary-color);
        width: 200px;
        padding: .9em 2em;
        visibility: hidden;
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    header .menu li .sub_menu li {
        padding: .3em 0;
    }

    header .menu li .sub_menu li a {
        color: #ffffff;
        font-size: clamp(1em, .9vw, 1.2rem);
    }

    .open_close_menu {
        display: none;
    }


    /* .landing_page_col:first-child {
        width: 100%;
        max-width: 900px;
    }

    .land_page.mortage .landing_page_row .landing_page_col:nth-child(2),
    .land_page.investment .landing_page_row .landing_page_col:nth-child(2),
    .land_page.personal .landing_page_row .landing_page_col:nth-child(2),
    .land_page.wealth .landing_page_row .landing_page_col:nth-child(2) {
        position: absolute;
        left: 100%;
        top: 0;
        transform: translate(-100%, 0);
        width: 50%;
    }

    .land_page.business .landing_page_row .landing_page_col:nth-child(2) {
        position: absolute;
        left: 150%;
        bottom: -70%;
        background-color: #fff;
    }

    .landing_page_col:nth-child(2) {
        position: absolute;
        left: 80%;
        bottom: -50%;
        background-color: #fff;
    } */

    .highlight_col:first-child {
        max-width: 30%;
    }

    .section_wrap p {
        max-width: 800px;
    }



}

@media (max-width:900px) {

    .section3_row,
    .faq .carousel {
        grid-auto-columns: calc((100% / 2) -9px);
    }

    .section3 {
        padding: 0 1.5em;
    }

    .section3_row {
        all: unset;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
}

@media (max-width:550px) {

    .faq .carousel {
        grid-auto-columns: 100%;
    }

    .section3 {
        padding: 0 1.5em;
    }

    .section3_row {
        all: unset;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    .landing_page_row {
        display: flex;
        flex-direction: column;
        /* Stack columns vertically */
        justify-content: space-between;
        /* Space between the columns */
        height: 100%;
        /* Full height of the viewport */
        padding: 150px 0 0 0;
    }

    .landing_page_col {
        padding: 2em;
        width: 100%;
        /* Full width for mobile */
        max-width: 600px;
        /* Optional: max width for larger screens */
        margin: 0 auto;
        /* Center columns on larger screens */
        box-sizing: border-box;
        /* Include padding in width calculation */
        z-index: 1;
    }

    .landing_page_col:first-child {
        align-self: flex-start;
        /* Align first column to the top */
    }

    .landing_page_col:nth-child(2) {
        align-self: flex-end;
        /* Align second column to the bottom */
        background: #fff;
    }


    .disclosure .disclosure_content {
        padding: .5em 0;
        width: 100%;
    }

    .wealth_img {
        width: 250px;
    }
}

@media (max-width: 768px) {

    .why_choose_us_down_row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 2em;
    }

    .why_choose_us_down_col {
        width: 100%;
        border-bottom: 3px solid #fff;
    }

    .why_choose-us {
        position: relative;
    }

    .why_choose-us .row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 20px;
    }

    .why_choose-us .col .why_choose_us_img {
        display: block;
        width: 80px;
        margin: 0 auto;
    }

    .why_choose-us .col span {
        font-size: var(--text-size);
        color: var(--primary-color);
        font-weight: 600;
    }

    .right_by_you .right_by_you_row {
        display: block;
        padding: 2em;
    }

    .right_by_you_col_img {
        margin-bottom: 10px;
    }

    .benefits_row {
        flex-direction: column;
        flex-direction: column-reverse;

    }

    .benefits_col:first-child {
        margin-top: unset;
    }

    .explore .explore_row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hightlists_row {
        flex-direction: column;
        gap: 20px;
    }

    .highlights {
        padding: 0 1.3em;
        margin: 80px auto;
    }

    .highlight_col:last-child {
        grid-template-columns: 1fr;
    }

    .rate-list {
        grid-template-columns: 1fr;
    }

    .rate-list {
        grid-template-columns: 1fr;
        gap: 5px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .rate-item:nth-child(2) {
        grid-column: unset;
        /* Ensure second child is in the second column */
    }

    .rate-item:nth-child(2) .content {
        all: unset;
        height: unset;
    }

    .land_page {
        height: 100%;

    }

    .landing_page_row {
        display: flex;
        flex-direction: column;
        /* Stack columns vertically */
        justify-content: space-between;
        /* Space between the columns */
        height: 100%;
        /* Full height of the viewport */
        padding: 0;
        padding-top: 80px;
        max-width: 100%;
    }

    .landing_page_col {
        padding: 2em;
        width: 100%;
        /* Full width for mobile */
        max-width: 600px;
        /* Optional: max width for larger screens */
        margin: 0 auto;
        /* Center columns on larger screens */
        box-sizing: border-box;
        /* Include padding in width calculation */
        z-index: 1;
    }

    .landing_page_col:first-child {
        align-self: flex-start;
        /* Align first column to the top */
    }

    .landing_page_col:nth-child(2) {
        align-self: flex-end;
        /* Align second column to the bottom */
        background: #fff;
    }

    .form_container form {
        height: 100%;
    }

    .form_container form .fields {
        display: block;
        width: 100%;
    }

    .form_container form .fields .input_fields {
        width: calc(100% / 1 - 15px);
    }

    .form_container form .fields input {
        width: 100%;
    }

    .otp_container {
        padding: 0 30px;
    }

    .otp_card {
        padding: 1rem;
    }

    .otp_card-inputs {
        margin: 30px 0;
        display: grid;
        gap: 10px;
        justify-content: center;
        grid-template-columns: repeat(6, auto);
    }

    .otp_card-inputs input {
        max-width: 40px;
        max-height: 50px;
        font-size: 15px;
        text-align: center;
        border-radius: 20px;
        border: 1px solid #333;
    }


}

@media screen and (max-width:1250px) {
    header {
        padding: 2em;
    }

    header .logo {
        width: 180px;
    }

    header nav {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 300px;
        height: 100dvh;
        box-shadow: var(--box-shadow2);
        background-color: #ffffff;
        transform: translateX(-100%);
        visibility: hidden;
        transition: all var(--transition);
        overflow-y: auto;
    }

    header nav.active {
        transform: translateX(0);
        visibility: visible;
        transition: all var(--transition);
        z-index: 999;
    }

    header nav ul {
        display: block;
        margin: 2em;
        list-style: none;
    }

    header nav ul li .sub_menu {
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        margin: 0;
        padding: 0;
        transition: all .4s ease-in-out;
    }

    header nav ul li .sub_menu.show {
        max-height: 400px;
        /* Set to a value that fits your content */
        height: 100%;
        visibility: visible;
        overflow-y: auto;
    }




    header nav ul li .sub_menu li {
        padding: 0.5em 1rem;

    }

    header nav ul li .sub_menu li a {
        font-size: var(--text-sm);
    }

    header nav ul li {
        padding: .8em 1em;
        position: relative;
    }

    header nav ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header nav ul li a img {
        width: 20px;
    }

    header .right_nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    header .right_nav ul {
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
        list-style: none;
    }

    header .right_nav ul li a {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    header .right_nav ul li:last-child {
        background-color: var(--primary-color);
        padding: .4em 1em;
    }

    header .right_nav ul li:last-child a {
        color: #ffffff;
    }

    header .right_nav img {
        width: 20px;
    }

    .menu_wrapper {
        inset: 0;
        width: 50px;
        height: 60px;
        cursor: pointer;
        margin: auto;

    }

    .hamburger_menu::before,
    .hamburger_menu::after,
    .hamburger_menu {
        width: 40px;
        height: 4px;
    }

    .hamburger_menu {
        position: relative;
        transform: translateY(28px);
        background: var(--primary-color);
        transition: all 0ms 300ms;
    }

    .hamburger_menu.animate {
        background: rgba(255, 255, 255, 0);
    }

    .hamburger_menu::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 10px;
        background-color: var(--primary-color);
        transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu::after {
        content: '';
        position: absolute;
        left: 0;
        top: 10px;
        background-color: var(--primary-color);
        transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1), transform cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu.animate::after {
        top: 0;
        transform: rotate(45deg);
        transition: top 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu.animate::before {
        bottom: 0;
        transform: rotate(-45deg);
        transition: bottom 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .explore {
        padding: 0 2em;
    }

    .explore .explore_col {
        padding: 1em;
        min-height: 100px;
        /* Adjust to your desired height */
    }

    .rate-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .rate-item {
        display: grid;
        place-items: center;
        margin: 0 auto;
    }

    .rate-item:last-child {
        display: block;
        min-height: 400px;
        padding: 0 1em;
        height: unset;
    }

    .rate-item:last-child .content {
        padding: 0 1em;
        display: block;
        margin: 0 auto;
    }

    .rate-item:last-child .content>div:not(:last-child) {
        border: none;
    }

    .rate-item:first-child {
        grid-column: unset;
        /* Ensure first child is in the first column */
    }

    .rate-item:nth-child(2) {
        grid-column: unset;
        /* Ensure second child is in the second column */
        position: relative;
    }

    .rate-item:nth-child(2) .content {
        all: unset;
        height: unset;
    }

    .vision .vision_list {
        gap: 16px;
    }
}

@media screen and (min-width: 600px) {
    .second_menu {
        position: absolute;
        bottom: 0;
    }

    .footer-right>* {
        flex: 1;
    }

    .footer-left {
        flex: 1 0px;
    }

    .footer-right {
        flex: 2 0px;
    }

    .form_wrapper.logins {
        padding: 0;
    }

}


@media screen and (max-width: 600px) {
    header nav {
        width: calc(100% - 100px) !important;
        height: 100dvh;
    }

    .right_nav ul li {
        display: none;
    }

    .second_menu {
        display: block;
        width: calc(100% - 70px);
        overflow: auto;
    }

    .second_menu li:last-child {
        background-color: var(--primary-color);
    }

    .second_menu li:last-child a {
        color: #ffffff;
    }

    .second_menu li:last-child img {
        filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(4%) hue-rotate(349deg) brightness(101%) contrast(105%);
    }

    .land_page {
        height: 100%;
        padding: 0 1.4em;
        padding-bottom: 1.4em;
    }

    .landing_page_row {
        padding-top: 70px;
        max-width: 100%;
    }

    .landing_page_col {
        z-index: 2;
        width: 100%;
        height: max-content;
    }

    .landing_page_col h1,
    .landing_page_col h2 {
        margin-bottom: 5px;
        font-size: var(--header-sm);
        line-height: 1.9;
    }

    .benefits_col:last-child img {
        width: 300px;
    }

    .newsletter form {
        gap: 10px;
        flex-direction: column;
    }

    .newsletter form input {
        font-size: 16px;
    }

    .newsletter form .input_wrap {
        width: 100%;
    }

    .footer {
        padding: 15px;
    }

    .footer_box {
        color: #999;
        padding: 1em .6em;
    }

    .explore .explore_row {
        grid-template-columns: 1fr;
    }

    .section_wrap {
        width: 100%;
        padding: 0 1.5em;
    }

    .section_wrap p {
        text-align: left;
    }

    .rate-calculator {
        padding: 0;
    }

    .rate-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 5px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .rate-item:nth-child(2) .content {
        all: unset;
        display: block;
        margin: 0;
        height: max-content;
    }

    .section5 {
        padding: 0 1.4em;
    }

    .vision .vision_list {
        flex-wrap: wrap;
        grid-gap: 10px;
    }

    .vision .vision_item {
        flex: 1 1 100%;
    }

    .contact_col iframe {
        height: 400px;
    }

    .explore .explore_row.s {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    header nav {
        width: 280px;
    }

    header nav ul li .sub_menu.show {
        max-height: 150px;
    }

}

@media screen and (max-width: 300px) {
    header nav {
        width: 200px;
    }

    .second_menu {
        all: unset;
    }
}