.logo img {
    max-width: 80%;
}

#goldsection h2 {
    font-size: 2rem;
}

.main-footer {
    background: #ebebeb;
}

.footer-style-two .footer-bottom {
    position: relative;
    width: 100%;
    background: #0C5CB5;
}

.footerbox {
    position: relative;
    /* background: #f5f4f4; */
}

.footerbox .contact-widget .certified-box {
    position: relative;
    /* background: #9D0889; */
    background: #510047;
    padding: 19px 20px 18px 125px;
    margin-bottom: 48px;
}

.footerbox .contact-widget .certified-box .image-box {
    position: absolute;
    left: 29px;
    top: 25px;
}

.footerbox .contact-widget .certified-box h4 {
    font-size: 20px;
    line-height: 26px;
    color: #fff;
    max-width: 320px;
    margin-bottom: 10px;
}

.footerbox .contact-widget .certified-box span {
    position: relative;
    display: block;
    color: rgba(255, 255, 255, 0.50);
}

.footer-style-two .links-widget .links-list li a {
    color: #b8b5ce;
}


.footer-style-two .links-widget .links-list li span {
    color: #8f89ac;
}

.main-footer .widget-section {
    position: relative;
    padding: 60px 0px 50px 0px;
    /* border-bottom: 1px solid #e2e0e0; */
    border-top: 1px solid #e2e0e0;
    border-bottom: 1px dashed #c4c4c4;
}

.main-footer .contact-widget .certified-box {
    margin-bottom: 5px;
    background: #00357A;
}

.main-footer .footer-bottom .bottom-inner {
    padding: 20px 0px 15px 0px;
}

