/* Dhariyat Group - Custom Sections */

.banner-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.banner-btn-wrap .btn {
    margin: 0;
}

.dh-why-card,
.dh-info-card,
.dh-equipment-card,
.dh-factory-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(12, 18, 57, 0.08);
    height: 100%;
    transition: 0.3s;
}

.dh-why-card:hover,
.dh-info-card:hover,
.dh-equipment-card:hover,
.dh-factory-card:hover {
    transform: translateY(-5px);
}

.dh-why-card i {
    color: var(--tg-primary-color);
    font-size: 28px;
    margin-bottom: 15px;
}

.dh-why-card h4,
.dh-info-card h3,
.dh-factory-card h3,
.dh-equipment-card h4 {
    margin-bottom: 15px;
    font-size: 20px;
}

.dh-info-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: var(--tg-primary-color);
    color: #fff;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 22px;
}

.dh-info-card ul li,
.dh-factory-card ul li {
    margin-bottom: 8px;
}

.dh-info-card ul li i,
.dh-factory-card ul li i {
    color: var(--tg-primary-color);
    margin-left: 8px;
}

.dh-equipment-card {
    text-align: center;
}

.dh-equipment-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.dh-equipment-count {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 18px;
    background: var(--tg-primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
}

.dh-factory-card {
    border-top: 4px solid var(--tg-primary-color);
}

.dh-project-tabs .nav-link {
    color: var(--tg-heading-font-color);
    font-weight: 600;
    border: none;
    padding: 12px 24px;
}

.dh-project-tabs .nav-link.active {
    background: var(--tg-primary-color);
    color: #fff;
    border-radius: 4px;
}

/* Projects showcase grid */
.dh-project-filters-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.dh-project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    min-width: max-content;
}

.dh-filter-btn {
    border: 2px solid #e8e8ef;
    background: #fff;
    color: var(--tg-heading-font-color);
    font-family: 'Cairo', 'Tahoma', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.25s;
    white-space: nowrap;
}

.dh-filter-btn:hover,
.dh-filter-btn.active {
    background: var(--tg-primary-color);
    border-color: var(--tg-primary-color);
    color: #fff;
}

.dh-project-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(12, 18, 57, 0.08);
    margin-bottom: 30px;
    transition: 0.3s;
    text-decoration: none;
    height: calc(100% - 30px);
}

.dh-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(12, 18, 57, 0.14);
}

.dh-project-card-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.dh-project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.dh-project-card:hover .dh-project-card-img img {
    transform: scale(1.08);
}

.dh-project-num {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--tg-primary-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    z-index: 2;
}

html[dir="rtl"] .dh-project-num {
    right: auto;
    left: 16px;
}

.dh-project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 25, 68, 0.72);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    gap: 10px;
}

.dh-project-card-overlay i {
    font-size: 36px;
    color: var(--tg-primary-color);
}

.dh-project-card:hover .dh-project-card-overlay {
    opacity: 1;
}

.dh-project-card-body {
    padding: 22px 24px 26px;
}

.dh-project-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--tg-heading-font-color);
    margin-bottom: 8px;
}

.dh-project-card-meta {
    font-size: 14px;
    color: var(--tg-paragraph-color);
    margin: 0;
}

.dh-project-card-meta i {
    color: var(--tg-primary-color);
    margin-left: 6px;
}

.dh-project-sub-list {
    margin-top: -18px;
    margin-bottom: 30px;
    padding: 0 12px 12px;
}

.dh-project-sub-item {
    display: block;
    font-size: 13px;
    color: var(--tg-paragraph-color);
    padding: 6px 12px;
    text-decoration: none;
    border-right: 3px solid var(--tg-primary-color);
    margin-bottom: 4px;
}

.dh-project-sub-item:hover {
    color: var(--tg-primary-color);
}

/* Projects page sections */
.dh-project-section {
    margin-bottom: 70px;
}

.dh-project-section-alt {
    padding-top: 50px;
    border-top: 2px solid #eef0f6;
}

.dh-project-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.dh-project-section-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.dh-project-section-icon.completed {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.dh-project-section-icon.in-progress {
    background: rgba(254, 93, 20, 0.12);
    color: var(--tg-primary-color);
}

.dh-project-section-count {
    margin-right: auto;
    background: var(--tg-gray);
    color: var(--tg-heading-font-color);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
}

html[dir="rtl"] .dh-project-section-count {
    margin-right: 0;
    margin-left: auto;
}

.dh-project-status-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 2;
}

