﻿.tt_sm{
    color:white !important;
}
.next-Cur {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.pre-Cur {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
}
.xa {
    width: 60%
}

.xb {
    width: 40%
}

.imgages-des {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    /* aspect-ratio: 1 / 1; */
}
.hero-section {
    position: relative;
    /*    height: 677px;*/
    height: 667px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cec5be;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card {
    /* background: white; */
    background: #ffffffbd;
    border-radius: 15px;
    padding: 60px;
    position: relative;
    z-index: 2;
    max-width: 720px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 48px;
    font-weight: 400;
    color: #241C4F;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: Afterglow;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #595861;
    margin-bottom: 45px;
}

.hero-buttons {
    margin-bottom: 30px;
}

    .hero-buttons .homebtt {
        width: 175px;
        height: 38px;
        font-size: 16px;
    }

.hero-link a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

    .hero-link a:hover {
        text-decoration: underline;
    }

/* Section Titles */
.section-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: center;
    font-family: Afterglow;
    color: #241c4f;
}

.section-description {
    font-size: 20px;
    color: #595861;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

/*.svg-icon12 path,
.svg-icon12 circle,
.svg-icon12 rect {
    fill: none;
    transition: fill 0.3s ease, stroke 0.3s ease;
}*/

/* ACTIVE (selected) */
/*.svg-active12 path,
.svg-active12 circle,
.svg-active12 rect {
    fill: #241c4f !important;
    stroke: #241c4f !important;
}*/
.svg-con {
    background: #E8E0DC;
    border-radius:8px;
    height:87px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-content:center;
    align-items:center;
}
.svg-text {
    font-size: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    padding-left: 4px;
    padding-right: 4px;
    margin-top: 3px;
}
.svg-con.active {
    background: #241C4F !important; /* Blue background */
}

    .svg-con.active .svg-icon12 path {
        fill: #FFFFFF !important; /* White SVG */
    }

.svg-con .svg-text {
    display: none; /* Hide all texts by default */
}

.svg-con.active .svg-text {
    display: block; 
}




/* Step Cards */
.step-card {
    padding: 20px;
}

.step-icon {
    width: 222px;
    height: 222px;
    background-color: #241c4f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.step-image {
    width: 100px;
    height: 100px;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    /* color: #595861; */
    color: #595861;
    margin-bottom: 15px;
}

.step-description {
    font-size: 16px;
    color: #595861;
    line-height: 1.5;
    width: 222px;
}

.step-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Service Cards */
.service-card {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 40px 30px;
/*    height: 356px;*/
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
    width:100%;
}

    .service-card:hover {
        transform: translateY(-5px);
        background: #241C4F;
    }

        .service-card:hover .service-title,
        .service-card:hover .service-description,
        .service-card:hover .service-link,
        .service-card:hover .my-home-svg path {
            color: #E8E0DC;
            fill: #E8E0DC;
        }

        .service-card:hover .service-icon img {
            fill: #E8E0DC;
            transition: filter 0.3s ease;
        }
        /* tools and calculator */
        .service-card:hover .calculator-title,
        .service-card:hover .calculator-description {
            color: #E8E0DC
        }

        .service-card:hover .calculator-icon {
            fill: #E8E0DC;
            transition: filter 0.3s ease;
        }

.service-icon {
    margin-bottom: 30px;
}

    .service-icon img {
        width: 50px;
        height: 50px;
    }

.service-title {
    font-size: 24px;
    font-weight: 400;
    font-family: Afterglow;
    color: #241C4F;
    margin-bottom: 20px;
}


.service-description {
    font-size: 14px;
    color: #595861;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-link {
    color: #f36c37;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

    .service-link:hover {
        text-decoration: underline;
        /* color: var(--primary-color); */
    }

/* Features List */
/*.features-list {
    padding: 40px 0;
}*/

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-right: 25px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #595861;
    margin-bottom: 16px;
}
.feature-title-main{
   padding:20px 0 50px 0;
}
.feature-description {
    font-size: 16px;
    color: #595861;
    margin: 0;
}

/* Morti Image */
.robot-section {
    position: relative;
    display: inline-block;
}

.morti-image {
    /* max-width: 400px;
  height: auto; */
    max-width: 587px;
    height: auto;
    margin-bottom: 59px;
}

.meet-morti {
    position: absolute;
    top: 75px;
    left: 87%;
    transform: translateX(-50%);
    font-size: 24px;
    width: 156px;
}

/* CTA Section */
.cta-section {
    background-color: #241C4F;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 36px;
}

.cta-text {
    font-size: 20px;
    color: #D9D9D9;
    margin-bottom: 35px;
}

/* Calculator Cards */
.calculator-card {
    border-radius: 20px;
    padding: 40px 30px;
    height: 348px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
    .calculator-card .my-home-svg{
        margin-bottom:30px;
    }

    .calculator-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }

.calculator-title {
    font-size: 24px;
    font-weight: 400;
    color: #595861;
    margin-bottom: 20px;
    text-align: center;
}

.calculator-description {
    font-size: 14px;
    color: #595861;
    text-align: center;
}

/* Testimonial */
.testimonial-text {
    display: -webkit-box; /* required for -webkit-line-clamp */
    -webkit-box-orient: vertical; /* required for -webkit-line-clamp */
    -webkit-line-clamp: 4; /* number of lines to show */
    overflow: hidden; /* hide the rest */
}
.testimonial-text {
    font-family: Inter;
    font-size: 16px;
    color: #1E1E1ECC;
    line-height: 1.5;
    margin: 0;
}
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
/*    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
}

.testimonial-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 5px;
}

.testimonial-location {
    font-size: 18px;
    color: #1e1e1e99;
    margin-bottom: 0;
}

.testimonial-quote {
    font-size: 70px;
    color: #F36C37;
    margin-bottom: 20px;
}

.testimonial-stars {
    margin-bottom: 20px;
}

    .testimonial-stars i {
        font-size: 24px;
        margin-right: 5px;
    }

.testimonial-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 15px;
}

#testimonialCarousel {
    position: relative;
    max-width: 95%; /* arrows ke liye thoda space */
    margin: 0 auto;
}

    /* Arrows positioning */
    #testimonialCarousel .carousel-control-prev,
    #testimonialCarousel .carousel-control-next {
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        height: auto;
    }

    /* Push arrows outside the card */
    #testimonialCarousel .carousel-control-prev {
        left: -40px; /* adjust as per your design */
    }

    #testimonialCarousel .carousel-control-next {
        right: -40px; /* adjust as per your design */
    }