.table-header-gradient {
    background: linear-gradient(90deg, #2563eb, #1e40af);
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.uppercase {
    text-transform: uppercase;
}

.bdr {
    border-radius: 10px;
}

.schemetable> :not(caption)>*>* {
    padding: 0.2rem 0.2rem;
    font-size: 1rem;
}

.schemetable th,
.schemetable td {
    font-family: 'Inter', sans-serif;
    /* padding: 12px; */
}

.text-nfp-primary {
    --tw-text-opacity: 1;
    color: #204BC1;
}

.font-weight-bold {
    font-weight: bold;
}


.team-block-one .inner-box.contactbox {
    background: none;
}

.team-block-one .inner-box.contactbox .lower-content h3 {
    color: #fff;
}

.carousel-item {
    height: 100vh;
    /* Occupies full viewport height */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-section .banner-carousel .owl-dots {
    top: 53%;
}

.banner-section .banner-carousel .owl-nav {
    top: 50%;
}

.banner-section .banner-carousel .owl-dots button {

    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 3px solid #fff;
    background: #5d0c09;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    margin: 0px 15px;
    box-shadow: 0px 0px 0px 5px #9D0E8B;
    transition: all 500ms ease;
}


.registered .title-box .rotate-box {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100px;
    height: 100px;
    display: flex;
    background: #f5f4f4;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
}

.registered .title-box .rotate-box:before {
    position: absolute;
    content: '';
    background-image: url(../images/shape/shape-40.png);
    width: 120%;
    height: 120%;
    left: 0px;
    top: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.registered .title-box .rotate-box .curved-circle-2 {
    position: absolute;
    left: 60px;
    top: 3px;
    font-size: 14px;
    line-height: 20px;
    font-family: var(--title-font);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.registered .title-box .shape {
    position: absolute;
    right: 30px;
    bottom: 0px;
    width: 261px;
    height: 311px;
    background-repeat: no-repeat;
}

.registered .title-box .description {
    text-align: left;
}

.investment-block-one {
    background: #00357A;
}

.investment-block-two .inner-box {
    /* background: #740066; */
    background: #21a7db;
}

.investment-block-two .inner-box .video-btn a {
    background: none;
}

.contact-section.schemeblock .tab-btns .tab-btn{
  width:90%;
}

@media (max-width: 576px) {
    .schemetable {
        font-size: 12px !important;
    }

    .schemetable th,
    .schemetable td {
        padding: 4px !important;
        font-size: 11px !important;
    }

    .schemetable .fs-5 {
        font-size: 14px !important;
        /* Adjust footer total */
    }
}
.blue-striped tbody tr:nth-of-type(odd) {
    background-color: #e7f1ff !important; /* Light blue */
}

.blue-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff !important; /* White */
}
.table-responsive.bdr {
    max-height: 500px;
}

/* =====================================================
   CMS LEGAL PAGES — Rendered content styles
   ===================================================== */
.cms-legal-content {
    font-size: 15px;
    line-height: 1.85;
    color: #3a3a3a;
    max-width: 860px;
}
.cms-legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #001533;
    margin: 0 0 0.6em;
}
.cms-legal-content h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #001533;
    margin: 1.6em 0 0.5em;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fd;
}
.cms-legal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0D5BB5;
    margin: 1.3em 0 0.4em;
}
.cms-legal-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0D5BB5;
    margin: 1.1em 0 0.35em;
}
.cms-legal-content p {
    margin-bottom: 1em;
}
.cms-legal-content ul,
.cms-legal-content ol {
    padding-left: 1.6em;
    margin-bottom: 1em;
}
.cms-legal-content li {
    margin-bottom: 0.4em;
}
.cms-legal-content blockquote {
    border-left: 4px solid #0D5BB5;
    margin: 1.2em 0;
    padding: 12px 20px;
    background: #f0f4fb;
    color: #444;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}
.cms-legal-content a {
    color: #0D5BB5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cms-legal-content a:hover {
    color: #094a96;
}
.cms-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 14px;
}
.cms-legal-content table th,
.cms-legal-content table td {
    border: 1px solid #dde2e8;
    padding: 10px 14px;
    text-align: left;
}
.cms-legal-content table th {
    background: #0D5BB5;
    color: #fff;
    font-weight: 600;
}
.cms-legal-content table tr:nth-child(even) td {
    background: #f8faff;
}
.cms-legal-content hr {
    border: none;
    border-top: 1px solid #e0e6ed;
    margin: 2em 0;
}
.cms-legal-content pre,
.cms-legal-content code {
    background: #f4f7fc;
    border: 1px solid #dde2e8;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}
.cms-legal-content pre {
    padding: 16px 20px;
    overflow-x: auto;
    white-space: pre-wrap;
}
@media (max-width: 767px) {
    .cms-legal-content { font-size: 14px; }
    .cms-legal-content h1 { font-size: 1.6rem; }
    .cms-legal-content h2 { font-size: 1.3rem; }
    .cms-legal-content h3 { font-size: 1.1rem; }
    .cms-legal-content table { font-size: 12px; }
}

/* =====================================================
   NIDHI SERVICES PAGE — Custom Styles
   ===================================================== */

/* --- Financial Product Cards --- */
.nidhi-product-card {
    background: #fff;
    border-radius: 14px;
    padding: 40px 28px;
    box-shadow: 0 4px 28px rgba(0, 53, 122, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.nidhi-product-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--nidhi-card-color, #00357A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.nidhi-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 53, 122, 0.14);
}
.nidhi-product-card:hover::after {
    transform: scaleX(1);
}
.nidhi-product-card .card-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
    color: var(--nidhi-card-color, #00357A);
}
.nidhi-product-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin: 14px 0 12px;
}
.nidhi-product-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.75;
}
.nidhi-product-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}
.nidhi-product-card .feature-list li {
    color: #555;
    font-size: 14px;
    padding: 5px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.nidhi-product-card .feature-list li i {
    color: var(--nidhi-card-color, #00357A);
    margin-top: 3px;
    flex-shrink: 0;
}
.nidhi-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}
.nidhi-icon-circle i {
    font-size: 26px;
    color: #fff;
}

/* --- Security Section Pillars --- */
.nidhi-security-pillar {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: background 0.3s ease;
}
.nidhi-security-pillar:hover {
    background: rgba(255, 255, 255, 0.12);
}
.nidhi-security-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.nidhi-security-icon i {
    font-size: 22px;
    color: #fff;
}
.nidhi-security-pillar h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.nidhi-security-pillar p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.65;
    margin: 0;
}

/* --- Technology Services Cards --- */
.nidhi-tech-section {
    background: #f4f7fc;
}
.nidhi-tech-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    box-shadow: 0 2px 18px rgba(0, 53, 122, 0.07);
    border-bottom: 4px solid var(--tech-card-color, #00357A);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.nidhi-tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 53, 122, 0.13);
}
.nidhi-tech-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--tech-icon-bg, #e8f0fd);
}
.nidhi-tech-icon i {
    font-size: 22px;
    color: var(--tech-card-color, #00357A);
}
.nidhi-tech-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.nidhi-tech-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
}

