﻿.tech-services-section {
    position: relative;
    background: radial-gradient(circle at top right, rgba(2, 84, 158, 0.08), transparent 20%), radial-gradient(circle at bottom left, rgba(0, 180, 255, 0.06), transparent 18%), linear-gradient(180deg, #0b1220 0%, #111827 40%, #0f172a 100%);
    overflow: hidden;
}

.tech-services-header {
    max-width: 850px;
    margin: auto;
}

.tech-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #7dd3fc;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    backdrop-filter: blur(10px);
}

.tech-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.4;
}

.tech-subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    line-height: 2;
    margin: 0;
}

.tech-timeline {
    position: relative;
    margin-top: 60px;
}

    .tech-timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 3px;
        background: linear-gradient(180deg, rgba(56, 189, 248, 0.15), #38bdf8, rgba(56, 189, 248, 0.15));
        box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
    }

.tech-timeline-item {
    position: relative;
    width: 50%;
    margin-bottom: 42px;
}

    .tech-timeline-item.item-right {
        margin-right: 0;
        padding-left: 34px;
    }

    .tech-timeline-item.item-left {
        margin-right: 50%;
        padding-right: 34px;
    }

.timeline-dot {
    position: absolute;
    top: 48px;
    width: 18px;
    height: 18px;
    background: #38bdf8;
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.12), 0 0 18px rgba(56, 189, 248, 0.7);
}

.item-right .timeline-dot {
    left: -9px;
}

.item-left .timeline-dot {
    right: -9px;
}

.tech-service-panel {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 300px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    isolation: isolate;
}

    .tech-service-panel:hover {
        transform: translateY(-8px);
        border-color: rgba(56, 189, 248, 0.35);
        box-shadow: 0 18px 45px rgba(0,0,0,0.28), 0 0 30px rgba(56, 189, 248, 0.10);
    }

.panel-glow {
    position: absolute;
    inset: auto auto -80px -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.layout-image-left {
    flex-direction: row;
}

.layout-image-right {
    flex-direction: row-reverse;
}

.tech-service-image,
.tech-service-content {
    position: relative;
    z-index: 1;
}

.tech-service-image {
    flex: 0 0 42%;
    min-height: 300px;
    overflow: hidden;
}

    .tech-service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.7s ease;
        filter: saturate(1.05) contrast(1.03);
    }

.tech-service-panel:hover .tech-service-image img {
    transform: scale(1.06);
}

.image-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(180deg, rgba(2, 12, 27, 0.05), rgba(2, 12, 27, 0.35));
    background-size: 24px 24px, 24px 24px, cover;
    mix-blend-mode: screen;
    pointer-events: none;
}

.tech-service-content {
    flex: 1;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-number {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #38bdf8;
    margin-bottom: 12px;
}

.service-heading {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 4px;
}

.service-description {
    color: #fff;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 22px;
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.28);
    transition: all 0.3s ease;
}

    .service-action-btn:hover {
        color: #fff;
        transform: translateX(-4px);
        box-shadow: 0 12px 26px rgba(14, 165, 233, 0.38);
    }

@media (max-width: 1199px) {
    .tech-service-panel {
        min-height: 270px;
    }

    .tech-service-image {
        flex-basis: 40%;
        min-height: 270px;
    }

    .service-heading {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .tech-title {
        font-size: 2rem;
    }

    .tech-timeline::before {
        right: 20px;
        transform: none;
    }

    .tech-timeline-item,
    .tech-timeline-item.item-right,
    .tech-timeline-item.item-left {
        width: 100%;
        margin-right: 0;
        padding-right: 48px;
        padding-left: 0;
    }

    .item-right .timeline-dot,
    .item-left .timeline-dot {
        right: 11px;
        left: auto;
    }

    .tech-service-panel,
    .layout-image-left,
    .layout-image-right {
        flex-direction: column;
    }

    .tech-service-image {
        flex: unset;
        min-height: 240px;
    }

    .tech-service-content {
        padding: 24px 22px;
    }
}

@media (max-width: 767px) {
    .tech-title {
        font-size: 1.6rem;
    }

    .tech-subtitle {
        font-size: 0.95rem;
    }

    .tech-service-panel {
        border-radius: 22px;
    }

    .tech-service-image {
        min-height: 210px;
    }

    .service-heading {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 14px;
        line-height: 1.9;
    }

    .service-action-btn {
        padding: 11px 16px;
        font-size: 14px;
    }
}



/*تصميم الرؤية - الرسالة */


.card-3d-wrap {
    perspective: 1200px;
    height: 100%;
}

.card-3d {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f7f7f7);
    border-radius: 22px;
    padding: 35px 25px 30px;
    min-height: 320px;
    height: 100%;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    border: 1px solid rgba(115, 207, 180, 0.18);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
}

    .card-3d::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(115, 207, 180, 0.08), rgba(0, 0, 0, 0.02), rgba(115, 207, 180, 0.03) );
        z-index: 0;
        pointer-events: none;
    }

    .card-3d::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to left, #73CFB4, #1b1a19);
        transform: scaleX(0.35);
        transform-origin: right;
        transition: transform 0.45s ease;
    }

