.contact-form-container {
    max-width: 500px;
    min-width: 280px;
    margin: 8rem auto 0;
    padding: 2rem;
    opacity: 1;
    transition: opacity 0.5s ease;
    text-align: center;
}

.contact-form-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-form-container.fade-out {
    opacity: 0;
}

.contact-subtitle {
    color: rgba(0, 39, 69, 0.7);
    margin-bottom: 3rem;
    text-align: center;
}

.contact-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid rgba(0, 39, 69, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(0, 39, 69, 0.1);
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 39, 69, 0.2);
    background: #001f36;
}

.thank-you-message {
    max-width: 400px;
    min-width: 280px;
    margin: 8rem auto 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0 1rem;
}

.thank-you-message h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.thank-you-message p {
    font-size: 1.1rem;
    color: rgba(0, 39, 69, 0.8);
    margin-bottom: 0.5rem;
}

.thank-you-message.fade-in {
    opacity: 1;
}

.thank-you-message.hidden {
    display: none;
}

.thank-you-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.redirect-text {
    margin-top: 2rem;
    color: rgba(0, 39, 69, 0.7);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1rem;
        margin-top: 6rem;
    }
}

.captcha-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Ensure captcha is centered on mobile */
@media (max-width: 768px) {
    .g-recaptcha {
        transform-origin: center;
        transform: scale(0.9);
    }
} 