/* EMI Calculator Specific Styles - Scoped to avoid affecting header/footer */
    .emi-calculator-wrapper {
        font-family: 'Inter', sans-serif;
        background-color: #f1f5f9;
        min-height: 100vh;
    }
    
    .emi-calculator-wrapper * {
        box-sizing: border-box;
    }
    
    .emi-hero-section {
        background: linear-gradient(135deg, #262626 0%, #404040 100%);
        padding: 60px 0;
        color: #fff;
        position: relative;
        overflow: hidden;
    }
    
    .emi-hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 60%;
        height: 200%;
        background: rgba(255, 189, 41, 0.1);
        transform: rotate(30deg);
        border-radius: 50%;
    }
    
    .emi-hero-title {
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 15px;
        position: relative;
    }
    
    .emi-hero-title span {
        color: #ffbd29;
    }
    
    .emi-hero-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 20px;
    }
    
    .emi-rating-badge {
        display: inline-flex;
        align-items: center;
        background: rgba(255, 189, 41, 0.2);
        padding: 8px 16px;
        border-radius: 50px;
        font-size: 0.9rem;
    }
    
    .emi-rating-badge i {
        color: #ffbd29;
        margin-right: 3px;
    }
    
    .emi-main-content {
        padding: 50px 0;
    }
    
    .emi-ad-space {
        background: #fff;
        border: 2px dashed #ddd;
        border-radius: 12px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
        font-size: 0.9rem;
        position: sticky;
        top: 20px;
    }
    
    .emi-calculator-card {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: none;
    }
    
    .emi-card-header {
        background: linear-gradient(135deg, #262626 0%, #404040 100%);
        color: #fff;
        padding: 25px 30px;
        border: none;
    }
    
    .emi-card-header h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
    }
    
    .emi-card-header p {
        margin: 5px 0 0;
        opacity: 0.8;
        font-size: 0.9rem;
    }
    
    .emi-card-body {
        padding: 35px;
    }
    
    .emi-loan-type-tabs {
        display: flex;
        gap: 10px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }
    
    .emi-loan-type-btn {
        padding: 12px 24px;
        border: 2px solid #e2e8f0;
        background: #fff;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #262626;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .emi-loan-type-btn:hover {
        border-color: #ffbd29;
        color: #ffbd29;
    }
    
    .emi-loan-type-btn.active {
        background: #ffbd29;
        border-color: #ffbd29;
        color: #262626;
    }
    
    .emi-loan-type-btn i {
        margin-right: 8px;
    }
    
    .emi-input-group {
        margin-bottom: 30px;
    }
    
    .emi-input-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }
    
    .emi-input-label label {
        font-weight: 600;
        color: #262626;
        font-size: 1rem;
    }
    
    .emi-input-value {
        font-weight: 700;
        color: #ffbd29;
        font-size: 1.1rem;
        background: #fffbeb;
        padding: 5px 15px;
        border-radius: 8px;
    }
    
    .emi-currency-input {
        position: relative;
    }
    
    .emi-currency-symbol {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: #262626;
        font-size: 1.1rem;
    }
    
    .emi-form-control {
        width: 100%;
        padding: 15px 15px 15px 45px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #262626;
        transition: all 0.3s ease;
    }
    
    .emi-form-control:focus {
        outline: none;
        border-color: #ffbd29;
        box-shadow: 0 0 0 4px rgba(255, 189, 41, 0.1);
    }
    
    .emi-range-slider {
        width: 100%;
        height: 8px;
        border-radius: 4px;
        background: #e2e8f0;
        outline: none;
        -webkit-appearance: none;
        margin-top: 15px;
    }
    
    .emi-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #ffbd29;
        cursor: pointer;
        border: 4px solid #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.2s ease;
    }
    
    .emi-range-slider::-webkit-slider-thumb:hover {
        transform: scale(1.1);
    }
    
    .emi-range-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #ffbd29;
        cursor: pointer;
        border: 4px solid #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .emi-range-limits {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        color: #94a3b8;
        font-size: 0.85rem;
    }
    
    .emi-tenure-options {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    
    .emi-tenure-btn {
        flex: 1;
        padding: 12px;
        border: 2px solid #e2e8f0;
        background: #fff;
        border-radius: 10px;
        font-weight: 600;
        font-size: 0.9rem;
        color: #64748b;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .emi-tenure-btn:hover {
        border-color: #ffbd29;
    }
    
    .emi-tenure-btn.active {
        background: #262626;
        border-color: #262626;
        color: #fff;
    }
    
    .emi-calculate-btn {
        width: 100%;
        padding: 18px;
        background: linear-gradient(135deg, #ffbd29 0%, #f59e0b 100%);
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        color: #262626;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 20px;
    }
    
    .emi-calculate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(255, 189, 41, 0.4);
    }
    
    .emi-calculate-btn i {
        margin-right: 10px;
    }
    
    .emi-results-section {
        background: linear-gradient(135deg, #262626 0%, #404040 100%);
        border-radius: 16px;
        padding: 30px;
        margin-top: 30px;
        display: none;
    }
    
    .emi-results-section.show {
        display: block;
        animation: fadeInUp 0.5s ease;
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .emi-result-title {
        color: #fff;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .emi-result-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .emi-result-item {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 20px;
        text-align: center;
    }
    
    .emi-result-item.highlight {
        background: #ffbd29;
    }
    
    .emi-result-item.highlight .emi-result-label,
    .emi-result-item.highlight .emi-result-value {
        color: #262626;
    }
    
    .emi-result-label {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.85rem;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .emi-result-value {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 800;
    }
    
    .emi-chart-section {
        margin-top: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .emi-pie-chart {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        position: relative;
    }
    
    .emi-chart-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .emi-chart-center-label {
        font-size: 0.75rem;
        color: #64748b;
    }
    
    .emi-chart-center-value {
        font-size: 1.1rem;
        font-weight: 800;
        color: #262626;
    }
    
    .emi-chart-legend {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .emi-legend-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .emi-legend-color {
        width: 16px;
        height: 16px;
        border-radius: 4px;
    }
    
    .emi-legend-color.principal {
        background: #ffbd29;
    }
    
    .emi-legend-color.interest {
        background: #262626;
    }
    
    .emi-legend-text {
        color: #fff;
    }
    
    .emi-legend-text span {
        display: block;
        font-size: 0.8rem;
        opacity: 0.7;
    }
    
    .emi-legend-text strong {
        font-size: 1rem;
    }
    
    .emi-amortization-section {
        margin-top: 30px;
    }
    
    .emi-amortization-toggle {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: #fff;
        padding: 12px 24px;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .emi-amortization-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .emi-amortization-table {
        margin-top: 20px;
        max-height: 400px;
        overflow-y: auto;
        display: none;
    }
    
    .emi-amortization-table.show {
        display: block;
    }
    
    .emi-amortization-table table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .emi-amortization-table th,
    .emi-amortization-table td {
        padding: 12px;
        text-align: center;
        color: #fff;
        font-size: 0.85rem;
    }
    
    .emi-amortization-table th {
        background: rgba(255, 189, 41, 0.3);
        font-weight: 600;
        position: sticky;
        top: 0;
    }
    
    .emi-amortization-table tr:nth-child(even) td {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .emi-action-buttons {
        display: flex;
        gap: 15px;
        margin-top: 25px;
    }
    
    .emi-action-btn {
        flex: 1;
        padding: 14px;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
    }
    
    .emi-action-btn.reset {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: #fff;
    }
    
    .emi-action-btn.reset:hover {
        border-color: #fff;
    }
    
    .emi-action-btn.share {
        background: #ffbd29;
        border: none;
        color: #262626;
    }
    
    .emi-action-btn.share:hover {
        background: #f59e0b;
    }
    
    /* Features Section */
    .emi-features-section {
        padding: 60px 0;
        background: #fff;
    }
    
    .emi-section-title {
        font-size: 2rem;
        font-weight: 800;
        color: #262626;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .emi-section-title span {
        color: #ffbd29;
    }
    
    .emi-section-subtitle {
        text-align: center;
        color: #64748b;
        font-size: 1.1rem;
        margin-bottom: 50px;
    }
    
    .emi-feature-card {
        background: #f1f5f9;
        border-radius: 16px;
        padding: 30px;
        height: 100%;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }
    
    .emi-feature-card:hover {
        border-color: #ffbd29;
        transform: translateY(-5px);
    }
    
    .emi-feature-icon {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #ffbd29 0%, #f59e0b 100%);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: #262626;
        margin-bottom: 20px;
    }
    
    .emi-feature-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: #262626;
        margin-bottom: 10px;
    }
    
    .emi-feature-text {
        color: #64748b;
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Content Section */
    .emi-content-section {
        padding: 60px 0;
        background: #f1f5f9;
    }
    
    .emi-content-card {
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    }
    
    .emi-content-title {
        font-size: 1.8rem;
        font-weight: 800;
        color: #262626;
        margin-bottom: 20px;
    }
    
    .emi-content-text {
        color: #475569;
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 20px;
    }
    
    .emi-content-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }
    
    .emi-content-list li {
        padding: 10px 0;
        padding-left: 30px;
        position: relative;
        color: #475569;
    }
    
    .emi-content-list li::before {
        content: '\f00c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        color: #ffbd29;
    }
    
    .emi-formula-box {
        background: #262626;
        border-radius: 12px;
        padding: 25px;
        margin: 25px 0;
        text-align: center;
    }
    
    .emi-formula-box p {
        color: #fff;
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .emi-formula-box code {
        background: #ffbd29;
        color: #262626;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* FAQ Section */
    .emi-faq-section {
        padding: 60px 0;
        background: #fff;
    }
    
    .emi-accordion-item {
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .emi-accordion-header {
        background: #f8fafc;
        padding: 20px 25px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        color: #262626;
        transition: all 0.3s ease;
    }
    
    .emi-accordion-header:hover {
        background: #f1f5f9;
    }
    
    .emi-accordion-header.active {
        background: #262626;
        color: #fff;
    }
    
    .emi-accordion-header i {
        transition: transform 0.3s ease;
    }
    
    .emi-accordion-header.active i {
        transform: rotate(180deg);
        color: #ffbd29;
    }
    
    .emi-accordion-body {
        padding: 0 25px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .emi-accordion-body.show {
        padding: 25px;
        max-height: 500px;
    }
    
    .emi-accordion-body p {
        color: #475569;
        line-height: 1.7;
    }
    
    /* Related Tools Section */
    .emi-related-section {
        padding: 60px 0;
        background: #262626;
    }
    
    .emi-related-section .emi-section-title {
        color: #fff;
    }
    
    .emi-related-section .emi-section-subtitle {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .emi-related-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 25px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        display: block;
    }
    
    .emi-related-card:hover {
        background: #ffbd29;
        transform: translateY(-5px);
    }
    
    .emi-related-card:hover .emi-related-icon,
    .emi-related-card:hover .emi-related-title,
    .emi-related-card:hover .emi-related-text {
        color: #262626;
    }
    
    .emi-related-icon {
        font-size: 2.5rem;
        color: #ffbd29;
        margin-bottom: 15px;
    }
    
    .emi-related-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 8px;
    }
    
    .emi-related-text {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
    }
    
    /* Modal Popup */
    .emi-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        padding: 20px;
    }
    
    .emi-modal-overlay.show {
        display: flex;
    }
    
    .emi-modal-content {
        background: #fff;
        border-radius: 20px;
        padding: 40px;
        max-width: 500px;
        width: 100%;
        text-align: center;
        animation: modalSlideIn 0.3s ease;
    }
    
    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    
    .emi-modal-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        margin: 0 auto 20px;
    }
    
    .emi-modal-icon.success {
        background: #dcfce7;
        color: #22c55e;
    }
    
    .emi-modal-icon.error {
        background: #fef2f2;
        color: #ef4444;
    }
    
    .emi-modal-icon.info {
        background: #fffbeb;
        color: #ffbd29;
    }
    
    .emi-modal-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #262626;
        margin-bottom: 10px;
    }
    
    .emi-modal-text {
        color: #64748b;
        margin-bottom: 25px;
    }
    
    .emi-modal-close {
        padding: 12px 40px;
        background: #262626;
        color: #fff;
        border: none;
        border-radius: 10px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .emi-modal-close:hover {
        background: #ffbd29;
        color: #262626;
    }
    
    /* Responsive Design */
    @media (max-width: 991px) {
        .emi-ad-space {
            min-height: 100px;
            margin-bottom: 30px;
        }
        
        .emi-result-grid {
            grid-template-columns: 1fr;
        }
    }
    
    @media (max-width: 768px) {
        .emi-hero-title {
            font-size: 2rem;
        }
        
        .emi-card-body {
            padding: 25px;
        }
        
        .emi-loan-type-tabs {
            flex-wrap: wrap;
        }
        
        .emi-loan-type-btn {
            flex: 1 1 45%;
        }
        
        .emi-tenure-options {
            flex-wrap: wrap;
        }
        
        .emi-tenure-btn {
            flex: 1 1 45%;
        }
        
        .emi-action-buttons {
            flex-direction: column;
        }
        
        .emi-chart-section {
            flex-direction: column;
        }
    }
    
    /* Currency Select Styling */
    .emi-currency-select {
        padding: 12px 20px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        font-weight: 600;
        color: #262626;
        background: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .emi-currency-select:focus {
        outline: none;
        border-color: #ffbd29;
    }
    
    /* Trust Badges */
    .emi-trust-badges {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
        flex-wrap: wrap;
    }
    
    .emi-trust-badge {
        display: flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
    }
    
    .emi-trust-badge i {
        color: #ffbd29;
        font-size: 1.2rem;
    }