.dh-project-status-badge.completed {
    background: #198754;
    color: #fff;
}

.dh-project-status-badge.in-progress {
    background: var(--tg-primary-color);
    color: #fff;
}

html[dir="rtl"] .dh-project-status-badge {
    right: auto;
    left: 16px;
}

/* Completed projects detailed list */
.dh-completed-list-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 12px 40px rgba(12, 18, 57, 0.06);
    border: 1px solid #eef0f6;
}

.dh-completed-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eef0f6;
}

.dh-completed-list-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--tg-heading-font-color);
    margin: 0;
}

.dh-completed-list-title i {
    color: var(--tg-primary-color);
    margin-left: 10px;
}

.dh-completed-list-total {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
}

.dh-completed-toolbar {
    margin-bottom: 35px;
}

.dh-completed-search {
    position: relative;
    margin-bottom: 20px;
}

.dh-completed-search i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tg-paragraph-color);
}

html[dir="rtl"] .dh-completed-search i {
    right: auto;
    left: 18px;
}

.dh-completed-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #eef0f6;
    border-radius: 50px;
    font-family: 'Cairo', 'Tahoma', sans-serif;
    font-size: 15px;
    transition: 0.25s;
}

.dh-completed-search input:focus {
    outline: none;
    border-color: var(--tg-primary-color);
}

.dh-completed-client-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dh-client-filter {
    border: 2px solid #e8e8ef;
    background: #fff;
    color: var(--tg-heading-font-color);
    font-family: 'Cairo', 'Tahoma', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.25s;
}

.dh-client-filter:hover,
.dh-client-filter.active {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.dh-completed-group {
    margin-bottom: 35px;
}

.dh-completed-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--tg-gray);
    padding: 16px 22px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-right: 4px solid #198754;
}

html[dir="rtl"] .dh-completed-group-header {
    border-right: none;
    border-left: 4px solid #198754;
}

.dh-completed-group-header i {
    color: #198754;
    font-size: 20px;
}

.dh-completed-group-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    flex: 1;
}

.dh-completed-group-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--tg-paragraph-color);
    background: #fff;
    padding: 4px 14px;
    border-radius: 20px;
}

.dh-completed-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dh-completed-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fafbfc;
    border: 1px solid #eef0f6;
    border-radius: 8px;
    transition: 0.25s;
}

.dh-completed-item:hover {
    background: #fff;
    border-color: #198754;
    box-shadow: 0 6px 20px rgba(25, 135, 84, 0.08);
    transform: translateX(-4px);
}

html[dir="rtl"] .dh-completed-item:hover {
    transform: translateX(4px);
}

.dh-completed-item-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: var(--tg-secondary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.dh-completed-item-body {
    flex: 1;
    min-width: 0;
}

.dh-completed-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--tg-heading-font-color);
    margin: 0 0 4px;
}

.dh-completed-item-client {
    font-size: 13px;
    color: var(--tg-paragraph-color);
}

.dh-completed-item-client i {
    color: var(--tg-primary-color);
    margin-left: 4px;
}

.dh-completed-item-badge {
    flex-shrink: 0;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.dh-completed-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--tg-paragraph-color);
}

.dh-completed-empty i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.4;
}

/* In-progress projects list */
.dh-inprogress-list-total {
    background: rgba(254, 93, 20, 0.1);
    color: var(--tg-primary-color);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
}

.dh-inprogress-group-header {
    border-right-color: var(--tg-primary-color) !important;
}

html[dir="rtl"] .dh-inprogress-group-header {
    border-left-color: var(--tg-primary-color) !important;
}

.dh-inprogress-group-header i {
    color: var(--tg-primary-color) !important;
}

.dh-ip-filter:hover,
.dh-ip-filter.active {
    background: var(--tg-primary-color);
    border-color: var(--tg-primary-color);
    color: #fff;
}

.dh-inprogress-item:hover {
    border-color: var(--tg-primary-color);
    box-shadow: 0 6px 20px rgba(254, 93, 20, 0.1);
}

.dh-inprogress-item-num {
    background: var(--tg-primary-color);
}

.dh-inprogress-item-badge {
    background: rgba(254, 93, 20, 0.1);
    color: var(--tg-primary-color);
}

.dh-inprogress-item-badge .fa-spin {
    animation-duration: 2s;
}

