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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

ul {
    list-style: none;
}

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

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

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

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

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

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

.hero-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
}

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

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

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

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

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Image Section */
.image-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

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

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

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

.col-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.col-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 3rem;
}

.cta-content img {
    border-radius: 12px;
}

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

.cta-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cta-simple {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-simple img {
    max-width: 600px;
    margin: 0 auto 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

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

.cta-simple p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

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

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 4rem 0 3rem;
    text-align: center;
}

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

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

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

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

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

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

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

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

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

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

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

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services */
.services-intro {
    padding: 3rem 0;
}

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

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

.intro-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.intro-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.services-detailed {
    padding: 3rem 0;
}

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

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

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

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

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-content ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.service-content ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.service-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Process Overview */
.process-overview {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.process-overview > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

.timeline-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.timeline-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.timeline-item p {
    color: var(--text-light);
    line-height: 1.6;
}

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

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

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

.info-block {
    margin-bottom: 2rem;
}

.info-block h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.info-block p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.contact-image-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

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

.grid-item {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.grid-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.grid-item h3 {
    font-size: 1.25rem;
    margin: 1.5rem 1.5rem 0.75rem;
    color: var(--text-color);
}

.grid-item p {
    color: var(--text-light);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

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

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Legal Content */
.legal-content {
    padding: 3rem 0 5rem;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.content-wrapper p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content-wrapper ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container,
    .two-col,
    .cta-content,
    .intro-content,
    .service-item,
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    nav ul {
        gap: 1rem;
    }

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

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

    .features h2,
    .values-section h2,
    .process-section h2,
    .process-overview h2,
    .faq-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 2rem 0;
    }

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

    .page-header {
        padding: 2.5rem 0 2rem;
    }

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

    .features,
    .values-section,
    .process-section,
    .team-section,
    .services-intro,
    .services-detailed,
    .process-overview,
    .contact-section,
    .contact-image-section,
    .faq-section,
    .legal-content,
    .image-section {
        padding: 3rem 0;
    }

    .feature-grid,
    .values-grid,
    .process-steps,
    .timeline,
    .image-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        padding: 2rem;
    }
}
