/* ======================
   Contact Page Styles
   ====================== */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: clamp(6rem, 12vw, 120px) 0 clamp(2rem, 6vw, 60px);
    text-align: center;
    color: var(--heading-color);
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(247, 15, 25, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 10px;
    color: var(--heading-color);
}

.page-header p {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #64748b;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(1.5rem, 4vw, 60px);
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    padding: clamp(1.25rem, 4vw, 40px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.contact-form-container h3 {
    margin-bottom: 25px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--heading-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: var(--heading-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(247, 15, 25, 0.1);
}

.submit-btn {
    flex: 2;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
}

.required {
    color: var(--primary-color);
    margin-left: 3px;
}

.captcha-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: end;
    margin-bottom: 25px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
}

.captcha-container img {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    max-height: 48px;
}

.reload-btn {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.reload-btn:hover {
    transform: rotate(180deg);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-secondary {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Contact Info Panel */
.contact-info-panel {
    background: #f8f9fa;
    color: #333;
    padding: clamp(1.25rem, 4vw, 40px);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info-panel h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.contact-info-panel > p {
    color: #64748b;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--heading-color);
    font-weight: 600;
}

.info-item p, 
.info-item a {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--primary-color);
}

.map-placeholder {
    width: 100%;
    height: 150px;
    background: #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    margin-top: 20px;
    border: 1px dashed #cbd5e1;
}

/* --- Responsive: Tablet (<=768px) --- */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive: Mobile (<=576px) --- */
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .captcha-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .btn-secondary {
        width: 100%;
        flex: none;
    }
}

