/* ===== Reset & Base ===== */

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

body {
    min-height: 100vh;
    font-family: "Open Sans", sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Layout Containers ===== */
.main-container {
    width: 100%;
    min-height: 100vh;
    background: white;
    overflow: hidden;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 0;
}

.section-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    width: 100%;
    /* padding: 1.5rem;
    padding-top: 10px; */
    padding-bottom: 10px;
    background: linear-gradient(0deg, #d3d3db 0.07%, #e5e6eb 61.19%, #EFF2FF 99.93%);
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 98%;
    min-height: 400px;
    margin: 2rem auto;
}

.hero-text {
    flex: 1;
    max-width: 72rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: auto 2rem;
    margin-top: -50px;
    text-align: center;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.3;
    font-size: 60px;
    font-family: Open Sans;
    padding: -1px 8rem;
}

.hero-text p {
    font-size: 24px;
    font-family: Open Sans;
    font-weight: 600;
    line-height: 38px;
    word-wrap: break-word
}

.hero-text h1 span {
    display: inline-block;
    transform: translateX(-100%);
    opacity: 0;
    animation: slideIn 0.6s ease-out forwards;
}

.hero-text h1 span:nth-of-type(1) {
    animation-delay: 0s;
}

.hero-text h1 span:nth-of-type(2) {
    animation-delay: 0.6s;
}

.hero-text h1 span:nth-of-type(3) {
    animation-delay: 1.2s;
}

.hero-text h1 span:nth-of-type(4) {
    animation-delay: 1.8s;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.hero-text .highlight-blue {
    color: #4285F4;
}

.hero-text .highlight-yellow {
    color: #F8A401;
}

.hero-wrapper {
    background: transparent;
}

.hero-image {
    flex: 1;
    max-width: 58rem;
    width: 100%;
    height: auto;
    margin: -15px;
    /* background: transparent; */
    /* mix-blend-mode: color-burn; */
}


.highlight-blue {
    color: #4285F4;
}

.highlight-yellow {
    color: #F8A401;
}

/* ===== NRI Financial Section ===== */

@media (max-width: 800px) {
    .swiper-container {
        width: 100%;
        padding: 0;
    }

    .swiper-wrapper {
        display: flex;
        align-items: stretch;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
        /* Center content inside each slide */
        align-items: center;
        /* Center content vertically */
        height: auto;
        /* Adjust height to fit content */
        text-align: center;
        /* Center text if applicable */
    }

    /* Swiper navigation buttons */
    .swiper-button-prev,
    .swiper-button-next {
        color: #FF5733 !important;
        background: rgba(199, 148, 148, 0.7);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        margin-bottom: 0px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s ease, transform 0.2s ease;

    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 18px;
        font-weight: 600;
    }

    .swiper-button-prev {
        left: 10px;
    }

    .swiper-button-next {
        right: 10px;
    }

    /* Ensure swiper container has proper positioning */
    .swiper {
        position: relative;
        overflow: hidden;
    }

    /* Swiper pagination */
    .swiper-pagination {
        bottom: 20px;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: rgba(66, 133, 244, 0.3);
        opacity: 1;
    }

    .swiper-pagination-bullet-active {
        background: #4285F4;
        transform: scale(1.2);
    }
}

@media (max-width: 480px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }

    .swiper-button-prev:after,
    .swiper-button-next:after {
        font-size: 14px;
    }
}

@media (min-width: 800px) {
    .nri-financial-section_mobile {
        display: none !important;
    }
}

@media (max-width: 800px) {
    .nri-financial-section {
        display: none !important;
    }
}



.nri-financial-section {
    width: 100%;
    max-width: 2000px;
    /* adjust or remove for full-width */
    margin: 0 auto;
    padding: 0 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nri-financial-section_mobile {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    align-self: stretch;
}

.highlight-blue {
    color: #4285F4;
}

.highlight-yellow {
    color: #F9B233;
}

.nri-financial-section h2 {
    text-align: center;
    font-family: "Open Sans";
    font-size: 4.3rem;
    font-style: normal;
    font-weight: 700;
    line-height: 74px;
    /* 142.308% */
    letter-spacing: -0.52px;
}

.nri-financial-section p {
    color: #282828;
    text-align: center;
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    letter-spacing: -0.24px;
    padding: 0 9.5rem;
}

/* Bubbles section */

.bubble-container {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    z-index: 0;
    /* behind content */
    pointer-events: none;
}

.bubble-container span {
    position: absolute;
    display: block;
    bottom: -170px;
    width: 40px;
    height: 40px;
    background: rgba(18, 91, 116, 0.3);
    border-radius: 50%;
    animation: rise 100s linear infinite;
    z-index: 0;
}

/* Keyframes for bubble animation */
@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-420vh) scale(1.3);
        opacity: 0;
    }
}



