body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8fafc;
    color: #334155;
    line-height: 1.6;
}
header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    padding: 2.5rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.header-logo {
    position: absolute;
    top: 15px;
    left: 20px;
    width: 70px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}
.header-text {
    text-align: center;
}
header h1 {
    margin-top: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}
nav {
    background-color: #1e293b;
    color: #fff;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    transition: color 0.3s;
}
nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}
.container {
    width: 95%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 2rem 0;
}
.section {
    background: #fff;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
h2 {
    color: #1e3a8a;
    border-bottom: 3px solid #3b82f6;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-top: 0;
}
.about-content {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-left: 4px solid #3b82f6;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}
.greeting {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}
.name-title {
    color: #1e3a8a;
    font-size: 2.2rem;
    margin: 0.5rem 0 0.2rem 0;
}
.designation {
    color: #10b981;
    font-weight: 600;
    margin-top: 0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.description {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}
.fund-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.fund-links .fund-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    color: #1e3a8a;
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}
.fund-links .fund-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.12);
}
.fund-links .fund-item img {
    max-width: 120px;
    height: 60px;
    object-fit: contain;
}
ul {
    list-style-type: none;
    padding-left: 0;
}
ul li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}
ul li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}
.contact-info p {
    font-size: 1.1rem;
    margin: 10px 0;
}
.contact-info a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}
.contact-info a:hover {
    text-decoration: underline;
}
footer {
    background-color: #0f172a;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* --- Calculator Styles --- */
.calc-tabs {
    display: flex;
    width: fit-content;
    margin: 0 auto 2rem auto;
    background: #f8fafc;
    padding: 0.4rem;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    gap: 0.5rem;
}
.tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.5rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn.active, .tab-btn:hover {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.calc-wrapper {
    display: none;
}
.calc-wrapper.active {
    display: block;
}
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.input-group {
    margin-bottom: 2rem;
}
.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}
.input-with-symbol {
    background: #f8fafc;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
}
.input-with-symbol input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #1e3a8a;
    width: 80px;
    text-align: right;
    outline: none;
}
/* Hide number input spin arrows */
.input-with-symbol input::-webkit-outer-spin-button,
.input-with-symbol input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-with-symbol input[type=number] {
    -moz-appearance: textfield;
}
.input-with-symbol span {
    color: #64748b;
    margin: 0 5px;
    font-weight: 600;
}
input[type=range] {
    width: 100%;
    accent-color: #10b981;
    cursor: pointer;
}
.calc-results {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.result-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #bfdbfe;
    padding-bottom: 1rem;
}
.result-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.result-box p {
    margin: 0;
    color: #475569;
    font-weight: 600;
    font-size: 1.1rem;
}
.result-box h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.4rem;
}
.total-value p, .total-value h3 {
    color: #10b981;
    font-size: 1.6rem;
    font-weight: 700;
}

/* Make Calculator mobile friendly */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 1rem;
    }
    .header-logo {
        position: static;
        margin-bottom: 0;
        width: 60px;
    }
    .header-text {
        text-align: left;
    }
    header h1 {
        font-size: 1.4rem;
    }
    .section {
        padding: 1.5rem;
    }
    .calc-tabs {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 16px;
    }
    .tab-btn {
        width: 100%;
    }
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .calc-results {
        padding: 1.5rem;
    }
    .result-box h3 {
        font-size: 1.2rem;
    }
    .total-value p, .total-value h3 {
        font-size: 1.4rem;
    }
}