.loan-details {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    color: #595861;
}

.country-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #E8E0DC;
    height: 89px;
/*    width: 348px;*/
}

    .country-box:hover {
        cursor: pointer;
    }

.world-map {
    width: 40%;
    height: auto;
    object-fit: cover;
}
.world-map1{
    width: 54%;
    height: auto;
}
.legend{
    display: flex;
    justify-content:center;
    flex-direction: row;
    gap:10%;
}
.legend-color {
    width: 15px;
    height: 15px;
    display: inline-block;
    margin-right: 4px;
    border-radius: 3px;
}

.licensed {
    background-color: #df733b;
}

.coming-soon {
    background-color: #feb901;
}

.not-licensed {
    background-color: #e8e0dd;
}


.world-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.world-map-text {
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
    color: #595861;
}

.hidden {
    display: none;
}

.actived {
    background-color: #241C4F;
    color: #fff;
}



#desktop-view {
    display: block;
}

/*#mobile-view {
    display: none;
}*/

.desktop-meet {
    display: block;
}

.mobile-meet {
    display: none;
}
.licensing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}



/*otherpage*/




.mortgage-card {
    display: flex;
    align-items: center;
    gap: 24px;
    align-self: stretch;
}

.mortgage-card1 {
    display: flex;
    flex-direction: row;
    padding: 35px 70px;
    justify-content: center;
    align-items: center;
    gap: 16%;
    background-color: #E8E0DC;
    border-radius: 12px;
}
.Six-Num-Card {
    display: flex;
    flex-direction: row;
    padding: 20px;
    justify-content: center;
/*    align-items: center;*/
    gap: 25px;
    background-color: #E8E0DC;
    border-radius: 12px;
}



.mortgage-link {
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #F36C37;
}
    .mortgage-link:hover{
        color: #F36C37 !important;
    }
    .a2 .heading {
        font-weight: 700;
        font-size: 20px;
        letter-spacing: -3%;
        color: #241C4F;
    }

.heading-about {
    font-size: 16px;
    font-weight: 400;
    color: #F36C37;
}