/* --- Security stats bar --- */
.nidhi-stat-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px 24px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
}
.nidhi-stat-bar .stat-item {
    text-align: center;
    flex: 1;
}
.nidhi-stat-bar .stat-item .num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}
.nidhi-stat-bar .stat-item .lbl {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}
.nidhi-stat-bar .stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* --- Security section dark background override --- */
.nidhi-security-section {
    background: #001533 !important;
    position: relative;
    overflow: hidden;
}
.nidhi-security-section .big-text {
    color: rgba(255, 255, 255, 0.04) !important;
}
.nidhi-security-section .sec-title .sub-title {
    color: var(--secondary-color);
}
.nidhi-security-section .sec-title .sub-title:before,
.nidhi-security-section .sec-title .sub-title:after {
    background: var(--secondary-color);
}

/* --- Responsive tweaks --- */
@media (max-width: 991px) {
    .nidhi-stat-bar .stat-item .num { font-size: 20px; }
    .nidhi-product-card { padding: 32px 22px; }
}
@media (max-width: 575px) {
    .nidhi-stat-bar { flex-wrap: wrap; gap: 12px; }
    .nidhi-stat-bar .stat-divider { display: none; }
    .nidhi-tech-card, .nidhi-product-card { padding: 28px 18px; }
}

/* ============================================================
   INTEREST CALCULATOR PAGE
   ============================================================ */

/* ── Stats Bar ───────────────────────────────────────────────── */
.ic-stats-bar {
    background: #001533;
    padding: 18px 0;
}
.ic-stats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.ic-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 30px;
    color: #fff;
}
.ic-stat-item i {
    font-size: 24px;
    color: var(--secondary-color, #f4a32d);
    flex-shrink: 0;
}
.ic-stat-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.ic-stat-item span {
    font-size: 12px;
    color: rgba(255,255,255,.6);
}
.ic-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.15);
    flex-shrink: 0;
}

