/* Tax Saving Page Styles */

/* General Styles */
.tax-saving-section {
    padding: 40px 0;
}

.tax-saving-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.tax-saving-article {
    flex: 1 1 100%;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.tax-saving-article h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.tax-saving-article p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tax-saving-sidebar {
    flex: 0 0 300px;
}

/* Visual Container Styles */
.visual-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.visual-header {
    margin-bottom: 20px;
    text-align: center;
}

.visual-header h4 {
    color: #2c3e50;
    font-size: 1.3rem;
}

.visual-content {
    padding: 10px;
}

/* Section 80C Investment Options */
.investment-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.investment-option {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.investment-option:hover {
    transform: translateY(-5px);
}

.option-icon {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 15px;
    text-align: center;
}

.investment-option h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.option-details {
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.detail-label {
    color: #7f8c8d;
    font-weight: 500;
}

.detail-value {
    color: #2c3e50;
    font-weight: 600;
}

.risk-low {
    color: #27ae60;
}

.risk-medium {
    color: #f39c12;
}

.risk-high {
    color: #e74c3c;
}

.option-description p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Tax Saving Calculator Styles */
.tax-saving-calculator {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 30px 0;
}

.tax-saving-calculator h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.calculator-form {
    flex: 1 1 300px;
}

.calculator-results {
    flex: 1 1 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.range-slider {
    margin-top: 10px;
}

.range-slider input[type="range"] {
    width: 100%;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.8rem;
    color: #7f8c8d;
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-primary {
    background-color: #3498db;
}

/* Calculator Results Styles */
.results-header {
    margin-bottom: 15px;
    text-align: center;
}

.results-header h5 {
    color: #2c3e50;
    font-size: 1.1rem;
}

.results-content {
    margin-bottom: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-item.total {
    font-weight: 700;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
}

.result-label {
    color: #7f8c8d;
}

.result-value {
    color: #2c3e50;
    font-weight: 600;
}

.results-chart {
    height: 200px;
    margin-bottom: 20px;
}

.results-note {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Strategy Box Styles */
.strategy-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    border-left: 4px solid #3498db;
}

.strategy-box h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.strategy-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.strategy-step {
    display: flex;
    gap: 15px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.step-content h5 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.step-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Health Insurance Section Styles */
.deduction-limits-chart {
    overflow-x: auto;
}

.limits-table {
    width: 100%;
    border-collapse: collapse;
}

.table-row {
    display: flex;
    flex-wrap: wrap;
}

.table-row.header {
    background-color: #3498db;
    color: white;
    font-weight: 600;
}

.table-cell {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    text-align: center;
}

.table-row:not(.header):nth-child(even) {
    background-color: #f2f2f2;
}

.additional-notes {
    margin-top: 20px;
}

.note-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.note-item i {
    color: #3498db;
    margin-top: 3px;
}

.note-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Strategy Tips Styles */
.strategy-tips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.strategy-tip {
    display: flex;
    gap: 15px;
}

.tip-icon {
    font-size: 1.5rem;
    color: #3498db;
}

.tip-content h5 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.tip-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Home Loan Benefits Styles */
.home-loan-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.benefit-header {
    background-color: #3498db;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

.benefit-header i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.benefit-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.section-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.benefit-details {
    padding: 15px;
}

.benefit-limit {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.limit-label {
    display: block;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.limit-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

.benefit-notes ul {
    padding-left: 20px;
    margin: 0;
}

.benefit-notes li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}

/* NPS Benefits Styles */
.nps-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card.highlight {
    border: 2px solid #3498db;
}

/* Other Deductions Styles */
.deductions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.deduction-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.deduction-header {
    background-color: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.deduction-header i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.deduction-header h4 {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.deduction-content {
    padding: 15px;
}

.deduction-limit {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.deduction-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
}

.deduction-note i {
    color: #3498db;
    margin-top: 3px;
}

.deduction-note span {
    font-size: 0.9rem;
    color: #555;
}

/* Age-Based Planning Styles */
.life-stages {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.life-stage {
    display: flex;
    gap: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.stage-icon {
    font-size: 2.5rem;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
}

.stage-content {
    flex: 1;
}

.stage-content h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.stage-priorities {
    margin-bottom: 15px;
}

.priority-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.priority-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.priority-item {
    background-color: #e1f0fa;
    color: #3498db;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.recommended-investments {
    margin-bottom: 15px;
}

.recommendation-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.recommended-investments ul {
    padding-left: 20px;
    margin: 10px 0;
}

.recommended-investments li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.tax-strategy {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
}

.strategy-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.tax-strategy p {
    margin: 0;
    font-size: 0.9rem;
}

/* Tax Planning Calendar Styles */
.tax-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.quarter {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quarter-header {
    background-color: #3498db;
    color: white;
    padding: 15px;
    text-align: center;
}

.quarter-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.quarter-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.quarter-activities {
    padding: 15px;
}

.activity {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.activity:last-child {
    margin-bottom: 0;
}

.activity-icon {
    color: #3498db;
    font-size: 1.2rem;
}

.activity-content h6 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 1rem;
}

.activity-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Sidebar Styles */
.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.2rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #2980b9;
}

.deadline-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deadline-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.deadline-date {
    background-color: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.deadline-description {
    font-size: 0.9rem;
    color: #555;
}

.tips-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tip-item {
    display: flex;
    gap: 10px;
}

.tip-item i {
    color: #f39c12;
    margin-top: 3px;
}

.tip-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* CTA Section Styles */
.cta-section {
    background-color: #3498db;
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-top: 40px;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background-color: white;
    color: #3498db;
    font-weight: 600;
    padding: 12px 25px;
    font-size: 1.1rem;
}

.cta-section .btn:hover {
    background-color: #f8f9fa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tax-saving-content {
        flex-direction: column;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .investment-options-grid,
    .home-loan-benefits,
    .nps-benefits,
    .deductions-grid,
    .tax-calendar {
        grid-template-columns: 1fr;
    }
    
    .life-stage {
        flex-direction: column;
    }
    
    .stage-icon {
        width: auto;
        margin-bottom: 15px;
    }
    
    .table-row {
        flex-direction: column;
    }
    
    .table-cell {
        text-align: left;
    }
    
    .table-row.header .table-cell {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .strategy-tip {
        flex-direction: column;
    }
    
    .tip-icon {
        margin-bottom: 10px;
    }
}