.heading-details {
    font-size: 16px;
    font-weight: 400;
    color: #595861;
}

.loan-options-row {
    row-gap: 32px;
    justify-content:center;
}
.image-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 102px;
    height: 100px;
    /* border: 2px solid white; */
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    background-color: white;
    z-index: 1;
}

.hover-image {
    border-radius: 50%;
}

.image-container .original-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.image-container .hover-image {
    position: absolute;
    top: 0;
    left: 100%; /* Start off-screen to the right */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 3;
    transition: left 0.4s ease; /* Slide animation */
}

/* On hover */
.image-container:hover .hover-image {
    left: 0; /* Slide in from right to left */
}

.image-container:hover .original-image {
    opacity: 0; /* Hide the original image during hover */
}

.circle-arrow {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 102px;
    height: 100px;
/*    border: 2px solid white;*/
    border-radius: 50%;
    font-size: 39px;
    color: #F36C37; /* orange arrow */
    cursor: pointer;
    overflow: hidden;
    background-color: white;
    z-index: 1;
    transition: color 0.4s ease;
}

    /* Orange fill animation */
    .circle-arrow::before {
        content: "";
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: #F36C37;
        z-index: 0;
        transition: right 0.4s ease;
        border-radius: 50%;
    }

    /* On hover: orange fill slides in */
    .circle-arrow:hover::before {
        right: 0;
    }

    /* Black arrow appears on hover */
    .circle-arrow::after {
        content: "→";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #241C4F; /* black */
        font-size: 39px;
        opacity: 0;
        z-index: 2;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    /* Show black arrow on hover, keep orange arrow */
    .circle-arrow:hover::after {
        opacity: 1;
    }


/* 3 LOAN Cards */
.service-home-card {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 49px 60px;
    /*    height: 412px;*/
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: auto !important;
}
.service-home-card:hover {
    box-shadow: 0px 10px 8px 0px #00000040;
}
.service-home-card-cal {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 50px 30px;
    display: flex;
    flex-direction: row;
    gap:35px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    height: auto !important;
    align-items:center;
}
.service-home-card-cal:hover {
    box-shadow: 0px 10px 8px 0px #00000040;
}
.cal-sec-cont-des{
    text-align:left;
}
 .service-home-button-cal{
    font-size:12px;
    font-weight:700;
}

.three {
    padding: 35px 60px;
    width: 100%;
}
.two {
    padding: 45px 66px;
}

.service-home-icon {
    margin-bottom: 30px;
}

    .service-home-icon img {
        height: 150px;
        width: 150px;
    }
.service-home-icon-cal img {
    height: 166px;
    width: 166px;
}
.feature-item-cal {
    margin-bottom: 38px !important;
}
.cal-mar-bot{
    margin-bottom:48px;
}
.service-home-title {
    font-size: 20px;
    font-weight: 700;
    color: #241C4F;
    margin-bottom: 20px;
}
.service-home-title-cal {
    font-size: 24px;
    font-weight: 700;
    color: #595861;
    margin-bottom: 20px;
}
}
.te {
    text-align: left;
}