@media (max-width: 767px) {
    .dh-completed-list-wrap {
        padding: 20px 15px;
    }

    .dh-completed-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dh-completed-item-badge {
        margin-right: auto;
    }

    .dh-completed-client-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .dh-project-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 4px;
    }

    .dh-filter-btn {
        font-size: 13px;
        padding: 8px 16px;
    }

    .dh-project-card-img {
        height: 200px;
    }
}

.dh-service-card {
    margin-bottom: 30px;
}

.dh-vision-area {
    background: var(--tg-gray);
}

.dh-equipment-area {
    background: #fff;
}

.dh-factories-area {
    background: var(--tg-gray-two);
}

html[dir="rtl"] .dh-service-card .link-btn i,
html[dir="rtl"] .blog-post-content .link-btn i {
    transform: rotate(180deg);
}

/* Gallery */
.dh-gallery-item {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(12, 18, 57, 0.08);
    background: #e8ecf3;
    min-height: 260px;
}

.dh-gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Gallery album — صورة واحدة في كل مرة */
.dh-gallery-album {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(12, 18, 57, 0.12);
    overflow: hidden;
}

.dh-gallery-album-stage {
    position: relative;
    background: #0f172a;
}

.dh-gallery-album-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 560px;
    background: #e8ecf3;
    overflow: hidden;
}

.dh-gallery-album-frame.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: dh-gallery-shimmer 1.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

.dh-gallery-album-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0f172a;
}

.dh-gallery-album-zoom {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background 0.25s ease, color 0.25s ease;
}

.dh-gallery-album-zoom:hover {
    background: #f58220;
    color: #fff;
}

.dh-gallery-album-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.dh-gallery-album-arrow:hover {
    background: #f58220;
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.dh-gallery-album-prev {
    right: 18px;
}

.dh-gallery-album-next {
    left: 18px;
}

.dh-gallery-album-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.dh-gallery-album-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f58220, #ffb347);
}

.dh-gallery-album-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 12px;
    flex-wrap: wrap;
}

.dh-gallery-album-info h3 {
    font-size: 20px;
    margin: 0 0 6px;
    line-height: 1.4;
}

.dh-gallery-album-cat {
    display: inline-block;
    background: rgba(245, 130, 32, 0.12);
    color: #f58220;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.dh-gallery-album-counter {
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    padding-top: 4px;
}

.dh-gallery-album-controls {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px 20px;
}

.dh-gallery-album-play {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #0c1f3f;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.dh-gallery-album-play:hover {
    background: #f58220;
}

.dh-gallery-album-hint {
    font-size: 13px;
    color: #94a3b8;
}

@keyframes dh-gallery-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.dh-gallery-item.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: dh-gallery-shimmer 1.4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.dh-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 57, 0.65);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    padding: 20px;
    text-align: center;
}

.dh-gallery-item:hover .dh-gallery-overlay {
    opacity: 1;
}

.dh-gallery-item:hover img {
    transform: scale(1.05);
}

.dh-gallery-overlay i {
    font-size: 32px;
    margin-bottom: 12px;
}

.dh-gallery-overlay h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

/* Projects Map */
.dh-projects-map {
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(12, 18, 57, 0.08);
}

.dh-map-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(12, 18, 57, 0.08);
    height: 500px;
    overflow-y: auto;
}

.dh-map-sidebar h4 {
    margin-bottom: 20px;
}

.dh-map-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dh-map-list li {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.dh-map-list li:last-child {
    border-bottom: none;
}

.dh-map-link {
    display: block;
    color: inherit;
}

.dh-map-link strong {
    display: block;
    margin-bottom: 4px;
}

.dh-map-link span {
    font-size: 13px;
    color: #666;
}

/* Careers */
.dh-career-form {
    background: #fff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(12, 18, 57, 0.08);
}

.dh-file-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.dh-career-benefits .dh-why-card {
    text-align: right;
}

/* Contact section - move person image to the left */
.appointment-img {
    right: auto;
    left: 70px;
}

@media (max-width: 1500px) {
    .appointment-img {
        left: 50px;
        right: auto;
    }
}

/* About Company Page */
.dh-about-intro .dh-about-text p {
    margin-bottom: 18px;
    line-height: 1.9;
    text-align: right;
}

.dh-about-section {
    background: #fff;
}

.dh-about-card {
    min-height: 100%;
}

.dh-value-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(12, 18, 57, 0.07);
    height: 100%;
    border-right: 4px solid var(--tg-primary-color);
    transition: 0.3s;
}

.dh-value-card:hover {
    transform: translateY(-4px);
}

