/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* Header and Navigation */
header {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav ul li a:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: #fff;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #2563eb;
    font-weight: 700;
    background: #fff;
    display: inline-block;
    padding: 0.5em 1.5em;
    border-radius: 0.75em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
}

.hero p {
    color: #1e293b;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Calculator Section */
.calculator {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator-container {
    max-width: 900px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 3rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

.calculator-container h2 {
    color: #2563eb;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.08rem;
}

input, select {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.08rem;
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #1e293b;
    transition: border 0.2s;
}

input:focus, select:focus {
    border: 1.5px solid #2563eb;
    outline: none;
    background: #ffffff;
}

.calculator-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {
    background: #e3edfb;
    color: #2563eb;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: block;
}

button:hover {
    background: #d0e3fa;
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.13);
}

.result {
    margin-top: 2.2rem;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.result h3 {
    margin-bottom: 1.2rem;
    color: #2563eb;
    font-size: 1.25rem;
}

#commissionResult {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 1px;
}

/* Info Section */
.info {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info h2, .info h3, .info h4 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.info ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.info ul li {
    color: #1e293b;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info ul li:before {
    content: "•";
    color: #2563eb;
    position: absolute;
    left: 0;
}

.disclaimer {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    color: #64748b;
    font-size: 0.9rem;
    border-left: 4px solid #2563eb;
}

/* Footer */
footer {
    background-color: #fff;
    color: #1e293b;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    padding: 0 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #2563eb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .calculator-container {
        padding: 1.5rem;
    }

    .calculator-container h2 {
        font-size: 1.5rem;
    }

    .result {
        padding: 1.5rem;
    }

    #commissionResult {
        font-size: 2rem;
    }
}

/* Insurance Types Page Styles */
.insurance-types {
    padding: 4rem 2rem;
    background-color: #fff;
}

.insurance-types .container {
    max-width: 1200px;
    margin: 0 auto;
}

.insurance-type {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.insurance-type h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.type-content h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.type-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.type-content ul {
    list-style-type: none;
    padding-left: 0;
}

.type-content ul li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.type-content ul li:before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

/* Comparison Table Styles */
.comparison {
    margin-top: 4rem;
}

.comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: #fff;
    font-weight: 600;
    color: #2c3e50;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .insurance-types {
        padding: 2rem 1rem;
    }

    .insurance-type {
        padding: 1.5rem;
    }

    .insurance-type h2 {
        font-size: 1.75rem;
    }

    .type-content h3 {
        font-size: 1.25rem;
    }

    .comparison-table {
        margin: 0 -1rem;
    }
}

/* Hero Section Styles */
.hero {
    background: #fff;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
} 