/* Service Category */
.service-category {
    width: 100%;
    margin: 4rem 0;
    text-align: center;
}

.service-category h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    line-height: 1.1;
    font-size: clamp(24px, 5vw, 32px);
}

/* --- make the SVG scale with its container --- */
.service-icon {
    display: block;
    /* remove inline SVG whitespace */
    margin: 1rem auto;
    /* separate from text, center */
    width: clamp(300px, 50%, 538px);
    /* • never smaller than 200px;  
     • ideally 50% of its parent’s width;  
     • never larger than the original 538px */
    height: auto;
    /* preserve aspect ratio */
}

/* Flex grid for cards */
.service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5.5rem;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    /* background: #F0E7FF; Fixed: removed quotes around color */
}

/* Card base styles */
.service-card {
    flex: none;
    border-radius: 26.942px;
    width: 350px;
    height: 350px;
    position: relative;
    overflow: hidden;
    background-color: #F0E7FF;
    box-shadow: 0px 0px 0px 0px #EAEAEA,
        0px 1.622px 4.867px 1.622px rgba(0, 0, 0, 0.20),
        0px -3.893px 0px 0px rgba(0, 0, 0, 0.04) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    perspective: 1000px;
}

/* Card image styles */
.card-image {
    position: absolute;
    top: 0;
    left: 45px;
    width: 75%;
    height: 75%;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}


/* Card overlay styles */
/* .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(217, 217, 217, 0.31) 11.93%,
            rgba(217, 217, 217, 0.77) 51.94%,
            rgba(217, 217, 217, 0.90) 80.74%);
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
} */

/* Card icon styles */
.service-card-icon {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #404040;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 35.689px;
    padding: 12px 2px;
    width: fit-content;
    width: 80%;
    text-align: center;
    transition: all 0.8s ease;
}

/* Hover effects */
.service-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}


/* Flip animations */
/* .card-inner.flipped {
    transform: rotateY(180deg);
}

.card-inner.hover-flip {
    transform: rotateY(180deg);
}


@media (max-width: 768px) {
    .service-card {
        
        touch-action: manipulation; 
    }
    
    .service-card:hover {
       
        box-shadow: 0px 0px 0px 0px #EAEAEA,
            0px 1.622px 4.867px 1.622px rgba(0, 0, 0, 0.20),
            0px -3.893px 0px 0px rgba(0, 0, 0, 0.04) inset;
    }
} */

/* card front */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 26.942px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Safari and older versions of Chrome */
    -moz-backface-visibility: hidden;
    /* Firefox */
    -ms-backface-visibility: hidden;
    /* Older versions of Edge/IE */
    overflow: hidden;
    box-shadow: 0px 0px 0px 0px #EAEAEA,
        0px 1.622px 4.867px 1.622px rgba(0, 0, 0, 0.20),
        0px -3.893px 0px 0px rgba(0, 0, 0, 0.04) inset;
}

/* Front side */
.card-front {
    background-color: #F0E7FF;
    /* display: none; */
    transform: rotateY(0deg);
}


/* Back side */

.card-back .service-card-icon {
    display: none;
}


.card-back {
    background-color: #FFE28F;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    text-align: center;
    /* height: 100%;  */
}


.card-back-content {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", sans-serif;
    color: #333;
    padding: 50px 10px;

}

.card-back-content h3 {
    font-size: 22.71px;
    font-weight: 700;
    font-family: DM Sans;
}

.card-back-content span {
    font-size: 17px;
    font-weight: 400;
    margin: 0;
    text-align: center;
    width: 200px;
    line-height: 30px;
}

/*
/* .service-card:hover .service-card-icon {
    transform: translateX(-50%) scale(1.1);
    color: #000;
    bottom: 0.5rem;

} */

