/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5282;
}

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #2d3748;
}

/* Hero section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #3182ce;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background-color: #f7fafc;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Visual sections */
.visual-section,
.image-text-alt {
    padding: 80px 0;
}

.visual-section {
    background-color: #ffffff;
}

.image-text-alt {
    background-color: #f7fafc;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.column-text h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.column-text p {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.7;
}

.column-image img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Page header */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

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

.page-header .subtitle {
    font-size: 1.125rem;
    color: #4a5568;
}

/* Content sections */
.content-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.content-section.gray-bg {
    background-color: #f7fafc;
}

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

.centered-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.centered-content img {
    margin: 32px auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.centered-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: left;
}

/* Values section */
.values-section {
    padding: 80px 0;
    background-color: #f7fafc;
}

.values-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

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

.value-card {
    padding: 32px;
    background-color: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Services */
.services-intro {
    padding: 60px 0;
    background-color: #ffffff;
}

.services-list {
    padding: 40px 0 80px;
    background-color: #ffffff;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a202c;
}

.service-content p {
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    color: #4a5568;
}

.service-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: 600;
}

.service-image img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.125rem;
    color: #e6f2ff;
    margin-bottom: 32px;
}

.cta-section .cta-button {
    background-color: #ffffff;
    color: #3182ce;
}

.cta-section .cta-button:hover {
    background-color: #f7fafc;
    color: #2c5282;
}

/* Contact */
.contact-content {
    padding: 60px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a202c;
}

.contact-info p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.contact-item p {
    color: #4a5568;
    margin-bottom: 0;
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #2d3748;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
}

.submit-button {
    padding: 14px 32px;
    background-color: #3182ce;
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}

/* Contact image section */
.contact-image-section {
    padding: 60px 0;
    background-color: #f7fafc;
}

/* Process section */
.process-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.process-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1a202c;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: #3182ce;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.process-step p {
    color: #4a5568;
    line-height: 1.6;
}

/* Legal content */
.legal-content {
    padding: 60px 0 80px;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a202c;
}

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

.legal-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #2d3748;
}

.legal-text p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-text ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-text ul li {
    color: #4a5568;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-text a {
    color: #3182ce;
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: #cbd5e0;
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column p {
    color: #cbd5e0;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    nav {
        gap: 20px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .hero .container,
    .two-column,
    .service-item,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .two-column.reverse,
    .service-item.reverse {
        direction: ltr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero {
        padding: 40px 0;
    }

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

    .content-section,
    .visual-section,
    .image-text-alt {
        padding: 40px 0;
    }
}