.dh-value-card i {
    color: var(--tg-primary-color);
    font-size: 26px;
    margin-bottom: 14px;
}

.dh-value-card p {
    margin: 0;
    font-weight: 500;
    line-height: 1.7;
}

.dh-goal-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(12, 18, 57, 0.07);
    height: 100%;
}

.dh-goal-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tg-primary-color);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.dh-goal-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.dh-goal-card p {
    margin: 0;
    line-height: 1.8;
    color: #666;
}

.dh-field-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--tg-gray);
    border-radius: 6px;
    padding: 16px 20px;
    font-weight: 500;
    height: 100%;
}

.dh-field-item i {
    color: var(--tg-primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.dh-cap-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(12, 18, 57, 0.07);
    height: 100%;
    text-align: right;
}

.dh-cap-card i {
    color: var(--tg-primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.dh-cap-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.dh-cap-card p {
    margin: 0;
    color: #666;
}

.dh-staff-list li {
    margin-bottom: 12px;
    font-weight: 500;
}

.dh-staff-list li i {
    color: var(--tg-primary-color);
    margin-left: 10px;
}

.dh-quality-box {
    background: var(--tg-gray);
    border-radius: 8px;
    padding: 35px;
    height: 100%;
}

.dh-partner-card {
    background: #fff;
    border-radius: 8px;
    padding: 22px 15px;
    box-shadow: 0 6px 24px rgba(12, 18, 57, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.dh-partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(12, 18, 57, 0.1);
}

.dh-partner-card i {
    font-size: 28px;
    color: var(--tg-primary-color);
}

.dh-partner-card span {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

.dh-partner-logo {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: 0.3s;
}

.dh-partner-logo:hover {
    filter: none;
    opacity: 1;
}

.dh-about-stats .counter-item {
    margin-bottom: 30px;
}

.dh-stat-suffix {
    font-size: 28px;
    font-weight: 700;
    color: var(--tg-primary-color);
    margin-right: 2px;
    font-family: 'Cairo', 'Tahoma', sans-serif !important;
    display: inline-block;
    vertical-align: middle;
}

.dh-about-stats .counter-content .count {
    display: inline-block;
    vertical-align: middle;
}

html[dir="rtl"] .dh-about-text,
html[dir="rtl"] .dh-cap-card,
html[dir="rtl"] .dh-goal-card {
    text-align: right;
}

html[dir="rtl"] .dh-why-card.text-center {
    text-align: center !important;
}

/* Counter section - readable Arabic labels */
.counter-content .dh-counter-label,
.counter-content p {
    font-family: 'Cairo', 'Tahoma', sans-serif !important;
}

.counter-content .dh-counter-num,
.counter-content .count.dh-counter-num {
    font-family: 'Cairo', 'Tahoma', sans-serif !important;
    direction: ltr;
    unicode-bidi: embed;
    display: block;
    color: var(--tg-primary-color);
}

.counter-area-two .counter-content .dh-counter-label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
}

/* Arabic typography - Cairo for all RTL text */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] li,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] a,
html[dir="rtl"] span,
html[dir="rtl"] .dh-about-text p,
html[dir="rtl"] .counter-content p,
html[dir="rtl"] .navigation li a,
html[dir="rtl"] .section-title .title,
html[dir="rtl"] .btn {
    font-family: 'Cairo', 'Tahoma', sans-serif !important;
}

/* Decorative font only for logo/hero branding */
.dh-brand-font,
.site-logo .logo-text,
.banner-content .title {
    font-family: 'Mohammad Bold Art', 'Cairo', sans-serif;
}

/* ═══ Portfolio Projects Page ═══ */
.dh-portfolio-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 140px 0 120px;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.dh-portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 25, 68, 0.88), rgba(19, 25, 68, 0.65));
}

.dh-portfolio-hero .container {
    position: relative;
    z-index: 2;
}

.dh-portfolio-hero-title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dh-portfolio-hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.dh-portfolio-hero-btns .btn {
    margin: 5px 8px;
}

.dh-portfolio-stats {
    background: var(--tg-secondary-color);
    padding: 0;
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.dh-portfolio-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(12, 18, 57, 0.12);
    overflow: hidden;
}

.dh-stat-box {
    text-align: center;
    padding: 35px 20px;
    border-left: 1px solid #eef0f6;
}

html[dir="rtl"] .dh-stat-box {
    border-left: none;
    border-right: 1px solid #eef0f6;
}

html[dir="rtl"] .dh-stat-box:first-child {
    border-right: none;
}

