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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    color: #111827;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-link {
    padding: 0.5rem 0.75rem;
    color: #6b7280;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #111827;
}

.nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    padding: 6rem 0;
}

.hero-small {
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    padding: 5rem 0;
}

.page-hero-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: #1e40af;
    color: #ffffff;
}

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

.btn-full {
    width: 100%;
}

.arrow {
    margin-left: 0.5rem;
    font-size: 1.25rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 672px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.service-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.service-icon.purple {
    background-color: #e9d5ff;
    color: #9333ea;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background-color: #eff6ff;
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

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

.cta .btn-primary:hover {
    background-color: #1e40af;
}

/* Content Section */
.content-section {
    padding: 5rem 0;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.content-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Values Section */
.values-section {
    background-color: #f9fafb;
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.value-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.value-icon.purple {
    background-color: #e9d5ff;
    color: #9333ea;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.value-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.contact-info-text {
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon.blue {
    background-color: #dbeafe;
    color: #2563eb;
}

.contact-method-icon.green {
    background-color: #d1fae5;
    color: #059669;
}

.contact-method-icon.purple {
    background-color: #e9d5ff;
    color: #9333ea;
}

.contact-method-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.contact-method-link {
    color: #2563eb;
    transition: color 0.2s;
}

.contact-method-link:hover {
    color: #1e40af;
}

.contact-method-text {
    color: #6b7280;
}

.contact-form-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.success-message {
    background-color: #d1fae5;
    border: 1px solid #34d399;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.success-message p {
    color: #065f46;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

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

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

.form-textarea {
    resize: vertical;
}

/* Legal Pages */
.legal-page {
    padding: 5rem 0;
}

.legal-title {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.legal-date {
    color: #6b7280;
    margin-bottom: 3rem;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #4b5563;
    line-height: 1.8;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: #2563eb;
    transition: color 0.2s;
}

.legal-section a:hover {
    color: #1e40af;
}

.contact-details {
    margin-top: 1rem;
}

/* Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.error-content {
    text-align: center;
}

.error-code {
    font-size: 9rem;
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.error-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

.error-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-buttons .btn {
    display: inline-flex;
    align-items: center;
}

.error-buttons .btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.error-buttons .btn-primary:hover {
    background-color: #1e40af;
}

.error-buttons .btn-secondary {
    background-color: #e5e7eb;
    color: #111827;
}

.error-buttons .btn-secondary:hover {
    background-color: #d1d5db;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #ffffff;
    padding: 3rem 0;
}

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

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer .logo-icon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    max-width: 448px;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-links a:hover {
    color: #ffffff;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: #60a5fa;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-about {
        grid-column: span 1;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }

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

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }
}
