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

:root {
    --primary-color: #1F3A5F;
    --secondary-color: #4A7BA7;
    --accent-color: #3D5A80;
    --text-dark: #2C3E50;
    --text-light: #6B7280;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
}

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-dark);
    background-color: var(--bg-white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

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

nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

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

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

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

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

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

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

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

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

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

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

.feature-card {
    background-color: var(--bg-light);
    padding: 35px;
    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 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

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

.content-image img {
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

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

.text-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
}

.cta-section h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

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

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

.cta-section .cta-button:hover {
    background-color: var(--bg-light);
}

/* Page Header */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

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

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

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

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

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

.content-main h2:first-child {
    margin-top: 0;
}

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

.content-main img {
    border-radius: 8px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.content-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-box {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.sidebar-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

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

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

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

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

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

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

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

.services-detailed {
    padding: 80px 0;
}

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

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

.service-item.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.8;
}

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

.service-content ul li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

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

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

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

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

.step {
    text-align: center;
    padding: 30px;
}

.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: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

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

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

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

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

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

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    margin-bottom: 40px;
}

.detail-item {
    margin-bottom: 30px;
}

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

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

.contact-info img {
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
}

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

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

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

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

.form-group textarea {
    resize: vertical;
}

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

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

.submit-button {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
}

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

.faq-section h2 {
    font-size: 38px;
    text-align: center;
    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: 25px;
    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.7;
}

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

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

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

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

.legal-text h3 {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

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

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

.content-full h2:first-child {
    margin-top: 0;
}

.content-full h3 {
    font-size: 22px;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-col p {
    color: var(--bg-light);
    line-height: 1.7;
    font-size: 14px;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--bg-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--bg-white);
}

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

.footer-bottom p {
    color: var(--bg-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about-preview .container {
        grid-template-columns: 1fr;
    }

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

    .content-sidebar {
        position: static;
    }

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

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

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

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

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

    .features h2,
    .values-section h2,
    .process-section h2,
    .faq-section h2,
    .cta-section h2 {
        font-size: 32px;
    }
}

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

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

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

    .logo {
        font-size: 20px;
    }
}