.dh-stat-box:first-child {
    border-left: none;
}

.dh-stat-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--tg-primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.dh-stat-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--tg-heading-font-color);
}

.dh-portfolio-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(12, 18, 57, 0.06);
    position: sticky;
    top: 100px;
}

.dh-sidebar-block {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f6;
}

.dh-sidebar-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dh-sidebar-block h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--tg-heading-font-color);
}

.dh-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--tg-paragraph-color);
    line-height: 1.5;
}

.dh-check-item input {
    margin-top: 4px;
    accent-color: var(--tg-primary-color);
}

.dh-portfolio-toolbar {
    margin-bottom: 25px;
}

.dh-portfolio-search {
    position: relative;
    margin-bottom: 18px;
}

.dh-portfolio-search i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

html[dir="rtl"] .dh-portfolio-search i {
    right: auto;
    left: 18px;
}

.dh-portfolio-search input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border: 2px solid #eef0f6;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
}

.dh-portfolio-search input:focus {
    outline: none;
    border-color: var(--tg-primary-color);
}

.dh-portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-ptab {
    border: 2px solid #e8e8ef;
    background: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: 0.25s;
}

.dh-ptab:hover,
.dh-ptab.active {
    background: var(--tg-primary-color);
    border-color: var(--tg-primary-color);
    color: #fff;
}

.dh-portfolio-results-info {
    font-size: 14px;
    color: var(--tg-paragraph-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.dh-pcard {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(12, 18, 57, 0.08);
    margin-bottom: 30px;
    transition: 0.3s;
    text-decoration: none;
    height: calc(100% - 30px);
}

.dh-pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(12, 18, 57, 0.14);
}

.dh-pcard-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.dh-pcard-img img,
.dh-project-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.dh-project-placeholder-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c1239 0%, #1a2f6b 100%);
    text-align: center;
}

.dh-pcard-img.dh-project-placeholder-wrap {
    min-height: 200px;
}

.dh-pdetail-hero.dh-project-placeholder-wrap {
    min-height: 420px;
}

.dh-project-placeholder-label {
    color: #fff;
    pointer-events: none;
}

.dh-project-placeholder-label-center {
    position: static;
    width: 100%;
    padding: 20px;
    background: none;
}

.dh-project-placeholder-label strong,
.dh-project-placeholder-label span {
    display: block;
}

.dh-pcard-img .dh-project-placeholder-label strong {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.5;
}

.dh-pcard-img .dh-project-placeholder-label span {
    font-size: 16px;
    color: #d7def7;
    line-height: 1.6;
}

.dh-project-placeholder-label-lg strong {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.dh-project-placeholder-label-lg span {
    font-size: 24px;
    color: #d7def7;
    line-height: 1.6;
}

.dh-project-placeholder-label-sm {
    padding: 8px;
}

.dh-project-placeholder-label-sm strong {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.4;
}

.dh-similar-thumb {
    position: relative;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 10px;
}

.dh-similar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-pcard-img img[src*="project-placeholder"],
.dh-project-placeholder-img[src*="project-placeholder"] {
    object-fit: cover;
    background: #0c1239;
}

.dh-pcard:hover .dh-pcard-img img {
    transform: scale(1.06);
}

.dh-pcard-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
}

html[dir="rtl"] .dh-pcard-badge {
    left: auto;
    right: 14px;
}

.dh-pcard-badge.completed {
    background: #198754;
    color: #fff;
}

.dh-pcard-badge.in-progress {
    background: var(--tg-primary-color);
    color: #fff;
}

.dh-pcard-badge.future {
    background: #6f42c1;
    color: #fff;
}

.dh-pcard-body {
    padding: 22px;
}

.dh-pcard-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--tg-heading-font-color);
    margin-bottom: 14px;
    min-height: 50px;
}

.dh-pcard-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.dh-pcard-meta li {
    font-size: 13px;
    color: var(--tg-paragraph-color);
    margin-bottom: 6px;
}

.dh-pcard-meta i {
    color: var(--tg-primary-color);
    width: 18px;
    margin-left: 6px;
}

.dh-pcard-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--tg-primary-color);
}

.dh-pcard-link i {
    font-size: 12px;
}

.dh-portfolio-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--tg-paragraph-color);
}

.dh-portfolio-empty i {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 15px;
}

/* Portfolio detail */
.dh-pdetail-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.dh-pdetail-hero .dh-pcard-badge {
    z-index: 6;
}