/* Coming Soon */

.features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 6rem;
}

.features-heading {
    margin-bottom: 8rem;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.special-mention {
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 77px;
}

.features-heading h4 {
    font-size: 24px;
    font-family: Open Sans;
    font-weight: 600;
    line-height: 38px;
    word-wrap: break-word
}

.features-section p {
    font-size: 20px;
    text-align: center;
    max-width: 1200px;
    font-family: Open Sans;
    font-weight: 400;
    line-height: 38px;
    word-wrap: break-word
}


.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin: 2rem auto;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 250px;
    text-align: center;

    opacity: 0;
    transform: translateY(40px);
    /* subtle slide effect */
    transition: transform 0.5s ease, opacity 0.5s ease;
    will-change: transform, opacity;

    position: relative;
    /* crucial for preventing layout shift */
    min-height: 300px;
}

.in-view-from-top {
    transform: translateY(-10px);
    opacity: 1;
}

.in-view-from-bottom {
    transform: translateY(10px);
    opacity: 1;
}

.circle {
    width: 165.81px;
    height: 165.81px;
    border-radius: 50%;
    padding: 16.38px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.circle.blue {
    background-color: #4285F4;
}

.circle.yellow {
    background-color: #F4B400;
}

.inner-circle {
    width: 132.65px;
    height: 132.65px;
    background: white;
    border-radius: 50%;
    box-shadow: 0px 2.6px 6.5px rgba(0, 0, 0, 0.69);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-circle img {
    width: 100%;
    height: 70%;
    object-fit: contain;
    position: absolute;
}

.start-svg {
    width: 9px;
    height: 75px;
    transform: rotate(180deg);
}

.middle-svg {
    width: 10px;
    height: 160px;
}

.rotated-img {
    transform: rotate(180deg);
    transform-origin: top left;
    left: auto;
    top: auto;
}

.feature p {
    font-size: 20.65px;
    font-weight: 700;
    line-height: 30.48px;
    color: black;
}

.align-top-bottom {
    margin-top: -100px;
}

.align-center {
    margin-top: -20px;
}

/* CSS */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature .circle,
.feature p {
    opacity: 0;
}


.feature.in-view-from-top .circle {
    animation: slideInFromTop 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.feature.in-view-from-top p {
    animation: slideInFromBottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.feature.in-view-from-bottom .circle {
    animation: slideInFromBottom 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.feature.in-view-from-bottom p {
    animation: slideInFromTop 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}


.feature.in-view-from-top .circle,
.feature.in-view-from-bottom .circle {

    animation-delay: 0.1s;
}

.feature.in-view-from-top p,
.feature.in-view-from-bottom p {
    animation-delay: 0.3s;
}


/* Footer Section */


/* Hero section Responsiveness */

@media only screen and (min-width: 768px) and (max-width: 950px) {
    .hero-content {
        margin-top: -2rem;
    }
}

/* ================================
   ≥ 1200px (Large Desktop)
   ================================ */
@media (min-width: 1200px) {
    .hero-content {
        max-width: 1600px;
        margin: 4rem auto;
        gap: 3rem;
        padding: 2rem;
    }

    .hero-text {
        max-width: 650px;
    }

    .hero-text h1 {
        /* Slightly larger cap on bigger desktop */
        font-size: clamp(3rem, 3.5vw, 5rem);
    }

    .hero-text p {
        font-size: clamp(1.1rem, 1.5vw, 1.4rem);
        max-width: 600px;
    }

    .hero-image {
        max-width: 700px;
    }

    .hero-buttons {
        gap: 2rem;
    }
}

/* ================================
   ≥ 1400px (Extra Large Desktop)
   ================================ */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1600px;
        margin: 4rem auto;
        gap: 3.5rem;
        padding: 0rem;
    }

    .hero-text {
        max-width: 1200px;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 3vw, 6rem);
        line-height: 1.1;
    }

    .hero-text p {
        font-size: clamp(1.2rem, 1.2vw, 1.5rem);
        max-width: 650px;
        line-height: 1.6;
    }

    .hero-image {
        max-width: 700px;
    }

    .hero-buttons {
        gap: 2rem;
    }

    /* .feature {
        max-width: 80%;
        min-height: 250px;
        padding: 3rem 2.5rem;
        flex-direction: row;
        gap: 8rem;
    }

    .feature p {
        font-size: 18px;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    } */
}

/* ================================
   ≥ 1600px (Ultra-Wide Screens)
   ================================ */
@media (min-width: 1600px) {
    .hero-content {
        max-width: 2000px;
        margin: 2rem auto;
        gap: 4rem;
        padding: 0rem;
        margin-top: 5rem;
    }

    .hero-text {
        max-width: 1600px;
    }

    .hero-text h1 {
        font-size: clamp(3.5rem, 2.5vw, 6.5rem);
        line-height: 1.1;
    }

    .hero-text p {
        font-size: clamp(1.3rem, 1vw, 1.6rem);
        max-width: 700px;
        line-height: 1.6;
    }

    .hero-image {
        max-width: 800px;
    }

    .hero-buttons {
        gap: 2.5rem;
    }

}

@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column-reverse;
        align-items: center;
        /* gap: 2rem; */
        min-height: auto;
        margin-top: 5rem;
    }

    .hero-text {
        align-items: center;
        text-align: center;
        margin-top: 0;
    }

    .hero-text h1 {
        padding: 0 1rem;
    }


}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .hero-image {
        max-width: 100%;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text p br {
        display: none;
    }
}

