/* Grid wrapper */
.tkm-projects-grid-wrapper {
    direction: rtl;
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.tkm-projects-grid {
    display: grid;
    grid-template-columns: repeat(var(--tkm-columns, 3), minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 992px) {
    .tkm-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tkm-projects-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.tkm-project-card {
    position: relative;
}

.tkm-project-card-inner {
    background: var(--tkm-card-bg, #ffffff);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 22px 55px var(--tkm-card-shadow, rgba(15,23,42,0.08));
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    color: var(--tkm-text-color, #4b5563);
    display: flex;
    flex-direction: column;
}

.tkm-project-card-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(15,23,42,0.12);
    border-color: rgba(148, 163, 184, 0.8);
}

.tkm-project-card-header {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
}

.tkm-project-icon,
.tkm-project-icon-default {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: radial-gradient(circle at 0 0, var(--tkm-accent, #a3ff2f), transparent 60%), #0f172a;
    border: 1px solid rgba(148,163,184,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tkm-project-icon img {
    max-width: 70%;
    height: auto;
    display: block;
}

.tkm-project-main-image {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(226,232,240,0.8);
}

.tkm-project-main-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

.tkm-project-card-inner:hover .tkm-project-main-image img {
    transform: scale(1.06);
}

.tkm-project-card-body {
    padding: 18px 20px 10px;
    text-align: right;
}

.tkm-project-title {
    font-size: 20px;
    margin: 0 0 8px;
    color: var(--tkm-title-color, #111827);
    font-weight: 700;
}

.tkm-project-short-desc {
    font-size: 14px;
    color: var(--tkm-text-color, #4b5563);
    line-height: 1.8;
    min-height: 42px;
}

.tkm-project-card-footer {
    padding: 12px 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tkm-project-view-btn,
.tkm-project-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.tkm-project-view-btn {
    background: var(--tkm-btn-primary, var(--tkm-accent, #a3ff2f));
    color: #020617;
    box-shadow: 0 8px 25px rgba(163,255,47,0.35);
}

.tkm-project-view-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(163,255,47,0.45);
}

.tkm-project-wa-btn {
    background: var(--tkm-btn-wa, #22c55e);
    border: 1px solid rgba(22, 163, 74, 0.6);
    color: #ffffff;
    gap: 6px;
}

.tkm-project-wa-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.tkm-project-wa-btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Empty state */
.tkm-projects-empty {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #6b7280;
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* == صفحة المشروع الداخلية == */

.tkm-single-wrap {
    max-width: 1120px;
    margin: 40px auto;
    padding: 0 16px 40px;
    direction: rtl;
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
}
.tkm-single-hero-card {
    max-width: 720px;
    margin: 0 auto 26px auto;
    padding: 18px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 40%, #eef2ff 100%);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.tkm-single-hero-card .tkm-single-title {
    margin-bottom: 6px;
}

.tkm-single-hero-card .tkm-single-sub {
    margin-top: 4px;
}


.tkm-single-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.tkm-single-sub {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

/* نخلي البوكسات تحت بعض بدون شريط جانبي */
.tkm-single-grid {
    display: block;
}

.tkm-single-box {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 18px 18px;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.25);
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 18px;
}

.tkm-single-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.tkm-single-details p {
    margin: 0 0 10px;
    line-height: 1.9;
    font-size: 14px;
    color: #374151;
}

/* === سلايدر معرض الصور === */

.tkm-gallery-slider {
    position: relative;
    background: radial-gradient(circle at top left, rgba(163,255,47,0.13), transparent 55%), #f9fafb;
    border-radius: 24px;
    padding: 14px 14px 16px;
    overflow: hidden;
}

.tkm-gallery-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15,23,42,0.25);
    margin-bottom: 10px;
}

.tkm-gallery-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transform: scale(1.02);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.tkm-gallery-main img:hover {
    transform: scale(1.06);
    filter: brightness(1.03);
}

.tkm-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: rgba(15,23,42,0.76);
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(15,23,42,0.45);
    font-size: 20px;
    line-height: 1;
    transition: background 0.25s ease, transform 0.2s ease;
    z-index: 5;
}

.tkm-gallery-nav:hover {
    background: rgba(15,23,42,0.95);
    transform: translateY(-50%) scale(1.05);
}

.tkm-gallery-prev {
    right: 20px;
}

.tkm-gallery-next {
    left: 20px;
}

.tkm-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 2px;
    margin-top: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,0.7) transparent;
}

.tkm-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.tkm-gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.tkm-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,0.7);
    border-radius: 999px;
}

.tkm-gallery-thumb {
    flex: 0 0 96px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.tkm-gallery-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.tkm-gallery-thumb:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

.tkm-gallery-thumb.is-active {
    border-color: var(--tkm-accent, #a3ff2f);
    opacity: 1;
}

/* Lightbox */
.tkm-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tkm-lightbox-backdrop.is-visible {
    display: flex;
}

.tkm-lightbox-inner img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}

.tkm-lightbox-close {
    position: absolute;
    top: 18px;
    left: 24px;
    font-size: 28px;
    color: #e5e7eb;
    cursor: pointer;
}

/* Rating & contact */

.tkm-rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.tkm-rating-stars span {
    font-size: 18px;
    color: #facc15;
}

.tkm-rating-note {
    font-size: 14px;
    color: #4b5563;
}

.tkm-contact-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.tkm-contact-item a {
    color: #064e3b;
    text-decoration: none;
    font-weight: 600;
}

.tkm-contact-item a:hover {
    text-decoration: underline;
}

.tkm-contact-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #374151;
}

.tkm-contact-form input[type="text"],
.tkm-contact-form input[type="email"],
.tkm-contact-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 8px;
}

.tkm-contact-form textarea {
    min-height: 90px;
    resize: vertical;
}

.tkm-contact-form button {
    background: #0f766e;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin-top: 4px;
}

.tkm-contact-form button:hover {
    background: #115e59;
}

.tkm-contact-success {
    background: #ecfdf3;
    color: #166534;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 10px;
    border: 1px solid #bbf7d0;
}


/* === نموذج التقييم من العميل + قائمة التعليقات === */

.tkm-rating-summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.tkm-rating-summary-score {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.tkm-rating-summary-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tkm-rating-summary-stars span {
    font-size: 18px;
    color: #facc15;
}

.tkm-rating-summary-meta {
    font-size: 13px;
    color: #6b7280;
}

.tkm-rating-form {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
}

.tkm-rating-form label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #374151;
}

.tkm-rating-form input[type="text"],
.tkm-rating-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 8px;
}

.tkm-rating-form textarea {
    min-height: 80px;
    resize: vertical;
}

.tkm-rating-form-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 4px;
    margin-bottom: 8px;
}

.tkm-rating-star {
    font-size: 22px;
    cursor: pointer;
    color: #d1d5db;
    transition: color 0.2s ease, transform 0.15s ease;
}

.tkm-rating-star.is-active,
.tkm-rating-star.is-hover {
    color: #facc15;
    transform: translateY(-1px);
}

.tkm-rating-form button {
    background: #0f766e;
    color: #ffffff;
    border-radius: 999px;
    padding: 7px 16px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-top: 2px;
}

.tkm-rating-form button:hover {
    background: #115e59;
}

.tkm-rating-success {
    background: #ecfdf3;
    color: #166534;
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 13px;
    margin-bottom: 8px;
    border: 1px solid #bbf7d0;
}

.tkm-rating-error {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 10px;
    padding: 7px 10px;
    font-size: 13px;
    margin-bottom: 8px;
    border: 1px solid #fecaca;
}

.tkm-rating-list {
    margin-top: 12px;
}

.tkm-rating-list-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.tkm-rating-item {
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.tkm-rating-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.tkm-rating-item-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
}

.tkm-rating-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.tkm-rating-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.tkm-rating-item-stars span {
    font-size: 14px;
    color: #facc15;
}

.tkm-rating-item-date {
    font-size: 11px;
    color: #9ca3af;
}

.tkm-rating-item-comment {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.7;
}


/* === كروت بيانات الاتصال الاحترافية === */
.tkm-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.tkm-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.tkm-contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, #22c55e 0, #16a34a 40%, #15803d 100%);
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
}

.tkm-contact-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.tkm-contact-content-title {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 3px;
}

.tkm-contact-content-main {
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.tkm-contact-content-main a {
    color: #0f766e;
    text-decoration: none;
}

.tkm-contact-content-main a:hover {
    text-decoration: underline;
}


/* === سلايدر آراء العملاء === */
.tkm-rating-list {
    margin-top: 12px;
}

.tkm-rating-slider {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 4px;
}

.tkm-rating-slider-window {
    flex: 1;
    min-height: 120px;
}

.tkm-rating-item {
    display: none;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    padding: 10px 14px;
}

.tkm-rating-item.is-active {
    display: block;
}

.tkm-rating-nav {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    align-self: center;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: background 0.15s ease, transform 0.12s ease;
}

.tkm-rating-nav:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.tkm-rating-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.tkm-rating-item-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 6px;
}

.tkm-rating-item-header {
    margin-bottom: 4px;
}



.tkm-contact-form-fields p {
    margin-bottom: 14px;
}

.tkm-phone-row label {
    display: block;
    margin-bottom: 6px;
}

.tkm-phone-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tkm-phone-country {
    min-width: 64px;
    padding: 8px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    text-align: center;
}

.tkm-phone-input-wrap input[type="tel"] {
    flex: 1;
}

.tkm-captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.tkm-captcha-box {
    padding: 10px 14px;
    border-radius: 18px;
    background: #f9fafb;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
    min-width: 180px;
}

.tkm-captcha-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.tkm-captcha-question {
    font-weight: 600;
    letter-spacing: 2px;
}

.tkm-captcha-input-wrap label {
    display: block;
    margin-bottom: 4px;
}

.tkm-contact-error {
    margin-bottom: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 13px;
}


.tkm-contact-form-fields input[type="text"],
.tkm-contact-form-fields input[type="email"],
.tkm-contact-form-fields input[type="tel"],
.tkm-contact-form-fields input[type="number"],
.tkm-contact-form-fields textarea,
.tkm-contact-form-fields select {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15,23,42,0.04);
    padding: 10px 14px;
    background-color: #ffffff;
}

.tkm-contact-form-fields textarea {
    border-radius: 18px;
    min-height: 140px;
}

.tkm-phone-input-wrap input[type="tel"] {
    border-radius: 999px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
}

.tkm-contact-form-fields select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), linear-gradient(135deg, #9ca3af 50%, transparent 50%);
    background-position: calc(100% - 14px) 16px, calc(100% - 10px) 16px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.tkm-contact-form-fields input:focus,
.tkm-contact-form-fields textarea:focus,
.tkm-contact-form-fields select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.4);
}


