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

:root {
    --primary-color: #1F3A5F;
    --secondary-color: #4A90E2;
    --accent-color: #2ECC71;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E1E8ED;
}

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

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

/* Header and Navigation */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 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: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 100px 0;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-button:hover {
    background-color: #27AE60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

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

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

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

/* Visual Sections */
.visual-section,
.visual-section-reverse {
    padding: 80px 0;
}

.visual-section {
    background-color: var(--bg-light);
}

.visual-section-reverse {
    background-color: var(--bg-white);
}

.content-image-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.visual-section-reverse .content-image-block {
    direction: rtl;
}

.visual-section-reverse .text-block {
    direction: ltr;
}

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

.text-block p {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.text-block ul {
    margin: 20px 0;
    padding-left: 20px;
}

.text-block li {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 17px;
}

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

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Services Intro */
.services-intro {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Service Detail Sections */
.service-detail,
.service-detail-reverse {
    padding: 60px 0;
}

.service-detail {
    background-color: var(--bg-white);
}

.service-detail-reverse {
    background-color: var(--bg-light);
}

.service-detail-reverse .content-image-block {
    direction: rtl;
}

.service-detail-reverse .text-block {
    direction: ltr;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

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

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

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

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

.process-step p {
    color: var(--text-light);
    font-size: 16px;
}

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

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

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

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

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

.value-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.team-section h2 {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.team-section p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

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

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

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

.contact-block p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.contact-block a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-block a:hover {
    text-decoration: underline;
}

.small-text {
    font-size: 14px;
    opacity: 0.8;
}

/* Form Styles */
.contact-form form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

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

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

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

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

.checkbox-label input {
    width: auto;
}

.checkbox-label a {
    color: var(--secondary-color);
}

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

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

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

.faq-item {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
}

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

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

/* Map Placeholder */
.map-placeholder {
    padding: 60px 0;
}

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

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

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

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

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

.legal-text h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 12px;
}

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

.legal-text ul,
.legal-text ol {
    margin: 16px 0;
    padding-left: 30px;
}

.legal-text li {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.update-date {
    margin-top: 40px;
    font-style: italic;
    color: var(--text-light);
    font-size: 14px;
}

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

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

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-col a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.9;
}

.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .content-image-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visual-section-reverse .content-image-block {
        direction: ltr;
    }

    .service-detail-reverse .content-image-block {
        direction: ltr;
    }

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

    .text-block h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .contact-form form {
        padding: 30px 20px;
    }

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

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

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

    .hero {
        padding: 60px 0;
    }

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

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

    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}
