* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* HEADER & NAV */
header {
    background: #2c3e50;
    padding: 1rem 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.nav-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #667eea;
}

/* MAIN */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

section {
    margin-bottom: 3rem;
}

/* HERO */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* SECTION TITLES */
.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.card {
    padding: 2rem;
    background: #f4f4f4;
    border-radius: 8px;
    text-align: center;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #667eea;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* CONTENT SECTIONS */
.content-section {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.content-section h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content-section p {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.content-section ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.content-section ul li {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

/* INTRO TEXT */
.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: #2c3e50;
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
}

table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #ddd;
}

table tr:nth-child(even) {
    background: #f9f9f9;
}

/* CALCULATOR */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calculator-box {
    background: #f4f4f4;
    padding: 2rem;
    border-radius: 8px;
}

.calculator-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

/* FORM */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: #764ba2;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.result-box {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #667eea;
    display: none;
}

.result-box.visible {
    display: block;
}

.result-box p {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-detail {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    display: none;
}

.success-message.visible {
    display: block;
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: #667eea;
}

.btn-white:hover {
    background: #f0f0f0;
    color: #764ba2;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* FOOTER */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.3rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

footer a:hover {
    color: #667eea;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid,
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
