/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --link-color: #0066cc;
    --link-hover: #004499;
}

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: var(--text-color);
    background-color: var(--bg-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

header nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

header nav a:hover {
    color: var(--highlight-color);
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Content Section */
.content {
    padding: 3rem 0;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.content a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.emphasis {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

.effective-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-card p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 2rem 0;
}

.contact-section {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-item p {
    margin-bottom: 0.5rem;
}

.contact-item .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    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: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: -0.5rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.info-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.info-card p {
    margin-bottom: 0.75rem;
}

.info-card ul {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: 3rem;
}

.additional-resources {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.additional-resources h3 {
    margin-top: 0;
}

.additional-resources ul {
    list-style: none;
    padding-left: 0;
}

.additional-resources li {
    margin-bottom: 0.75rem;
}

.additional-resources a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
}

.additional-resources a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Contact Info Box */
.contact-info {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-section p {
    margin: 0;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--highlight-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .content h2 {
        font-size: 1.75rem;
    }

    .content h3 {
        font-size: 1.35rem;
    }

    header nav {
        gap: 1rem;
    }

    .services-grid,
    .contact-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .content {
        padding: 2rem 0;
    }

    header nav {
        width: 100%;
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .contact-form {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .content {
        padding: 0;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    .emphasis {
        border: 1px solid #000;
    }
}