/* ===== Responsive Breakpoints ===== */
/* Tablets / smaller desktops */
/* ===== Enhanced Responsive Layout (Non-intrusive) ===== */

@media (max-width: 1469px) {
    .features-section {
        margin: -2rem auto;
    }

    .features-container {
        margin: -2rem auto 2rem;
    }

    .special-mention {
        font-size: 2rem;
        line-height: 3rem;
        margin-bottom: 5rem;
    }

    .coming-soon {
        padding: 6rem 2rem;
    }

    .coming-soon .section-content h1 {
        font-size: 3rem;
        line-height: 3.6rem;
        padding: 0 1rem;
    }

    .coming-soon .section-content p {
        font-size: 18px;
        padding: 0 1rem;
        line-height: 28px;
    }

    .feature {
        max-width: 600px;
        min-height: 250px;
        padding: 3rem 0.5rem;
        flex-direction: row;
        gap: 8rem;
        width: 100%;
    }

    .feature p {
        font-size: 18px;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    }


    .feature .feature-left,
    .feature .feature-right {
        width: 100%;
    }

    .feature .feature-left h1 {
        font-size: 2rem;
        line-height: 2.6rem;
    }

    .feature .feature-left p {
        font-size: 16px;
        line-height: 26px;
    }
}



/* Large tablets / Small laptops */
@media (max-width: 1024px) {
    .nri-financial-section {
        padding: 2rem;
    }

    .nri-financial-section h2 {
        font-size: 3rem;
        line-height: 1.2;
    }

    .nri-financial-section p {
        font-size: 20px;
        line-height: 32px;
        padding: 0 4rem;
    }

    .service-grid {
        padding: 1.5rem;
        gap: 0;
    }

    .features-section {
        margin-top: -2rem;
        margin-right: 1rem;
        margin-left: 1rem;
        margin-bottom: 2rem;
    }

    .special-mention {
        font-size: 2rem;
        line-height: 3rem;
        margin-bottom: 5rem;
    }

    .coming-soon {
        padding: 6rem 2rem;
    }

    .coming-soon .section-content h1 {
        font-size: 3rem;
        line-height: 3.6rem;
        padding: 0 1rem;
    }

    .coming-soon .section-content p {
        font-size: 18px;
        padding: 0 1rem;
        line-height: 28px;
    }

    .feature {
        max-width: 600px;
        min-height: 250px;
        padding: 3rem 0.5rem;
        flex-direction: row;
        gap: 8rem;
        width: 100%;
    }

    .feature p {
        font-size: 18px;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    }


    .feature .feature-left,
    .feature .feature-right {
        width: 100%;
    }

    .feature .feature-left h1 {
        font-size: 2rem;
        line-height: 2.6rem;
    }

    .feature .feature-left p {
        font-size: 16px;
        line-height: 26px;
    }

    .service-card {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        padding: 3rem 2rem;
        background-color: transparent;
        box-shadow: none;
    }

    .service-card .card {
        flex: 1 1 250px;
        max-width: 300px;
        padding: 1.2rem;
    }

    .service-card .card h4 {
        font-size: 1.1rem;
    }

    .service-card .card p {
        font-size: 15px;
    }

    .card-inner {
        margin-top: -1rem;
    }

    .card-back-content span {
        font-size: 0.8rem;
        line-height: 25px;
    }

    .card-image {
        left: 30px;
    }

    .service-card:hover {
        box-shadow: none;
    }

    .service-card-icon {
        font-size: 18px;
        line-height: 28px;
    }

        .features-section h4 br {
        display: none;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .nri-financial-section h2 {
        font-size: 2.5rem;
    }

    .nri-financial-section p {
        font-size: 18px;
        padding: 0 2rem;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 2rem;
    }

    .service-card {
        background-color: transparent;
        box-shadow: none;
        padding-bottom: 1rem;
    }

    .service-card:hover {
        box-shadow: none;
    }

    .service-card-icon {
        font-size: 18px;
        line-height: 28px;
    }

    .features-container {
        gap: 2rem;
    }

    .feature {
        max-width: 80%;
        min-height: 250px;
        padding: 3rem 1.5rem;
        flex-direction: row;
        gap: 8rem;
    }

    .feature p {
        font-size: 18px;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    }

    .circle {
        flex-direction: column;
        align-items: center;
        /* gap: 2rem;
        padding: 2rem 1rem; */
    }


    .circle .circle-item {
        width: 150px;
        height: 150px;
    }

    .circle .circle-item h3 {
        font-size: 1rem;
        text-align: center;
    }

    .inner-circle {
        width: 125px;
        height: 125px;
    }

    .coming-soon {
        padding: 4rem 1.5rem;
    }

    .coming-soon .section-content {
        gap: 1.5rem;
    }

    .coming-soon .section-content h1 {
        font-size: 2.2rem;
        line-height: 2.8rem;
        text-align: center;
    }

    .coming-soon .section-content p {
        font-size: 16px;
        text-align: center;
        line-height: 26px;
    }

    .coming-soon .section-content button {
        font-size: 14px;
        padding: 0.8rem 1.2rem;
        margin-top: 0.5rem;
    }

    .feature .feature-left h1 {
        font-size: 1.8rem;
    }

    .feature .feature-left p {
        font-size: 15px;
    }

    .feature .feature-left button {
        padding: 0.7rem 1.2rem;
        font-size: 14px;
    }

    .features-section p {
        font-size: 1.1rem
    }

    .card-inner {
        margin-top: -1rem;
    }

    .card-back-content span {
        font-size: 0.8rem;
        line-height: 25px;
    }

    .card-image {
        left: 30px;
    }

}

@media only screen and (min-width: 460px) and (max-width: 500px) {
    .features-container {
        margin: -6rem 2rem !important;
    }
}

@media only screen and (min-width: 640px) and (max-width: 750px) {
    .features-container {
        margin: -6rem 6rem !important;
    }
}

@media only screen and (min-width: 501px) and (max-width: 750px) {
    .features-section {
        padding: 0 2rem;
        margin-bottom: 2rem;
    }

    .feature {
        max-width: 100%;
        min-height: 250px;
        padding: 2rem 2.5rem;
        flex-direction: row;
        gap: 5.5rem;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    }

    .circle {
        flex-direction: column;
        align-items: center;
        /* gap: 2rem;
        padding: 2rem 1rem; */
    }


    .circle .circle-item {
        width: 150px;
        height: 150px;
    }

    .circle .circle-item h3 {
        font-size: 1rem;
        text-align: center;
    }

    .inner-circle {
        width: 125px;
        height: 125px;
    }

    .feature p {
        font-size: 12px;
        line-height: 20px;
        margin-top: 1rem;
        margin-left: 1rem;
    }

    .features-container {
        margin: -6rem 2rem;
        gap: 0;
        margin-bottom: 2rem;
    }

    .features-section h4 {
        font-size: 1.5rem;
        padding: 0 2rem;
    }

    .circle {
        width: 90px;
        height: 90px;
    }

    .inner-circle {
        width: 60px;
        height: 60px;
    }

    .special-mention {
        font-size: 2.2rem;
        line-height: 2.5rem;
        margin-bottom: 3rem;
    }

    .coming-soon {
        padding: 3rem 1rem;
    }

    .coming-soon .section-content h1 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .coming-soon .section-content p {
        font-size: 15px;
        line-height: 24px;
    }

    .coming-soon .section-content button {
        width: 100%;
        font-size: 15px;
    }
}



/* Mobile devices */
@media (max-width: 500px) {
    .nri-financial-section h2 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .nri-financial-section p {
        font-size: 16px;
        padding: 0 1rem;
        line-height: 28px;
    }

    .service-category {
        width: 100%;
        margin: 4rem 0;
        text-align: center;
    }

    .service-category h3 {
        font-size: 1.3rem;
        line-height: 2rem;
    }

    .service-icon {
        margin: auto;
    }

    .service-grid {
        padding: 1rem;
        gap: 1.5rem;
    }

    .service-card {
        width: 85% !important;
        height: 300px;
        box-shadow: none;
        background-color: transparent;
    }

    .service-card:hover {
        box-shadow: none;
    }

    .service-card .card {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .service-card-icon {
        font-size: 16px;
        line-height: 16px;
        width: 100%;
    }

    .card-inner {
        margin-top: -1rem;
    }

    .card-image {
        left: 30px;
    }

    .card-back-content span {
        font-size: 0.8rem;
        line-height: 25px;
    }


    .feature {
        max-width: 100%;
        min-height: 250px;
        padding: 2rem 1rem;
        flex-direction: row;
        gap: 5.5rem;
    }

    .start-svg {
        width: 10px;
        height: 160px;
        transform: rotate(90deg);
    }

    .middle-svg {
        transform: rotate(270deg);
        width: 16px;
        height: 160px;
    }

    .align-reverse {
        flex-direction: row-reverse;
    }

    .align-reverse .middle-svg {
        transform: rotate(90deg);
    }


    .in-view-from-bottom {
        margin-bottom: 10px;
    }

    .in-view-from-top {
        margin-top: -70px;
    }

    .circle {
        flex-direction: column;
        align-items: center;
        /* gap: 2rem;
        padding: 2rem 1rem; */
    }


    .circle .circle-item {
        width: 150px;
        height: 150px;
    }

    .circle .circle-item h3 {
        font-size: 1rem;
        text-align: center;
    }

    .inner-circle {
        width: 125px;
        height: 125px;
    }

    .feature p {
        font-size: 12px;
        line-height: 20px;
        margin-top: 1rem;
        /* margin-left: 1rem; */
    }

    .features-container {
        margin: -6rem 0;
        gap: 0;
        margin-bottom: 2rem;
    }

    .features-section h4 {
        font-size: 1.5rem;
        padding: 0 2rem;
    }

    .features-section p {
        font-size: 0.9rem;
        line-height: 1.8;
    }


    .circle {
        width: 90px;
        height: 90px;
    }

    .inner-circle {
        width: 60px;
        height: 60px;
    }

    .special-mention {
        font-size: 2.2rem;
        line-height: 2.5rem;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }

    .coming-soon {
        padding: 3rem 1rem;
    }

    .coming-soon .section-content h1 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .coming-soon .section-content p {
        font-size: 15px;
        line-height: 24px;
    }

    .coming-soon .section-content button {
        width: 100%;
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .service-card {
        height: 270px;
        width: 100%;
    }

    .service-category h3 {
        font-size: 1.1rem;
        line-height: 1.2rem;
        /* padding: 0 1rem; */
    }

    .card-back-content span {
        font-size: 0.75rem;
        line-height: 20px;
        padding: 0 1rem;
    }

    .features-heading {
        margin: 0 2rem;
    }

    .special-mention {
        font-size: 1.95rem;
    }

    .features-section {
        margin-bottom: 0rem;
    }

    .features-section h4 {
        font-size: 1.2rem;
        margin-top: -2rem;
        line-height: 1.5;
    }

    .features-section p {
        margin: 0;
        font-size: 0.85rem;
        line-height: 2;
    }

    .features-container {
        margin: 0 auto;
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .feature {
        padding: 2rem 0;
        gap: 4.4rem;
    }

    .circle {
        width: 75px;
        height: 75px;
        margin-right: 0.5rem;
        padding: 10.38px;
    }

    .inner-circle {
        width: 60px;
        height: 60px;
    }

    .start-svg {
        width: 12px;
        height: 160px;
    }
}