/* Reset and 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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #3b82f6;
}

ul {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover, .menu a.active {
    color: #3b82f6;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4b5563;
}

/* Section Styles */
.section {
    padding: 60px 0;
    display: none;
}

.section.active {
    display: block;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #1e3a8a;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px 0;
}

.hero h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.feature-card p {
    color: #4b5563;
    margin-bottom: 20px;
}

/* Why Use Section */
.why-use {
    background-color: #f0f4f8;
    padding: 40px;
    border-radius: 8px;
}

.why-use h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1e3a8a;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: flex-start;
}

.check-icon {
    background-color: #dbeafe;
    color: #3b82f6;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1e3a8a;
}

.benefit p {
    color: #4b5563;
    font-size: 0.95rem;
}

/* Tabs */
.tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Calculator Card */
.calculator-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.calculator-card > p {
    color: #4b5563;
    margin-bottom: 25px;
}

.calculator-form {
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 5px;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #dbeafe;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 15px 0;
}

.result-note {
    color: #3b82f6;
    font-size: 0.9rem;
}

/* Adjustments Section */
.adjustments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.adjustment-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.adjustment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.adjustment-card p {
    color: #4b5563;
}

/* Resources Section */
.resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.resource-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.resource-card > p:first-of-type {
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 15px;
}

.resource-description {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Tools Section */
.tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tool-card .icon {
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.tool-card > p:first-of-type {
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 15px;
}

.tool-description {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.contact-form > p {
    color: #4b5563;
    margin-bottom: 25px;
}

.social-media {
    text-align: center;
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1e3a8a;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: #3b82f6;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    background-color: #3b82f6;
    color: white;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #bfdbfe;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #bfdbfe;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bfdbfe;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}