/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 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 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066cc;
}

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

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

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

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

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

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

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

/* Content Sections */
.intro,
.content-section,
.services-intro,
.services-list,
.contact-section,
.legal-content {
    padding: 4rem 0;
}

.intro-content,
.content-layout,
.services-content,
.visual-content,
.visual-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text h2,
.content-main h2,
.services-text h2,
.visual-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.intro-text p,
.content-main p,
.services-text p,
.visual-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.intro-image img,
.services-image img,
.visual-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-sidebar img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Features and Cards */
.features,
.info-cards {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.features h2,
.services-list h2,
.info-cards h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

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

.feature-card,
.info-card,
.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.info-card:hover,
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-card h3,
.info-card h3,
.service-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feature-card p,
.info-card p,
.service-item p {
    color: #555;
    line-height: 1.6;
}

/* Visual Section */
.visual,
.services-visual {
    padding: 4rem 0;
}

/* Contact Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

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

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    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: 1rem 2rem;
    background-color: #0066cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

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

.legal-text h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.legal-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    color: #555;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Notice Section */
.notice {
    background-color: #fff3cd;
    padding: 2rem 0;
    border-top: 1px solid #ffc107;
    border-bottom: 1px solid #ffc107;
}

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

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.footer-brand p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

    .intro-content,
    .content-layout,
    .services-content,
    .visual-content,
    .visual-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.25rem;
    }

    .nav-menu {
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

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

    .intro,
    .content-section,
    .features,
    .services-intro,
    .services-list,
    .visual,
    .services-visual,
    .contact-section,
    .legal-content {
        padding: 2.5rem 0;
    }
}

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

    nav {
        padding: 1rem 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
