/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}
.separate-containers .inside-article{
    padding: 0px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #172153 0%, #1e3c72 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.highlight {
    color: #f56f46;
    font-weight: bold;
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
    color: #333;
}

.input-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #172153;
}

.input-group input,
.input-group select {
    padding: 12px 15px;
    border: 2px solid #e1e5ee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #172153;
}

.calculate-btn {
    grid-column: 1 / -1;
    background: #f56f46;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.4);
}

/* Results Section */
.results-section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-section h2 {
    color: #172153;
    margin-bottom: 20px;
    text-align: center;
}

.result-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 5px solid #f56f46;
}

.net-pay {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e1e5ee;
}

.net-pay .label {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 5px;
}

.net-pay .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f56f46;
}

.breakdown h3,
.pay-frequency-breakdown h3 {
    color: #172153;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e1e5ee;
}

.breakdown-label {
    color: #555;
}

.breakdown-amount {
    font-weight: 600;
    color: #172153;
}

.frequency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.frequency-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.frequency-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.frequency-amount {
    font-weight: 600;
    color: #172153;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #172153;
    font-size: 2.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #f56f46;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #f56f46;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #172153;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* State Links Section */
.state-links {
    padding: 80px 0;
    background: #f8f9fa;
}

.state-links h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #172153;
    font-size: 2.2rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.state-link {
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #172153;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.state-link:hover {
    background: #172153;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 82, 152, 0.3);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #172153;
    font-size: 2.2rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #172153;
}

.faq-item h3 {
    color: #172153;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
}

/* Comparison Section */
.comparison {
    padding: 80px 0;
    background: #f8f9fa;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #172153;
    font-size: 2.2rem;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e1e5ee;
}

th {
    background: #172153;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background: #f8f9fa;
}

/* Footer */
.footer {
    background: #172153;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .calculator-card {
        padding: 20px;
    }
    
    .input-section {
        grid-template-columns: 1fr;
    }
    
    .net-pay .amount {
        font-size: 2rem;
    }
    
    .features-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .states-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    th, td {
        padding: 10px 15px;
    }
}