/*     4 secure*/
.service-home-card-Secure {
    background: #F5F5F5;
    border-radius: 20px;
    padding: 30px 54px 51px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

    .service-home-card-Secure:hover {
        box-shadow: 0px 10px 8px 0px #00000040;
    }
.service-home-icon-Secure {
    margin-bottom: 30px;
}

    .service-home-icon-Secure img {
        height: 100px;
        width: 100px;
    }

.service-home-title-Secure {
    font-size: 20px;
    font-weight: 700;
    color: #241C4F;
    margin-bottom: 20px;
}

.te {
    text-align: left;
}




/*     5 service*/
.service6 {
    --bs-gutter-y: 4rem;
    --bs-gutter-x: 3rem;
    justify-content:center;
}
    .service-home-description {
        font-size: 16px;
        font-weight: 400;
        color: #595861;
        margin-bottom: 20px;
    }

.service-home-button {
    font-weight: 600;
    border-radius: 6px;
    margin-top: auto !important;
    width: fit-content;
    margin: 0 auto;
}

.a1 {
    text-align: center;
}


/* view more */
.img-wrapper {
    position: relative;
    width: 100px; /* apni image ka size */
    height: 100px; /* apni image ka size */
    overflow: hidden;
    border-radius: 50%;
}

/* base image */
.img1, .img2 {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* image bhi round */
    object-fit: cover; /* crop nicely inside */
    display: block;
}

/* overlay image */
.img2 {
    position: absolute;
    top: 0;
    right: -100%;
    transition: right 0.6s ease;
}

/* on hover -> slide in */
.img-wrapper:hover .img2 {
    right: 0;
}





/* cut container */
.component-container {
    position: relative;
    background-color: #F5F5F5;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 32px 50px 32px 30px;
    text-align: left;
    max-width: 32rem;
    width: 100%;
    text-align: center;
}

    .component-container:hover {
        background: linear-gradient(270deg, #FFBA00 0%, #F36C37 120%);
    }

        .component-container:hover .service-home-title,
        .component-container:hover .service-home-description {
            color: #FFFFFF
        }

        .component-container:hover .step-circle {
            background-color: #241C4F !important;
        }

            .component-container:hover .step-circle span {
                color: #FFFFFF;
            }
/* Step circle common styles */
.step-circle {
    position: absolute;
    top: 50%;
    width: 4.4rem;
    height: 4.4rem;
    border: 7px solid white; /* outer ring */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5; /* inner for donut effect */
    transform: translateY(-50%);
}

    /* Left step */
    .step-circle.left {
        left: 0;
        transform: translateY(-50%) translateX(-50%);
    }

    /* Right step */
    .step-circle.right {
        right: 0;
        transform: translateY(-50%) translateX(50%);
    }

    .step-circle span {
        font-size: 38px;
        font-weight: 400;
        color: #241C4F;
    }





/* FAQ */
.faq-container {
    width: 100%;
}

/* Styling for each FAQ item */
.faq-item {
    background-color: #ffffff;
    border-radius: 12px; /* Equivalent to rounded-xl */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* Equivalent to shadow-sm */
    margin-bottom: 24px;
}
    /* Remove margin from the last item */
    .faq-item:last-child {
        margin-bottom: 0;
    }

/* The clickable question area */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    background-color: #F5F5F5;
}

    /* The question text */
    .faq-question p {
        font-weight: 700;
        font-size: 20px;
        color: #241C4F;
        margin: 0;
    }

/* The answer panel that expands/collapses */
.faq-answer {
    padding: 0 1.25rem; /* Horizontal padding */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    background-color: #F5F5F5;
}

    /* The text inside the answer panel */
    .faq-answer p {
        color: #595861;
        font-size: 16px;
        font-weight: 400;
        margin: 0;
        padding-bottom: 1.25rem;
    }

/* Arrow icon styling */
.arrow-icon {
    width: 1.25rem; /* Equivalent to w-5 */
    height: 1.25rem; /* Equivalent to h-5 */
    color: #6b7280; /* Equivalent to text-gray-500 */
    transition: transform 0.3s ease-in-out;
}

/* --- Active State --- */
/* This class is added by JavaScript when an item is open */
.faq-item.active .arrow-icon {
    transform: rotate(180deg);
}
/* Final CTA Section */

.final-cta-section {
    background-color: #241c4f;
    padding: 40px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

    .final-cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 7.81%;
        width: 99.61%;
        height: 99.61%;
        background-image: url('/img/refinance/Vector.png');
        background-repeat: no-repeat;
        background-size: contain;
        opacity: 1.1;
    }

.final-cta-title {
    font-size: 40px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 35px;
    font-family: Afterglow;
}

.final-cta-description {
    font-weight: 400;
    font-size: 20px;
    color: #E8E0DC;
    margin-bottom: 75px;
    margin-top: 75px;
    max-width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-buttons {
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content:center;
    gap: 1rem;
}

    .final-cta-buttons .ctafin {
        width: 175px;
        height: 38px;
        font-size: 16px;
        color: #FFFFFF;
        border-radius: 6px;
    }

    .final-cta-buttons .getrate {
        border: 3px solid #F36C37;
        color: #F36C37;
        border-radius: 6px;
    }

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.final-cta-link a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #F36C37;
    position: relative;
}

    .final-cta-link a:hover {
        text-decoration: underline;
    }



@media (max-width: 1413px){
        .hero-card {
            margin-left: 0% !important;
        }
    }
@media (max-width: 1538px){
     .service6{
         max-width:1380px;  

     }
    }

@media (max-width: 1100px){
    .hero-section {
        margin-top: 60px;
    }
    }

@media (max-width: 992px) {
    .xa {
        width: 100%
    }

    .xb {
        width: 100%
    }

    .fha-sec-img {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .imgages-des {
        width: 65%;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 0;
    }
/*    .final-cta-section::before {
        left: 23.81%;
    }*/

    .final-cta-buttons {
        margin-bottom: 20px;
    }
    .testimonial-avatar{
        height:120px;
        width:120px;
    }
    .testimonial-name{
        font-size:16px;
    }
    .testimonial-quote{
        font-size:55px;
    }
    .testimonial-stars i {
        font-size: 20px;
    }
    .testimonial-title {
        font-size: 20px;
    }
    .testimonial-text{
        font-size:14px;
    }
    .service-card {
        height: auto;
        padding: 33px 22px;
    }

    .calculator-card {
        height: auto;
        padding: 33px 22px;
    }
    .calculator-title{
        font-size:20px;
    }
    .calculator-description {
        font-size: 12px;
    }
    .calculator-card .my-home-svg {
        height: 75px;
        width: 75px;
    }
    .feature-icon {
        height: 38px;
        width: 38px;
    }
    #testimonialCarousel {
        max-width: 90%; /* thoda aur narrow for mobile */
    }

        #testimonialCarousel .carousel-control-prev {
            left: -30px;
        }

        #testimonialCarousel .carousel-control-next {
            right: -30px;
        }

    .mortgage-card1 {
        flex-direction: column-reverse;
    }

    .a1 {
        display: flex;
        flex-direction: column;
    }

    .loan-options-row {
        row-gap: 15px;
    }



    .morti-image {
        max-width: 275px;
    }

    .desktop-meet {
        display: none;
    }

    .mobile-meet {
        display: block;
    }


    .country-box {
        width: 81%;
        height: 81%;
    }