.card-3d-wrap:hover .card-3d {
    transform: rotateX(10deg) rotateY(-10deg) translateY(-12px) scale(1.02);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.14);
}

    .card-3d-wrap:hover .card-3d::after {
        transform: scaleX(1);
    }

.glow-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(115, 207, 180, 0.20), transparent 70%);
    top: -60px;
    left: -60px;
    z-index: 0;
    transition: transform 0.45s ease, opacity 0.45s ease;
    opacity: 0.9;
}

.card-3d-wrap:hover .glow-circle {
    transform: translate(15px, 15px) scale(1.15);
    opacity: 1;
}

.icon-box-3d {
    position: relative;
    z-index: 2;
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: linear-gradient(135deg, #73CFB4, #1b1a19);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    transform: translateZ(50px);
    box-shadow: 0 12px 24px rgba(115, 207, 180, 0.22);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.card-3d-wrap:hover .icon-box-3d {
    transform: translateZ(70px) rotate(-8deg) scale(1.08);
    box-shadow: 0 18px 30px rgba(115, 207, 180, 0.30);
}

.card-content-3d {
    position: relative;
    z-index: 2;
    transform: translateZ(35px);
}

    .card-content-3d h5 {
        font-size: 1.2rem;
        font-weight: 800;
        color: #111;
        margin-bottom: 14px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .card-content-3d p {
        color: #5f5f5f;
        line-height: 1.9;
        margin-bottom: 18px;
        font-size: 15px;
    }

.read-more-3d {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .read-more-3d i {
        transition: transform 0.3s ease;
    }

    .read-more-3d:hover {
        color: #73CFB4;
    }

        .read-more-3d:hover i {
            transform: translateX(-6px);
        }

/* تحسين للجوال */
@media (max-width: 991px) {
    .card-3d-wrap:hover .card-3d {
        transform: translateY(-8px) scale(1.01);
    }

    .icon-box-3d {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .card-3d {
        min-height: 280px;
    }
}




/*blog style*/
.news-cards-row > div {
    display: flex;
}

.blog-card-pro {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: 1px solid #e3e3e3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .blog-card-pro:hover {
        transform: translateY(-10px);
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.13);
        border-color: #cfcfcf;
    }

    .blog-card-pro::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to left, #111, #5a5a5a, #d9d9d9);
        z-index: 3;
    }

.blog-image-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #efefef;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.blog-card-pro:hover .blog-card-img {
    transform: scale(1.08);
}

.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.blog-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

    .blog-badge span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 7px 14px;
        border-radius: 999px;
        background: rgba(17, 17, 17, 0.92);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.3px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    }

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 22px 20px 20px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.7;
    margin-bottom: 14px;
    min-height: 68px;
}

.blog-card-text {
    color: #5b5b5b;
    font-size: 14px;
    line-height: 1.9;
    flex-grow: 1;
    margin-bottom: 20px;
}

    .blog-card-text p {
        margin-bottom: 0;
    }

.blog-card-footer {
    margin-top: auto;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    transition: all 0.3s ease;
}

    .blog-read-more i {
        transition: transform 0.3s ease;
    }

    .blog-read-more:hover {
        color: #444;
    }

        .blog-read-more:hover i {
            transform: translateX(-6px);
        }

/* فيديو بنفس تنسيق الصورة */
video.blog-card-img {
    background: #000;
}

/* تحسين النصوص العربية */
[dir="rtl"] .blog-card-title,
[dir="rtl"] .blog-card-text,
[dir="rtl"] .blog-read-more {
    text-align: right;
}

