/* ================================================
   CONTACT PAGE - اتصل بنا
   ================================================ */

.contact .entry-content,
.page-template-default .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Hero */
.ct-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1B4332 50%, #2E7A3E 100%);
    padding: 64px 0;
    text-align: center;
    overflow: hidden;
}

.ct-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(62,142,80,0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(16,185,129,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.ct-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.ct-hero__badge {
    display: inline-block;
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #81C784;
    background: rgba(62,142,80,0.15);
    border: 1px solid rgba(102,187,106,0.25);
    padding: 6px 20px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.ct-hero__title {
    font-family: 'Tajawal', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}

.ct-hero__subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: 17px;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0;
}

/* Contact Cards */
.ct-cards {
    padding: 56px 0;
    background: #f8fafc;
}

.ct-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ct-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.ct-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: transparent;
}

.ct-card__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-card--wa .ct-card__icon {
    background: #E8F5E9;
    color: #25D366;
}

.ct-card--wa:hover {
    border-color: #25D366;
}

.ct-card--email .ct-card__icon {
    background: #E8F5E9;
    color: #3E8E50;
}

.ct-card--email:hover {
    border-color: #3E8E50;
}

.ct-card--hours .ct-card__icon {
    background: #fff7ed;
    color: #ea580c;
}

.ct-card h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.ct-card p {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 4px;
}

.ct-card__action {
    display: inline-block;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #3E8E50;
    margin-top: 12px;
    transition: gap 0.2s;
}

.ct-card--wa .ct-card__action {
    color: #25D366;
}

/* Form Section */
.ct-form-section {
    padding: 56px 0 72px;
    background: #fff;
}

.ct-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.ct-form-info h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
}

.ct-form-info > p {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 28px;
}

.ct-form-info__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ct-form-info__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #334155;
}

.ct-form-info__item svg {
    color: #3E8E50;
    flex-shrink: 0;
}

/* Form */
.ct-form {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 36px;
}

.ct-form__group {
    margin-bottom: 20px;
}

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-form label {
    display: block;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #334155;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    direction: rtl;
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    outline: none;
    border-color: #3E8E50;
    box-shadow: 0 0 0 3px rgba(62,142,80,0.1);
}

.ct-form input::placeholder,
.ct-form textarea::placeholder {
    color: #94a3b8;
}

.ct-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}

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

.ct-form__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: #25D366;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    cursor: pointer;
    transition: all 0.25s;
}

.ct-form__submit:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* FAQ */
.ct-faq {
    padding: 64px 0 72px;
    background: #f8fafc;
}

.ct-faq__header {
    text-align: center;
    margin-bottom: 40px;
}

.ct-faq__list {
    max-width: 760px;
    margin: 0 auto;
}

.ct-faq__item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ct-faq__item:hover,
.ct-faq__item.open {
    border-color: #A5D6A7;
}

.ct-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    gap: 12px;
}

.ct-faq__question svg {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.3s;
}

.ct-faq__item.open .ct-faq__question svg {
    transform: rotate(180deg);
    color: #3E8E50;
}

.ct-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.ct-faq__item.open .ct-faq__answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.ct-faq__answer p {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .ct-form-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .ct-hero { padding: 40px 0; }
    .ct-hero__title { font-size: 26px; }
    .ct-hero__subtitle { font-size: 14px; }

    .ct-cards__grid { grid-template-columns: 1fr; gap: 12px; }
    .ct-card { padding: 24px 20px; min-height: 44px; }
    .ct-card h3 { font-size: 17px; }
    .ct-card p { font-size: 14px; }
    .ct-card__action { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }

    .ct-form { padding: 24px 20px; }
    .ct-form__row { grid-template-columns: 1fr; }

    .ct-form input,
    .ct-form select,
    .ct-form textarea {
        font-size: 16px;
        padding: 14px 16px;
        min-height: 48px;
    }

    .ct-form__submit {
        min-height: 52px;
        font-size: 16px;
    }

    .ct-form-info h2 { font-size: 22px; text-align: center; }
    .ct-form-info > p { text-align: center; font-size: 15px; }
    .ct-form-info__list { align-items: center; }
    .ct-form-info__item { font-size: 14px; min-height: 44px; }

    .ct-faq__question { font-size: 15px; padding: 16px 20px; min-height: 48px; }
    .ct-faq__answer { padding: 0 20px; }
    .ct-faq__item.open .ct-faq__answer { padding: 0 20px 16px; }
    .ct-faq__answer p { font-size: 14px; }

    .ct-cards { padding: 40px 0; }
    .ct-form-section { padding: 40px 0 56px; }
    .ct-faq { padding: 48px 0 56px; }
}

@media (max-width: 480px) {
    .ct-hero__title { font-size: 22px; }
    .ct-hero { padding: 32px 0; }
    .ct-form { padding: 20px 16px; }
    .ct-card { padding: 20px 16px; }
    .ct-faq__question { font-size: 14px; padding: 14px 16px; }
}

@media (max-width: 360px) {
    .ct-hero__title { font-size: 20px; }
    .ct-hero__subtitle { font-size: 13px; }
    .ct-form-info h2 { font-size: 20px; }
    .ct-form label { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-card,
    .ct-form__submit,
    .ct-faq__question svg,
    .ct-faq__answer {
        transition: none !important;
    }
    .ct-card:hover {
        transform: none !important;
    }
    .ct-form__submit:hover {
        transform: none !important;
    }
}
