/* =========================================
   1. GLOBAL STYLES & TYPOGRAPHY
========================================= */
@import "tailwindcss";

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FCF9F2;
    color: #333;
    overflow-x: hidden;
}

header {
    position: relative top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    position: relative top: 192px;
    /* adjust based on header height */
    left: 0;
    width: 100%;
    z-index: 999;
}

/* =========================================
   2. HERO SLIDER SECTION
========================================= */
.hero-slider-container {
    width: 100%;
    height: 400px;
    margin: 20px 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-color: #10407A;
    background-size: cover;
    background-position: center;
    transition: background-image 1s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: flex-end;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 740px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(11, 57, 104, 0.25), 0 20px 40px -15px rgba(11, 57, 104, 0.15);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-overlay {
    width: 100%;
    padding: 60px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

#hero-text {
    color: white;
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   3. FEATURES SECTION
========================================= */
.features-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.2rem;
    color: #0B3968;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-block {
    background-color: #FDFBf7;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(11, 57, 104, 0.04);
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(11, 57, 104, 0.05);
}

.feature-block:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(11, 57, 104, 0.15);
    border-color: rgba(11, 57, 104, 0.08);
}

.feature-block:hover h3 {
    color: #10325f;
}

.feature-block:hover p {
    color: #455569;
}

