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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --background: #ffffff;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

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

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

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

/* Header */
header {
    background: var(--background);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

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

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

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    background: var(--background-light);
    color: var(--accent-color);
}

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

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

.hero-content h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.feature-card {
    padding: 30px;
    background: var(--background-light);
    border-radius: 8px;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Two Columns Layout */
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.column-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.column-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

/* About Preview */
.about-preview {
    padding: 80px 0;
    background: var(--background-light);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
}

.services-preview h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
}

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

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
}

.service-card p {
    color: var(--text-light);
    margin: 0 20px 20px;
    line-height: 1.6;
}

/* Link Arrow */
.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.link-arrow:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    display: inline-block;
}

.center-link {
    text-align: center;
    margin-top: 40px;
}

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

.page-hero h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-hero .lead {
    font-size: 20px;
    color: var(--text-light);
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--background-light);
}

.values-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.value-card {
    padding: 30px;
    background: var(--background);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.value-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* Team Section */
.team-section {
    padding: 80px 0;
}

/* Approach Section */
.approach-section {
    padding: 80px 0;
    background: var(--background-light);
}

.approach-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

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

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

.approach-step h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-box .cta-button {
    background: white;
    color: var(--primary-color);
}

.cta-box .cta-button:hover {
    background: var(--background-light);
    transform: translateY(-2px);
}

/* Services Detail */
.services-detail {
    padding: 60px 0;
}

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

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

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

.service-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-light);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: var(--background-light);
}

.additional-services h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

.process-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

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

.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: auto;
}

/* Contact Image Section */
.contact-image-section {
    padding: 80px 0;
    background: var(--background-light);
}

/* Map Section */
.map-section {
    padding: 80px 0;
}

.map-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
    line-height: 1.7;
}

.map-placeholder {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-placeholder img {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--background-light);
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.faq-item {
    padding: 25px;
    background: var(--background);
    border-radius: 8px;
}

.faq-item h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

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

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

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

.legal-text h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

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

.legal-text h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin: 25px 0 15px;
}

.legal-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-text ul {
    margin: 15px 0 15px 30px;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-text ul li {
    margin-bottom: 8px;
}

.legal-date {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    font-size: 14px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container,
    .two-columns,
    .service-block,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: 32px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .approach-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .cta-box {
        padding: 40px 30px;
    }
}

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

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

    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .features,
    .services-preview,
    .content-section,
    .values-section,
    .approach-section,
    .cta-section,
    .process-section,
    .contact-section,
    .map-section,
    .faq-section {
        padding: 40px 0;
    }

    .features h2,
    .services-preview h2,
    .values-section h2,
    .approach-section h2,
    .process-section h2,
    .map-section h2,
    .faq-section h2 {
        font-size: 28px;
    }

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

    footer {
        margin-top: 40px;
    }

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