/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    padding-bottom: 80px; /* Space for footer */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #333;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Focus Indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

nav a:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Header Styles */
header {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

/* Navigation Styles */
nav {
    background: #444;
    text-align: center;
    padding: 0.5rem 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: text-decoration 0.2s;
    letter-spacing: -0.01em;
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content Styles */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 40px;
}

/* Typography */
h1, h2 {
    color: #333;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    color: #555;
    font-weight: 400;
}

header h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

header p {
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Links */
a {
    color: #0066cc;
}

a:hover {
    color: #004499;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot field - must be hidden */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    width: 100%;
}

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

.submit-btn:active {
    transform: translateY(1px);
}

.submit-btn:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

.form-status.info {
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
}

.form-status.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.form-status.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.contact-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    main {
        margin: 10px;
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    header h1 {
        font-size: 1.75rem;
    }

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

@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
        font-size: 13px;
    }

    main {
        padding: 10px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1rem;
        margin: 1rem auto;
    }

    .submit-btn {
        padding: 0.75rem 1.5rem;
    }
}
