/* style.css */

/* Custom styles for RajyaFunds */
/* This file is mainly for global overrides or simple custom classes not easily done with Tailwind */

/* Ensure Inter font is used */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6; /* Slightly increased line spacing for readability */
}

/* Custom color for RajyaFunds green text in logo */
.rajyafunds-logo {
    color: #10b981; /* CTA Green */
}

/* Header background color */
.main-header {
    background-color: #eef2f7; /* Light background */
}

/* Active navigation link styling */
.main-nav a.active {
    color: #1e3a8a; /* Primary Brand Blue */
    font-weight: 600; /* Semi-bold */
    border-bottom: 2px solid #1e3a8a; /* Underline effect */
    padding-bottom: 0.25rem; /* Space for the underline */
}

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

/* Calculator Specific Styles (can be moved to calculator.html if desired, but here for global reference) */
.calculator-card {
    background-color: #ffffff;
    border-radius: 1rem; /* More rounded corners */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); /* Stronger shadow */
}

.calculator-input-group label {
    color: #1e3a8a; /* Primary Brand Blue for labels */
    font-weight: 500;
}

.calculator-input-group input[type="number"],
.calculator-input-group select,
.calculator-input-group textarea {
    border-color: #d1d5db; /* Light gray border */
    border-radius: 0.5rem; /* Rounded input fields */
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.calculator-input-group input[type="number"]:focus,
.calculator-input-group select:focus,
.calculator-input-group textarea:focus {
    border-color: #3b82f6; /* Accent blue on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* Focus ring */
}

/* Custom modal styling */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000; /* Ensure it's on top */
}

.modal-content {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2), 0 8px 10px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    width: 400px;
    z-index: 1001;
}

.modal-content h3 {
    color: #1e3a8a;
}

/* Chart container styling for responsiveness */
.chart-container {
    position: relative;
    height: 40vh; /* Adjust height as needed */
    width: 100%;
    max-width: 800px; /* Max width for larger screens */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .chart-container {
        height: 50vh; /* Taller on smaller screens */
    }
}

/* General button styling */
button {
    transition: all 0.2s ease-in-out;
}
button.bg-green-500:hover {
    background-color: #0d9973; /* Darker green on hover */
}
button.bg-blue-600:hover {
    background-color: #1e3a8a; /* Darker blue on hover */
}
button.bg-gray-200:hover {
    background-color: #cbd5e1; /* Darker gray on hover */
}

/* Placeholder card styles */
.coming-soon-card {
    background-color: #f4f8ff; /* Soft blue background */
    border: 2px dashed #b3cde3; /* Dashed border */
}