/*    .world-map {
        width: 75%;
    }*/

    .world-map1 {
        width: 65%;
    }

    .legend {
        flex-direction: column;
    }

    .world-map-text {
        display: inline;
        font-size: 15px;
    }

    .section-title {
        font-size: 30px;
    }
    .final-cta-title {
        font-size: 30px;
    }
    .final-cta-description {
        font-size: 17px;
    }
    .loan-details {
        font-size: 17px;
    }
    .feature-title {
        font-size: 17px;
    }

    .feature-description {
        font-size: 14px;
    }

    .a2 .heading {
        font-size: 18px;
    }

    .service-home-title {
        font-size: 18px;
    }
    .service-home-title-cal {
        font-size: 20px;
    }


    .service-home-title-Secure {
        font-size: 18px;
    }

    .service-home-card-Secure {
        font-size: 14px;
    }

    .service-home-description {
        font-size: 14px;
    }

    .heading-details {
        font-size: 14px;
    }
    .faq-question p {
        font-size: 18px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .threefield {
        padding: 37px 60px;
    }
    .box-cont {
        padding: 40px 30px;
    }
    .box-cont-grey {
        padding: 40px 30px;
    }
    .box-cont-heading {
        font-size: 18px;
    }
    .three {
        padding: 27px 50px;
    }
    .service-home-card-cal{
        padding:30px 20px;
    }

    .mortgage-card1 {
        padding: 40px 60px;
        gap: 3%;
    }

    .two {
        padding: 35px 56px;
    }

    .component-container {
        padding: 27px 43px 27px 25px;
    }
    .service-home-card-Secure{
        padding:25px 44px 41px 41px
}

    .hero-card {
        padding: 40px 30px;
    }

    .hero-buttons .btn {
        /*width: 100%;*/
        margin-bottom: 15px;
    }

    .step-icon {
        width: 150px;
        height: 150px;
    }

    .step-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-card {
        padding: 30px;
    }

    /* .floating-logo {
    display: none;
  } */

    .final-cta-buttons .btn {
      
        margin-bottom: 15px;
    }
    .image-container {
        width: 80px;
        height: 80px;
    }
    .feature-title-main {
        padding: 20px 0 30px 0;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        margin-bottom: 0px;
    }
    .svg-con.active .svg-icon12 {
        width: 30px;
        height: 30px;
    }

    .service-home-card-cal {
        flex-direction: column;
    }


    .cal-sec-cont-des {
        text-align: center;
    }

    .feature-item-cal {
        margin-bottom: 30px !important;
    }
    .cal-mar-bot {
        margin-bottom: 28px;
    }
    .service-home-icon-cal img {
        height: 136px;
        width: 136px;
    }
    .feature-title-main {
        padding: 15px 0 20px 0;
    }
    .step-card {
        padding: 10px;
    }
    .final-cta-section {
        padding: 40px 0;
    }
    .testimonial-avatar {
        height: 90px;
        width: 90px;
    }

    .testimonial-name {
        font-size: 14px;
    }

    .testimonial-quote {
        font-size: 39px;
    }
    .testimonial-stars i{
        font-size:18px;
    }
    .testimonial-title {
        font-size: 18px;
    }

    .testimonial-text {
        font-size: 12px;
    }
    .calculator-title {
        font-size: 17px;
    }
    .calculator-description {
        font-size: 12px;
    }
    .calculator-card .my-home-svg {
        height: 50px;
        width: 50px;
    }
    .feature-icon{
        height:30px;
        width:30px;
    }
    .step-icon {
        width: 130px;
        height: 130px;
    }
    .step-title {
        font-size: 18px;
    }
    .step-description {
        font-size: 14px;
    }
    .floating-logo-img {
        width: 36px;
        height: 36px;
    }
    .fha-mar{
        margin-bottom:15px;
    }
    .hero-section {
        height: auto;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom:25px;
    }
    .feature-item {
        margin-bottom: 40px;
    }
    .final-cta-title {
        font-size: 24px;
    }

    .final-cta-description {
        font-size: 14px;
        margin-bottom: 50px;
        margin-top: 50px;
    }
    .final-cta-link a {
        font-size: 12px;
    }
    .final-cta-buttons {
        margin-bottom: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-title-blue {
        font-size: 24px;
    }
    .cta-title-white {
        font-size: 24px;
    }
    .world-map-text{
        font-size:12px;
    }
    .service-title {
        font-size: 20px;
    }

    .section-description {
        font-size: 16px;
    }

    .loan-details {
        font-size: 14px;
    }
    .feature-title{
        font-size:14px;
    }
    .feature-description {
        font-size: 12px;
    }
    .cta-description-blue {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 40px;
    }
    .cta-description-grey {
        font-size: 14px;
        margin-top: 25px;
        margin-bottom: 40px;
    }
    .a2 .heading {
        font-size: 14px;
    }
    .heading-about {
        font-size: 14px;
    }
    .heading-details {
        font-size: 12px;
    }
    .mortgage-link{
        font-size:14px;
    }
    .image-container{
        width:70px;
        height:70px;
    }

    .service-home-title {
        font-size: 14px;
    }
    .service-home-title-cal {
        font-size: 14px;
    }

    .service-home-title-Secure {
        font-size: 14px;
    }

    .service-home-card-Secure {
        font-size: 12px;
    }

    .service-home-description {
        font-size: 12px;
    }
    .faq-question p{
        font-size:14px;
    }
    .faq-answer p {
        font-size: 12px;
    }
    .threefield {
        padding: 29px 50px;
    }
    .box-cont {
        padding: 35px 25px;
    }
    .box-cont-heading {
        font-size: 14px;
    }
    .box-cont-grey {
        padding: 35px 25px;
    }
    .three {
        padding: 20px 40px;
    }
    .service-home-card-cal {
        padding: 20px 15px;
    }

    .mortgage-card1 {
        padding: 29px 45px;
        gap: 3%;
    }

    .two {
        padding: 25px 46px;
    }

    .component-container {
        padding: 22px 36px 22px 20px;
    }

    .service-home-card-Secure {
        padding: 20px 34px 31px 32px;
    }

    .service-home-icon img {
        height: 120px;
        width: 120px;
    }
    .service-home-icon-Secure img {
        height: 80px;
        width: 80px;
    }

    .service-card {
        height: auto;
        padding: 25px 16px;
    }

    .calculator-card {
        height: auto;
        padding: 25px 16px;
    }
}

@media (max-width: 515px){
    .service6{
        max-width:320px;
    }
}


@media (max-width: 350px) {
    .component-container {
        width:90%;
    }
}



/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


@media (min-width: 1400px) {
    .container {
        max-width: 1500px;
    }
}













