/* حجم الكومبوبوكس الخاص برمز الدولة */
.tkm-phone-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}


.tkm-phone-country-select {
    min-width: 90px;
    max-width: 140px;
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    font-size: 12px;
    text-overflow: ellipsis;
}


/* خلي حقل الرقم ياخد باقي المساحة */
.tkm-phone-input-wrap input[type="tel"] {
    flex: 1;
}


/* زر إرسال التقييم باللون الأحمر */
.tkm-project-rating-form button[type="submit"],
.tkm-project-rating-form button[type=submit] {
    background: #e53935;
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.tkm-project-rating-form button[type="submit"]:hover,
.tkm-project-rating-form button[type=submit]:hover {
    background: #c62828;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.25);
}

.tkm-project-rating-form button[type="submit"]:active,
.tkm-project-rating-form button[type=submit]:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2);
}


/* مميزات المشروع */
.tkm-single-features {
    margin-top: 24px;
}

.tkm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}

.tkm-feature-item {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
    padding: 16px 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tkm-feature-item::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(16, 185, 129, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.tkm-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.tkm-feature-item:hover::before {
    opacity: 1;
}

.tkm-feature-icon-wrap {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.35);
    position: relative;
    overflow: hidden;
}

.tkm-feature-icon-wrap img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.35));
    transform: translateY(1px);
}

