/* ============================================
   Contact Page - Specific Styles
   Extends new-top-style.css
   ============================================ */

/* Active nav button */
.contact-nav-active-btn {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

/* ===== Hero ===== */
.contact-hero {
    padding: 160px 0 50px;
    text-align: center;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.contact-hero__label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-hero__title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-hero__description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== Layout ===== */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== Form Card ===== */
.contact__form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
}

/* ===== Contact Form 7 Style Overrides ===== */
.contact__form-card .wpcf7 {
    margin: 0;
    padding: 0;
}

.contact__form-card .wpcf7-form p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact__form-card .wpcf7-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact__form-card .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--white);
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.5;
}

.contact__form-card .wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact__form-card .wpcf7-textarea {
    min-height: 180px;
    resize: vertical;
}

.contact__form-card .wpcf7-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    color: var(--text-color);
    height: auto;
    min-height: 50px;
    line-height: 1.5;
}

.contact__form-card .wpcf7-select option {
    color: var(--text-color);
    background: var(--white);
}

.contact__form-card .wpcf7-select option:first-child {
    color: var(--text-light);
}

/* Submit Button */
.contact__form-card .wpcf7-submit {
    display: inline-block;
    background: var(--primary-gradient);
    color: #ffffff !important;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    -webkit-appearance: none;
    appearance: none;
}

.contact__form-card .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Validation messages */
.contact__form-card .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 5px;
}

.contact__form-card .wpcf7-response-output {
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 0.9rem;
    margin-top: 15px !important;
}

.contact__form-card .wpcf7-mail-sent-ok {
    border-color: #22c55e !important;
    background: rgba(34, 197, 94, 0.05);
    color: #16a34a;
}

/* Spinner */
.contact__form-card .wpcf7-spinner {
    margin-left: 10px;
}

/* ===== Info Cards ===== */
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
}

.contact__info-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact__info-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.contact__info-text {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

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

    .contact__form-card {
        padding: 25px 20px;
    }

    .contact-hero__title {
        font-size: 2rem;
    }
}
