﻿/*==============================
        FIXED DEPOSIT
===============================*/

.deposit-section {
    padding: 90px 0;
    background: var(--bg);
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 40px;
    background: rgba(237,28,36,.08);
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.deposit-desc {
    font-size: 17px;
    line-height: 1.9;
    color: #667085;
    margin-bottom: 20px;
}

/* FEATURES */

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eef2f7;
    transition: .3s;
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(32,58,111,.10);
    }

    .feature-card i {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(32,58,111,.08);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }

    .feature-card span {
        font-weight: 600;
        color: var(--primary-dark);
    }

/*==============================
      INTEREST CARD
===============================*/

.interest-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    border: 1px solid #edf1f5;
}

.interest-header {
    padding: 25px 30px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

    .interest-header h4 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
    }

    .interest-header span {
        font-size: 14px;
        opacity: .85;
    }

.interest-table {
    width: 100%;
    border-collapse: collapse;
}

    .interest-table tr {
        border-bottom: 1px solid #eef2f7;
        transition: .25s;
    }

        .interest-table tr:hover {
            background: #f9fbff;
        }

    .interest-table td {
        padding: 18px 30px;
        font-weight: 500;
        color: #555;
    }

        .interest-table td:last-child {
            text-align: right;
        }

.rate {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(32,58,111,.08);
    color: var(--primary);
    font-weight: 700;
    border-radius: 30px;
    min-width: 90px;
    text-align: center;
}

    .rate.red {
        background: rgba(237,28,36,.10);
        color: var(--secondary);
    }

.best-row {
    background: linear-gradient(90deg, rgba(32,58,111,.05), rgba(237,28,36,.05));
}

    .best-row td {
        font-weight: 700;
    }

    .best-row small {
        display: block;
        color: var(--secondary);
        margin-top: 5px;
    }

.rate.best {
    background: var(--secondary);
    color: #fff;
    font-size: 18px;
    padding: 10px 18px;
}

.interest-footer {
    padding: 20px 30px;
    background: #fafbfd;
    font-size: 14px;
    color: #666;
    border-top: 1px solid #edf2f6;
}

    .interest-footer i {
        color: var(--secondary);
        margin-right: 8px;
    }


/*=====================================
        RECURRING DEPOSIT
======================================*/

.recurring-section {
    background: #fff;
}

.rd-table {
    font-size: 15px;
}

    .rd-table thead th {
        background: var(--primary);
        color: #fff;
        border: none;
        text-align: center;
        white-space: nowrap;
        padding: 16px 14px;
    }

    .rd-table tbody td {
        text-align: center;
        vertical-align: middle;
        padding: 15px 14px;
        border-color: #eef2f7;
    }

    .rd-table tbody tr:hover {
        background: #f8fafc;
    }

    .rd-table tbody td:first-child {
        font-weight: 700;
        color: var(--primary);
        background: rgba(32,58,111,.04);
    }

    .rd-table tbody tr:last-child td {
        font-weight: 700;
    }
/*======================================
        SAVING ACCOUNT
=======================================*/

.saving-section {
    background: #fff;
}

.saving-image {
    position: relative;
}

    .saving-image img {
        width: 100%;
        border-radius: 22px;
        box-shadow: 0 25px 60px rgba(0,0,0,.12);
    }

.saving-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 18px 25px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(32,58,111,.30);
}

    .saving-badge h4 {
        margin: 0;
        font-size: 30px;
        font-weight: 700;
    }

    .saving-badge span {
        font-size: 14px;
        opacity: .9;
    }

.saving-note {
    margin-top: 35px;
    background: #f8fafc;
    border-left: 5px solid var(--secondary);
    padding: 18px 22px;
    border-radius: 12px;
    color: #555;
    font-weight: 500;
}

    .saving-note i {
        color: var(--secondary);
        margin-right: 10px;
    }

/*==========================
SPECIAL SCHEMES
===========================*/

.special-schemes {
    padding: 100px 0;
    background: var(--bg);
}

.scheme-box {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
    overflow: hidden;
    height: 100%;
}

.scheme-head {
    padding: 25px 30px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    color: #fff;
}

    .scheme-head > div {
        display: flex;
        align-items: center;
        gap: 20px;
    }

.scheme-icon {
    font-size: 40px;
}

.scheme-head h3 {
    margin-bottom: 5px;
}

.scheme-head p {
    margin: 0;
    opacity: .8;
}

.little-table thead th {
    background: #f5f7fb;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

.little-table td {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}

.little-table tbody tr:hover {
    background: #fafbfd;
}

.sukanya-card {
    padding: 45px;
    text-align: center;
}

.scheme-image {
    position: relative;
    margin: 30px 0;
}

    .scheme-image img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,.12);
    }

.interest-badge {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(237,28,36,.35);
}

    .interest-badge span {
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
    }

    .interest-badge small {
        font-size: 12px;
        text-align: center;
        margin-top: 5px;
    }
.sukanya-card ul {
    padding: 0;
    margin-top: 30px;
    list-style: none;
}

.sukanya-card li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.scheme-footer-image {
    position: relative;
    margin: 25px;
    border-radius: 18px;
    overflow: hidden;
}

    .scheme-footer-image img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        display: block;
    }

