/* =========================================================
   Contact Page
========================================================= */

.ay-contact-page {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    background: #edf4fb;
    color: #0f172a;
    min-height: 100vh;
}

.ay-contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.ay-contact-hero {
    padding: 42px 0 34px;
    background: linear-gradient(135deg, #edf4fb, #fff);
    border-bottom: 1px solid #dbe7f5;
}

.ay-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #64748b;
    font-size: 13px;
}

.ay-contact-breadcrumb a {
    color: #0057b8;
    text-decoration: none;
    font-weight: 800;
}

.ay-contact-breadcrumb i {
    font-size: 10px;
    color: #94a3b8;
}

.ay-contact-hero-card {
    background: #fff;
    border: 1px solid #dbe7f5;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 10px 34px rgba(15,23,42,.08);
}

.ay-contact-label {
    display: inline-flex;
    background: #e8f0fb;
    color: #0057b8;
    border-radius: 30px;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.ay-contact-hero-card h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.35;
    font-weight: 900;
}

.ay-contact-hero-card p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

.ay-contact-content {
    padding: 38px 0 80px;
}

.ay-contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.ay-contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ay-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ay-contact-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    padding: 20px 16px;
    text-align: center;
    color: #0f172a;
    text-decoration: none !important;
    box-shadow: 0 5px 22px rgba(15,23,42,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.ay-contact-card > i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e8f0fb;
    color: #0057b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ay-contact-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.ay-contact-card strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 900;
}

.ay-contact-detail-card,
.ay-contact-form-card,
.ay-contact-map {
    background: #fff;
    border: 1px solid #dbe7f5;
    border-radius: 20px;
    box-shadow: 0 5px 24px rgba(15,23,42,.07);
}

.ay-contact-detail-card,
.ay-contact-form-card {
    padding: 26px;
}

.ay-contact-detail-card h2,
.ay-contact-form-card h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 900;
}

.ay-contact-detail-card > p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.ay-contact-detail-card > p > i {
    color: #0057b8;
    margin-top: 5px;
}

.ay-contact-detail-card strong {
    display: block;
    color: #94a3b8;
    font-size: 12px;
}

.ay-contact-socials {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.ay-contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #e8f0fb;
    color: #0057b8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.ay-contact-map {
    min-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ay-contact-map iframe {
    width: 100%;
    min-height: 340px;
    border: 0;
}

.ay-contact-map > a {
    min-height: 180px;
    width: 100%;
    color: #0057b8;
    background: #e8f0fb;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none !important;
    font-weight: 900;
}

.ay-contact-form-card > p {
    color: #64748b;
    margin: -8px 0 20px;
    line-height: 1.8;
}

.ay-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ay-contact-field {
    margin-bottom: 15px;
}

.ay-contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.ay-contact-field input,
.ay-contact-field select,
.ay-contact-field textarea {
    width: 100%;
    border: 1px solid #dbe7f5;
    border-radius: 12px;
    background: #f8fbff;
    padding: 12px 14px;
    color: #0f172a;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    outline: none;
}

.ay-contact-field input:focus,
.ay-contact-field select:focus,
.ay-contact-field textarea:focus {
    border-color: #0070f3;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,112,243,.08);
}

.ay-contact-submit {
    min-height: 50px;
    padding: 10px 30px;
    border: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, #0057b8, #0070f3);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ay-contact-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
}

.ay-contact-message.success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.ay-contact-message.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media(max-width: 1000px) {
    .ay-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 700px) {
    .ay-contact-container {
        padding: 0 14px;
    }

    .ay-contact-cards,
    .ay-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .ay-contact-hero-card,
    .ay-contact-detail-card,
    .ay-contact-form-card {
        padding: 22px;
    }

    .ay-contact-submit {
        width: 100%;
    }
}
