/* Contact Page Specific Styles */

.contact-header {
    padding: 60px 0 40px;
    text-align: center;
    background: var(--bg-cream);
}

.contact-header h1 {
    font-family: 'Teachers', serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-header .subtitle {
    font-family: 'Teachers', serif;
    font-size: 24px;
    color: var(--text-gray);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.65;
    font-weight: 400;
}

.contact-section {
    padding: 60px 20px;
    background: #f8f8f8;
    min-height: 600px;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.form-intro {
    margin-bottom: 30px;
}

.form-intro h2 {
    font-family: 'Teachers', serif;
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.form-intro p {
    font-family: 'Teachers', serif;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Teachers', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Teachers', serif;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tab-active);
    box-shadow: 0 0 0 3px rgba(247, 207, 73, 0.1);
}

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

.submit-button {
    background: var(--tab-active);
    color: var(--text-dark);
    padding: 14px 32px;
    font-family: 'Teachers', serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-button:hover {
    background: #e6bf3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
    transform: translateY(0);
}

/* Form Elements */
.optional {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
}

.required {
    color: #dc3545;
    font-weight: 600;
}

/* Form Notes */
.form-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-cream);
    border-radius: 8px;
    border-left: 4px solid var(--tab-active);
}

.form-note p {
    font-family: 'Teachers', sans-serif;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.form-note strong {
    color: var(--text-dark);
}

/* Success Message */
.success-message {
    padding: 30px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    text-align: center;
    color: #155724;
    animation: slideIn 0.5s ease;
}

.success-message h3 {
    font-family: 'Teachers', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #155724;
}

.success-message p {
    font-family: 'Teachers', serif;
    font-size: 1.1rem;
    color: #155724;
}

/* Error Message */
.error-message {
    padding: 30px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    text-align: center;
    color: #721c24;
    animation: slideIn 0.5s ease;
}

.error-message h3 {
    font-family: 'Teachers', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #721c24;
}

.error-message p {
    font-family: 'Teachers', serif;
    font-size: 1.1rem;
    color: #721c24;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer-section {
    background: var(--bg-cream);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-section p {
    font-family: 'Teachers', serif;
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header .subtitle {
        font-size: 1rem;
    }

    .contact-container {
        border-radius: 0;
        box-shadow: none;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .tab-button {
        font-size: 0.9rem;
        padding: 15px 10px;
    }

    .form-intro h2 {
        font-size: 1.5rem;
    }
}