/* 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', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

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

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: #2563eb;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.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: #1e293b;
}

.hero-content p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.cta-button.secondary {
    background-color: #64748b;
}

.cta-button.secondary:hover {
    background-color: #475569;
}

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

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.feature-card p {
    color: #475569;
}

/* Content Sections */
.image-content {
    padding: 5rem 0;
    background-color: #fff;
}

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

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

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

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.content-text p {
    color: #475569;
    margin-bottom: 1rem;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Image Showcase */
.image-showcase {
    padding: 3rem 0;
}

.image-showcase img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background-color: #fff;
    color: #2563eb;
}

.cta-section .cta-button:hover {
    background-color: #f1f5f9;
}

/* Page Hero */
.page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.page-hero .lead {
    font-size: 1.25rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
}

/* About Content */
.about-content,
.services-overview,
.service-detail,
.team-section,
.expertise-section,
.process-section,
.contact-section {
    padding: 5rem 0;
}

.service-detail.alternate {
    background-color: #f8fafc;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    padding: 2rem;
    background-color: #fff;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    color: #475569;
    font-size: 0.9375rem;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: #1e293b;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

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

.service-card {
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.service-card p {
    color: #475569;
    margin-bottom: 1.5rem;
}

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

.service-card ul li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #2563eb;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-step p {
    color: #475569;
    font-size: 0.9375rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1e293b;
}

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

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

.form-group label {
    font-weight: 600;
    color: #1e293b;
}

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

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

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

.info-block h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #2563eb;
}

.info-block p {
    color: #475569;
    line-height: 1.8;
}

/* Map Section */
.map-section {
    padding: 3rem 0;
    background-color: #f8fafc;
}

.map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Contact CTA */
.contact-cta {
    padding: 5rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1e293b;
}

.contact-cta p {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 2rem;
}

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

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

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

.legal-text h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: #1e293b;
}

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

.legal-text h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: #2563eb;
}

.legal-text p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    color: #475569;
}

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

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

.legal-text a:hover {
    text-decoration: underline;
}

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

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

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #94a3b8;
    font-size: 0.9375rem;
}

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

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

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #334155;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero .container,
    .content-block {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .content-block.reverse {
        direction: ltr;
    }
}

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

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

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

    .cta-button {
        width: 100%;
        text-align: center;
    }
}