/* موبايل */
@media (max-width: 991px) {
    .blog-image-wrap {
        height: 220px;
    }

    .blog-card-title {
        font-size: 18px;
        min-height: auto;
    }

    .blog-card-text {
        font-size: 13.5px;
    }
}



.news-section {
    background: radial-gradient(circle at top right, rgba(0,0,0,0.04), transparent 25%), linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    position: relative;
    overflow: hidden;
}

.news-mini-title {
    display: inline-block;
    padding: 7px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    color: #111;
    background: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.news-section-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.9;
}

.newsSwiper {
    position: relative;
    padding: 10px 5px 55px;
}

    .newsSwiper .swiper-slide {
        height: auto;
        display: flex;
    }

.news-modern-card {
    position: relative;
    width: 100%;
    min-height: 100%;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 45px rgba(0,0,0,0.07);
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

    .news-modern-card:hover {
        transform: translateY(-12px) scale(1.01);
        box-shadow: 0 28px 70px rgba(0,0,0,0.14);
        border-color: rgba(0,0,0,0.16);
    }

    .news-modern-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)), linear-gradient(180deg, rgba(0,0,0,0.02), transparent 30%);
        z-index: 0;
        pointer-events: none;
    }

    .news-modern-card::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(to left, #111, #5a5a5a, #d6d6d6);
        z-index: 2;
    }

.news-card-media {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #ececec;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.news-modern-card:hover .news-card-img {
    transform: scale(1.08);
}

.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.18), rgba(0,0,0,0.02));
    pointer-events: none;
}

.news-chip-group {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.news-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
}

    .news-chip.dark {
        background: rgba(17,17,17,0.92);
        color: #fff;
    }

    .news-chip.light {
        background: rgba(255,255,255,0.9);
        color: #111;
    }

.news-floating-rating {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(17,17,17,0.88);
    color: #8d8d8d;
    padding: 9px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
    font-size: 13px;
}

    .news-floating-rating .active-star {
        color: #fff;
    }

.news-card-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 22px 22px;
}

.news-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #f3f3f3;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    color: #444;
    font-weight: 700;
}

.meta-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #111, #4d4d4d);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.meta-text {
    line-height: 1;
}

.news-card-title {
    font-size: 22px;
    font-weight: 900;
    line-height: 1.75;
    color: #111;
    margin-bottom: 14px;
    min-height: 78px;
}

.news-card-text {
    color: #5f5f5f;
    font-size: 14.5px;
    line-height: 2;
    flex-grow: 1;
    margin-bottom: 24px;
}

    .news-card-text p {
        margin-bottom: 0;
    }

.news-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    font-weight: 900;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

    .news-read-more::after {
        content: "";
        position: absolute;
        bottom: -6px;
        right: 0;
        width: 0;
        height: 2px;
        background: #111;
        transition: width 0.3s ease;
    }

    .news-read-more:hover::after {
        width: 100%;
    }

    .news-read-more i {
        transition: transform 0.3s ease;
    }

    .news-read-more:hover i {
        transform: translateX(-6px);
    }

    .news-read-more:hover {
        color: #000;
    }

video.news-card-img {
    background: #000;
}

/* Swiper controls */
.news-swiper-next,
.news-swiper-prev {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .news-swiper-next:hover,
    .news-swiper-prev:hover {
        background: #111;
        border-color: #111;
    }

    .news-swiper-next::after,
    .news-swiper-prev::after {
        font-size: 16px !important;
        font-weight: 900;
        color: #111;
        transition: color 0.3s ease;
    }

    .news-swiper-next:hover::after,
    .news-swiper-prev:hover::after {
        color: #fff;
    }

.news-swiper-pagination {
    bottom: 0 !important;
}

    .news-swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #bcbcbc;
        opacity: 1;
        transition: all 0.3s ease;
    }

    .news-swiper-pagination .swiper-pagination-bullet-active {
        width: 30px;
        border-radius: 999px;
        background: #111;
    }

[dir="rtl"] .news-card-title,
[dir="rtl"] .news-card-text,
[dir="rtl"] .news-section-desc {
    text-align: right;
}

@media (max-width: 991px) {
    .news-card-media {
        height: 240px;
    }

    .news-card-title {
        font-size: 19px;
        min-height: auto;
    }

    .news-modern-card:hover {
        transform: translateY(-6px);
    }

    .news-swiper-next,
    .news-swiper-prev {
        display: none !important;
    }
}



