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

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 20px 0;
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a1a1a;
}

.nav-menu a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Page Hero */
.page-hero {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.page-intro {
    font-size: 1.125rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Notice */
.intro {
    padding: 40px 0;
}

.notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto;
    max-width: 900px;
}

.notice p {
    color: #856404;
    font-size: 1rem;
}

/* Sections */
.features,
.content-section {
    padding: 80px 0;
}

.light-bg {
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 50px;
    color: #1a1a1a;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-item h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.feature-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* Content Row */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

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

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.content-text p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* Services */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services-intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.services-intro p {
    color: #666;
    font-size: 1.125rem;
}

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

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-card h3 {
    font-size: 1.25rem;
    margin: 20px 20px 10px;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    margin: 0 20px 20px;
    line-height: 1.7;
}

/* Features List */
.features-list {
    max-width: 900px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-icon {
    flex-shrink: 0;
    color: #667eea;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-content p {
    color: #666;
    line-height: 1.7;
}

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

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.contact-item p {
    color: #666;
    line-height: 1.7;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    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: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-intro {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.legal-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    font-style: italic;
    color: #999;
}

/* Button */
.button {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.button:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .button {
    background-color: #fff;
    color: #667eea;
}

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

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #999;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #999;
    transition: color 0.3s ease;
}

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

.footer-links a:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 20px;
    }

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

    .hero-text {
        font-size: 1.125rem;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .content-row,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 60px 0;
    }

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

    .page-hero {
        padding: 40px 0;
    }

    .features,
    .content-section {
        padding: 50px 0;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }
}

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

    .hero h1 {
        font-size: 1.5rem;
    }

    .nav-menu {
        gap: 15px;
        font-size: 0.875rem;
    }
}
