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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-gray: #f9fafb;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

nav a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

/* Hero section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--bg-gray), var(--bg-white));
}

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

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--bg-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Features section */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-medium);
}

/* About preview section */
.about-preview {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.about-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.about-text .btn-secondary {
    margin-top: 1rem;
}

/* Process section */
.process {
    padding: 5rem 0;
    background: var(--bg-white);
}

.process h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-medium);
}

/* CTA section */
.cta {
    padding: 5rem 0;
    background: var(--primary-light);
}

.cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.cta-content.centered {
    text-align: center;
    grid-column: 1 / -1;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Page header */
.page-header {
    padding: 4rem 0 3rem;
    background: linear-gradient(to bottom, var(--bg-gray), var(--bg-white));
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
}

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

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-size: 1.0625rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Values section */
.values {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.values h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.value-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-medium);
}

/* Team section */
.team-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

/* Approach section */
.approach {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.approach h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.approach-item {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
}

.approach-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.approach-item p {
    color: var(--text-medium);
}

/* Services intro */
.services-intro {
    padding: 4rem 0;
    background: var(--bg-white);
}

/* Services list */
.services-list {
    background: var(--bg-white);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.service-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

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

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

.service-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

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

.service-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-medium);
}

.service-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Process detail */
.process-detail {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.process-detail h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.process-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 8px;
    text-align: center;
}

.process-icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-card p {
    color: var(--text-medium);
}

/* Contact page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-form-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-form-section p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-card {
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

.contact-image {
    margin-top: 2rem;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Contact extra */
.contact-extra {
    padding: 4rem 0;
    background: var(--bg-gray);
}

.contact-reasons {
    list-style: none;
    padding-left: 0;
}

.contact-reasons li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-medium);
    font-size: 1.0625rem;
}

.contact-reasons li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* FAQ section */
.faq {
    padding: 5rem 0;
    background: var(--bg-white);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.faq-item {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-medium);
}

/* Legal content */
.legal-content {
    padding: 4rem 0;
}

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

.legal-text h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.legal-text h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-text p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-text ul li {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--bg-gray);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero .container,
    .content-grid,
    .cta .container,
    .service-item,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid.reverse,
    .service-item.reverse {
        direction: ltr;
    }

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

    .features-grid,
    .values-grid,
    .approach-content,
    .process-steps,
    .process-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

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

    header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1,
    .page-header h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}
