:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #06b6d4;
    --accent-color: #f97316;
    --text-color: #1e293b;
    --text-light: #64748b;
    --background-color: #f8fafc;
    --card-background: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    padding: 0.8rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.logo .highlight-text {
    color: var(--secondary-color);
}

.logo:hover {
    color: #f0f0f0;
}

.logo:hover .highlight-text {
    color: #0ff;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-align: center;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    text-align: center;
    padding: 3.5rem 0;
    margin-bottom: 0;
}

.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Section Header Styles */
.section-header {
    background-color: var(--background-color);
    padding: 2.5rem 0 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Sections */
.main-section {
    padding-bottom: 4rem;
    transition: opacity 0.3s ease;
}

/* Transitions for smoother UI */
.nav-link, .slider, .value-box, .calculate-btn, .apply-btn {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        font-weight: 800;
        padding: 0 10px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-header {
        padding: 1rem 0 0.5rem;
        margin-bottom: 0;
    }
    
    .main-section {
        padding-bottom: 3rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

/* Calculator Section */
.calculator-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    width: 100%;
}

.calculator-header {
    padding: 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.calculator-header .section-title {
    margin: 0;
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
}

.calculator-header p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 1.1rem;
}

.calculator-body {
    padding: 24px;
}

.summary-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 16px;
}

.summary-details {
    flex: 1;
}

.summary-chart {
    flex: 0 0 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donut-chart {
    width: 180px;
    height: 180px;
    position: relative;
}

@media (max-width: 768px) {
    .summary-content {
        flex-direction: column;
        gap: 16px;
    }

    .summary-chart {
        flex: 0 0 150px;
    }

    .donut-chart {
        width: 150px;
        height: 150px;
    }
}

/* Results Section */
.loan-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.loan-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.loan-card:hover {
    transform: translateY(-4px);
}

.loan-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loan-card p {
    color: var(--text-light);
    margin: 0.5rem 0;
}

.loan-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.apply-btn {
    display: block;
    margin: 1.5rem auto 0 auto;
    padding: 0.75rem 2.2rem;
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.apply-btn:hover {
    background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px) scale(1.04);
}

/* Company Apply Button - Loan card buttons */
.company-apply-btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.company-apply-btn:hover {
    background: linear-gradient(90deg, #4338ca, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
    .loan-results {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
        margin: 2rem auto;
    }
    
    .loan-card {
        margin: 0;
    }
}

/* About and FAQ Sections */
.about-section, .faq-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: var(--card-background);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3, .faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 1.5rem 1rem;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
}

/* AdSense-friendly styles */
.ad-container {
    background: var(--card-background);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Hamburger always visible on mobile */
.hamburger {
    display: none;
}
@media (max-width: 768px) {
    .hamburger {
        display: block !important;
        position: absolute;
        right: 1rem;
        top: 1.1rem;
        width: 32px;
        height: 32px;
        cursor: pointer;
        z-index: 1101;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background: white;
        margin: 6px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    nav {
        padding: 0 1rem;
        height: 60px;
    }
    .logo {
        z-index: 1102;
        position: relative;
        cursor: pointer;
        font-size: 1.2rem;
    }
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #4f46e5;
        padding: 1rem;
        flex-direction: column;
        gap: 0.8rem;
        display: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 8px;
        font-size: 1.1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    
    .calculator-container {
        padding: 1.5rem;
    }
    
    .loan-card, .faq-item {
        flex-direction: column;
        text-align: left;
        padding: 1rem;
    }
    
    .loan-actions {
        margin: 1rem 0 0 0;
    }
    
    #sip-calculator {
        flex-direction: column;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .sip-form-area, .sip-chart-area {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
    }
    .sip-chart-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 0.5rem;
        padding: 0.5rem;
        background: #f8fafc;
        border-radius: 10px;
        position: sticky;
        top: 70px;
        z-index: 10;
    }
    .sip-summary {
        padding: 0.75rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    .sip-slider-group {
        margin-bottom: 1rem;
    }
    .sip-slider-label {
        font-size: 0.98rem;
        margin-bottom: 0.25rem;
    }
    .sip-slider-value {
        font-size: 1.05rem;
    }
    .sip-donut-legend {
        flex-direction: row;
        gap: 1rem;
        font-size: 0.95rem;
        margin-top: 0.5rem;
        justify-content: center;
    }
    #sipDonut {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }
}

/* Eligibility Status Styles */
.eligible {
    color: var(--success-color);
    font-weight: 600;
}

.not-eligible {
    color: var(--error-color);
    font-weight: 600;
}

/* SIP Calculator Styles */
#sip-calculator {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.sip-form-area, .sip-chart-area {
    width: 100%;
    padding: 20px;
}

.sip-slider-group {
    margin-bottom: 0.5rem;
}

.sip-slider-label {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sip-slider-value {
    font-weight: 600;
    color: #10b981;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.sip-slider {
    width: 100%;
    margin-top: 0.3rem;
    accent-color: #10b981;
}

.sip-summary {
    margin-top: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

.sip-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.sip-summary-label {
    color: #64748b;
}

.sip-summary-value {
    font-weight: 600;
    color: #222;
}

.sip-invest-btn {
    margin-top: 1.5rem;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.9rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sip-invest-btn:hover {
    background: #059669;
}

.sip-donut-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.2rem;
    font-size: 0.98rem;
}

.sip-donut-legend span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sip-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.sip-dot.investment {
    background-color: #4f46e5;
}

.sip-dot.returns {
    background-color: #06b6d4;
}

@media (max-width: 900px) {
    #sip-calculator {
        width: 100%;
        max-width: 1200px;
    }
    .sip-form-area, .sip-chart-area {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* General Mobile Font and Spacing */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .logo {
        font-size: 1.1rem;
    }
    .sip-slider-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    #sipDonut {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
}

/* EMI Calculator Styles */
.tenure-input {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.tenure-input input {
    flex: 1;
}

.tenure-input select {
    width: 100px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
}

.emi-summary {
    margin-top: 2rem;
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.emi-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.emi-summary-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.emi-summary-label {
    color: #64748b;
    font-weight: 500;
}

.emi-summary-value {
    font-weight: 600;
    color: #4f46e5;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .tenure-input {
        gap: 0.5rem;
    }
    .tenure-input select {
        width: 80px;
        padding: 0.6rem;
    }
    .emi-summary {
        padding: 1rem;
        font-size: 1rem;
    }
    .emi-summary-value {
        font-size: 1.1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-section {
    padding: 2rem 0;
    margin: 0;
    animation: fadeIn 0.5s ease-out;
}

/* SEO Content Styling */
.seo-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.seo-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

.seo-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.seo-content ul, .seo-content ol {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.seo-content li {
    margin-bottom: 0.5rem;
}

/* General Mobile Font and Spacing */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .logo {
        font-size: 1.1rem;
    }
    .sip-slider-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

/* --- EMI Calculator Professional Layout --- */
#emi-calculator.calculator-section {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0;
}
#emi-calculator .calculator-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: var(--card-background);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2.5rem 2rem 2rem 2rem;
    align-items: flex-start;
}
.emi-form-area {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    justify-content: flex-start;
}
.emi-slider-group {
    margin-bottom: 0;
}
.emi-slider-label {
    margin-bottom: 0.5rem;
}
.emi-slider-value {
    background: #e0f2fe;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 6px;
    padding: 0.2rem 1.1rem;
    margin-left: 1rem;
    min-width: 90px;
    text-align: right;
    letter-spacing: 1px;
}
.emi-slider {
    width: 100%;
    margin-top: 0.5rem;
    accent-color: var(--primary-color);
    height: 4px;
    border-radius: 2px;
    background: #e5e7eb;
}
.emi-chart-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.emi-donut-legend {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: center;
}
.emi-donut-legend span {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}
.emi-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}
.emi-dot.principal {
    background-color: #4f46e5;
}
.emi-dot.interest {
    background-color: #06b6d4;
}

@media (max-width: 768px) {
    .emi-chart-area {
        padding: 1rem;
    }
    
    .donut-chart {
        width: 150px;
        height: 150px;
    }
    
    .emi-donut-legend {
        margin-top: 0;
        margin-bottom: 0;
        padding: 3px 6px;
        gap: 5px;
    }
    
    .emi-donut-legend span {
        font-size: 0.8rem;
    }
    
    .emi-dot {
        width: 12px;
        height: 12px;
    }
}

.emi-summary {
    margin-top: 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem 1.5rem;
    font-size: 1.08rem;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.emi-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.7rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.7rem;
}
.emi-summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.emi-summary-label {
    color: #64748b;
}
.emi-summary-value {
    font-weight: 600;
    color: #222;
}
@media (max-width: 900px) {
    #emi-calculator .calculator-container {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0.5rem;
    }
    .emi-form-area, .emi-chart-area {
        width: 100%;
        min-width: 0;
    }
    .emi-summary {
        max-width: 100%;
    }
    .emi-chart-area {
        align-items: center;
    }
    .emi-donut-legend {
        justify-content: center;
    }
}

.emi-calc-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 1200px;
}

.emi-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.emi-calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.emi-calc-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
}

.emi-donut {
    width: 220px;
    height: 220px;
    position: relative;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .emi-calc-grid {
        display: flex;
        flex-direction: column;
    }
    
    .emi-calc-inputs {
        order: 1;
    }
    
    .calculator-summary {
        order: 2;
    }
    
    .emi-calc-card {
        margin: 0.5rem auto;
        padding: 1rem 1rem;
    }
    
    .emi-calc-chart {
        padding: 5px 15px 15px;
        text-align: center;
    }
    
    .emi-donut {
        width: 180px;
        height: 180px;
        max-width: 100%;
        margin: 0 auto;
    }
}

.slider-group {
    margin-bottom: 15px;
    width: 100%;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.slider-label span:first-child {
    font-weight: 600;
    color: #475569;
}

.value-box {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 6px;
    padding: 4px 12px;
    min-width: 90px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.calculator-summary {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    margin-top: 4px;
    border: 1px solid #e2e8f0;
}

.summary-header h4 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item.total {
    margin-top: 8px;
    border-top: 2px solid #e2e8f0;
    padding-top: 8px;
    font-weight: 700;
}

.summary-item span:first-child {
    color: #475569;
    font-weight: 500;
}

.summary-item .amount {
    font-weight: 700;
    color: #1e293b;
}

.slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4f46e5;
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 6px;
}

/* Improved Grid Layout for EMI Calculator on Laptops */
@media (min-width: 1200px) {
    .emi-calc-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .calculator-container {
        max-width: 1100px;
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Article Content Fixes for Laptop */
.seo-intro h3, .seo-footer h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.seo-intro p, .seo-footer p, .seo-footer li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Form Elements Improvements */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.loan-type-select {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 4px;
    font-size: 1rem;
    color: #1e293b;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.loan-type-select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Fix for slider groups on larger screens */
@media (min-width: 992px) {
    .slider-group {
        margin-bottom: 25px;
    }
    
    .slider-label {
        margin-bottom: 12px;
    }
    
    .slider-label span:first-child {
        font-size: 1.05rem;
    }
    
    .value-box {
        min-width: 110px;
    }
}

/* Chart display fix */
.emi-calc-chart {
    display: flex;
    justify-content: center;
    align-items: center;
}

.emi-donut {
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.seo-article {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.seo-article h3 {
    font-size: 1.8rem;
    color: #1e40af;
    margin: 1.8rem 0 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.seo-article h4 {
    font-size: 1.4rem;
    color: #1e3a8a;
    margin: 1.8rem 0 0.8rem;
    font-weight: 600;
}

.seo-article h5 {
    font-size: 1.15rem;
    color: #2563eb;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.seo-article p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
}

.seo-article ul, .seo-article ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.seo-article li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
    color: #444;
}

.seo-article .formula {
    font-family: monospace;
    background-color: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    border-left: 4px solid #3b82f6;
}

@media (max-width: 768px) {
    .seo-article {
        margin: 25px auto;
        padding: 0 15px;
    }
    
    .seo-article h3 {
        font-size: 1.5rem;
    }
    
    .seo-article h4 {
        font-size: 1.25rem;
    }
    
    .seo-article h5 {
        font-size: 1.1rem;
    }
    
    .seo-article p, .seo-article li {
        font-size: 1rem;
    }
}

.emi-donut-legend {
    display: flex;
    gap: 4px;
    margin-top: 4px;
    align-items: center;
    justify-content: center;
}

/* Improved Loan Eligibility Form */
#eligibility-form {
    background-color: #fafafa;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 550px;
    margin: 0 auto;
}

#eligibility-form input[type="number"],
#eligibility-form select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    color: #1e293b;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

#eligibility-form input[type="number"]:focus,
#eligibility-form select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

#eligibility-form .calculate-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 10px;
    background: linear-gradient(45deg, #4f46e5, #6366f1);
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

#eligibility-form .calculate-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

#eligibility-form .calculate-btn:hover:before {
    left: 100%;
}

#eligibility-form .calculate-btn:hover {
    background: linear-gradient(45deg, #4338ca, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Add form field transitions */
#eligibility-form .form-group {
    transition: transform 0.3s ease;
}

#eligibility-form .form-group:focus-within {
    transform: translateY(-2px);
}

#eligibility-form .form-group:focus-within label {
    color: #4f46e5;
}

/* Removed input-with-icon styling as we no longer use icons inside inputs */

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    #eligibility-form {
        padding: 20px 16px;
    }
    
    #eligibility-form input[type="number"],
    #eligibility-form select {
        padding: 10px 12px;
    }
}

/* Loan Companies Section Styling */
.loan-companies {
    margin-top: 2rem;
}

.loan-companies h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
}

.loan-companies h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.loan-company-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.loan-company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.loan-company-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
}

.loan-company-card h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.loan-company-card .loan-type {
    display: inline-block;
    background: #f8fafc;
    color: #475569;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    border: 1px solid #e2e8f0;
}

.loan-company-card p {
    margin: 0.5rem 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.loan-company-card a {
    margin-top: auto;
    text-decoration: none;
}

.company-apply-btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(79, 70, 229, 0.2);
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.company-apply-btn:hover {
    background: linear-gradient(90deg, #4338ca, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(79, 70, 229, 0.25);
}

.company-apply-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.company-apply-btn:hover:before {
    left: 100%;
}

@media (max-width: 768px) {
    .company-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .loan-company-card {
        padding: 1.25rem;
    }
    
    .loan-companies h3 {
        font-size: 1.3rem;
    }
}

/* Enhanced Footer Styles */
.enhanced-footer {
    background: linear-gradient(to right, #1e293b, #334155);
    color: white;
    padding: 1.5rem 1.5rem 0.8rem;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.enhanced-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
}

/* Add decorative elements to the footer */
.enhanced-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.enhanced-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.enhanced-footer .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.enhanced-footer .footer-section h3 {
    color: #06b6d4;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.2rem;
    text-align: center;
}

.enhanced-footer .mission-section {
    padding-right: 0;
}

.enhanced-footer .mission-text {
    line-height: 1.3;
    color: #e2e8f0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0;
}

.enhanced-footer .footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0.1rem 0;
    text-align: center;
}

.enhanced-footer .footer-section a:hover {
    color: white;
    transform: translateX(3px);
}

.enhanced-footer .footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.8rem 0 0.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.enhanced-footer .footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.enhanced-footer .footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.enhanced-footer .footer-legal a:hover {
    color: white;
}

.enhanced-footer .footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    padding-bottom: 0.2rem;
}

/* Footer social icons styling */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #e6e8ec;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon i {
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icon:hover i.fa-facebook-f {
    color: #1877F2 !important;
}

.social-icon:hover i.fa-x {
    color: #000000 !important;
}

.social-icon:hover i.fa-instagram {
    color: #E1306C !important;
}

.social-icon:hover i.fa-linkedin-in {
    color: #0A66C2 !important;
}

/* Additional footer styling */
/* Improved Footer Logo Styling */
.footer-logo {
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    font-size: 1rem;
}

.footer-logo .highlight-text {
    color: var(--secondary-color);
    position: relative;
}

@media (max-width: 768px) {
    .enhanced-footer {
        padding: 1.2rem 1.2rem 0.6rem;
    }

    .enhanced-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .enhanced-footer .footer-section h3 {
        margin-bottom: 0.5rem;
    }

    .enhanced-footer::after,
    .enhanced-footer .footer-content::before {
        display: none;
    }

    .enhanced-footer .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Page Content Styles for Legal Pages */
.page-content {
    padding: 3rem 0 5rem;
    min-height: 70vh;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 800;
}

.content-box {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto;
}

.content-box h2 {
    color: #1e293b;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    font-weight: 700;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #475569;
}

.content-box ul, .content-box ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #475569;
    line-height: 1.7;
}

.content-box li {
    margin-bottom: 0.8rem;
}

.content-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.content-box a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    .enhanced-footer {
        padding: 2.5rem 1.5rem 1rem;
    }
    
    .enhanced-footer .footer-content {
        gap: 2rem;
    }
    
    .enhanced-footer .footer-section h3 {
        margin-bottom: 1rem;
    }
}

/* Tool Overview Section */
.tool-overview {
    padding: 60px 0;
    background-color: #f8fafc;
}

.tool-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
}

.overview-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.overview-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.03);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 0 6px 6px rgba(0, 0, 0, 0.06);
}

.overview-card h3 {
    color: #2563eb;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.overview-card p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.overview-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.overview-card li {
    color: #475569;
    margin-bottom: 8px;
    position: relative;
    list-style-type: none;
    padding-left: 10px;
}

.overview-card li:before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: -10px;
}

@media (max-width: 768px) {
    .overview-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .overview-card {
        max-width: 100%;
        width: 100%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.slider-donut-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.slider-donut-row .interest-rate-group {
    flex: 1 1 60%;
    min-width: 0;
}

.slider-donut-row .emi-calc-chart {
    flex: 0 0 140px;
    min-width: 120px;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0;
}

@media (min-width: 701px) {
    .slider-donut-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slider-donut-row .interest-rate-group,
    .slider-donut-row .emi-calc-chart {
        flex: unset;
        min-width: unset;
    }
} 