.feature-block:hover .badge {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.feature-block:nth-child(1):hover {
    background-color: #e5f3ff;
}

.feature-block:nth-child(2):hover {
    background-color: #e8f5ea;
}

.feature-block:nth-child(3):hover {
    background-color: #fff4e1;
}

.feature-block:nth-child(4):hover {
    background-color: #f4e7ff;
}

.feature-block:nth-child(1):hover .badge {
    background-color: #d8ebff;
    color: #1f4e79;
}

.feature-block:nth-child(1):hover .feature-icon {
    background: #d8ebff;
}

.feature-block:nth-child(2):hover .badge {
    background-color: #dff2e3;
    color: #1f4e79;
}

..feature-block:nth-child(2):hover .feature-icon {
    background: #dff2e3;
}

.feature-block:nth-child(3):hover .badge {
    background-color: #fff1d0;
    color: #1f4e79;
}

.feature-block:nth-child(3):hover .feature-icon {
    background: #fff1d0;
}

.feature-block:nth-child(3):hover .feature-icon {
    background: #fff1d0;
}

.feature-block:nth-child(4):hover .badge {
    background-color: #eadcfd;
    color: #1f4e79;
}

.feature-block:nth-child(4):hover .feature-icon {
    background: #eadcfd;
}

.feature-block:nth-child(4):hover .feature-icon {
    background: #eadcfd;
}

.feature-block:hover .feature-icon {
    transform: scaleX(-1);
}

.feature-icon {
    display: block;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    object-fit: contain;
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
    box-shadow: inset 0 0 0 1px rgba(15, 55, 99, 0.08);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-block h3 {
    font-size: 1.1rem;
    color: #0B3968;
    margin: 10px 0;
}

.feature-block p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   4. IMPACT SECTION (LAYOUT)
========================================= */
.impact-section {
    background-color: #FDF9F3;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.05);
}

.impact-wrapper {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
}

.card-white {
    background: #FFFFFF;
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 20px 60px -10px rgba(11, 57, 104, 0.08);
    border: 1px solid rgba(11, 57, 104, 0.03);
}

/* =========================================
   5. SAVINGS GROWTH CHART
========================================= */
.chart-widget {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}

.chart-widget h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #0B3968;
}

svg {
    transform: rotate(0deg);
    max-width: 100%;
    height: auto;
}

.bg {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 12;
}

    .progress {
      fill: none;
      stroke-width: 12;
      stroke-linecap: round;
      stroke-dasharray: 565;
      /* circumference */
      stroke-dashoffset: 565;
      transition: stroke-dashoffset 1.6s cubic-bezier(0.23, 1, 0.32, 1);
      will-change: stroke-dashoffset;
    }

/* Chart Colors */
.stroke-blue {
    stroke: #1f4e79;
}

.stroke-red {
    stroke: #c0392b;
}

.stroke-yellow {
    stroke: #f4b400;
}

.center-text {
    font-size: 42px;
    font-weight: bold;
    fill: #000;
}

/* Legend */
.legend {
    margin-top: 20px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.legend-item:hover {
    background-color: rgba(31, 78, 121, 0.08);
    transform: translateX(4px);
}

.legend-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legend-item:hover .legend-dot {
    transform: scale(1.15);
}

.fill-blue {
    background: #1f4e79;
}

.fill-red {
    background: #c0392b;
}

.fill-yellow {
    background: #f4b400;
}

.fill-pink {
    background: #d2527f;
}

.fill-orange {
    background: #f39c12;
}

/* =========================================
   6. INTERACTIVE MAP SECTION
========================================= */
.map-column {
    position: relative;
}

.team-photo {
    position: absolute;
    top: -40px;
    right: 0;
    width: 200px;
    z-index: 5;
    display: none;
    /* Hide on smaller screens, can show on large */
}

.team-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    position: relative;
    width: 100%;
    margin: auto;
}

.map img {
    width: 100%;
    display: block;
    filter: grayscale(20%);
}

/* Map Pins */
.map-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #e5485d;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.map-pin::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(229, 72, 93, 0.3);
    border-radius: 50%;
    top: -13px;
    left: -13px;
    animation: pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Map Popup Card */
.map-popup {
    position: absolute;
    width: 180px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition:
        opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    z-index: 10;
    pointer-events: none;
    transform: scale(0.9);
    opacity: 0;
}

.map-popup.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.map-popup img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.map-popup p {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.hidden {
    display: none;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
========================================= */
@media (min-width: 1024px) {
    .team-photo {
        display: block;
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chart-widget {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 300px;
    }

    #hero-text {
        font-size: 1.8rem;
    }

    .hero-overlay {
        padding: 40px 20px;
    }

    .impact-section {
        padding: 40px 15px;
    }

    .card-white {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider-container {
        height: 250px;
    }

    #hero-text {
        font-size: 1.5rem;
    }

    .legend {
        grid-template-columns: 1fr;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.schemes-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.schemes-container {
    display: flex;
    background: #FDF9F3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Sidebar Styling */
.schemes-sidebar {
    width: 320px;
    padding: 40px 20px;
    border-right: 1px solid #E8D5C4;
}

.tab-btn {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: none;
    text-align: left;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(180, 115, 59, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tab-btn .tab-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
}

.tab-btn.active {
    background: #fff;
    border-color: #B4733B;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Content Area */
.schemes-content {
    flex: 1;
    padding: 40px;
}

.content-header {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-header span {
    color: #B4733B;
    font-weight: bold;
}

/* Cards Styling */
.scheme-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    position: relative;
    box-shadow: 0 15px 45px -10px rgba(11, 57, 104, 0.08);
    border: 1px solid rgba(11, 57, 104, 0.04);
}

.hover-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 25px 60px -15px rgba(11, 57, 104, 0.2);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scheme-card.large {
    margin-bottom: 25px;
}

.sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.duration {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 12px;
    font-weight: 700;
    color: #B4733B;
}

.scheme-card h3 {
    font-size: 1.2rem;
    color: #0B3968;
    margin-bottom: 15px;
}

.scheme-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.scheme-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.scheme-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0B3968;
}

.action-btn {
    border: 2px solid #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    background: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn:hover {
    background: #333;
    color: white;
}

.heritage-compliance {
    background: #FEF7ED url('trust.png') no-repeat center center;
    background-size: cover;
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;

}

.heritage-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-top {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 10px;
}

.heritage-top h2 {
    font-size: 1.4rem;
    color: #10223B;
    margin-bottom: 6px;
}

.heritage-top p {
    color: #4C5668;
    font-size: 0.78rem;
    line-height: 1.3;
}

.heritage-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    align-items: stretch;
}

.heritage-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 10px 10px;
    border: 1px solid rgba(15, 55, 99, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.heritage-card:hover {
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.heritage-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #F7E4CB;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1000px;
}

.heritage-card:hover .heritage-icon {
    transform: rotateY(180deg);
    background: #B4733B;
}

.heritage-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.heritage-card h3 {
    font-size: 0.95rem;
    color: #10223B;
    margin-bottom: 8px;
}

.heritage-card p {
    font-size: 0.72rem;
    color: #5A6371;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 992px) {
    .heritage-cards {
        grid-template-columns: 1fr;
    }
}

.faq-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    color: #0B3968;
    margin-bottom: 24px;
    font-weight: 700;
}

.faq-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}

.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-tab {
    background: #fff;
    border: 1px solid #E8D5C4;
    color: #10223B;
    text-align: left;
    padding: 18px 20px;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-tab:hover {
    background: #F7F1E7;
}

.faq-tab.active {
    background: #0B3968;
    color: #fff;
    border-color: #0B3968;
    box-shadow: 0 12px 28px rgba(11, 57, 104, 0.18);
}

.faq-panels {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    min-height: 220px;
}

/* FAQ panels — use visibility so CSS opacity transitions work */
.faq-answer-panel {
    display: block;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.faq-answer-panel.active {
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
}

.faq-answer-panel p {
    color: #475468;
    line-height: 1.75;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.faq-answer-panel ul {
    list-style: disc inside;
    margin: 0;
    padding-left: 18px;
    color: #475468;
    line-height: 1.7;
    font-size: 0.92rem;
}

.faq-answer-panel li {
    margin-bottom: 12px;
}

@media (max-width: 900px) {
    .faq-content {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FOOTER SECTION
========================================= */
.heritage-footer {
    background: linear-gradient(135deg, rgba(244, 235, 224, 0.7) 0%, rgba(252, 249, 242, 0.7) 100%), url('footer.png') no-repeat center/cover;
    position: relative;
    padding: 60px 20px 30px;
    margin-top: 60px;
    border-top: 2px solid #E8D5C4;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}

.footer-border-left,
.footer-border-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    background-repeat: repeat-y;
    background-image: url('border.png');
    background-size: 20px auto;
}

.footer-border-left {
    left: 0;
}

.footer-border-right {
    right: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-column {
    text-align: left;
}

.footer-column h4 {
    font-size: 1rem;
    color: #0B3968;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #475468;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-column a:hover {
    color: #B4733B;
}

.footer-column-right {
    text-align: center;
}

.footer-greeting {
    margin-bottom: 20px;
}

.footer-greeting p {
    margin: 0;
    color: #0B3968;
    font-weight: 600;
}

.footer-greeting .small-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF;
    border: 2px solid #E8D5C4;
    color: #0B3968;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #0B3968;
    border-color: #0B3968;
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    max-width: 1200px;
    margin: 30px auto;
    height: 1px;
    background: #E8D5C4;
}

.footer-bottom {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-temple-icon {
        grid-column: 2;
        order: -1;
        margin-bottom: 20px;
    }

    .footer-column:nth-child(1) {
        grid-column: 1;
    }

    .footer-column:nth-child(2) {
        grid-column: 2;
    }

    .footer-column-right {
        grid-column: 1 / 4;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-column h4 {
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-column-right {
        grid-column: auto;
        margin-top: 20px;
    }

    .footer-temple-icon {
        grid-column: auto;
        order: 0;
        margin: 20px 0;
    }
}

/* =========================================
   EMI CALCULATOR SECTION
========================================= */
.emi-calculator-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.emi-border {
    position: absolute;
    width: 10px;
    top: 0;
    bottom: 0;
    background-image: url('border.png');
    background-size: 10px auto;
    background-repeat: repeat-y;
    background-position: center;
    border-radius: 18px;
}

.emi-border-left {
    left: 0;
}

.emi-border-right {
    right: 0;
}

.emi-container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    padding: 35px 30px;
    border-radius: 28px;
    box-shadow: 0 20px 60px -10px rgba(11, 57, 104, 0.08);
    border: 1px solid rgba(11, 57, 104, 0.03);
}

.emi-title {
    text-align: center;
    font-size: 1.8rem;
    color: #0B3968;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.emi-title::before {
    content: "₹";
    font-size: 1.6rem;
    color: #B4733B;
}

.emi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: transparent;
    border-radius: 18px;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

.emi-inputs-block {
    background: #ffffff;
    border-radius: 18px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.emi-inputs-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    background-color: #f8f4ee;
}

.emi-diya-icon {
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emi-diya-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.emi-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
}

.input-display {
    font-size: 1.1rem;
    color: #B4733B;
    font-weight: 700;
    padding: 0;
}

.slider {
    width: 85%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #E8D5C4, #B4733B);
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #B4733B;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(180, 115, 59, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(180, 115, 59, 0.5);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #B4733B;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(180, 115, 59, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(180, 115, 59, 0.5);
}

.emi-output {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 15px 50px -10px rgba(11, 57, 104, 0.08);
    border: 1px solid rgba(11, 57, 104, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.emi-output:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px -15px rgba(11, 57, 104, 0.15);
    background-color: #fafbfc;
}

.monthly-section {
    text-align: center;
}

.monthly-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.monthly-amount {
    font-size: 2rem;
    color: #0B3968;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.diya-icon-small {
    font-size: 1.5rem;
    color: #B4733B;
}

.circular-chart {
    position: relative;
}

.circle-bg {
    fill: none;
    stroke: #E8D5C4;
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke: #B4733B;
    stroke-width: 8;
    stroke-dasharray: 530;
    stroke-dashoffset: 0;
    transform: rotate(-90deg);
    transform-origin: 100px 100px;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.circle-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0B3968;
    text-anchor: middle;
}

.circle-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #999;
    text-anchor: middle;
}

.summary {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: #FFFBF7;
    border-radius: 10px;
    align-items: center;
    border: 1px solid #F0E8DE;
}

.summary-label {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.summary-value {
    color: #B4733B;
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .emi-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .emi-inputs-block {
        flex-direction: column;
        gap: 15px;
    }

    .emi-diya-icon {
        min-width: 100%;
    }

    .emi-inputs {
        width: 100%;
    }
}

/* Tab Logic — use visibility so CSS opacity transitions work */
.tab-panel {
    display: block;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.tab-panel.active {
    visibility: visible;
    height: auto;
    overflow: visible;
    pointer-events: auto;
}

@media (max-width: 992px) {
    .schemes-container {
        flex-direction: column;
    }

    .schemes-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E8D5C4;
    }

    .sub-grid {
        grid-template-columns: 1fr;
    }
}