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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

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

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: #ffffff;
}

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

.hero-badge {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #111827;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #1e40af;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.cta-button:hover {
    background-color: #1e3a8a;
}

.cta-button:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: #f9fafb;
}

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

.feature-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.feature-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 4rem 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #1e40af;
    margin: 0 auto 1rem;
}

.category-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 2.5rem;
}

.form-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #111827;
}

.program-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.required {
    color: #dc2626;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-input.error,
.form-select.error {
    border-color: #dc2626;
}

.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: #1e40af;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.error-message {
    display: none;
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 0.375rem;
}

.error-message.visible {
    display: block;
}

.submit-button {
    width: 100%;
    background-color: #1e40af;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
}

.submit-button:hover {
    background-color: #1e3a8a;
}

.submit-button:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    text-align: center;
}

.footer-address {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-links {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-link {
    color: #d1d5db;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-separator {
    margin: 0 0.75rem;
}

.footer-disclaimer {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin-top: 1rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.9375rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cookie-btn-accept {
    background-color: #1e40af;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: #1e3a8a;
}

.cookie-btn-decline {
    background-color: #4b5563;
    color: #ffffff;
}

.cookie-btn-decline:hover {
    background-color: #374151;
}

.cookie-consent.hidden {
    display: none;
}

/* Thank You Page */
.thank-you-section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

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

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    margin-bottom: 2rem;
}

.icon-large {
    width: 3rem;
    height: 3rem;
}

.thank-you-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.thank-you-message {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1rem;
}

.thank-you-note {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    background-color: #1e40af;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.back-button:hover {
    background-color: #1e3a8a;
}

.back-button:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Policy Pages */
.policy-section {
    padding: 3rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 0.5rem;
}

.policy-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.policy-updated {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.policy-block {
    margin-bottom: 2.5rem;
}

.policy-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.policy-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 1rem;
}

.policy-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-list li {
    font-size: 1rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.875rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-title {
        font-size: 1.875rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus Visible for Better Accessibility */
:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}