/* ── Product Showcase Cards ─────────────────────────────────── */
.ic-product-card {
    background: #fff;
    border-radius: 18px;
    padding: 34px 28px 28px;
    border: 2px solid #eef0f5;
    transition: all 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.ic-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--ic-color, #00b894);
    transform: scaleX(0);
    transition: transform .35s ease;
    border-radius: 18px 18px 0 0;
}
.ic-product-card:hover {
    border-color: var(--ic-color, #00b894);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.ic-product-card:hover::before { transform: scaleX(1); }
.ic-product-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ic-product-icon-wrap i {
    font-size: 26px;
    color: #fff;
}
.ic-product-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 12px;
}
.ic-product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #001533;
    margin-bottom: 10px;
}
.ic-product-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.ic-feat-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}
.ic-feat-list li {
    font-size: 13px;
    color: #444;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ic-feat-list li i {
    color: var(--ic-color, #00b894);
    font-size: 14px;
    flex-shrink: 0;
}
.ic-calc-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--ic-color, #00b894);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ic-calc-btn:hover { opacity: .87; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }

/* ── Calculator Section ─────────────────────────────────────── */
.ic-calc-section { background: #f7f9fc; }

/* Tab Nav */
.ic-tab-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.ic-tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 24px;
    background: #fff;
    border: 2px solid #e4e8ef;
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}
.ic-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ic-color, #00b894);
    transform: scaleX(0);
    transition: transform .3s;
}
.ic-tab-btn.active {
    border-color: var(--ic-color, #00b894);
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ic-tab-btn.active::after { transform: scaleX(1); }
.ic-tab-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: background .3s;
}
.ic-tab-btn.active .ic-tab-dot { background: var(--ic-color, #00b894); }
.ic-tab-title {
    font-size: 14px;
    font-weight: 700;
    color: #334;
}
.ic-tab-rate {
    font-size: 12px;
    color: var(--ic-color, #00b894);
    font-weight: 600;
}
.ic-tab-btn:not(.active) .ic-tab-rate { color: #999; }

/* Calculator Body */
.ic-calc-body {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 50px rgba(0,0,0,.08);
    overflow: hidden;
    --ic-slider: #00b894;
}

/* Input Panel */
.ic-input-panel {
    padding: 36px 32px;
    border-right: 1px solid #eef0f5;
    height: 100%;
}
.ic-product-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #f7f9fc;
    border-radius: 14px;
    margin-bottom: 28px;
}
.ic-product-icon-sm {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .4s;
}
.ic-product-icon-sm i { font-size: 22px; color: #fff; }
.ic-product-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #001533;
    margin-bottom: 3px;
}
.ic-product-header p { font-size: 12px; color: #888; margin: 0; }

/* Field Groups */
.ic-field-group { margin-bottom: 28px; }
.ic-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #445;
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ic-field-label i { color: var(--ic-slider, #00b894); }

/* Amount Input */
.ic-amount-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e4e8ef;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .3s;
    margin-bottom: 14px;
}
.ic-amount-input-wrap:focus-within { border-color: var(--ic-slider, #00b894); }
.ic-rupee {
    padding: 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--ic-slider, #00b894);
    background: #f7f9fc;
    border-right: 2px solid #e4e8ef;
    height: 52px;
    display: flex;
    align-items: center;
}
.ic-amount-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: #001533;
    background: transparent;
    height: 52px;
}
.ic-amount-input::-webkit-inner-spin-button,
.ic-amount-input::-webkit-outer-spin-button { opacity: 0; }

/* Range Slider */
.ic-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--ic-slider, #00b894) 0%, var(--ic-slider, #00b894) var(--val, 10%), #e4e8ef var(--val, 10%));
    outline: none;
    cursor: pointer;
    margin-bottom: 8px;
}
.ic-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ic-slider, #00b894);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    cursor: pointer;
    transition: transform .2s;
}
.ic-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }
.ic-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ic-slider, #00b894);
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    cursor: pointer;
}
.ic-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #aaa;
    margin-bottom: 14px;
}

/* Presets */
.ic-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ic-preset-btn {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #e4e8ef;
    background: #f7f9fc;
    font-size: 12px;
    font-weight: 600;
    color: #556;
    cursor: pointer;
    transition: all .25s;
}
.ic-preset-btn.active,
.ic-preset-btn:hover {
    border-color: var(--ic-slider, #00b894);
    background: var(--ic-slider, #00b894);
    color: #fff;
}

/* Tenure buttons */
.ic-tenure-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.ic-tenure-btn {
    flex: 1;
    min-width: 54px;
    padding: 10px 8px;
    border-radius: 10px;
    border: 2px solid #e4e8ef;
    background: #f7f9fc;
    font-size: 13px;
    font-weight: 700;
    color: #556;
    cursor: pointer;
    transition: all .25s;
    text-align: center;
}
.ic-tenure-btn.active,
.ic-tenure-btn:hover {
    border-color: var(--ic-slider, #00b894);
    background: var(--ic-slider, #00b894);
    color: #fff;
}
.ic-tenure-display {
    font-size: 14px;
    font-weight: 700;
    color: #001533;
    margin-bottom: 8px;
    padding: 10px 14px;
    background: #f7f9fc;
    border-radius: 8px;
    text-align: center;
}

/* Rate Pill */
.ic-rate-badge-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ic-rate-pill, .ic-compound-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    transition: all .4s;
}
.ic-rate-pill i, .ic-compound-pill i { font-size: 14px; }

/* Result Panel */
.ic-result-panel {
    padding: 36px 32px;
    background: #fff;
}
.ic-result-top {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f5;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.ic-result-primary { flex: 1; min-width: 160px; }
.ic-result-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #888;
    margin-bottom: 8px;
}
.ic-result-amount {
    font-size: 38px;
    font-weight: 800;
    color: #001533;
    line-height: 1.1;
    margin-bottom: 6px;
    font-feature-settings: "tnum";
}
.ic-result-sub {
    font-size: 13px;
    color: #aaa;
    margin: 0;
}

/* Donut */
.ic-donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ic-donut-svg {
    width: 140px;
    height: 140px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.08));
}
.donut-pct {
    font-size: 26px;
    font-weight: 800;
    fill: #001533;
}
.donut-label-text {
    font-size: 11px;
    fill: #aaa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.ic-donut-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: center;
}
.ic-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Metrics Grid */
.ic-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.ic-metric-card {
    background: #f7f9fc;
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 2px solid transparent;
    transition: border-color .3s;
}
.ic-metric-card.highlight {
    background: linear-gradient(135deg, #fff8f0, #fff3e6);
    border-color: #f4a32d30;
}
.ic-metric-icon { font-size: 18px; }
.ic-metric-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.ic-metric-val {
    font-size: 17px;
    font-weight: 800;
    color: #001533;
}

/* Breakdown */
.ic-breakdown-wrap {
    border-top: 1px solid #eef0f5;
    padding-top: 22px;
}
.ic-breakdown-title {
    font-size: 14px;
    font-weight: 700;
    color: #334;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ic-breakdown-title i { color: var(--ic-slider, #00b894); }
.ic-breakdown-table-wrap {
    overflow-x: auto;
}
.ic-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.ic-breakdown-table thead th {
    padding: 10px 14px;
    background: #f7f9fc;
    color: #778;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
    text-align: left;
    border-bottom: 2px solid #eef0f5;
}
.ic-breakdown-table tbody tr:hover { background: #fafbff; }
.ic-breakdown-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #f0f2f7;
    color: #334;
    font-weight: 600;
}
.bk-year-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* ── Comparison Section ─────────────────────────────────────── */
.ic-compare-section { background: #f7f9fc; }
.ic-compare-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    border: 2px solid #eef0f5;
    transition: all .35s;
    height: 100%;
    position: relative;
}
.ic-compare-card:hover {
    border-color: var(--ic-color);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.09);
}
.ic-compare-best {
    border-color: #6c5ce7 !important;
    box-shadow: 0 12px 40px rgba(108,92,231,.15) !important;
}
.ic-best-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: #6c5ce7;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 0 0 10px 10px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.ic-compare-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ic-compare-icon i { font-size: 22px; color: #fff; }
.ic-compare-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #001533;
    margin-bottom: 6px;
}
.ic-compare-rate {
    font-size: 13px;
    font-weight: 700;
    color: var(--ic-color);
    margin-bottom: 16px;
}
.ic-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f7;
    font-size: 13px;
}
.ic-compare-row span { color: #888; }
.ic-compare-row strong { color: #334; font-weight: 700; }
.ic-compare-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7f9fc, #eef0f5);
    margin: 14px 0;
    font-size: 13px;
}
.ic-compare-total span { color: #556; font-weight: 600; }
.ic-compare-total strong { font-size: 16px; font-weight: 800; color: var(--ic-color); }
.ic-compare-bar {
    height: 6px;
    background: #eef0f5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.ic-compare-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .8s ease;
    max-width: 100%;
}
.ic-compare-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 0;
}

/* ── How It Works ───────────────────────────────────────────── */
.ic-howit-section { background: #fff; }
.ic-step-card {
    background: #f7f9fc;
    border-radius: 20px;
    padding: 34px 28px;
    border: 2px solid #eef0f5;
    text-align: center;
    transition: all .35s;
    height: 100%;
    position: relative;
}
.ic-step-card:hover {
    background: #fff;
    border-color: var(--secondary-color, #f4a32d);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.ic-step-num {
    font-size: 48px;
    font-weight: 900;
    color: #eef0f5;
    line-height: 1;
    margin-bottom: 8px;
    font-family: 'Hanken Grotesk', sans-serif;
}
.ic-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #001533, #003377);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.ic-step-icon i { font-size: 24px; color: var(--secondary-color, #f4a32d); }
.ic-step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #001533;
    margin-bottom: 10px;
}
.ic-step-card p { font-size: 14px; color: #778; line-height: 1.6; margin: 0; }

/* ── CTA Section ────────────────────────────────────────────── */
.ic-cta-section {
    background: linear-gradient(135deg, #001533 0%, #003377 50%, #001533 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.ic-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ic-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.ic-cta-text h2 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.ic-cta-text p { font-size: 15px; color: rgba(255,255,255,.7); margin: 0; }
.ic-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .ic-metrics-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .ic-input-panel  { border-right: none; border-bottom: 1px solid #eef0f5; }
    .ic-result-panel { padding: 28px 24px; }
    .ic-tab-btn { min-width: 130px; padding: 12px 16px; }
    .ic-result-amount { font-size: 30px; }
    .ic-cta-inner { flex-direction: column; text-align: center; }
    .ic-cta-btns { justify-content: center; }
}
@media (max-width: 767px) {
    .ic-stats-inner { flex-direction: column; gap: 4px; }
    .ic-stat-divider { width: 80%; height: 1px; }
    .ic-result-top { flex-direction: column; align-items: flex-start; }
    .ic-donut-wrap { flex-direction: row; align-items: center; width: 100%; gap: 16px; }
    .ic-donut-svg { width: 100px; height: 100px; }
    .ic-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ic-tab-nav { gap: 6px; }
    .ic-tab-btn { min-width: calc(50% - 3px); flex: 1; }
    .ic-input-panel, .ic-result-panel { padding: 24px 18px; }
    .ic-result-amount { font-size: 26px; }
    .ic-metrics-grid { grid-template-columns: 1fr 1fr; }
    .ic-cta-text h2 { font-size: 22px; }
}