/* Portfolio detail slider */
.dh-pdetail-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}

.dh-pdetail-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 480px;
}

.dh-pdetail-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    z-index: 1;
}

.dh-pdetail-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.dh-pdetail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
    transition: transform 6s ease-out;
}

.dh-pdetail-slide.is-active img {
    transform: scale(1);
}

.dh-pdetail-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: all 0.25s ease;
}

.dh-pdetail-arrow:hover {
    background: #f58220;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.dh-pdetail-prev {
    right: 18px;
}

.dh-pdetail-next {
    left: 18px;
}

.dh-pdetail-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
}

.dh-pdetail-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dh-pdetail-dot.is-active {
    width: 28px;
    border-radius: 10px;
    background: #f58220;
}

.dh-pdetail-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 4;
}

.dh-pdetail-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f58220, #ff9f43);
}

.dh-pdetail-hero img {
    border-radius: 12px;
    max-height: 450px;
    object-fit: cover;
}

.dh-pdetail-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dh-pdetail-desc h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.dh-pdetail-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 35px rgba(12, 18, 57, 0.08);
    position: sticky;
    top: 100px;
}

.dh-pdetail-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tg-primary-color);
}

.dh-pdetail-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dh-pdetail-info li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f6;
}

.dh-pdetail-info li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dh-pdetail-info span {
    display: block;
    font-size: 13px;
    color: var(--tg-paragraph-color);
    margin-bottom: 4px;
}

.dh-pdetail-info strong {
    font-size: 15px;
    color: var(--tg-heading-font-color);
    line-height: 1.5;
}

.dh-similar-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f6;
    text-decoration: none;
}

.dh-similar-item img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.dh-similar-item h5 {
    font-size: 14px;
    margin: 0 0 4px;
    color: var(--tg-heading-font-color);
}

.dh-similar-item span {
    font-size: 12px;
    color: var(--tg-paragraph-color);
}

@media (max-width: 991px) {
    .dh-portfolio-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-portfolio-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .dh-portfolio-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .dh-portfolio-stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .dh-stat-num {
        font-size: 32px;
    }
}

/* Main navigation */
.dh-main-nav > li > a {
    font-size: 14px;
    font-weight: 600;
    padding: 38px 14px;
}

.dh-main-nav .sub-menu {
    min-width: 220px;
}

.dh-main-nav .sub-menu li a {
    font-size: 14px;
    padding: 10px 22px;
}

.dh-portfolio-map-cta {
    background: var(--tg-gray);
    border-top: 1px solid #eef0f6;
}

@media (max-width: 1199px) {
    .dh-main-nav > li > a {
        padding: 38px 10px;
        font-size: 13px;
    }
}

/* Company profile flipbook */
.dh-profile-viewer {
    background: linear-gradient(180deg, #f4f6fb 0%, #e8ecf4 100%);
    border-radius: 16px;
    padding: 24px 16px 32px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.dh-profile-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding: 0 8px;
}

.dh-profile-toolbar-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dh-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.dh-profile-btn:hover {
    background: #f58220;
    color: #fff;
}

.dh-profile-btn-accent.is-active,
.dh-profile-btn-accent:hover {
    background: #f58220;
    color: #fff;
}

.dh-profile-page-info {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    min-width: 80px;
    text-align: center;
}

.dh-profile-book-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

.dh-profile-book {
    margin: 0 auto;
}

.dh-profile-loading {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

.dh-profile-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top-color: #f58220;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: dh-spin 0.8s linear infinite;
}

@keyframes dh-spin {
    to { transform: rotate(360deg); }
}

.dh-profile-page .section-title p {
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .dh-profile-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .dh-profile-toolbar-group {
        justify-content: center;
    }
}

/* ===== News / Blog ===== */
.dh-news-hero {
    position: relative;
    background: linear-gradient(135deg, #0c1f3f 0%, #132d5c 45%, #1a3a6e 100%);
    padding: 90px 0 70px;
    overflow: hidden;
}

.dh-news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.dh-news-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f58220, #ffb347, #f58220);
}

.dh-news-hero-sm { padding: 70px 0 50px; }

.dh-news-hero-content { position: relative; z-index: 1; max-width: 800px; }

.dh-news-hero-badge {
    display: inline-block;
    background: rgba(245, 130, 32, 0.15);
    color: #ffb347;
    border: 1px solid rgba(245, 130, 32, 0.35);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.dh-news-hero h1 {
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}

.dh-news-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 600px;
}

.dh-news-breadcrumb { background: transparent; padding: 0; margin: 0; }
.dh-news-breadcrumb .breadcrumb-item, .dh-news-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 14px; }
.dh-news-breadcrumb .breadcrumb-item.active { color: #ffb347; }
.dh-news-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

.dh-news-detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.dh-news-detail-meta span { color: rgba(255,255,255,0.7); font-size: 14px; }
.dh-news-detail-meta i { color: #f58220; margin-left: 6px; }

.dh-news-area { padding: 70px 0 90px; background: #f4f6fa; }

.dh-news-active-filters {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    background: #fff; border-radius: 12px; padding: 14px 20px; margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(12, 31, 63, 0.06);
}

.dh-news-filter-chip { background: #fff3e8; color: #c45d00; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.dh-news-clear-filters { color: #f58220; font-size: 13px; font-weight: 600; margin-right: auto; }

.dh-news-card {
    display: flex; background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(12, 31, 63, 0.07); margin-bottom: 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(12, 31, 63, 0.06);
}

.dh-news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12, 31, 63, 0.12); }
.dh-news-card-featured .dh-news-card-media { flex: 0 0 45%; }

.dh-news-card-media {
    position: relative; flex: 0 0 38%; min-height: 200px; overflow: hidden; display: block;
}

.dh-news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dh-news-card:hover .dh-news-card-media img { transform: scale(1.06); }

.dh-news-card-media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(12, 31, 63, 0.35) 100%);
}

