/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background-color: #f9fafb;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Notice Section */
.notice {
    padding: 2rem 0;
    background-color: #fffbeb;
}

.info-box {
    padding: 1rem 1.5rem;
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
    color: #92400e;
    font-size: 0.95rem;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.content-section.alt {
    background-color: #f9fafb;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.content-section p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.centered {
    text-align: center;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Content Blocks */
.content-block {
    padding: 1rem 0;
}

.text-block {
    max-width: 800px;
    margin: 0 auto;
}

.text-block p {
    margin-bottom: 1.5rem;
}

.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Cards */
.feature-card,
.service-card,
.info-card,
.feature-box {
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-section.alt .feature-card,
.content-section.alt .service-card,
.content-section.alt .info-card,
.content-section.alt .feature-box {
    background-color: #fff;
}

.feature-card h3,
.service-card h3,
.info-card h3,
.feature-box h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #fff;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #fff;
    color: #667eea;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4b5563;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form .btn {
    background-color: #2563eb;
    color: #fff;
    border: none;
    cursor: pointer;
    align-self: flex-start;
}

.contact-form .btn:hover {
    background-color: #1d4ed8;
}

/* Text Content (Legal Pages) */
.text-content {
    max-width: 900px;
    margin: 0 auto;
}

.text-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.text-content h2:first-child {
    margin-top: 0;
}

.text-content p {
    margin-bottom: 1.25rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

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

.footer-brand p {
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead {
        font-size: 1.125rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-2.reverse {
        direction: ltr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 3rem 0;
    }

    .content-section {
        padding: 3rem 0;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
