/* Contact Page Styles */

.contact-hero {
    min-height: 40vh;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--hst-light);
}

/* Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hst-black);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--hst-gray);
    margin-bottom: 2rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--hst-black);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group .required {
    color: var(--hst-green);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--hst-black);
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--hst-green);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

/* Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.error-text {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Alert Messages */
.alert-wrapper {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

.alert-success {
    background: rgba(0, 200, 83, 0.1);
    color: #059669;
    border: 1px solid rgba(0, 200, 83, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* reCAPTCHA */
.recaptcha-wrapper {
    margin-bottom: 2rem;
}

.g-recaptcha {
    transform-origin: left top;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Info Sidebar */
.contact-info {
    position: sticky;
    top: 120px;
}

.contact-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hst-black);
    margin-bottom: 1.5rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--hst-green) 0%, #00a844 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-content h4 {
    font-weight: 600;
    color: var(--hst-black);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-content p {
    margin: 0;
    color: var(--hst-gray);
}

.info-content a {
    color: var(--hst-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-content a:hover {
    color: var(--hst-green);
}

/* Certifications Sidebar */
.certifications-sidebar {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.certifications-sidebar h4 {
    font-weight: 600;
    color: var(--hst-black);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--hst-light);
    color: var(--hst-black);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-info {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
    }
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.77);
    }
}