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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

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

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

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

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

nav a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: #0066cc;
    outline: 2px solid #0066cc;
    outline-offset: 4px;
}

nav a[aria-current="page"] {
    color: #0066cc;
    font-weight: 600;
}

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

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

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

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

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

.page-subtitle {
    font-size: 1.1rem;
    color: #555;
}

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

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

/* Text Blocks */
.text-block {
    max-width: 900px;
    margin: 0 auto 40px;
}

.text-block.centered {
    text-align: center;
}

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

.text-block p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

/* Image-Text Block */
.image-text-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.image-text-block.reverse {
    direction: rtl;
}

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

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

.text-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.image-full {
    margin: 40px 0;
}

.image-full img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.column h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.column p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.feature-card p {
    color: #555;
    font-size: 1.05rem;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

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

/* Contact 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;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.submit-button {
    padding: 14px 30px;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: #0052a3;
}

.submit-button:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Contact Info */
.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.info-block p {
    color: #555;
    font-size: 1.05rem;
}

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

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

.legal-content h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.legal-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

/* Notice Section */
.notice-section {
    padding: 40px 0;
    background-color: #fff3cd;
}

.notice {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.notice p {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

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

.footer-content p {
    color: #ccc;
}

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

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #fff;
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        gap: 20px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .image-text-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .image-text-block.reverse {
        direction: ltr;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

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

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero {
        padding: 60px 0;
    }

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

    .content-section {
        padding: 40px 0;
    }

    .text-content h2,
    .text-block h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 20px;
    }
}

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

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

    .page-header h1 {
        font-size: 1.5rem;
    }
}
