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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', '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: #2563eb;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1f2937;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

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

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    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.25rem 0;
}

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

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #4b5563;
    font-weight: 500;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    padding: 5rem 0;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e0e7ff;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #fff;
    color: #1e40af;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* Sections */
section {
    padding: 4rem 0;
}

.page-header {
    background-color: #f9fafb;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 0;
}

.content-section {
    padding: 4rem 0;
}

.alt-bg {
    background-color: #f9fafb;
}

.center-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.center-content img {
    margin: 2rem auto;
    border-radius: 8px;
}

.center-link {
    text-align: center;
    margin-top: 2rem;
}

/* Grid Layouts */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

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

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

.feature-card h3,
.feature-card p {
    padding: 0 1.5rem;
}

.feature-card h3 {
    padding-top: 1.5rem;
}

.feature-card p {
    padding-bottom: 1.5rem;
    color: #6b7280;
}

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

.service-item {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.service-item h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.service-item p {
    color: #6b7280;
    margin-bottom: 0;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.content-block h2 {
    margin-bottom: 1.5rem;
}

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

/* Service Details */
.service-detail {
    max-width: 900px;
    margin: 0 auto;
}

.service-detail-header {
    margin-bottom: 2rem;
}

.service-detail-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

.service-detail-content h3 {
    margin-top: 2rem;
    color: #1e40af;
}

.service-detail-content ul {
    margin-left: 1.5rem;
}

.service-detail-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-details h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.contact-info img {
    margin-top: 2rem;
    border-radius: 8px;
}

/* Forms */
.contact-form {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.step h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.step p {
    color: #6b7280;
    margin-bottom: 0;
}

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

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1e40af;
}

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

.legal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    color: #1f2937;
}

.legal-content ul {
    color: #4b5563;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    color: #e0e7ff;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

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

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

.footer-column p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    nav {
        gap: 1rem;
    }

    .two-column,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .service-detail-header img {
        height: 250px;
    }

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

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

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

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

    .hero {
        padding: 3rem 0;
    }

    section {
        padding: 2.5rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}