/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

/* Navigation Bar */
.navbar {
    background-color: #0D2F4B;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #28a745;
}

/* Navigation Buttons */
.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: left;
}

.nav-btn {
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.login-btn {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.register-btn {
    color: #0D2F4B;
    background-color: #28a745;
    border: 1px solid #28a745;
}

.register-btn:hover {
    background-color: #218838;
    border-color: #218838;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0D2F4B 0%, #1a4a6b 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cta-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.cta-button {
    display: inline-block;
    text-decoration: none;
}



/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0D2F4B;
}

/* Introduction Section */
.intro {
    background-color: white;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Services Section */
.services {
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #0D2F4B;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}


/* Footer */
.footer {
    background-color: #0D2F4B;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #28a745;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Distributor Info */
.distributor-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.distributor-info p {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.distributor-info p strong {
    color: #28a745;
    font-weight: 600;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #28a745;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Risk Warning */
.risk-warning {
    font-size: 0.85rem;
    color: #ffcc02;
    font-weight: 500;
    margin-bottom: 1rem;
    background-color: rgba(255, 204, 2, 0.1);
    padding: 0.75rem;
    border-radius: 5px;
    border-left: 3px solid #ffcc02;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.youtube-float {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.whatsapp-float {
    background: linear-gradient(135deg, #25D366 0%, #1DA851 100%);
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

.floating-btn svg {
    fill: white;
}

/* Bounce animation for floating buttons */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.footer-bottom {
    border-top: 1px solid #1a4a6b;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-buttons {
        display: none;
    }
}

/* === NAVBAR RESPONSIVE (NO HAMBURGER STACKING) === */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;  /* Logo, links, buttons ko vertically stack karein */
        align-items: center;     /* Unhein beech mein (center) align karein */
        gap: 1.5rem;             /* Unke beech mein space daalein */
        padding: 1rem 0;         /* Upar-neeche thodi padding */
    }

    .nav-menu {
        flex-direction: column;  /* Menu links (Home, Services...) ko bhi vertically stack karein */
        padding: 0;              /* Default list padding hataayein */
        gap: 0.5rem;             /* Links ke beech thoda gap */
        width: 100%;
        align-items: center;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-buttons {
        flex-direction: column;  /* Login/Register buttons ko vertically stack karein */
        align-items: center;     /* Unhein center karein */
        width: 90%;              /* Buttons ke area ko thoda chauda karein */
        gap: 0.5rem;             /* Buttons ke beech gap */
    }

    .nav-btn {
        width: 100%;             /* Buttons ko full-width banayein (mobile par tap karna aasaan hota hai) */
        text-align: center;
    }
}

/* Thodi aur choti screens ke liye (optional, but recommended) */
@media (max-width: 480px) {
    .nav-container {
        gap: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.cta-button:focus {
    outline: 2px solid #28a745;
    outline-offset: 2px;
}

/* About Page Specific Styles */
.main-content {
    margin-top: 80px;
}

.about-hero {
    background: linear-gradient(135deg, #0D2F4B 0%, #1a4a6b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.about-intro {
    background-color: white;
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.placeholder-image {
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    color: #666;
    font-style: italic;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.why-choose {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #0D2F4B;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Active navigation link */
.nav-link.active {
    color: #28a745;
    font-weight: 600;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .placeholder-image {
        min-height: 200px;
        padding: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }
    
    .about-hero,
    .about-intro,
    .why-choose {
        padding: 60px 0;
    }
}

/* Contact Page Specific Styles */
.contact-section {
    background-color: white;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0D2F4B;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0D2F4B;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.submit-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.contact-details-section {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-details-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #0D2F4B;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #28a745;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info h3 {
    color: #0D2F4B;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-form,
    .contact-details-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 1.6rem;
    }
    
    .contact-form,
    .contact-details-section {
        padding: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Calculators Page Specific Styles */
.calculators-section {
    background-color: white;
    padding: 80px 0;
}

.calculators-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D2F4B;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* Calculator Selection Buttons */
.calculator-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.calc-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #28a745;
}

.calc-btn.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.calc-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.calc-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #0D2F4B;
}

.calc-btn.active .calc-name {
    color: white;
}

.calc-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.calc-btn.active .calc-desc {
    color: rgba(255, 255, 255, 0.9);
}

.calculators-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Calculator Widget Styles */
.calculator-widget {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-header {
    background: linear-gradient(135deg, #0D2F4B 0%, #1a4a6b 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.calculator-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calculator-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.calculator-form {
    padding: 2rem;
    background-color: #f9f9f9;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #0D2F4B;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
}

.calculate-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    margin-top: 1rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.calculator-results {
    padding: 2rem;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

.calculator-results h3 {
    color: #0D2F4B;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    border-color: #28a745;
}

.result-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-value {
    color: #0D2F4B;
    font-size: 1.3rem;
    font-weight: 700;
}

.calculator-footer {
    background-color: #f8f9fa;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.disclaimer {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.attribution {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
}

.attribution a {
    color: #28a745;
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}

/* Input Container Styles */
.input-container {
    position: relative;
    margin-bottom: 1rem;
}

.number-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
}

.number-input:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Slider Container Styles */
.slider-container {
    margin-top: 1rem;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    background: #218838;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
    background: #218838;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Chart Container Styles */
.chart-container {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    height: 300px;
    position: relative;
}

.chart-container canvas {
    max-height: 100%;
}

/* Responsive adjustments for calculators page */
@media (max-width: 768px) {
    .calculators-title {
        font-size: 2rem;
    }
    
    .calculator-buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .calc-btn {
        padding: 1rem;
    }
    
    .calc-icon {
        font-size: 1.5rem;
    }
    
    .calc-name {
        font-size: 1rem;
    }
    
    .calc-desc {
        font-size: 0.8rem;
    }
    
    .calculator-widget {
        margin: 0 1rem;
    }
    
    .calculator-header {
        padding: 1.5rem;
    }
    
    .calculator-header h2 {
        font-size: 1.5rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .calculator-results {
        padding: 1.5rem;
    }
    
    .calculator-footer {
        padding: 1rem 1.5rem;
    }
    
    .chart-container {
        height: 250px;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calculators-section {
        padding: 60px 0;
    }
    
    .calculators-title {
        font-size: 1.8rem;
    }
    
    .calculator-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .calc-btn {
        padding: 0.8rem;
    }
    
    .calc-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .calc-name {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .calc-desc {
        font-size: 0.75rem;
    }
    
    .calculator-widget {
        margin: 0 0.5rem;
    }
    
    .calculator-header {
        padding: 1rem;
    }
    
    .calculator-header h2 {
        font-size: 1.3rem;
    }
    
    .calculator-form {
        padding: 1rem;
    }
    
    .form-group input {
        padding: 10px 35px 10px 12px;
        font-size: 0.9rem;
    }
    
    .input-suffix {
        right: 12px;
        font-size: 0.8rem;
    }
    
    .calculate-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .result-card {
        padding: 1rem;
    }
    
    .result-value {
        font-size: 1.1rem;
    }
    
    .calculator-results {
        padding: 1rem;
    }
    
    .calculator-footer {
        padding: 1rem;
    }
    
    .chart-container {
        height: 200px;
        margin-top: 1rem;
        padding: 0.5rem;
    }
    
    .slider-labels {
        font-size: 0.7rem;
    }
    
    .input-container {
        margin-bottom: 0.8rem;
    }
    
    .slider-container {
        margin-top: 0.8rem;
    }
}

/* Funds Page Specific Styles */
.funds-section {
    background-color: white;
    padding: 80px 0;
}

.funds-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D2F4B;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.funds-table-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.funds-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
}

.funds-table thead {
    background: linear-gradient(135deg, #0D2F4B 0%, #1a4a6b 100%);
    color: white;
}

.funds-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.funds-table th:first-child {
    padding-left: 2rem;
}

.funds-table th:last-child {
    padding-right: 2rem;
    text-align: right;
}

.funds-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.funds-table tbody tr:hover {
    background-color: #f8f9fa;
}

.funds-table tbody tr:last-child {
    border-bottom: none;
}

.funds-table td {
    padding: 1.2rem 1rem;
    font-size: 0.95rem;
    color: #333;
}

.funds-table td:first-child {
    padding-left: 2rem;
    font-weight: 500;
    color: #0D2F4B;
}

.funds-table td:nth-child(2) {
    font-weight: 600;
    color: #28a745;
}

.funds-table td:last-child {
    padding-right: 2rem;
    text-align: right;
    font-weight: 600;
}

/* Loading state */
.funds-table tbody tr.loading {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Responsive adjustments for funds page */
@media (max-width: 768px) {
    .funds-title {
        font-size: 2rem;
    }
    
    .funds-table-container {
        margin: 0 1rem;
        border-radius: 10px;
    }
    
    .funds-table th,
    .funds-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .funds-table th:first-child,
    .funds-table td:first-child {
        padding-left: 1rem;
    }
    
    .funds-table th:last-child,
    .funds-table td:last-child {
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .funds-section {
        padding: 60px 0;
    }
    
    .funds-title {
        font-size: 1.8rem;
    }
    
    .funds-table-container {
        margin: 0 0.5rem;
    }
    
    .funds-table th,
    .funds-table td {
        padding: 0.8rem 0.3rem;
        font-size: 0.85rem;
    }
    
    .funds-table th:first-child,
    .funds-table td:first-child {
        padding-left: 0.8rem;
    }
    
    .funds-table th:last-child,
    .funds-table td:last-child {
        padding-right: 0.8rem;
    }
}
