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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
}

h4 {
    font-size: 1.25rem;
    color: #2a2a2a;
}

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

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

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

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

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

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

nav a:hover {
    color: #2563eb;
}

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

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a4a4a;
}

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

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

.btn:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Visual Section */
.visual-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.visual-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

.visual-item h3 {
    padding: 1.5rem;
    padding-bottom: 0.5rem;
}

.visual-item p {
    padding: 0 1.5rem 1.5rem;
}

/* Approach Section */
.approach {
    padding: 5rem 0;
    background: #fff;
    text-align: center;
}

.approach h2 {
    margin-bottom: 2rem;
}

.approach p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
}

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

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    color: #4a4a4a;
}

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

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

.content-text h2 {
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

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

/* Values Section */
.values {
    padding: 5rem 0;
    background: #f8fafc;
}

.values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

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

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

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

.team-text h2 {
    margin-bottom: 1.5rem;
}

/* Services List */
.services-list {
    padding: 5rem 0;
    background: #fff;
}

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

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

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

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

.service-content h2 {
    margin-bottom: 1.5rem;
}

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

/* Capabilities Section */
.capabilities {
    padding: 5rem 0;
    background: #f8fafc;
}

.capabilities h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.capability {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
}

.capability h3 {
    margin-bottom: 1rem;
    color: #2563eb;
}

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

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

.contact-info h2 {
    margin-bottom: 1.5rem;
}

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

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

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 8px;
}

.contact-form h2 {
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

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

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

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Contact Visual */
.contact-visual {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

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

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

.footer-section p {
    color: #d1d5db;
    font-size: 0.95rem;
}

.footer-section a {
    display: block;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

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

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

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

    .feature-grid,
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    h1 {
        font-size: 2rem;
    }

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

    nav {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }

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

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

    .feature-grid,
    .values-grid,
    .capabilities-grid,
    .visual-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2rem 0;
    }

    .features,
    .visual-section,
    .approach,
    .content-section,
    .values,
    .team-section,
    .services-list,
    .capabilities,
    .contact-section,
    .legal-content {
        padding: 3rem 0;
    }

    h1 {
        font-size: 1.75rem;
    }

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

    h2 {
        font-size: 1.5rem;
    }
}
