* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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 */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

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

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

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

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

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn,
.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 58, 95, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

/* Features */
.features {
    padding: 4rem 0;
}

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

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

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

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

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta .btn:hover {
    background-color: var(--accent-color);
    color: var(--bg-white);
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Content Section */
.content-section {
    padding: 4rem 0;
}

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

.content-main h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 2rem 0 1rem 0;
}

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

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

.content-main img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.sidebar-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.sidebar-box p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.service-card:nth-child(even) .service-image {
    order: 2;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.services-extra {
    margin-top: 3rem;
}

.services-extra h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.extra-item {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.extra-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

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

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

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

.contact-info img {
    width: 100%;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

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

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

.form-group textarea {
    resize: vertical;
}

/* Directions */
.directions {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.directions h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.directions-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.directions-text h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.125rem;
}

.directions-text h4:first-child {
    margin-top: 0;
}

.directions-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.directions-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

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

.legal-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

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

.legal-text h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem 0;
}

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

.legal-text ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-light);
}

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

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

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem 0;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--bg-white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero .container,
    .about-preview-content,
    .content-layout,
    .contact-layout,
    .directions-content,
    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(even) .service-image {
        order: 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

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

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

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.75rem;
    }

    .btn,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    nav ul {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
}