/* افكت بسيط للأيقونة */
.tkm-feature-item:hover .tkm-feature-icon-wrap {
    transform: translateY(-2px) scale(1.03);
}

.tkm-feature-default-icon,
.tkm-feature-default-icon-admin {
    font-size: 22px;
    color: #ffffff;
}

.tkm-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* تنسيق مميزات المشروع في لوحة التحكم */
.tkm-features-table .tkm-feature-icon-preview {
    margin-top: 6px;
}

.tkm-features-table .tkm-feature-default-icon-admin {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #0fba7b;
    color: #ffffff;
}



/* كارت مميزات المشروع */
.tkm-single-features {
    margin-top: 24px;
}

.tkm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.tkm-feature-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 16px 12px;
    text-align: center;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.tkm-feature-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(52, 211, 153, 0.08), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.tkm-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
}

.tkm-feature-item:hover::before {
    opacity: 1;
}


.tkm-feature-icon-wrap {
    width: 54px;
    height: 54px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.20);
    position: relative;
    overflow: hidden;
    animation: tkm-icon-ring-float 2.4s ease-in-out infinite;
}

.tkm-feature-icon-wrap img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 50%;
    animation: tkm-icon-float 2.4s ease-in-out infinite;
}

.tkm-feature-default-icon {
    font-size: 22px;
    color: #16a34a;
    animation: tkm-icon-float 2.4s ease-in-out infinite;
}