.scheme-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(32,58,111,.90), rgba(32,58,111,.20), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
}

    .scheme-overlay h5 {
        margin-bottom: 6px;
        font-size: 22px;
        font-weight: 600;
    }

    .scheme-overlay p {
        margin: 0;
        opacity: .9;
        font-size: 14px;
    }
.fd-special-plans {
    margin-top: 25px;
}

.fd-mini-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 18px;
    padding: 18px 22px;
    transition: .3s;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

    .fd-mini-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 35px rgba(32,58,111,.10);
    }

.fd-mini-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(237,28,36,.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.fd-mini-content {
    flex: 1;
}

    .fd-mini-content h5 {
        margin: 0;
        color: var(--primary);
        font-weight: 700;
        font-size: 18px;
    }

    .fd-mini-content p {
        margin: 4px 0 0;
        color: #777;
        font-size: 14px;
    }

.fd-mini-tenure {
    text-align: center;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 75px;
}

    .fd-mini-tenure span {
        display: block;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .fd-mini-tenure small {
        font-size: 12px;
    }
.mis-section {
    margin-top: 60px;
}

.mis-rate-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    border: 1px solid #edf2f7;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
    transition: .3s;
    height: 100%;
}

    .mis-rate-card:hover {
        transform: translateY(-6px);
    }

    .mis-rate-card.active {
        border: 2px solid var(--secondary);
    }

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.mis-year {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}

.mis-rate {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

    .mis-rate.best {
        color: var(--secondary);
    }

.mis-rate-card span {
    display: block;
    margin-top: 15px;
    color: #777;
}
/*====================================================
    LOAN CTA
====================================================*/

.loan-cta {
    padding: 80px 0;
    background: #f8fafc;
}

.loan-cta-box {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 28px;
    padding: 70px 50px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(32, 58, 111, .18);
}

    .loan-cta-box::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
        top: -140px;
        right: -100px;
    }

    .loan-cta-box::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(255,255,255,.04);
        bottom: -80px;
        left: -60px;
    }

    .loan-cta-box h2 {
        position: relative;
        z-index: 2;
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 18px;
        color: #fff;
    }

    .loan-cta-box p {
        position: relative;
        z-index: 2;
        max-width: 700px;
        margin: 0 auto 35px;
        font-size: 1.08rem;
        line-height: 1.8;
        color: rgba(255,255,255,.9);
    }

    .loan-cta-box .btn {
        position: relative;
        z-index: 2;
        background: var(--secondary);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 14px 38px;
        font-size: 1rem;
        font-weight: 600;
        transition: .35s;
        box-shadow: 0 10px 25px rgba(237,28,36,.35);
    }

        .loan-cta-box .btn:hover {
            background: var(--secondary-dark);
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(237,28,36,.45);
        }


.loan-img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
}
/*=============================
    Investment Cards
==============================*/

.investment-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 28px;
    height: 100%;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

    .investment-card:hover {
        transform: translateY(-8px);
        border-color: var(--secondary);
        box-shadow: 0 18px 45px rgba(32,58,111,.12);
    }

.investment-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(237,28,36,.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: .35s;
}

.investment-card:hover .investment-icon {
    background: var(--secondary);
    color: #fff;
}

.investment-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.investment-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
    font-size: .96rem;
}



/*========================================================
                MOBILE Responsive
=========================================================*/

@media (max-width:991px) {
    .deposit-title {
        font-size: 34px;
    }

    .interest-card {
        margin-top: 15px;
    }
    .loan-cta-box {
        padding: 60px 35px;
    }

        .loan-cta-box h2 {
            font-size: 2rem;
        }
}

@media (max-width: 768px) {

    .interest-card .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        /* optional: hint that table is scrollable */
        .interest-card .table-responsive::after {
            content: "← Scroll to see more →";
            display: block;
            text-align: center;
            font-size: 12px;
            color: #999;
            padding: 8px;
        }

    .interest-card {
        overflow: visible;
    }

    .interest-header {
        border-radius: 22px 22px 0 0;
    }

    .interest-footer {
        border-radius: 0 0 22px 22px;
    }

    .interest-card .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rd-table thead th,
    .rd-table tbody td {
        white-space: nowrap;
        min-width: 90px;
    }

    .deposit-section,
    .recurring-section,
    .saving-section,
    .special-schemes {
        overflow: hidden;
    }

    .scheme-box {
        overflow: hidden;
    }

        .scheme-box .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

    .little-table thead th,
    .little-table td {
        white-space: nowrap;
    }

    .sukanya-card {
        padding: 25px 18px;
    }
}

@media (max-width:576px) {

    .loan-cta {
        padding: 60px 0;
    }

    .loan-cta-box {
        padding: 45px 25px;
        border-radius: 22px;
    }

        .loan-cta-box h2 {
            font-size: 1.65rem;
        }

        .loan-cta-box p {
            font-size: .95rem;
        }

        .loan-cta-box .btn {
            width: 100%;
            padding: 14px;
        }
    .deposit-section {
        padding: 70px 0;
    }

    .deposit-title {
        font-size: 28px;
    }

    .feature-card {
        padding: 15px;
    }

    .interest-table td {
        padding: 15px;
        font-size: 14px;
    }

    .rate {
        min-width: 75px;
        font-size: 14px;
    }
}