.dh-news-type {
    position: absolute; top: 14px; right: 14px;
    background: rgba(12, 31, 63, 0.85); color: #fff; font-size: 12px;
    padding: 5px 12px; border-radius: 20px;
}

.dh-news-type i { margin-left: 5px; color: #f58220; }

.dh-news-card-body { flex: 1; padding: 28px 30px; display: flex; flex-direction: column; }
.dh-news-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }

.dh-news-cat {
    background: #f58220; color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 12px; border-radius: 4px;
}

.dh-news-date { color: #888; font-size: 13px; }
.dh-news-date i { color: #f58220; margin-left: 4px; }

.dh-news-card-title { font-size: 20px; font-weight: 800; line-height: 1.45; margin-bottom: 10px; }
.dh-news-card-title a { color: #0c1f3f; transition: color 0.2s; }
.dh-news-card-title a:hover { color: #f58220; }

.dh-news-card-excerpt { color: #666; font-size: 15px; line-height: 1.75; margin-bottom: 16px; flex: 1; }

.dh-news-readmore {
    display: inline-flex; align-items: center; gap: 8px;
    color: #f58220; font-weight: 700; font-size: 14px; margin-top: auto;
}

.dh-news-empty {
    text-align: center; background: #fff; border-radius: 16px;
    padding: 60px 30px; box-shadow: 0 8px 30px rgba(12, 31, 63, 0.07);
}

.dh-news-empty i { font-size: 48px; color: #ddd; margin-bottom: 16px; }

.dh-news-sidebar { position: sticky; top: 100px; }

.dh-news-widget {
    background: #fff; border-radius: 14px; padding: 24px; margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(12, 31, 63, 0.06);
    border: 1px solid rgba(12, 31, 63, 0.05);
}

.dh-news-widget-title {
    font-size: 17px; font-weight: 800; color: #0c1f3f;
    margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid #f4f6fa;
}

.dh-news-widget-title i { color: #f58220; margin-left: 8px; }

.dh-news-search {
    display: flex; border: 2px solid #e8ecf2; border-radius: 10px; overflow: hidden;
}

.dh-news-search:focus-within { border-color: #f58220; }
.dh-news-search input { flex: 1; border: none; padding: 12px 16px; font-size: 14px; background: #fafbfc; outline: none; }
.dh-news-search button { background: #f58220; color: #fff; border: none; padding: 0 18px; cursor: pointer; }

.dh-news-cat-list { list-style: none; padding: 0; margin: 0; }
.dh-news-cat-list li { border-bottom: 1px solid #f0f2f5; }
.dh-news-cat-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 4px; color: #444; font-size: 14px; font-weight: 500;
}

.dh-news-cat-list a:hover, .dh-news-cat-list a.is-active { color: #f58220; padding-right: 8px; }
.dh-news-cat-list a span { background: #f4f6fa; color: #888; font-size: 12px; padding: 2px 10px; border-radius: 12px; }

.dh-news-recent-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.dh-news-recent-thumb { flex: 0 0 72px; height: 56px; border-radius: 8px; overflow: hidden; }
.dh-news-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dh-news-recent-body h5 { font-size: 14px; font-weight: 700; color: #0c1f3f; line-height: 1.4; margin-bottom: 4px; }
.dh-news-recent-body span { font-size: 12px; color: #999; }

.dh-news-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-news-tags a { background: #f4f6fa; color: #555; font-size: 13px; padding: 5px 14px; border-radius: 20px; }
.dh-news-tags a:hover, .dh-news-tags a.is-active { background: #f58220; color: #fff; }

.dh-news-pager-list {
    display: flex; justify-content: center; align-items: center; gap: 6px;
    list-style: none; padding: 0; margin: 30px 0 0;
}

.dh-news-pager-list li a, .dh-news-pager-list li span {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600;
    color: #555; background: #fff; border: 1px solid #e8ecf2;
}

.dh-news-pager-list li.active span { background: #f58220; color: #fff; border-color: #f58220; }
.dh-news-pager-list li a:hover { background: #0c1f3f; color: #fff; border-color: #0c1f3f; }

.dh-news-article {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 30px rgba(12, 31, 63, 0.07);
    border: 1px solid rgba(12, 31, 63, 0.05);
}

.dh-news-article-hero img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

.dh-news-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.dh-news-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.dh-news-article-body { padding: 36px 40px; font-size: 16px; line-height: 1.9; color: #444; }
.dh-news-article-body img { max-width: 100%; height: auto; border-radius: 10px; }

.dh-news-external-link { padding: 0 40px 24px; }

.dh-news-article-tags {
    padding: 20px 40px; border-top: 1px solid #f0f2f5;
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}

.dh-news-article-nav { padding: 20px 40px 30px; border-top: 1px solid #f0f2f5; }
.dh-news-back { color: #f58220; font-weight: 700; font-size: 15px; }

@media (max-width: 991px) {
    .dh-news-card { flex-direction: column; }
    .dh-news-card-media, .dh-news-card-featured .dh-news-card-media { flex: none; min-height: 220px; }
    .dh-news-sidebar { position: static; }
}

@media (max-width: 575px) {
    .dh-news-hero { padding: 60px 0 40px; }
    .dh-news-card-body { padding: 20px; }
    .dh-news-article-body { padding: 24px 20px; }
}

/* ===== Auto Tour (Kiosk Mode) ===== */
.dh-tour-start-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
    color: #fff !important;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dh-tour-start-btn:hover {
    background: linear-gradient(135deg, #16a34a, #15803d) !important;
    transform: translateY(-2px);
}

body.dh-tour-active .scroll-top,
body.dh-tour-active #preloader {
    display: none !important;
}

#dh-auto-tour-ui {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    contain: strict;
}

.dh-tour-dim {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 38, 0.35);
    pointer-events: none;
}

.dh-tour-highlight {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    border: 3px solid #f58220;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(245, 130, 32, 0.35);
    pointer-events: none;
    z-index: 2;
    will-change: transform, width, height;
}

.dh-tour-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0c1f3f, #1a3a6e);
    color: #fff;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
    pointer-events: auto;
    z-index: 3;
}

.dh-tour-bar-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 200px;
}

.dh-tour-badge {
    background: rgba(245, 130, 32, 0.2);
    color: #ffb347;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.dh-tour-bar-info strong {
    font-size: 15px;
}

#dh-tour-step-label {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.dh-tour-bar-progress {
    flex: 1;
    min-width: 120px;
    max-width: 280px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    overflow: hidden;
}

#dh-tour-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f58220, #ffb347);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.dh-tour-stop-btn {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
}

.dh-tour-stop-btn:hover {
    background: #b91c1c;
}

/* وضع الأداء أثناء الجولة التلقائية */
html.dh-tour-perf-mode,
html.dh-tour-perf-mode body {
    cursor: auto !important;
}

html.dh-tour-perf-mode .tg-cursor,
html.dh-tour-perf-mode .tg-cursor-inner,
html.dh-tour-perf-mode .tg-cursor-outer {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.dh-tour-perf-mode .jarallax,
html.dh-tour-perf-mode [data-jarallax] {
    transform: none !important;
}

html.dh-tour-perf-mode .wow {
    visibility: visible !important;
    animation: none !important;
}

body.dh-tour-active main,
body.dh-tour-active header,
body.dh-tour-active footer {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .dh-tour-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
    .dh-tour-bar-progress {
        max-width: 100%;
    }
}