.tkm-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

/* حركة بسيطة للأيقونات */
@keyframes tkm-icon-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

/* أيقونة افتراضية في لوحة التحكم */
.tkm-feature-default-icon-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #111827;
}

.tkm-features-table .tkm-feature-icon-preview img {
    border-radius: 50%;
}


/* ======= Brochure Button + Modal (PDF) ======= */
.tkm-brochure-btn-wrap{
    display:flex;
    justify-content:flex-end;
    margin-top:16px;
}


.tkm-brochure-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    background:#ff7a18;
    color:#ffffff;
    border:none;
    padding:12px 18px;
    border-radius:60px;
    font-weight:700;
    font-family:'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    cursor:pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.tkm-brochure-btn:hover{
    filter: brightness(0.98);
}

.tkm-brochure-modal{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
}
.tkm-brochure-modal.is-open{ display:block; }

.tkm-brochure-backdrop{
    position:absolute;
    inset:0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.tkm-brochure-dialog{
    position:relative;
    margin: 3vh auto;
    width: min(var(--tkm-brochure-modal-width, 1200px), 96vw);
    height: min(var(--tkm-brochure-modal-height, 760px), 94vh);
    background:#ffffff;
    border-radius:18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    padding: 18px 18px 14px;
    display:flex;
    flex-direction:column;
}

.tkm-brochure-close{
    position:absolute;
    top:12px;
    left:12px;
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid #f1f5f9;
    background:#ffffff;
    cursor:pointer;
    font-size:24px;
    line-height:40px;
    text-align:center;
}

.tkm-brochure-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-right: 46px; /* leave space for close btn */
}

.tkm-brochure-title{
    font-family:'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight:800;
    font-size:20px;
    color:#111827;
}

.tkm-brochure-status{
    font-size:13px;
    color:#64748b;
}

.tkm-brochure-pages{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:14px;
    flex:1;
    margin-top: 14px;
}

.tkm-brochure-frame{
    width:100%;
    height:100%;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#f8fafc;
}

.tkm-brochure-controls{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top: 12px;
}

.tkm-brochure-nav{
    background:#ffffff;
    border:1px solid #e5e7eb;
    padding:10px 16px;
    border-radius:12px;
    cursor:pointer;
    font-family:'Tajawal', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight:700;
}

.tkm-brochure-page-indicator{
    color:#334155;
    font-weight:700;
    font-size:14px;
}

.tkm-brochure-fallback{
    margin-top: 10px;
    font-size:12px;
    color:#6b7280;
}

.tkm-brochure-fallback a{
    color:#ff7a18;
    font-weight:700;
    text-decoration:none;
}

@media (max-width: 860px){
    .tkm-brochure-pages{
        grid-template-columns: 1fr;
    }
}


/* FAQ Accordion */
.tkm-faq-wrapper{
    direction: rtl;
    font-family: var(--tkm-faq-font, 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tkm-faq-item{
    background: var(--tkm-faq-bg, #ffffff);
    border: 1px solid var(--tkm-faq-border, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, var(--tkm-faq-shadow, 0.14));
}

.tkm-faq-question{
    width: 100%;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: none;
    text-align: right;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--tkm-faq-q-color, #0f172a);
    font-weight: 700;
    font-size: 18px;
}

.tkm-faq-question:focus{
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.tkm-faq-icon{
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid var(--tkm-faq-border, #e2e8f0);
    position: relative;
    flex: 0 0 28px;
}

.tkm-faq-icon:before,
.tkm-faq-icon:after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--tkm-faq-q-color, #0f172a);
    transform: translate(-50%, -50%);
    border-radius: 2px;
}
.tkm-faq-icon:after{
    transform: translate(-50%, -50%) rotate(90deg);
}

.tkm-faq-item.is-open .tkm-faq-icon:after{
    transform: translate(-50%, -50%) rotate(0deg);
}

.tkm-faq-answer{
    padding: 0 18px 16px 18px;
    color: var(--tkm-faq-a-color, #334155);
    font-size: 16px;
    line-height: 1.9;
}

.tkm-faq-empty{
    padding: 16px 18px;
    border: 1px dashed var(--tkm-faq-border, #e2e8f0);
    border-radius: 14px;
    color: #64748b;
    background: #ffffff;
}

