﻿
/* Video */
.corporate-video {
    position: relative;
    background-attachment: fixed;
    color: #fff;
    /* font-family: 'Poppins', sans-serif; */
    overflow: hidden;
    height: 80vh;
}

    .corporate-video video {
        width: 100%;
    }

.impact-map {
    margin-top: 40px;
    height: 400px;
    background: #e6f0f7;
    border-radius: 12px;
    display: flex;
    width: 95%;
    justify-content: center;
    align-items: center;
    color: #555;
    font-style: italic;
    margin: -7% 2% 3.5cm;
    position: relative;
    z-index: 1000;
}

.app-container {
    width: 85%;
    max-width: fit-content;
    margin: 0 3.5cm 3.5cm 3.5cm;
}

.our-team-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(127 167 193 / 62%);
}

/* Modal content */
.our-team-modal-content {
    margin: auto;
    /* padding: 20px; */
    max-width: 1050px;
    margin-top: -3%;
    /* background: #fff; */
    border-radius: 12px;
    /* box-shadow: 0px 8px 25px rgba(0,0,0,0.3); */
    animation: fadeIn 0.4s ease;
}

/* Close button */
.our-team-close {
    color: #fff;
    float: right;
    font-size: 70px;
    position: sticky;
    top: 0%;
    font-weight: bold;
    cursor: pointer;
}

    .our-team-close:hover {
        color: #308bca;
    }

.impact-stats-container {
    justify-content: center;
}

.impact-p {
    font-size: 20px;
    margin: 15px 3.5cm;
}

@media (max-width: 770px) {
    .impact-map {
        width: auto;
    }

    .who-we-are {
        margin: 0;
    }

    .corporate-video {
        height: 40vh !important;
    }

    .mission-vision {
        padding: 0 0 40px;
        margin-top: -20%;
    }

    .mv-box {
        height: 190px;
    }

    .mission-vision .container {
        display: block;
    }

    .photo-gallery {
        padding: 1cm 0 0;
    }

    .mission-vision .box {
        margin-bottom: 30px;
    }

    .our-values {
        padding: 1cm;
        margin-bottom: 0;
    }

    .certifications-section {
        padding: 1cm 0 0;
        background: #fff;
        margin-bottom: 1cm;
    }

    .impact-p {
        font-size: 20px;
        margin: 15px 0;
    }

    #banner-text-content {
        max-width: 70%;
    }

    .gallery-grid img {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffffa8;
    overflow: hidden;
    text-align: center;
}

.modal-content {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: none;
    margin: auto;
    display: block;
    border: none;
    background-color: transparent;
}

/* Close button */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover {
        color: #bbb;
    }

/* Arrows inside modal */
.modal-arrow {
    position: absolute;
    top: 50%;
    font-size: 2rem;
    font-weight: bold;
    padding: 10px;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transform: translateY(-50%);
}

    .modal-arrow.left {
        left: 20px;
    }

    .modal-arrow.right {
        right: 20px;
    }

    .modal-arrow:hover {
        color: #bbb;
    }

.cta-section-alt {
    margin-top: 0;
}

@media (max-width: 770px) {
    .who-item {
        display: block;
    }

    .modal-arrow {
        padding: 0;
    }

    .modal {
        padding-top: 200px;
    }

    .close {
        top: 150px;
        right: 25px;
    }

    .gallery-grid img {
        margin-right: 0;
    }

    .impact-header {
        margin-bottom: 0;
    }

    .breadcrumbs {
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* الكروت */
.product-cards .product-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    margin-bottom: 15px;
    border: none;
    overflow: hidden;
    padding: 0;
}

/* زرار الأكوردين */
.product-cards .accordion-button {
    background: transparent;
    color: #013f66;
    font-weight: 600;
    font-size: 18px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    width: 600px;
}

    .product-cards .accordion-button:not(.collapsed) {
        background: rgba(127,167,193,0.8);
        color: #012e4a;
    }

.product-cards .accordion-body {
    padding: 20px 25px;
}

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

    .product-list li {
        margin: 8px 0;
    }

    .product-list a {
        color: #013f66;
        text-decoration: none;
        transition: color 0.2s;
    }

        .product-list a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

.apec-products-hero .stat-label {
    padding: 6px 25px;
    font-size: 0.8em;
}

/* 📱 Responsive for Mobile */
@media (max-width: 770px) {
    .apec-products-hero {
        padding-left: 3%;
        padding-right: 3%;
        /* min-height: auto; */
        margin-bottom: 3.5cm;
    }

        .apec-products-hero .hero-content {
            max-width: 100%;
            left: 0;
        }

        .apec-products-hero .hero-title {
            font-size: 22px;
            text-align: center;
        }

    .product-cards .accordion-button {
        width: 100%; /* الكروت تبقى بعرض الشاشة */
        font-size: 16px;
        padding: 18px 20px;
    }

    .product-cards .accordion-body {
        padding: 15px 20px;
    }

    .product-list li {
        margin: 6px 0;
    }
}

.application-brochure-section {
    padding: 3.5cm 20px;
    /* background-color: #f8f9fa; */
    border-radius: 8px;
}

.brochure-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.brochure-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1rem;
    color: #555;
}

.product-gallery .product-img {
    max-width: 350px;
    width: 100%;
    height: 350px;
    display: block;
    margin: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.centered-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}

    .centered-gallery > div {
        flex: 0 0 auto;
    }

#banner-container-app {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 650px;
    color: #fff; /* النص أبيض فوق الصورة */
    display: flex;
    align-items: center;
}

    /* النصوص على يمين الصورة */
    #banner-container-app .geogrid-overview-section .bann-p {
        position: absolute;
        right: -75%;
        top: 60%;
        transform: translateY(-50%);
        max-width: 92%;
        color: #fff;
    }

    #banner-container-app .geogrid-overview-section p {
        color: #fff;
        text-align: center;
    }

    #banner-container-app::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient( circle at 0% 0%, #174786, #0d2342, #000000 );
        opacity: 0.6;
        z-index: 1;
    }

.section-app .breadcrumbs {
    margin-top: 0;
    margin-left: 5%;
}

.value-proposition-section.section-app {
    padding: 0;
    margin-bottom: 3.2cm;
}

.section-app .main-graphic {
    display: none; /* أخفي اللوجو */
}

.section-app .value-items-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    transform: none;
    height: auto;
    left: 0;
}

.section-app .value-text {
    font-size: 1.1em;
}

.section-app .value-proposition-section .section-description {
    max-width: 700px;
    text-align: center;
}

.section-app .value-item {
    position: relative; /* مش absolute */
    width: 100%;
    opacity: 1; /* إلغاء فكرة الإخفاء */
    transform: none;
}

.section-app .value-items-grid .value-item:nth-child(1) {
    top: 0;
    left: 0;
}

.section-app .value-items-grid .value-item:nth-child(2) {
    top: 0;
    right: 0;
}

.section-app .value-items-grid .value-item:nth-child(3) {
    top: 0;
    left: 0;
}

.section-app .value-items-grid .value-item:nth-child(4) {
    top: 0;
    right: 0;
}

.section-app .value-items-grid .value-item:nth-child(5) {
    bottom: 0;
    left: 0;
}

#banner-container-app #main-headline {
    font-size: 5em;
}

/* موبايل: النصوص تنزل تحت وتتوسّط */
@media (max-width: 770px) {
    #banner-container-app.geogrid-overview-section {
        position: static;
        max-width: 100%;
        transform: none;
        /*                    padding: 20px;*/
        text-align: center;
    }

    #banner-container-app #main-headline {
        font-size: 3.5em;
    }

    #banner-container-app #banner-text-content {
        position: absolute;
        top: 28%;
        max-width: 60%;
        left: -21px;
    }

    #banner-container-app .geogrid-text {
        font-size: 1em;
        line-height: 1.5;
    }

    #banner-container-app .geogrid-overview-section {
        position: absolute;
        right: 5%;
        top: 39%;
    }

    #banner-container-app #main-headline {
        font-size: 2.5em;
    }

    .section-app .value-proposition-section .section-title {
        text-align: center;
    }

    /* .section-app .value-items-grid .value-item:nth-child(5) {
        bottom: 0;
        left: 12%;
    } */

    .section-app .value-text {
        font-size: 1em;
        width: 100%;
    }

    .section-app .value-items-grid {
        padding: 0;
    }

    /* .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
            grid-row: 2;
            grid-column: 1 / 3;
            margin-left: -15%;
        } */
}

.apec-banner-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out; /* حركة الانيميشن */
}

.banner-slide {
    min-width: 100%;
    height: 100%;
}

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.apec-banner-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out; /* حركة الانيميشن */
}

.banner-slide {
    min-width: 100%;
    height: 100%;
}

    .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* arrows */
.banner-arrows {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

    .banner-arrows button {
        background: transparent;
        border: 2px solid #fff;
        padding: 10px 14px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 20px;
        transition: 0.3s;
        color: #fff;
    }

        .banner-arrows button:hover {
            background: rgba(255, 255, 255, 1);
            color: var(--apec-blue);
        }


/* Section */
.application-carousel-block {
    background: #fff;
    text-align: left;
    padding: 3.5cm;
}

    .application-carousel-block .carousel-title {
        font-size: 2.5rem;
        font-weight: bold;
        color: #0d3b55;
        margin-bottom: 30px;
    }

    /* Carousel Layout */
    .application-carousel-block .carousel-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .application-carousel-block .carousel-slider {
        display: flex;
        gap: 30px;
        overflow: hidden;
        scroll-behavior: smooth;
        flex: 1;
    }

    /* Cards */
    .application-carousel-block .carousel-card {
        flex: 0 0 calc(100% / 6 - 20px);
        text-align: center;
    }

    .application-carousel-block .icon-wrapper {
        border: 2px solid #548cb6;
        border-radius: 10px;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150px;
        width: 150px;
        transition: transform 0.3s ease;
    }

        .application-carousel-block .icon-wrapper img {
            width: 130px;
            height: 130px;
        }

    .application-carousel-block .carousel-card p {
        margin-top: 10px;
        font-size: 14px;
        color: #548cb6;
        font-weight: 500;
    }

    /* Hover */
    .application-carousel-block .carousel-card:hover .icon-wrapper {
        transform: translateY(-5px);
    }

    /* Arrows */
    .application-carousel-block .carousel-arrow {
        background: none;
        border: 2px solid #0d3b55;
        color: #0d3b55;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.3s;
    }

        .application-carousel-block .carousel-arrow:hover {
            background: #0d3b55;
            color: #fff;
        }

    .application-carousel-block .carousel-left {
        margin-right: 10px;
    }

    .application-carousel-block .carousel-right {
        margin-left: 10px;
    }

.carousel-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* يخفي السكروول */
}

    .carousel-slider::-webkit-scrollbar {
        display: none;
    }

.carousel-card {
    flex: 0 0 calc(100% / 7 - 20px); /* 7 كروت في الصف */
    margin-right: 20px;
    box-sizing: border-box;
}

/* موبايل: 2 كروت في الصف */
@media (max-width: 770px) {
    .carousel-card {
        flex: 0 0 calc(62% - 70px);
    }

    .product-carousel-block {
        background: #0d3b55;
        color: #fff;
        text-align: center;
        padding: 1cm 50px;
        margin-bottom: 1cm;
    }

    .application-carousel-block {
        padding: 1cm 45px;
    }
}

.section-app .breadcrumbs {
    font-size: 0.85em;
    color: #666;
    padding-top: 1cm;
    padding-bottom: 0.5cm;
    /* padding: 10px 0; */
    font-weight: 500;
    /* padding-top: 6%; */
}

.cta-section-alt {
    margin-top: 0;
}
/* ✅ موبايل: النص يظهر تحت العنوان مباشرة */
@media (max-width: 770px) {
    #banner-container-app #banner-text-content .headline-with-icon {
        display: flex !important;
        flex-direction: column; /* يخلي المحتوى عمودي */
        align-items: flex-start;
    }

        #banner-container-app #banner-text-content .headline-with-icon h1 {
            margin-bottom: -15px; /* مسافة بسيطة بين العنوان والنص */
        }

    #banner-container-app #banner-text-content .geogrid-overview-section {
        order: 2; /* يخلي النص ييجي بعد العنوان */
        width: 100%;
    }

    #banner-container-app .geogrid-overview-section .bann-p {
        position: absolute;
        right: -58%;
        top: 60%;
        margin-top: 140%;
        transform: translateY(-50%);
        max-width: 145%;
        color: #fff;
    }

    .icon-wrapper {
        border: 2px solid #fff;
        border-radius: 10px;
        width: 120px;
        height: 120px;
        margin: 0 auto 10px;
        padding: 10px;
        transition: transform 0.3s ease;
    }

        .icon-wrapper img {
            width: 90px;
            height: 90px;
        }

    .application-carousel-block .icon-wrapper {
        height: 110px;
        width: 110px;
    }

        .application-carousel-block .icon-wrapper img {
            width: 100px;
            height: 100px;
        }

    .carousel-card {
        margin-right: 0;
    }

    .application-carousel-block .carousel-card {
        margin-right: 20px;
    }

    .application-carousel-block .carousel-slider {
        grid-gap: 650px;
    }
}

@media screen and (min-width: 1460px) and (max-width: 1600px) {
    .app-container {
        width: 100%;
        max-width: 80rem;
        margin: 0 3.5cm 3.5cm 3.5cm;
    }
}

.banner-container-resources #overlay-shape.collapsed {
    clip-path: polygon(0 0, 65% 0, 50% 100%, 0 100%);
    background-color: #82b1d2ad;
    opacity: 1;
}

.banner-container-resources #overlay-shape {
    background-color: #82b1d2ad;
}

.banner-container-resources #main-headline, .banner-container-resources #sub-headline {
    color: var(--Blue-color);
    text-shadow: none;
}

/* Search Section */
.search-section {
    padding: 0px 35px 0pc 45px;
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
}

.search-title {
    font-size: 18px;
    font-weight: 600;
    color: #438dca;
    margin-bottom: 10px;
}

.search-container {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 15px;
}

    .search-container h4 {
        margin: 0;
        color: #333;
    }

.searchBox {
    background: #308bca;
    height: 40px;
    border-radius: 40px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
    transition: 0.4s;
    overflow: hidden;
    margin-bottom: 10px;
}

    .searchBox:hover {
        width: 280px;
        background: #308bca;
    }

.searchInput {
    border: none;
    background: none;
    outline: none;
    /* padding: 0 10px; */
    color: white;
    font-size: 16px;
    width: 0;
    transition: width 0.4s;
}

.searchBox:hover .searchInput {
    width: 200px;
}

.searchInput::placeholder {
    color: white;
    opacity: 1;
}

.searchButton {
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #308bca;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.searchBox:hover .searchButton {
    background: white;
    color: #308bca;
}

/* Independent Sections */
.location-section,
.application-section,
.product-section {
    border-top: 1px solid #ddd;
    margin: 0 30px;
}

.location-header,
.application-header,
.product-header {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s;
}

    .location-header:hover,
    .application-header:hover,
    .product-header:hover {
        background: #eef6fb;
    }

    .location-header h3,
    .application-header h3,
    .product-header h3 {
        margin: 0;
        font-size: 18px;
        color: #308bca;
    }

.toggle-icon {
    font-size: 18px;
    color: #fff;
    transition: transform 0.4s ease;
}

.location-section .rotate,
.application-section .rotate,
.product-section .rotate {
    transform: rotate(180deg);
}

.location-content,
.application-content,
.product-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 15px;
    background: white;
}

    .location-content.active,
    .application-content.active,
    .product-content.active {
        padding: 10px 15px 130px;
        max-height: 99vh !important;
        /* overflow: visible; */
    }

/* Map */
#map {
    height: 500px;
    width: 100%;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

/* Shared Grid for Applications / Products */
.icon-grid-search {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 30px;
    row-gap: 100px;
    text-align: center;
    justify-items: center;
}

    .icon-grid-search .icon-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        cursor: pointer;
        text-align: center;
    }

    /* Image wrapper with border & background */
    .icon-grid-search .icon-wrapper {
        background: #fff;
        border: 2px solid #548cb6;
        border-radius: 12px;
        padding: 15px;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
        filter: grayscale(100%);
        margin: 0;
    }

        .icon-grid-search .icon-wrapper img {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

    /* Hover effect */
    .icon-grid-search .icon-box:hover .icon-wrapper {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    /* Active state = colored icon */
    .icon-grid-search .icon-box.active .icon-wrapper {
        filter: grayscale(0%);
        background: #eaf6fd;
        border: 2px solid #308bca;
    }

    /* Span fixed color always */
    .icon-grid-search .icon-box span {
        margin-top: 10px;
        font-size: 15px;
        color: #548cb6; /* fixed color */
        font-weight: 500;
        line-height: 1.3;
        width: 200%;
    }

.sections-content {
    padding: 0 2.3cm 3.5cm;
}

.icon-grid-search .icon-wrapper img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(60%); /* يخليها رمادي */
    transition: filter 0.3s ease;
}


.icon-grid-search .icon-box.active .icon-wrapper img {
    filter: invert(38%) sepia(95%) saturate(1800%) hue-rotate(185deg) brightness(95%) contrast(90%);
}

.catalogs span {
    color: #00c2ff;
}

@media(max-width: 770px) {
    .sections-content {
        padding: 0;
    }

    .search-section {
        padding: 0px 10px;
    }

    .location-section, .application-section, .product-section {
        margin: 0;
    }

    .icon-grid-search {
        grid-template-columns: repeat(3, 1fr);
    }

        .icon-grid-search .icon-box {
            margin-bottom: 65%;
        }
}

.catalogs {
    position: relative;
    text-decoration: none;
    color: inherit;
}

    .catalogs .canva-product-img1 {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
    }

        .catalogs .canva-product-img1 img {
            width: 100%;
            display: block;
            transition: transform 0.4s ease;
        }

        .catalogs .canva-product-img1:hover img {
            transform: scale(1.1);
        }

/* Overlay effect */
.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 75, 143, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

    .download-overlay i {
        font-size: 40px;
        color: #fff;
        animation: bounce 1.5s infinite;
    }

.catalogs .canva-product-img1:hover .download-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cta-section-alt {
    margin-top: 0;
}

@media (max-width: 770px) {
    .breadcrumbs-new {
        padding-top: 0.5cm;
        padding-bottom: 0.5cm;
    }
}

.links-section {
    background: #ffffff;
    padding: 0px 3.5cm;
    border-radius: 15px;
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.08); */
    width: 100%;
    animation: fadeIn 1s ease-in-out;
}

    .links-section h2 {
        text-align: left;
        color: var(--Blue-color);
        margin-bottom: 20px;
        font-size: 22px;
        position: relative;
    }

        .links-section h2::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background: #3498db;
            margin: 8px 0;
            border-radius: 2px;
        }

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

    .links-list li {
        margin: 12px 0;
        overflow: hidden;
    }

    .links-list a {
        display: inline-block;
        color: #34495e;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        transition: color 0.3s ease;
    }

        /* الخط المتحرك */
        .links-list a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: #3498db;
            transition: width 0.4s ease;
        }

        .links-list a:hover::after {
            width: 100%;
        }

        .links-list a:hover {
            color: #3498db;
            transform: translateX(5px);
        }

/* Overlay Play Icon */
.catalogs .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .catalogs .video-overlay i {
        font-size: 50px;
        color: #fff;
        background: rgba(34,75,143,0.8);
        padding: 18px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

.catalogs .video-card:hover .video-overlay {
    opacity: 1;
}

    .catalogs .video-card:hover .video-overlay i {
        transform: scale(1.2);
    }


.close-btn {
    position: absolute;
    top: -33px;
    right: -10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 890px;
    background: transparent;
    padding: 0;
    animation: fadeInUp 0.5s ease;
}

@media (max-width: 770px) {
    .links-section {
        background: #ffffff;
        padding: 10px 20px 0;
        border-radius: 15px;
        /* box-shadow: 0 10px 25px rgba(0,0,0,0.08); */
        width: 100%;
        animation: fadeIn 1s ease-in-out;
    }

    .video-modal-content {
        max-width: 350px;
    }

    .close-btn {
        top: -7px;
        right: -9px;
        z-index: 1000;
    }

    #videoFrame {
        height: 250px !important;
    }
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    text-align: center;
    align-items: center;
}

@media (min-width: 640px) { /* sm breakpoint */
    .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) { /* md breakpoint */
    .grid-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.grid-container .column-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-container .column-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #224b8f;
    margin-bottom: 1rem;
}

.grid-container .icon-wrapper {
    margin-bottom: 0;
    width: 160px;
    height: 160px;
}

grid-container .column-item img {
    width: 120px;
    height: 120px;
    filter: brightness(0) /* remove original colors */
    saturate(100%) invert(31%) /* adjust towards dark blue */
    sepia(18%) /* add warmth */
    saturate(800%) /* boost intensity */
    hue-rotate(175deg) /* rotate hue into blue range */
    brightness(1.7); /* darken to match #447294 */
}

grid-container .column-text {
    color: #000;
    font-size: 1em;
    font-weight: 600;
}

.blue-bar {
    background-color: #295E8B;
    /* border-radius: 0.5rem; */
    /* box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); */
    /* max-width: 80rem; */
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 2cm 3cm;
    /* text-align: center; */
    color: #fff;
    font-weight: 600;
}

    .blue-bar h2 {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

@media (min-width: 640px) {
    .blue-bar h2 {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .blue-bar h2 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
}

.project-summary {
    width: 100%;
    padding: 3.5cm;
    background: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 40px;
    padding-right: 2cm;
}

.project-left {
    flex: 1;
}

.project-right {
    width: 400px; /* مساحة مناسبة للأيقونات */
}

.project-summary h2 {
    color: #224b8f;
    margin-bottom: 15px;
}

.project-summary p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    max-width: 900px;
    font-size: 19px;
}

/* Social Icons */
.social-share {
    margin-top: 30px;
}

    .social-share span {
        display: block;
        margin-bottom: 12px;
        color: #224b8f;
        font-weight: 700;
        font-size: 20px;
    }

    .social-share .social-icons {
        display: flex;
        gap: 12px;
    }

        .social-share .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            color: white;
            font-size: 18px;
            text-decoration: none;
            background: #357099;
            transition: all 0.3s ease; /* Smooth transition */
        }

            .social-share .social-icons a:hover {
                background: #afc3e4; /* لون أغمق */
                transform: scale(1.1); /* تكبير بسيط */
            }

.project-details p {
    margin-bottom: 5px;
    color: #333;
    font-size: 19px;
}

    .project-details p strong {
        color: #000;
        font-weight: bold;
    }

    .project-details p a {
        color: #357099;
        text-decoration: none;
    }

        .project-details p a:hover {
            text-decoration: underline;
        }


/* The Problem Section */
.problem-section {
    width: 100%;
    background: #afc3e4;
    padding: 60px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.problem-text {
    flex: 1;
    max-width: 900px;
}

    .problem-text h2 {
        color: #003880;
        margin-bottom: 15px;
    }

    .problem-text p {
        color: #003780;
        font-size: 19px;
        line-height: 1.6;
    }

.problem-icon {
    font-size: 48px;
    color: #19468d;
    margin-left: 30px;
}

/* Responsive */
@media (max-width: 770px) {
    .problem-section {
        flex-direction: column;
        text-align: left;
    }

    .problem-icon {
        margin: 20px 0 0;
    }

    .slide-content .content-wrapper {
        transform: translateY(40px) !important;
    }
}

.apec-section {
    width: 100%;
    padding: 3.5cm;
    background: #fff;
    /* border-bottom: 1px solid #ddd; */
    /* text-align: center; */
}

    .apec-section h2 {
        color: #224b8f;
        margin-bottom: 15px;
    }

    .apec-section p {
        max-width: 900px;
        margin: 40px 0;
        color: #333;
        line-height: 1.6;
        font-size: 1.2em;
    }

    /* Swiper */
    .apec-section .swiper {
        width: 100%;
        padding-top: 100px; /* space for arrows */
        padding-bottom: 40px;
    }

    .apec-section .swiper-slide {
        background: #eee;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        width: 600px; /* fixed width for cropped look */
        height: 300px;
    }

        .apec-section .swiper-slide img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

    /* Make sure arrows are visible */
    .apec-section .swiper-button-next,
    .apec-section .swiper-button-prev {
        position: absolute; /* must be absolute for Swiper */
        z-index: 10; /* keep them above slides */
        color: #224b8f;
        background: #fff;
        border: 2px solid #224b8f;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        top: 15%;
        font-size: 23px;
    }

        .apec-section .swiper-button-next:hover,
        .apec-section .swiper-button-prev:hover {
            color: #fff;
            background: #224b8f;
        }

    /* Move them side by side at top center */
    .apec-section .swiper-button-prev {
        left: 50%;
        transform: translateX(-60px) translateY(-50%);
    }

    .apec-section .swiper-button-next {
        left: 50%;
        transform: translateX(20px) translateY(-50%);
    }

        /* Adjust arrow icons inside */
        .apec-section .swiper-button-next::after,
        .apec-section .swiper-button-prev::after {
            display: none;
        }

.benefits-list {
    max-width: 900px;
    margin: 40px 20px 0;
    padding-left: 20px; /* space for bullets */
    color: #333;
    line-height: 1.3;
    font-size: 1.2em;
    list-style-type: disc; /* circle bullets */
}

    .benefits-list li {
        margin-bottom: 10px;
    }

@media (max-width: 770px) {
    .project-summary {
        width: 100%;
        padding: 40px 20px;
        background: #fff;
        border-bottom: 1px solid #ddd;
        display: block;
    }

    .blue-bar {
        padding: 40px 20px;
    }

    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: none !important;
        opacity: 1 !important;
    }

    .apec-section {
        padding: 40px 20px;
    }

    .project-details {
        margin-top: 30px;
    }

    .project-right {
        width: auto;
    }

    .manufacturing-projects .btn-primary-gradient {
        float: none;
        margin-top: 10px;
    }
}



/*************************Devices*********************/
@media (min-width: 1000px) and (max-width: 1200px) {
    .navbar-brand {
        left: 2%;
    }

        .navbar-brand img {
            height: 100px;
        }

    .pages-nav .header-area-content #main-nav-content .navbar-nav {
        gap: 0px;
    }

    .content-wrapper {
        /* margin-top: 3%; */
        /* margin-bottom: 18%; */
    }

    .gradient-box {
        left: -23%;
    }

    .bottom-images {
        top: 0;
        padding: 0%;
        margin-top: -5%;
    }

        .bottom-images img {
            width: 300px;
            height: 320px;
        }

            .bottom-images img:nth-child(2) {
                left: 22%;
            }

    .right-image {
        top: 5%;
        width: 45%;
    }

        .right-image img {
            width: 450px;
            height: 955px;
            top: 0%;
        }

    .value-items-grid .value-item:nth-child(2) {
        top: 0;
        right: -14%;
    }

    .main-graphic .apec-logo {
        width: 700px;
    }

    .apec-image-wrapper {
        margin-bottom: 5%;
    }

    .apec-image-transition {
        width: 100%;
        height: 27%;
        margin: 0%;
    }

    .value-proposition-section .section-description {
        text-align: center;
    }

    .newSection {
        /* height: 85vh; */
    }

    .btn {
        font-size: 0.8rem;
    }

    .footer-col {
        /* margin-left: 14%; */
    }

    .slide-content .content-wrapper {
        /* margin-top: 33%; */
    }

    .hero-section.video-hero {
        height: 105vh !important;
    }

    .header-area-content #main-nav-content .navbar-nav {
        gap: 0px;
        margin-right: 12%;
    }

    .copyright p {
        margin-right: 24%;
        margin-left: -0.5%;
    }

    .nav-item .btn-top {
        padding: 1px 5px;
        margin-top: 11%;
    }

    body.scrolled #main-header-and-nav-wrapper {
        height: 12vh;
    }

    body.scrolled .navbar-brand {
        left: -1%;
        top: -40%;
    }

    body.scrolled .header-area-content #main-nav-content .navbar-nav {
        gap: 0px;
        margin-right: 14%;
    }
}

@media (min-width: 450px) and (max-width: 760px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 80px;
        margin: 0;
        display: grid;
    }

    .bottom-images img {
        width: 70%;
        max-width: 400px;
        height: auto;
    }

    .bottom-images {
        right: -15% !important;
    }
}

@media (min-width: 300px) and (max-width: 900px) {
    .hero-section.video-hero {
        height: 70vh !important;
    }

    .newSection {
        /* height: 60vh; */
    }

    .section-exclusive-manufacturer-video {
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .hero-section.video-hero {
        height: 70vh !important;
    }

    .newSection {
        /* height: 55vh; */
    }

    .section-exclusive-manufacturer-video {
        background-size: cover;
        background-repeat: no-repeat;
    }

    .lab-facilities-section {
        height: auto;
        padding: 0;
        padding-right: 10px;
        padding-bottom: 10%;
        padding-top: 10%;
    }

    .right-image img {
        position: absolute;
        width: 350px;
        height: 100%;
        object-fit: cover;
        display: block;
        /* top: -30px; */
        border-radius: 20px;
    }

    .bottom-images img {
        width: 250px;
        height: 250px;
    }

    .bottom-images {
        /* display: flex
; */
        /* gap: 15px; */
        margin-top: 1%;
        justify-content: flex-start;
        /* padding-bottom: 20px; */
        /* margin-left: 3%; */
        position: relative;
        top: -80px;
        right: 5%;
        padding: 7%;
    }

    .impact-stats-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: 33vh;
        padding: 0 80px;
        /* background-color: #003780; */
        /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
        /* z-index: 2; */
        flex-wrap: nowrap;
        margin-top: auto;
        position: absolute;
        bottom: 83px;
        left: 0;
        right: 0;
        margin-top: 20%;
    }

    .value-items-grid {
        max-width: 700px;
        max-height: 650px;
    }

        .value-items-grid .value-item:nth-child(5) {
            bottom: 0;
            left: 40%;
        }

    .apec-image-hero {
        height: auto;
    }

    .connect-with-us-section .btn-primary-gradient {
        font-size: 0.9rem;
    }

    .impact-section {
        padding-bottom: 40px;
    }

    .impact-stats-container {
        display: contents;
    }

    .slide-content .content-wrapper {
        /* margin-top: 55%; */
    }

    .header-area-content #main-nav-content .navbar-nav {
        display: none;
    }

    .header-area-content #main-nav-content .navbar-nav {
        display: none;
    }

    .pages-nav .navbar-brand img {
        height: 130px
    }

    .pages-nav .navbar-brand {
        top: 270%;
        left: 10%;
    }

    .pages-nav .page-content-wrapper {
        margin: 20px;
        padding: 0 40px;
    }

    .breadcrumbs {
        padding: 0;
    }

    .who-we-are {
        margin: 0 40px 3.5cm;
    }

    .mission-vision {
        padding: 0 0 3.5cm;
    }

    .mv-box {
        height: 200px;
    }

    .corporate-video {
        height: 50vh;
    }

    .our-values {
        padding: 3.5cm 0;
    }

    .impact-section {
        padding-bottom: 40px;
    }

    .app-container {
        margin: 0 3.5cm 3.5cm 1.5cm;
    }

    .btn {
        font-size: 0.8em;
        padding: .375rem .375rem;
    }

    .mobile-nav li .btn {
        width: 11%;
        left: 1%;
        padding: 3px 0px;
        color: var(--Blue-color);
    }

    #banner-container-app #banner-text-content .headline-with-icon {
        display: flex !important;
        flex-direction: column; /* يخلي المحتوى عمودي */
        align-items: flex-start;
        /* margin-top: -95%; */
        margin-left: -4%;
    }

        #banner-container-app #banner-text-content .headline-with-icon h1 {
            margin-bottom: -15px; /* مسافة بسيطة بين العنوان والنص */
            font-size: 4.5em;
        }

    #banner-container-app #banner-text-content .geogrid-overview-section {
        order: 2; /* يخلي النص ييجي بعد العنوان */
        width: 100%;
    }

    #banner-container-app .geogrid-overview-section .bann-p {
        position: absolute;
        right: -85%;
        top: 10%;
        margin-top: 45%;
        transform: translateY(-50%);
        max-width: 90%;
        color: #fff;
    }

    .apec-banner-slider {
        position: relative;
        width: 100%;
        height: 55vh;
        overflow: hidden;
    }

    .impact-stats-container {
        flex-direction: row;
    }

    .impact-section {
        /* min-height: 500px; */
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .impact-about {
        padding-bottom: 70px;
    }

    .application-carousel-block .carousel-slider {
        gap: 650px;
    }

    .geogrid-overview-section p {
        color: #fff;
        text-align: left;
        line-height: 1.2;
        margin-left: 0%;
    }

    .geogrid-overview-section-career p {
        color: #1F2937 !important;
        text-align: left;
        padding-left: 0;
        line-height: 1.3;
    }

    .geogrid-overview-section-sus p {
        color: #1F2937 !important;
        text-align: left;
        padding-left: 0;
        line-height: 1.3;
    }

    .page-content-wrapper {
        margin: 20px;
        padding: 0 40px;
        max-width: 100%;
    }

    .icon-grid-search {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 55px;
        text-align: center;
        justify-items: center;
    }

        .icon-grid-search .icon-box {
            margin-top: 60%;
        }

    .links-section {
        padding: 1cm 2cm;
    }

    .project-summary {
        padding: 3.5cm 2cm;
        display: block;
    }

    .apec-section {
        padding: 3.5cm 2cm;
    }

    #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
        right: -10% !important;
    }

    #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
        left: -10% !important;
    }

    .canva-products-grid1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* صف فيه عنصرين */
        gap: 30px;
        margin-top: 30px;
    }

    .timeline-section {
        padding: 0 130px !important;
    }

    .timeline-img-outside {
        top: 47% !important;
    }

    .design-team-design .design-team-container {
        display: block !important;
    }

    .design-team-design {
        height: auto !important;
    }

        .design-team-design .design-team-content {
            padding: 20px 0 20px 20px !important;
        }

    .why-avial .design-team-content h2::after {
        left: 5% !important;
    }

    .design-services-section {
        margin: 3.5cm 1cm !important;
    }

    .design-team-faq .design-team-container {
        display: block !important;
    }

    .design-team-faq {
        height: auto !important;
    }

        .design-team-faq .design-team-content {
            padding: 20px 0 20px 20px !important;
        }

    .production-section .flex {
        display: block !important;
        height: auto !important;
    }

    .production-text {
        padding: 1cm 1cm 0cm 1cm !important;
    }

    .address-row-1 {
        display: block !important;
    }

        .address-row-1 .address-text {
            padding: 2cm 0 !important;
        }

    .insight-selection {
        padding: 3.5cm 2cm !important;
    }

    .geogrids-sections #functions {
        margin-bottom: 2cm !important;
    }

    .applications-wrapper {
        display: block !important;
    }

    .applications-slider .slide img {
        height: auto !important;
    }

    .related-articles {
        padding: 1.5cm !important;
        padding-top: 0 !important;
    }

    .carousel-left {
        left: -5px !important;
    }

    .carousel-right {
        right: -5px !important;
    }

    .lab-section {
        margin-bottom: 3% !important;
    }

    .lab-container {
        display: block !important;
    }

    .lab-details {
        margin-left: 3cm !important;
        margin-right: 3cm !important;
    }

    .slider-section {
        padding: 0 1cm !important;
    }

    .wrap1 {
        padding: 0 1cm !important;
    }

    .geogrid-overview-section-sus .text-content {
        padding: 0 1.5cm !important;
    }

    .sustainability-content {
        display: block !important;
    }

    .design-team-seminars .design-team-container {
        display: block !important;
    }

    .design-team-seminars {
        height: auto !important;
    }

        .design-team-seminars .design-team-content {
            padding: 20px 0 20px 20px !important;
        }

    .flexible-schedule {
        height: auto !important;
        padding: 0 0 0 2cm !important;
    }

    .flexible-content h2 {
        padding: 3% 0 0 !important;
    }

    #banner-text-content .headline-with-icon-app {
        display: flex !important;
        flex-direction: column !important; /* يخلي المحتوى عمودي */
        align-items: flex-start !important;
        margin-top: -95% !important;
    }

        #banner-text-content .headline-with-icon-app h1 {
            margin-bottom: -15px !important; /* مسافة بسيطة بين العنوان والنص */
        }

    #banner-text-content .geogrid-overview-section-app {
        order: 2 !important; /* يخلي النص ييجي بعد العنوان */
        width: 100% !important;
    }

    .geogrid-overview-section-app .bann-p {
        position: absolute !important;
        right: -58% !important;
        top: 10% !important;
        margin-top: 45% !important;
        transform: translateY(-50%) !important;
        max-width: 145% !important;
        color: #fff !important;
    }

    .application-carousel-block .carousel-slider {
        gap: 650px !important;
    }

    .geogrid-overview-section-app p {
        text-align: left !important;
    }

    .carousel-card {
        flex: 0 0 calc(30% - 70px) !important;
    }

    .geogrid-overview-section-app .container {
        max-width: initial !important;
    }
}

@media (min-width: 1000px) and (max-width: 1100px) {
    .value-items-grid .value-item:nth-child(2) {
        top: 0;
        right: -8%;
    }

    .lab-facilities-section {
        height: 90%;
        padding-right: 0;
        margin-top: -15%;
    }

    .value-items-grid .value-item:nth-child(1) {
        top: 0;
        left: -8%;
    }

    .impact-stats-container {
        height: 15vh;
    }

    .impact-section {
        min-height: 30vh;
    }

    .newSection {
        /* height: 50vh; */
    }

    .hero-section.video-hero {
        height: 60vh !important;
    }

    .slide-content .content-wrapper {
        /* margin-top: 40%; */
    }

    .value-items-grid .value-item:nth-child(5) {
        bottom: 0;
        left: 35%;
    }

    .header-area-content #main-nav-content .nav-link {
        padding: 8px 5px !important;
    }

    .social-icon-wrapper {
        top: 1%;
        right: 25px;
    }

    body.scrolled .social-icon-wrapper {
        top: 1.5%;
    }

    .pages-nav .header-area-content #main-nav-content .nav-link {
        padding: 8px 10px;
    }

    .social-icon-wrapper-pages {
        top: 4%;
        right: 6px;
    }

    body.scrolled .social-icon-wrapper-pages {
        top: 2%;
    }

    .corporate-video {
        height: 40vh;
    }

    .mv-box {
        height: 200px;
    }

    .our-values {
        padding: 3.5cm 1cm;
    }

    .impact-section {
        min-height: 35vh;
    }

    .impact-stats-container {
        height: 6vh;
        bottom: auto;
    }

    .impact-about .impact-stats-container {
        height: 20vh;
    }

    .pages-nav .navbar-brand img {
        height: 100px
    }

    .pages-nav .navbar-brand {
        top: 20%;
    }

    .main-header-and-nav-wrapper-pages {
        height: 11vh;
    }

    .pages-nav .header-area-content #main-nav-content .navbar-nav {
        margin-right: 11%;
    }

    .pages-nav .navbar-nav {
        margin-top: 2.7%;
    }

    .app-container {
        margin: 0 3.5cm 3.5cm 1.5cm;
    }

    .footer-col {
        /* margin-left: 14%; */
        /* padding: 0 25px; */
    }

    .section-app .value-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .apec-banner-slider {
        position: relative;
        width: 100%;
        height: 40vh;
        overflow: hidden;
    }

    .impact-stats-container {
        flex-direction: row;
    }

    .impact-section {
        min-height: 40vh;
        padding-bottom: 40px;
    }

    .impact-about {
        min-height: 50vh;
        padding-bottom: 70px;
    }

    .application-carousel-block .carousel-slider {
        gap: 450px;
    }

    .geogrid-overview-section p {
        color: #fff;
        text-align: center;
        padding-left: 40px;
        line-height: 1.3;
    }


    .geogrid-overview-section-career p {
        color: #1F2937 !important;
        text-align: left;
        padding-left: 0;
        line-height: 1.3;
    }

    .geogrid-overview-section-sus p {
        color: #1F2937 !important;
        text-align: left;
        padding-left: 0;
        line-height: 1.3;
    }

    .blog-content p {
        padding-left: 0;
        text-align: left;
    }

    body.scrolled .main-header-and-nav-wrapper-pages .navbar-brand {
        top: -8%;
    }

    body.scrolled .main-header-and-nav-wrapper-pages {
        height: 7.5vh;
    }

    .icon-grid-search {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 55px;
        text-align: center;
        justify-items: center;
    }

        .icon-grid-search .icon-box {
            margin-top: 60%;
        }

    .canva-products-grid1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* صف فيه عنصرين */
        gap: 30px;
        margin-top: 30px;
    }

    #apec-video-section-container {
        height: 40vh;
    }

    .timeline-section {
        padding: 0 120px !important;
    }

    .timeline-img-outside {
        top: 75% !important;
    }

    .design-team-design {
        height: 40vh !important;
    }

    .design-services-section {
        margin: 3.5cm 1cm !important;
    }

    .design-team-faq {
        height: 40vh !important;
    }

    .facilities-video-wrapper {
        height: 30vh !important;
    }

    .production-section .flex {
        height: 50vh !important;
    }


    .new-reverse .sticky-text-box {
        padding: 0 1cm !important;
    }

    .carousel-left {
        left: -10px !important;
    }

    .carousel-right {
        right: -10px !important;
    }

    .geogrids-sections #functions {
        margin-bottom: 2cm !important;
    }

    .applications-wrapper {
        display: block !important;
    }

    .applications-slider .slide img {
        height: auto !important;
    }

    .related-articles {
        padding: 1.5cm !important;
        padding-top: 0 !important;
    }

    .slider-section {
        padding: 0 3cm !important;
    }

    .wrap1 {
        padding: 0 2.5cm !important;
    }

    .geogrid-overview-section-sus .text-content {
        padding: 0 2cm !important;
    }

    .design-team-seminars {
        height: 40vh;
    }

    .app-container {
        margin: 0px 3.5cm 3.5cm 2cm;
    }

    .flexible-schedule {
        height: auto;
    }

    .flexible-content h2 {
        padding: 3% 0 0;
    }

    .application-carousel-block .carousel-slider {
        gap: 450px !important;
    }

    .geogrid-overview-section-app p {
        color: #1f2937 !important;
        text-align: left !important;
        padding-left: 0 !important;
    }

    .category-link {
        height: 45px;
    }

    .applications-list-box p {
        margin-left: -28%;
    }

    .geogrids-sections .applications-list {
        margin-left: 0% !important;
    }
}

.pages-nav .header-area-content #main-nav-content .nav-link {
    color: #333 !important;
}

.design-team {
    padding: 0 40px 0 0;
    background: #fff;
    color: #fff;
    height: 100vh;
    margin-bottom: 3.5cm;
}


.design-team-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.design-team-photo img {
    /* width: 400px; */
    max-width: 100%;
    height: 650px;
    /* border-radius: 20px; */
    /* box-shadow: 0 10px 25px rgba(0,0,0,0.5); */
    /* transform: scale(0.95); */
    transition: transform 0.5s ease;
}

    .design-team-photo img:hover {
        transform: scale(1);
    }

.design-team-content {
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

    .design-team-content.visible {
        opacity: 1;
        transform: translateX(0);
    }

.wrapper {
    padding: 0 0 2.5cm;
}

    .wrapper .timepicker-cf {
        height: 60px;
        width: 100%;
    }

    .wrapper .timepicker {
        position: absolute;
        top: 200px;
        /* margin-left: 10%; */
        width: 70%;
        height: 0px;
        background: var(--apec-blue);
        overflow: hidden;
    }

        .wrapper .timepicker .owl,
        .wrapper .timepicker .owl-stage {
            width: 100%;
            height: 60px;
            display: flex;
            align-items: center;
        }

            .wrapper .timepicker .owl .owl-item,
            .wrapper .timepicker .owl-stage .owl-item {
                font-size: 1.1em;
                display: inline-block;
                font-weight: 600;
                color: white;
                text-align: center;
                min-width: 100px;
                opacity: 0.4;
                cursor: pointer;
                transition: all .2s ease-in-out;
            }

            .wrapper .timepicker .owl .center-n,
            .wrapper .timepicker .owl-stage .center-n {
                font-size: 1.5em;
                opacity: 0.7;
            }

            .wrapper .timepicker .owl .center,
            .wrapper .timepicker .owl-stage .center {
                font-size: 2em;
                opacity: 1;
            }

    .wrapper .fade-l {
        position: absolute;
        height: 100%;
        width: 150px;
        left: 0;
        top: 0;
        background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=1);
    }

    .wrapper .fade-r {
        position: absolute;
        height: 100%;
        width: 150px;
        right: 0;
        top: 0;
        background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=1);
    }

    .wrapper .owl-prev,
    .wrapper .owl-next {
        z-index: 20;
        position: absolute;
        width: 20px;
        top: 20px;
        color: #667483;
        cursor: pointer;
        transition: .2s ease-in-out;
        background: none;
        border: 0;
        font-size: 1em;
    }

    .wrapper .owl-prev {
        left: 20px;
    }

        .wrapper .owl-prev:before {
            content: '\f053';
            font-family: FontAwesome;
        }

        .wrapper .owl-prev:hover {
            left: 18px;
            transition: .2s ease-in-out;
        }

    .wrapper .owl-next {
        right: 20px;
    }

        .wrapper .owl-next:hover {
            right: 18px;
            transition: .2s ease-in-out;
        }

        .wrapper .owl-next:before {
            content: '\f054';
            font-family: FontAwesome;
        }

    .wrapper .inner-wrap {
        padding: 0 5% 0 0;
        flex: 1;
        max-width: 48%;
    }

        .wrapper .inner-wrap .request {
            width: 100%;
            height: 50px;
            text-align: left;
            padding: 0 20px;
            border: none;
            background: var(--apec-blue);
            color: #fff;
            font-weight: 600;
            border-radius: 10px;
            font-size: 1em;
            cursor: pointer;
            transition: all .2s ease-in-out;
            opacity: 1;
            position: relative;
        }

            .wrapper .inner-wrap .request br {
                display: none;
            }

            .wrapper .inner-wrap .request .sendRequestIcon {
                position: absolute;
                right: 20px;
                top: 16px;
            }

                .wrapper .inner-wrap .request .sendRequestIcon:before {
                    content: '\f054';
                    font-family: FontAwesome;
                }

            .wrapper .inner-wrap .request:hover {
                padding-right: 15px;
                transition: all .2s ease-in-out;
            }

            .wrapper .inner-wrap .request.disabled {
                opacity: 0.8;
                pointer-events: none;
                background: var(--apec-blue);
                transition: all .3s ease-in-out;
            }

        .wrapper .inner-wrap .disabled span {
            display: none;
        }

        .wrapper .inner-wrap input {
            border: none;
        }

        .wrapper .inner-wrap .form-name {
            display: flex;
            position: relative;
            height: 50px;
            align-items: flex-end;
            margin-bottom: 13px;
        }

            .wrapper .inner-wrap .form-name label,
            .wrapper .inner-wrap .form-name input {
                font-size: 1em;
                font-weight: 600;
                color: #667483;
            }

            .wrapper .inner-wrap .form-name label {
                position: absolute;
                margin: 0;
                left: 10px;
                top: 15px;
                transition: all 250ms ease 0s;
            }

            .wrapper .inner-wrap .form-name input {
                height: 80%;
                width: 100%;
                border-bottom: 2px solid #667483;
                padding: 0 10px;
            }

                .wrapper .inner-wrap .form-name input:focus {
                    outline: none;
                }

                    .wrapper .inner-wrap .form-name input:focus + label {
                        font-size: 0.8em;
                        left: .15rem;
                        top: 0%;
                    }

                .wrapper .inner-wrap .form-name input:invalid {
                    /* border-bottom: 2px solid #c23616; */
                    /* color: #c23616; */
                }

                    .wrapper .inner-wrap .form-name input:invalid + label {
                        /* font-size: 0.8em; */
                        /* color: #c23616; */
                        /* left: .15rem; */
                        /* top: 0%; */
                    }

            .wrapper .inner-wrap .form-name:last-of-type {
                margin-bottom: 50px;
            }

#calendar {
    overflow: hidden;
    position: relative;
}

    #calendar .header {
        width: 100%;
        height: 160px;
        background-image: url('');
        background-size: 100% auto;
    }

        #calendar .header .overlay {
            width: 100%;
            height: 100%;
            background: rgba(106, 102, 95, 0.6);
            color: #fff;
            padding: 3% 5%;
            display: flex;
            align-items: flex-end;
        }

        #calendar .header h1 {
            font-size: 2em;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            letter-spacing: 1%;
        }

    #calendar .monthChange {
        background: #fff;
        width: 100%;
        height: 0;
        position: absolute;
        top: 160px;
        z-index: 20;
    }

    #calendar .ui-datepicker {
        display: none;
        width: 100%;
        margin: auto;
        padding: 30px 10% 30px 10%;
        text-transform: uppercase;
        background: #fff;
        transition: all .2s ease-in-out;
    }

        #calendar .ui-datepicker .ui-datepicker-header {
            position: relative;
            margin-bottom: 10px;
        }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-title {
                text-align: center;
                font-weight: 700;
                color: var(--Blue-color);
                font-size: 34px;
            }

                #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-title .ui-datepicker-month {
                    position: relative;
                    padding-right: 5px;
                }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev,
            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
                top: -20px;
                position: absolute;
                padding: 25px;
                font-size: 25px;
                cursor: pointer;
            }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
                left: 0;
            }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
                right: 0;
            }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev:before {
                content: "\f053";
                font-family: FontAwesome;
            }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next:after {
                content: "\f054";
                font-family: FontAwesome;
            }

            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev span,
            #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next span {
                display: inline-block;
                text-indent: -9999px;
            }

        #calendar .ui-datepicker .ui-datepicker-calendar {
            width: 100%;
            margin-top: 5%;
        }

            #calendar .ui-datepicker .ui-datepicker-calendar th {
                line-height: 30px;
                padding-top: 15px;
                text-align: center;
                font-weight: 600;
                font-size: 0.95em;
                color: #667483;
            }

            #calendar .ui-datepicker .ui-datepicker-calendar td {
                padding: 0 7px;
                text-align: center;
                height: 34px;
                font-weight: 600;
                cursor: pointer;
                box-sizing: border-box;
                transition: all .2s ease-in-out;
            }

                #calendar .ui-datepicker .ui-datepicker-calendar td:hover {
                    background: var(--apec-blue);
                    transition: all .2s ease-in-out;
                    color: #fff;
                }

            #calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day {
                background: #004e9aad;
                color: #fff;
                border-bottom: var(--secBule);
            }

                #calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day.open {
                    margin-bottom: 100px;
                }

            #calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-today .ui-state-default {
                border-bottom: 2px solid rgba(53, 60, 66, 0.5);
            }

            #calendar .ui-datepicker .ui-datepicker-calendar .ui-state-default {
                text-decoration: none;
                color: #353C42;
            }

            #calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-other-month {
                pointer-events: none;
            }

                #calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-other-month .ui-state-default {
                    color: #919BA3;
                }

@media only screen and (max-width: 600px) {
    .wrapper .inner-wrap .request br {
        display: block;
    }

    .geogrid-text {
        color: #1F2937;
        font-size: 1.3em;
        line-height: 1.8;
        text-align: left;
        width: 100%;
    }
}

#calendar .ui-datepicker .ui-datepicker-calendar .ui-datepicker-current-day a {
    color: #fff;
}

.wrapper .inner-wrap .request:hover {
    background-color: var(--secBule);
}

.cta-section-alt {
    margin-top: 0;
}

@media (max-width: 770px) {
    #calendar .ui-datepicker {
        padding: 30px 5% 30px 5%;
    }

        #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-prev, #calendar .ui-datepicker .ui-datepicker-header .ui-datepicker-next {
            top: 5px;
            position: absolute;
            padding: 0px;
            cursor: pointer;
        }

        #calendar .ui-datepicker .ui-datepicker-header {
            position: relative;
            margin-bottom: 10px;
            font-size: 30px;
        }

    .breadcrumbs {
        padding-top: 0cm;
        padding-bottom: 0cm;
    }
}
/* تنسيق الكونتينر */
.timezone-select {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: Arial, sans-serif;
}

    /* تنسيق الليبل */
    .timezone-select label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 5px;
        color: #333;
    }

    /* تنسيق السيلكت */
    .timezone-select select {
        width: 100%;
        padding: 10px 14px;
        font-size: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background: #fff;
        color: #333;
        outline: none;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
        appearance: none; /* يخفي السهم الافتراضي */
        background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' width='20' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
    }

        /* عند التركيز */
        .timezone-select select:focus {
            border-color: #007bff;
            box-shadow: 0 0 4px rgba(0,123,255,0.4);
        }

        /* خلي الـ dropdown دايمًا يفتح لتحت */
        .timezone-select select option {
            direction: ltr; /* علشان لو التوقيتات طويلة */
        }

    /* إجبار القائمة على الفتح لتحت */
    .timezone-select select {
        position: relative;
        overflow: visible !important;
        overflow-clip-margin: content-box !important;
    }

.wrapper {
    display: flex;
    gap: 30px; /* مسافة بين الكاليندر والفورم */
    align-items: baseline;
    /* margin-top: 40px; */
}

/* الكاليندر على الشمال */
#calendar {
    flex: 1; /* ياخد مساحة مناسبة */
    max-width: 55%; /* نصف العرض */
}

/* الفورم على اليمين */
.form-container {
    flex: 1;
    max-width: 50%;
}

#banner-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Responsive - في الموبايل ييجوا تحت بعض */
@media (max-width: 770px) {
    .booking-container {
        flex-direction: column;
    }

    #calendar,
    .form-container {
        max-width: 100%;
    }

    #banner-text-content {
        max-width: 70%;
    }

    .wrapper {
        display: block;
    }

        .wrapper .inner-wrap {
            padding: 0 5%;
            max-width: 100%;
        }
}

.careers-support-section {
    padding: 3.5cm 3.5cm 3.5cm;
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    text-align: center;
    margin-bottom: 2%;
}

.careers-support-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--Blue-color);
    margin-bottom: 20px;
}

.careers-support-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
    line-height: 1.6;
}

.careers-support-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.highlight-box {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .highlight-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    .highlight-box i {
        font-size: 2rem;
        color: #007bff;
        margin-bottom: 15px;
    }

    .highlight-box h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #333;
    }

    .highlight-box p {
        font-size: 1rem;
        color: #666;
    }

.contact-form-section {
    /* background: linear-gradient(135deg, #f0f4ff, #ffffff); */
    border-radius: 20px;
    /* box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1); */
    max-width: 1100px;
    margin: 40px auto 0;
    font-family: 'Poppins', sans-serif;
    padding: 30px;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--Blue-color);
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

    .contact-form .form-group {
        display: flex;
        flex-direction: column;
    }

    .contact-form label {
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--Blue-color);
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        border-radius: 10px;
        border: 1px solid #ccc;
        font-size: 15px;
        transition: all 0.3s ease;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #4a90e2;
            box-shadow: 0 0 8px rgba(74,144,226,0.3);
            outline: none;
        }

    .contact-form textarea {
        resize: none;
    }

    .contact-form .btn-submit {
        grid-column: span 2;
        background: var(--secBule);
        color: #fff;
        padding: 14px 30px; /* عرض مناسب */
        font-size: 16px;
        font-weight: 600;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        justify-self: center;
        width: auto;
        min-width: 160px;
        text-align: center;
    }


        .contact-form .btn-submit:hover {
            background: #357ab7;
        }

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

        .contact-form .btn-submit {
            grid-column: span 1;
            justify-self: center;
            width: auto;
            min-width: 160px;
        }
}
/* Attractive Button */
.open-form-btn {
    display: block;
    margin: 40px auto;
    padding: 14px 40px;
    background: linear-gradient(135deg, #4a90e2, #357ab7);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .open-form-btn:hover {
        background: linear-gradient(135deg, #357ab7, #2c5ea8);
        transform: translateY(-3px);
        box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
    }

/* Popup Overlay */
.form-popup {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

/* Popup Content */
.form-popup-content {
    background: #fff;
    border-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 900px;
    width: 95%;
    padding: 20px;
    position: relative;
    animation: popupFade 0.4s ease;
    overflow-y: auto;
    max-height: 95vh;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

    .close-popup:hover {
        color: var(--secBule);
    }

/* Animation */
@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 770px) {
    .contact-form input, .contact-form textarea {
        padding: 12px 5px;
        border-radius: 10px;
        border: 1px solid #ccc;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .contact-form-section {
        /* background: linear-gradient(135deg, #f0f4ff, #ffffff); */
        border-radius: 20px;
        /* box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1); */
        max-width: 1100px;
        margin: 0;
        font-family: 'Poppins', sans-serif;
        padding: 0;
    }

    .careers-support-section {
        padding: 40px 20px;
        background: linear-gradient(to right, #e0f2fe, #c4e4fc);
        text-align: center;
    }
}

.contact-categories {
    /* padding: 3rem 2rem; */
    background: #f8fafc;
    text-align: center;
}

    .contact-categories .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #333;
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* صفين في التابلت */
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
    }
}


.category-box {
    background: #fff;
    border-radius: 15px;
    padding: 2rem 0.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .category-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    .category-box .icon {
        font-size: 2.5rem;
        color: #308bca;
        margin-bottom: 1rem;
    }

    .category-box h3 {
        margin-bottom: 0.5rem;
        color: var(--Blue-color);
    }

    .category-box p {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 1.2rem;
    }

.category-box {
    position: relative;
    overflow: hidden; /* يخلي الفلاش محصور جوه البوكس */
    z-index: 1;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

    .category-box:hover {
        transform: translateY(-8px); /* شوية رفع مع الفلاش */
    }

    .category-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: -150%; /* عشان يبان من برا */
        width: 150%;
        height: 100%;
        background: linear-gradient(120deg, rgb(126 172 203 / 28%), rgb(48 139 202 / 50%));
        transform: skewX(-20deg);
        transition: all 0.6s ease;
        z-index: 0;
    }

    .category-box:hover::before {
        left: 100%;
    }

    .category-box * {
        position: relative;
        z-index: 2; /* يضمن إن النص والأيقونات فوق */
    }


.cta-btn {
    background: #308bca;
    color: #fff;
    border: none;
    padding: 10px 7px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .cta-btn:hover {
        background: #005f87;
    }

/* POPUP */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

    .popup-box.large {
        max-width: 900px;
    }

    .popup-box .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 1.8rem;
        color: #333;
        cursor: pointer;
    }

    .popup-box h3 {
        margin-bottom: 1rem;
        color: var(--Blue-color);
    }

    .popup-box form label {
        display: block;
        font-size: 0.9rem;
        margin: 0.7rem 0 0.3rem;
        color: #444;
    }

    .popup-box form input,
    .popup-box form select,
    .popup-box form textarea {
        width: 100%;
        padding: 0.6rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .popup-box form button {
        margin-top: 1rem;
        background: #308bca;
        color: #fff;
        border: none;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        cursor: pointer;
    }

        .popup-box form button:hover {
            background: #005f87;
        }

.check {
    display: flex !important;
}

    .check input {
        width: 3% !important;
        margin-bottom: 4px !important;
        margin-right: 10px !important;
    }
/* Collapsible sections */
.popup-box details {
    margin: 3rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.popup-box summary {
    background: #f4f9ff;
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    color: #0066cc;
    cursor: pointer;
    list-style: none;
    position: relative;
}

    .popup-box summary::marker {
        display: none; /* hide default marker */
    }

.popup-box details[open] summary {
    background: #e8f3ff;
    border-bottom: 1px solid #ddd;
}

.popup-box details > *:not(summary) {
    padding: 0.8rem 1rem;
    background: #fff;
    margin-left: 2.5%;
    width: 95%;
}
/* Base styling */
.popup-box details {
    margin: 3rem 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.popup-box summary {
    background: #f4f9ff;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    color: #0066cc;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #333;
    padding: 10px;
    font-size: 1.1rem;
}


.popup-box summary::marker {
    display: none; /* hide default arrow */
}

/* Add + icon */
.popup-box summary::after {
    content: "+";
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #0066cc;
    transition: transform 0.3s ease, content 0.3s ease;
}

/* Change + to – when open */
.popup-box details[open] summary::after {
    content: "–";
}


.category-box {
    position: relative;
    background: #7fa7c14f;
    border-radius: 12px;
    padding: 15px;
    text-align: center; /* يخلي النصوص وسط */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* العناصر رأسياً */
    justify-content: flex-start; /* يبدأ من فوق */
    align-items: center; /* توسيط أفقي */
    min-height: 220px; /* لضبط نفس الارتفاع */
}

    .category-box p {
        margin-top: 10px;
        line-height: 1.6;
        text-align: center; /* توسيط النص */
        flex-grow: 1; /* يخلي النص يتمدد ويوازن ارتفاع البوكس */
        display: flex;
        align-items: center; /* يوسط النص رأسياً */
        justify-content: center;
    }


.cta-btn {
    align-self: center; /* يخلي الزر في النص */
    background: #308bca;
    color: #fff;
    border: none;
    padding: 10px 7px; /* زيادة عرض الزر */
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 14px;
}

    .cta-btn:hover {
        background: #005f87;
        transform: translateY(-3px); /* حركة خفيفة */
    }

.contact-info {
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    padding: 3.5cm;
    text-align: center;
    margin-bottom: 0cm;
}


.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
}

.contact-box {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .contact-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .contact-box .icon {
        font-size: 40px;
        color: #0077b6;
        margin-bottom: 15px;
    }

    .contact-box h3 {
        font-size: 1.4rem;
        margin-bottom: 10px;
        color: #222;
    }

    .contact-box p {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .contact-box a {
        color: #0077b6;
        text-decoration: none;
        transition: color 0.3s;
    }

        .contact-box a:hover {
            color: #023e8a;
        }

.category-box {
    position: relative;
    background: ##7fa7c14f;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 280px; /* adjust as needed */
}

    .category-box h3 {
        min-height: 75px; /* fix heading height */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .category-box p {
        margin-top: 10px;
        line-height: 1.6;
        text-align: center;
        flex-grow: 1;
        display: flex;
        align-items: flex-start; /* align text from the top */
        justify-content: center;
    }

.contact-categories .box h3 {
    min-height: 48px; /* نفس الطول لكل العناوين */
    display: flex;
    align-items: center; /* يوسط النص رأسياً */
}

.addresses-section {
    padding: 0;
    background: #f9f9f9;
}

    .addresses-section .section-title {
        color: var(--New-color);
        font-size: 2.7em;
        font-weight: 700;
        margin-bottom: 10%;
        letter-spacing: 1px;
        text-align: center;
    }

.address-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0%;
    gap: 30px;
    flex-wrap: wrap;
}

    .address-row.reverse {
        flex-direction: row-reverse;
        padding-left: 0;
    }

.address-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-left: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.address-inner {
    border-left: 4px solid #0077b6;
    padding-left: 15px;
    text-align: left;
}

.address-text h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0077b6;
    font-weight: bold;
}

.address-map {
    flex: 1;
    min-width: 50%;
}

    .address-map iframe {
        border-radius: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.popup-box details[open] {
    padding-bottom: 3%;
}

@media (max-width: 770px) {

    .contact-info {
        padding: 40px 10px;
    }

    .address-row {
        display: block;
        margin-bottom: 1%;
    }

    .address-text {
        padding: 40px;
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

    /* لما تبقى ظاهرة */
    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Timeline Section */
.timeline-section {
    /* background: linear-gradient(135deg, #0d2342, #174786); */
    padding: 0 20px;
    color: #f1f5f9;
    text-align: center;
    position: relative;
}

.timeline-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 80px;
    color: var(--Blue-color); /* APEC gold */
}

.timeline {
    max-width: 950px;
    margin: auto;
    position: relative;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30%;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

    .timeline-item.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Step Icons */
.timeline-icon {
    width: 55px;
    height: 55px;
    background: #fff;
    border: 3px solid #00bcd4; /* refined aqua */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #00bcd4;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

/* Content Cards */
.timeline-content {
    background: rgba(255, 255, 255, 0.06);
    padding: 25px 30px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    width: 60%;
    position: relative;
    text-align: left;
}

    .timeline-content h3 {
        margin-bottom: 10px;
        color: var(--Blue-color); /* gold for headers */
    }

    .timeline-content p {
        line-height: 1.6;
        color: #333;
    }

    .timeline-content a {
        color: #00bcd4; /* link accent */
        text-decoration: underline;
    }

    .timeline-content .date {
        font-size: 0.85rem;
        color: #94a3b8;
        display: block;
        margin-bottom: 15px;
    }

/* Alternate positioning */
.timeline-item:nth-child(odd) .timeline-content {
    right: -55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: -15%;
}

/* CTA */
.timeline-cta {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
}

/* Gradient Progress Line */
.timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #00bcd4, #174786);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
    transition: height 0.25s ease-out;
}

.timeline-img-outside {
    position: absolute;
    top: 85%;
    transform: translateY(-50%);
    height: auto; /* نفس ارتفاع الصندوق */
    width: 60%; /* هتتظبط مع الصندوق */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* الصورة على يسار الصندوق (لما الكارد على اليمين) */
.timeline-item:nth-child(odd) .timeline-img-outside {
    left: -15%; /* تبدأ بمحاذاة مع الصندوق */
}

/* الصورة على يمين الصندوق (لما الكارد على اليسار) */
.timeline-item:nth-child(even) .timeline-img-outside {
    right: -15%;
}

.timeline-img-outside:hover {
    transform: translateY(-50%) scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Responsive */
@media (max-width: 770px) {
    .timeline-progress {
        left: 30px;
    }

    .timeline-icon {
        left: 0;
        transform: translateX(0);
    }

    .timeline-content {
        width: calc(100% - 80px);
        left: 75px !important;
        right: auto !important;
    }
}
/* Timeline images */
.timeline-content .timeline-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .timeline-content .timeline-img:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    }

.body-b {
    padding: 80px 20px;
    background: #1e4b87;
    text-align: center;
}

    .body-b .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 50px;
        color: #fff;
        position: relative;
        display: inline-block;
    }

        .body-b .section-title::after {
            content: "";
            display: block;
            width: 60%;
            height: 4px;
            background: #0077ff;
            margin: 10px auto 0;
            border-radius: 2px;
        }

.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expect-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .expect-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    .expect-card .icon {
        font-size: 40px;
        color: #0077ff;
        margin-bottom: 15px;
        transition: transform 0.4s ease;
    }

    .expect-card:hover .icon {
        transform: rotate(10deg) scale(1.1);
    }

    .expect-card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #003366;
    }

    .expect-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #444;
    }

/* Section Wrapper */
/* Section Wrapper */
.design-alt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.design-alt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Image */
.design-alt-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .design-alt-image img {
        width: 100%;
        max-width: 450px;
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.5);
        transition: transform 0.5s ease;
    }

        .design-alt-image img:hover {
            transform: scale(1.05);
        }

/* Right Content */
.design-alt-content {
    flex: 1.2;
    min-width: 350px;
    margin: 0 1.3cm;
}

    .design-alt-content h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: var(--secBule);
        position: relative;
    }

        .design-alt-content h2::after {
            content: "";
            width: 60px;
            height: 4px;
            background: var(--secBule);
            position: absolute;
            bottom: -8px;
            left: 0;
            border-radius: 2px;
        }

    .design-alt-content .intro {
        font-size: 1.3rem;
        margin-bottom: 20px;
        line-height: 1.6;
        color: #333;
        /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); */
    }

/* List Features */
.alt-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .alt-features li {
        font-size: 1.1rem;
        margin: 15px 0;
        display: flex;
        align-items: center;
        gap: 12px;
        color: #333;
        opacity: 0;
        transform: translateX(30px);
        animation: slideIn 1s forwards;
        /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); */
    }

        .alt-features li:nth-child(1) {
            animation-delay: 0.3s;
        }

        .alt-features li:nth-child(2) {
            animation-delay: 0.6s;
        }

        .alt-features li:nth-child(3) {
            animation-delay: 0.9s;
        }

        .alt-features li:nth-child(4) {
            animation-delay: 1.2s;
        }

    .alt-features i {
        color: var(--secBule);
        font-size: 1.4rem;
        flex-shrink: 0;
        text-shadow: none;
    }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Container Flex */
.design-alt-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 2;
    gap: 40px;
    flex-wrap: nowrap; /* Keep them side by side */
}

/* Left Image */
.design-alt-image {
    flex: 1;
    min-width: 50%; /* Half width */
    text-align: center;
}

    .design-alt-image img {
        width: 100%;
        max-width: 100%; /* Fill half */
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.5);
        transition: transform 0.5s ease;
    }

        .design-alt-image img:hover {
            transform: scale(1.05);
        }

/* Right Content */
.design-alt-content {
    flex: 1;
    min-width: 50%; /* Half width */
    margin: 0;
}

/* Responsive */
@media(max-width: 992px) {
    .design-alt-container {
        flex-direction: column;
        text-align: center;
    }

    .design-alt-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.design-services-section {
    /* padding: 60px; */
    margin: 3.5cm;
    /* background: #f8f9fa; */
}

.services-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.services-list {
    flex: 1;
}

    .services-list h2 {
        /*                font-size: 26px;*/
        margin-bottom: 20px;
        color: #004080;
    }

    .services-list ul {
        list-style: none;
        padding: 0;
    }

        .services-list ul li {
            position: relative;
            margin-bottom: 14px;
            padding-left: 25px;
            font-size: 16px;
            color: #333;
            line-height: 1.6;
        }

            .services-list ul li::before {
                content: "✓";
                position: absolute;
                left: 0;
                top: 0;
                color: #0077ff;
                font-weight: bold;
            }

/* Slider */
.slider-container {
    flex: 1;
    position: relative;
}

.slider-arrows {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

    .slider-arrows button {
        border: 2px solid var(--Blue-color);
        background: #fff;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: var(--Blue-color);
    }

        .slider-arrows button:hover {
            background: var(--Blue-color);
            color: #fff;
        }

.slider-wrapper1 {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slide1 {
    display: none;
    animation: fade 0.5s;
}

    .slide1.active {
        display: block;
    }

    .slide1 img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    }

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

.design-team-design {
    padding: 0;
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    color: #fff;
    height: 100vh;
}

    .design-team-design .design-team-container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .design-team-design .design-team-photo img {
        /* width: 400px; */
        max-width: 100%;
        height: 650px;
        /* border-radius: 20px; */
        /* box-shadow: 0 10px 25px rgba(0,0,0,0.5); */
        /* transform: scale(0.95); */
        transition: transform 0.5s ease;
    }

        .design-team-design .design-team-photo img:hover {
            transform: scale(1);
        }

    .design-team-design .design-team-content {
        max-width: 600px;
        opacity: 0;
        margin-right: 5%;
        transform: translateX(-50px);
        transition: all 1s ease;
    }

        .design-team-design .design-team-content.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .design-team-design .design-team-content h2 {
            /* font-size: 2.2rem; */
            margin-bottom: 20px;
            position: relative;
            color: var(--Blue-color);
        }

            .design-team-design .design-team-content h2::after {
                content: "";
                width: 60px;
                height: 4px;
                background: #00c6ff;
                position: absolute;
                left: 0;
                bottom: -8px;
                border-radius: 2px;
            }

        .design-team-design .design-team-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #333;
        }

:root {
    --Blue-color: #003366;
}

.proven-section {
    text-align: center;
    padding: 3.5cm 20px;
    background: #f9f9f9;
}

.proven-content h2 {
    /* font-size: 2rem; */
    margin-bottom: 15px;
    color: #003366;
}

.proven-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

/* Slider */
.proven-slider, .proven-slider1 {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.proven-section .slider-wrapper, .proven-section1 .slider-wrapper {
    display: flex;
    gap: 20px; /* used in JS calculation */
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.proven-section .slide, .proven-section1 .slide {
    min-width: calc((100% - 40px) / 3);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .proven-section .slide img,
    .proven-section1 .slide img,
    .proven-section .slide video
    .proven-section1 .slide video {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

/* Arrows */
.proven-section .arrow,
.proven-section1 .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: 2px solid var(--Blue-color);
    color: var(--Blue-color);
    font-size: 1.8rem;
    padding: 0px 6px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.25s;
    z-index: 999; /* keep above slides */
}

    .proven-section .arrow:hover,
    .proven-section1 .arrow:hover {
        background: var(--Blue-color);
        color: #fff;
    }

    .proven-section .arrow.left,
    .proven-section1 .arrow.left {
        left: 10px;
    }

    .proven-section .arrow.right,
    .proven-section1 .arrow.right {
        right: 10px;
    }

/* Responsive */
@media (max-width: 992px) {
    .proven-section .slide, .proven-section1 .slide {
        min-width: calc(50% - 10px);
    }
}
/* 2 per row */
@media (max-width: 600px) {
    .proven-section .slide, .proven-section1 .slide {
        min-width: 100%;
    }
}
/* Timeline */
.timeline-item {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

    .timeline-item.timeline-show {
        opacity: 1;
        transform: translateY(0);
    }

/* FAQ */
.faq-answer {
    display: none;
}

    .faq-answer.faq-show {
        display: block;
    }


.geogrids-sections section.faq-visible {
    opacity: 1;
}

.cta-section-alt {
    margin-top: 0;
}

@media (max-width: 770px) {
    .design-alt-content {
        flex: 1.2;
        min-width: auto;
        margin: 0 10px;
    }

    .design-alternative-section {
        padding: 50px 0;
    }

    .design-services-section {
        margin: 40px 20px;
    }

    .services-container {
        display: block;
    }

    .design-team-design .design-team-container {
        display: block;
    }

    .design-team-design .design-team-photo img {
        height: 300px !important;
    }

    .design-team-design .design-team-content {
        margin: 20px 10px;
    }

    .proven-section {
        padding: 50px 20px;
    }

    .timeline-img-outside {
        display: none;
    }

    .design-team-design .design-team-content h2::after {
        left: 10%;
    }
}

.design-alt-overlay {
    /* background: rgba(0,0,0,0.55); */
}

/*.design-alt-content {
            background: rgba(0, 0, 0, 0.65);
            padding: 60px 30px;
            border-radius: 12px;
        }*/

.design-alt-content h2,
.design-alt-content .intro,
.alt-features li {
    /* text-shadow: 2px 2px 8px rgba(0,0,0,0.85);*/
}

.design-team-design .design-team-container {
    width: 100%;
    height: 100%;
}

.design-team-design .design-team-photo {
    flex: 1; /* ياخد 50% */
    display: flex;
    justify-content: center;
    height: 100%; /* يملى طول القسم */
    align-items: center;
}

    .design-team-design .design-team-photo img {
        width: 100%;
        height: 100%; /* يملى طول القسم */
        object-fit: cover; /* يخلي الصورة تتقص بشكل مناسب بدون فراغ */
    }

.why-avial {
    background: #fff !important;
}

@media (max-width: 770px) {
    .why-avial {
        background: #fff !important;
        height: auto !important;
    }

    .design-team-design .design-team {
        height: auto !important;
    }

    .design-team-design .design-team-content2 h2::after {
        left: 0;
    }

    .wrapper .timepicker {
        width: 100%;
    }

        .wrapper .timepicker .owl .center, .wrapper .timepicker .owl-stage .center {
            font-size: 2em;
            opacity: 1;
            line-height: 1;
        }
}

/* FILTER BAR */
.faq-filter {
    text-align: center;
    margin: 30px 0;
    animation: fadeSlideUp 1.5s ease forwards;
}

.filter-btn {
    background: #f5f5f5;
    border: none;
    padding: 10px 18px;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: var(--apec-blue);
        color: #fff;
        transform: scale(1.05);
    }

/* FAQ SECTION */
.faq-section1 {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    margin-bottom: 3.5cm;
}

    .faq-section1 .faq-item {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        transform: translateY(20px);
        opacity: 0;
        animation: fadeSlideUp 0.8s ease forwards;
    }

        .faq-section1 .faq-item:nth-child(1) {
            animation-delay: 0.2s;
        }

        .faq-section1 .faq-item:nth-child(2) {
            animation-delay: 0.4s;
        }

        .faq-section1 .faq-item:nth-child(3) {
            animation-delay: 0.6s;
        }

        .faq-section1 .faq-item:nth-child(4) {
            animation-delay: 0.8s;
        }

        .faq-section1 .faq-item:nth-child(5) {
            animation-delay: 1s;
        }

    .faq-section1 .faq-question {
        width: 100%;
        text-align: left;
        padding: 15px;
        background: var(--apec-blue);
        border: none;
        cursor: pointer;
        font-weight: bold;
        position: relative;
        transition: background 0.3s ease;
        color: #fff;
    }

        .faq-section1 .faq-question:hover {
            background: #eef5ff;
            color: var(--apec-blue);
        }

        /* + and - icon */
        .faq-section1 .faq-question::after {
            content: '+';
            position: absolute;
            right: 20px;
            font-size: 20px;
            transition: transform 0.3s ease, content 0.3s ease;
        }

    .faq-section1 .faq-item.active > .faq-question::after,
    .faq-section1 .faq-sub-item.active > .faq-question::after {
        content: '−';
        transform: rotate(180deg);
    }

    /* Answer transition */
    .faq-section1 .faq-answer1 {
        max-height: 0;
        overflow: hidden;
        padding: 0 15px;
        background: #fff;
        transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
        opacity: 0;
    }

    .faq-section1 .faq-item.active > .faq-answer1 {
        max-height: 1000px; /* big enough to fit any dropdown */
        padding: 15px;
        opacity: 1;
    }

    .faq-section1 .faq-sub-item {
        margin: 10px 0;
        border: 1px solid #eee;
        border-radius: 8px;
        overflow: hidden;
    }

        .faq-section1 .faq-sub-item .faq-question {
            background: var(--apec-light-blue);
            font-weight: normal;
            padding: 12px;
            border: none;
            color: var(--apec-blue);
        }

        .faq-section1 .faq-sub-item .faq-answer1 {
            background: #fafafa;
            padding: 0 12px;
            max-height: 0;
            overflow: hidden;
            opacity: 0;
            transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
        }

        /* when sub-item active */
        .faq-section1 .faq-sub-item.active > .faq-answer1 {
            max-height: 500px;
            opacity: 1;
            padding: 12px;
        }



.design-team-faq {
    padding: 0;
    background: var(--apec-blue);
    color: #fff;
    height: 100vh;
    margin-bottom: 3.5cm;
}

    .design-team-faq .design-team-container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .design-team-faq .design-team-photo img {
        /* width: 400px; */
        max-width: 100%;
        /* height: 680px; */
        /* border-radius: 20px; */
        /* box-shadow: 0 10px 25px rgba(0,0,0,0.5); */
        /* transform: scale(0.95); */
        transition: transform 0.5s ease;
    }

        .design-team-faq .design-team-photo img:hover {
            transform: scale(1);
        }

    .design-team-faq .design-team-content {
        max-width: 600px;
        opacity: 0;
        transform: translateX(-50px);
        transition: all 1s ease;
    }

        .design-team-faq .design-team-content.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .design-team-faq .design-team-content h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
            position: relative;
            color: #fff;
        }

            .design-team-faq .design-team-content h2::after {
                content: "";
                width: 60px;
                height: 4px;
                background: #00c6ff;
                position: absolute;
                left: 0;
                bottom: -8px;
                border-radius: 2px;
            }

        .design-team-faq .design-team-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #fff;
        }
/* FAQ Animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.design-team-faq {
    padding: 0;
    background: var(--apec-blue);
    color: #fff;
    height: 100vh;
    margin-bottom: 0;
    display: flex; /* مهم علشان الصورة تملأ المساحة */
    align-items: center;
}

    .design-team-faq .design-team-container {
        display: flex;
        align-items: center;
        gap: 50px;
        width: 100%;
        height: 100%; /* يخلي الكونتينر يملا طول السيكشن */
    }

    .design-team-faq .design-team-photo {
        flex: 1; /* تاخد جزء من العرض */
        height: 100%; /* مهم علشان الصورة تلتزم */
    }

.design-team-photo img {
    width: 100%;
    height: 100%; /* ياخد ارتفاع السيكشن */
    object-fit: cover; /* يحافظ على التناسب ويملأ المساحة */
    border-radius: 0; /* ممكن تضيف لو عايز */
    transition: transform 0.5s ease;
}

.design-team-faq .design-team-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.faq-section1 .faq-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

    .faq-section1 .faq-item.hidden {
        display: none;
        opacity: 0;
        transform: translateY(20px);
    }

@media (max-width: 770px) {
    .design-team-faq .design-team-container {
        display: block;
    }

    .design-team-faq .design-team-photo img {
        height: 300px;
    }

    .design-team-faq .design-team-content {
        margin: 20px;
    }

    .faq-section {
        margin-bottom: 2cm;
    }

    .design-team-faq .design-team-container {
        display: block;
    }

    .design-team-faq .design-team-photo img {
        height: 300px;
    }

    .design-team-faq .design-team-content {
        margin: 20px 10px;
    }

    .design-team-faq {
        height: auto;
    }
}

.exclusive-section .section-title, .production-section .section-title, .visit-section .section-title {
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    color: #003366;
}

.exclusive-section .section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 700;
    color: #003366;
}

.exclusive-section {
    padding-bottom: 0cm;
}

    .exclusive-section .section-desc {
        text-align: left; /* changed to left */
        max-width: 800px;
        margin: 0 0 40px 0;
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
    }

/* Exclusive Section Icons */
.exclusive-icons {
    display: flex;
    justify-content: flex-end; /* align icons to the right */
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 3.5cm;
}

/* Wrapper: text left, icons right */
.exclusive-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap; /* keeps responsive */
}

/* Left text block */
.exclusive-text {
    flex: 1;
    min-width: 300px;
    margin-left: 2%;
}

/* Right icons block */
.exclusive-icons {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
    min-width: 300px;
}

.icon-box1 {
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    width: 150px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
}

    .icon-box1 i {
        font-size: 2.5rem;
        color: #0077b6;
        margin-bottom: 15px;
    }

    .icon-box1 h4 {
        margin-top: 10px;
        font-size: 1.1rem;
        color: #003366;
        font-weight: 600;
    }

    .icon-box1:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }
/* Facilities Section */
.facilities-section {
    width: 100%;
    padding: 0;
    margin-bottom: 0cm;
    background: var(--Blue-color);
}

/* Video Full Width */
.facilities-video-wrapper {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

    .facilities-video-wrapper video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.4);
    padding: 20px 40px;
    border-radius: 12px;
}

    .video-overlay h2 {
        font-size: 3.5rem;
        font-weight: 700;
        margin-top: 10%;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

/* Gallery Slider */
.facilities-gallery {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 60px;
    overflow: hidden;
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
}

    .gallery-slider .slide {
        flex: 0 0 calc(33.333%); /* 3 في الصف بالظبط */
        box-sizing: border-box;
        padding: 0 10px; /* مسافة بين الصور */
    }

        .gallery-slider .slide img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            display: block;
        }


/* Slider Arrows */
.facilities-gallery .prev,
.facilities-gallery .next {
    background: #1e4b87;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.facilities-gallery .prev {
    left: 10px;
}

.facilities-gallery .next {
    right: 10px;
}

    .facilities-gallery .prev:hover,
    .facilities-gallery .next:hover {
        background: #fff;
        color: #1e4b87;
        border-color: #1e4b87;
    }

/* Responsive */
@media screen and (max-width: 992px) {
    .gallery-slider .slide {
        min-width: calc(50% - 10px);
    }
}

@media screen and (max-width: 600px) {
    .gallery-slider .slide {
        min-width: 100%;
    }
}

.production-section {
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    margin-bottom: 0cm;
}

    /* Container Layout */
    .production-section .flex {
        display: flex;
        gap: 40px;
        align-items: flex-start;
        height: 80vh;
    }

/* Text Left */
.production-text {
    flex: 1;
    margin-left: 2.5cm;
    margin-top: 3.5cm;
}

    .production-text .section-title {
        text-align: left; /* بدل center */
        margin-bottom: 20px;
    }

.production-figure {
    text-align: left;
    margin-bottom: 20px;
    color: #0077b6;
}

    .production-figure h1 {
        font-size: 4rem;
        color: #0077b6;
        margin: 0;
    }

.production-text .section-desc {
    text-align: left;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.production-videos {
    position: relative;
    flex: 1;
    max-width: 700px;
    height: 100%;
    overflow: hidden;
    /*border-left: 4px solid var(--apec-blue);
            padding-left: 20px;*/
}

/* خلي الأب relative */
.video-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* الفيديوهات فوق بعض */
.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

    .video-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .video-slide video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0px;
        display: block;
    }


/* Arrows */
.production-videos .prev,
.production-videos .next {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 25px; /* arrows at top */
    left: 10px;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.production-videos .prev {
    left: 20px;
}

.production-videos .next {
    left: 70px;
}
    /* جنبه مباشرة */

    .production-videos .prev:hover,
    .production-videos .next:hover {
        background: #1e4b87;
        color: #fff;
    }

/* Responsive */
@media screen and (max-width: 992px) {
    .production-section .container.flex {
        flex-direction: column;
        align-items: center;
    }

    .production-text,
    .production-videos {
        width: 100%;
        max-width: 100%;
    }

        .production-text .section-title,
        .production-figure,
        .production-text .section-desc {
            text-align: center;
        }
}


.address-row-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 10%; */
    gap: 30px;
    flex-wrap: wrap;
}

    .address-row-1 .address-row.reverse {
        flex-direction: row-reverse;
        padding-left: 0;
    }

    .address-row-1 .address-text {
        flex: 1;
        font-size: 1rem;
        line-height: 1.6;
        color: #444;
        margin-left: 0%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .address-row-1 .address-inner {
        text-align: center;
    }

    .address-row-1 .address-text h3 {
        font-size: 3.3rem;
        margin-bottom: 15px;
        color: var(--Blue-color);
        font-weight: bold;
    }

    .address-row-1 .address-text p {
        font-size: 20px;
    }

    .address-row-1 .address-map {
        flex: 1;
        min-width: 50%;
    }

        .address-row-1 .address-map iframe {
            border-radius: 0;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

/* شيل الهوامش من النص */
.production-text {
    flex: 1;
    margin: 0;
    padding: 3.5cm 0 0 2.5cm; /* padding جوة بدل margin */
}

/* خليه زي الخريطة */
.production-videos {
    flex: 1;
    min-width: 50%; /* نفس قيمة .address-map */
    max-width: none; /* شيل الحد الأقصى */
}

/* خلي gaps متساوية */
.production-section .flex,
.address-row {
    gap: 40px; /* نفس القيمة */
}

    /* خلي العرض متساوي في الأعمدة */
    .production-section .flex > div,
    .address-row > div {
        flex: 1;
    }

@media (max-width: 770px) {
    .breadcrumbs {
        padding-top: 0;
        padding-bottom: 0;
    }

    .exclusive-icons {
        justify-content: center;
        margin-top: 0px;
        margin-bottom: 2.5cm;
    }

    .production-section .flex {
        display: block;
        /* height: 70vh; */
        height: auto;
    }

    .production-text {
        padding: 0;
        padding-top: 20px;
    }

    .address-row-1 .address-text {
        padding: 40px 20px;
        padding-bottom: 0;
    }
}

.address-row-1.reverse {
    flex-direction: row-reverse;
    padding-left: 0;
}

@media (max-width: 770px) {
    .related-insights h3 {
        margin-left: 20px;
    }
}

.insight-detail {
    /* font-family: 'Segoe UI', sans-serif; */
    color: #333;
    line-height: 1.6;
    /* margin: 60px auto; */
    /* max-width: 1100px; */
    /* padding: 0 20px; */
}

.insight-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #777;
}

.minute-read {
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
    border-left: 3px solid #308bca;
    padding-left: 8px;
    margin-left: 5px;
}

.insight-heading {
    font-size: 2rem;
    color: var(--Blue-color);
    margin-bottom: 15px;
}

.table-container {
    overflow-x: auto;
    margin: 25px 0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

    .styled-table thead {
        background: #308bca;
        color: #fff;
        text-align: left;
    }

    .styled-table th,
    .styled-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
    }

.insight-selection {
    margin-top: 0;
    background: #1e4b87;
    padding: 3.5cm;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

    .insight-selection h3 {
        margin-bottom: 10px;
        color: #fff;
        font-size: 2rem;
    }

    .insight-selection ul {
        list-style: disc inside;
        margin: 10px 0 20px 0;
        color: #fff;
    }

.swiper-wrapper {
    margin: 0 3.5cm 0 0cm;
    gap: 10px;
}

.related-insights {
    margin: 3.5cm 0;
}

    .related-insights h3 {
        font-size: 1.8rem;
        color: #308bca;
        margin-left: 1.4cm;
        margin-bottom: 20px;
    }

/* Card styling */
.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    height: 450px;
}

    .related-card:hover {
        transform: translateY(-8px);
    }

    .related-card img {
        width: 100%;
        display: block;
        transition: transform 0.4s ease;
    }

    .related-card:hover img {
        transform: scale(1.05);
    }

.date-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #308bca;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 1000;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    /* angled ribbon shape */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.related-info {
    padding: 15px 12px;
}

    .related-info h4 {
        font-size: 1.1rem;
        margin: 0;
        color: #222;
        position: relative;
    }

        .related-info h4::before {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 3px;
            background: #0073e6;
            transition: width 0.4s ease;
        }

.related-card:hover .related-info h4::before {
    width: 50px;
}

.related-card {
    position: relative;
    display: flex;
    flex-direction: column; /* ترتيب عمودي */
    justify-content: space-between; /* يوزع العناصر فوق وتحت */
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 500px;
}

    .related-card a {
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* يوزع التاريخ فوق والعنوان تحت */
        height: 100%;
    }

    .related-card img {
        width: 100%;
        height: auto;
        flex-grow: 1; /* الصورة تتمدد بالمساحة المتاحة */
        object-fit: cover; /* تحافظ على نسبة الأبعاد */
    }

.related-info {
    padding: 15px;
    text-align: left;
}

/* Swiper arrows */
.related-slider .swiper-button-next,
.related-slider .swiper-button-prev {
    color: #308bca;
}

.related-slider .swiper-slide {
    transform: scale(0.9); /* make the card 90% of its original size */
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media screen and (max-width: 770px) {
    .related-info h4 {
        font-size: 1rem;
    }
}
/* Mobile Collapsible */
@media screen and (max-width: 770px) {
    .styled-table thead {
        display: none;
    }

    .styled-table tr {
        display: grid;
        margin-bottom: 12px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .feature-cell {
        background: #308bca;
        color: #fff;
        font-weight: bold;
        padding: 12px;
        cursor: pointer;
        position: relative;
    }

        .feature-cell::after {
            content: '\25BC';
            float: right;
            transition: transform 0.3s;
        }

        .feature-cell.active::after {
            transform: rotate(180deg);
        }

    .collapsible-content {
        display: none;
        padding: 12px;
        border-top: 1px solid #eee;
        background: #f9f9f9;
    }

        /* Show header labels inside each collapsible content */
        .collapsible-content span.label {
            font-weight: bold;
            color: #308bca;
            display: block;
            margin-bottom: 4px;
        }

    .q-mobile {
        margin-bottom: -5% !important;
        display: none;
    }
}
/* Hide by default (desktop) */
.mobile-label {
    display: none;
}

/* Show only on mobile */
@media screen and (max-width: 770px) {
    .mobile-label {
        display: inline;
        font-weight: bold; /* optional for emphasis */
        color: #fff; /* optional color */
    }

    .insight-selection {
        padding: 40px 20px;
    }

    .related-insights h3 {
        margin-left: 20px;
    }
}

/* Insights Section */
.insights-section {
    padding: 0px 0px 20px;
    /* background: #f9fafc; */
    /* font-family: 'Segoe UI', sans-serif; */
    position: relative;
}

.insights-header {
    width: 100%;
    /* padding: 50px 20px; */
    /* background: #f8f9fb; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.insights-content {
    max-width: 600px;
    text-align: left; /* محاذاة النص لليسار */
}

    .insights-content h1 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--Blue-color);
        margin-bottom: 10px;
        position: relative;
    }

    .insights-content p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 25px;
        line-height: 1.6;
    }

/* Modern Expanding Search */
.searchBox1 {
    margin: 0 auto;
    background: #308bca;
    height: 40px;
    border-radius: 40px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    width: fit-content;
    transition: 0.4s;
}

    .searchBox1:hover > .searchInput {
        width: 240px;
        padding: 0 6px;
    }

    .searchBox1:hover > .searchButton {
        background: white;
        color: #2f3640;
    }

    .searchBox1 .searchButton {
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #308bca;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        border: none;
        cursor: pointer;
    }

    .searchBox1 .searchInput {
        border: none;
        background: none;
        outline: none;
        padding: 0;
        color: white;
        font-size: 16px;
        transition: 0.4s;
        line-height: 40px;
        width: 0px;
        margin-left: 5%;
    }

        .searchBox1 .searchInput::placeholder {
            color: white; /* makes the placeholder white */
            opacity: 1; /* ensures full visibility (some browsers reduce opacity by default) */
        }

@media screen and (max-width: 620px) {
    .searchBox1:hover > .searchInput {
        width: 150px;
        padding: 0 6px;
    }
}

/* Keep gallery & blog card styling from before */
.insights-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 550px;
}

    .blog-card:hover {
        transform: translateY(-8px);
    }

    .blog-card img {
        width: 100%;
        transition: transform 0.4s ease;
    }

    .blog-card:hover img {
        transform: scale(1.05);
    }


.date-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #308bca;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 1000;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
    /* angled ribbon shape */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}


.blog-content {
    padding: 20px;
}

    .blog-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #222;
        position: relative;
    }

        .blog-content h3::before {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 3px;
            background: #0073e6;
            transition: width 0.4s ease;
        }

.blog-card:hover .blog-content h3::before {
    width: 50px;
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
}

.read-more {
    display: inline-block;
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #308bca;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.blog-card:hover .read-more {
    opacity: 1;
    transform: translateY(0);
}

/* Optional hover effect on the text itself */
.read-more:hover {
    color: #005999;
    text-decoration: underline;
}


/* Article */
.news-article {
    padding: 0;
    background: #fff;
}

    .news-article .container {
        max-width: 900px;
        margin: auto;
    }

    .news-article p {
        margin-bottom: 20px;
        line-height: 1.7;
        font-size: 1.1rem;
    }

/* Highlights */
.highlights {
    padding: 3.5cm 0;
    margin: 0 0 3.5cm;
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
}

    .highlights h2 {
        text-align: center;
        margin-bottom: 40px;
        color: #1a3d7c;
    }

.highlight-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

    .highlight-cards .card {
        background: #fff;
        border-radius: 15px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        padding: 25px;
        flex: 1 1 280px;
        text-align: center;
        transition: .3s;
    }

        .highlight-cards .card:hover {
            transform: translateY(-6px);
        }

    .highlight-cards i {
        font-size: 32px;
        color: #1a73e8;
        margin-bottom: 15px;
    }

/* Engagement */
.engagement {
    padding: 0px 3.5cm;
    background: #fff;
}

    .engagement .container {
        max-width: 850px;
        margin: auto;
        text-align: center;
    }

    .engagement blockquote {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1a3d7c;
        margin-bottom: 25px;
        border-left: 5px solid #1a73e8;
        padding-left: 15px;
    }

/* Gallery */
.photo-gallery {
    padding: 3.5cm 0;
    /* margin: 3cm 0 0cm; */
}

    .photo-gallery .container {
        overflow: hidden;
    }

    .photo-gallery h2 {
        text-align: center;
        margin-bottom: 50px;
        color: #1e4b87;
    }

.gallery-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    transition: transform 0.5s ease;
}

    .gallery-grid img {
        min-width: calc(100% / 3 - 10px); /* أصغر مسافة بين الصور */
        margin-right: 10px;
        border-radius: 12px;
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
        transition: .3s;
        height: 300px; /* تكبير الصور */
        object-fit: cover;
    }

        .gallery-grid img:last-child {
            margin-right: 0;
        }

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

/* Arrows */
.gallery-arrow {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    background: #ffffff73;
    border: 2px solid var(--apec-blue);
    font-size: 30px;
    padding: 0px 6px 4px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
    color: var(--apec-blue);
}

    .gallery-arrow:hover {
        background: var(--apec-blue);
        border: 2px solid #fff;
        color: #fff;
    }

    .gallery-arrow.left {
        left: 0;
    }

    .gallery-arrow.right {
        right: 0;
    }

.swiper-wrapper {
    margin: 0;
    /* gap: 10px; */
}

.related-insights {
    margin: 3.5cm 0;
}

    .related-insights h3 {
        font-size: 1.8rem;
        color: #308bca;
        margin-left: 1.4cm;
        margin-bottom: 20px;
    }

.related-slider {
    padding: 0 60px; /* 👈 مسافة داخلية يمين وشمال */
}

.related-insights {
    margin: 3.5cm 0;
    padding: 0 30px; /* 👈 مسافة إضافية لو عايز تبعده عن حدود الصفحة */
}

    .related-insights .snip1369 {
        border-radius: 15px;
    }

.snip1369 {
    /* font-family: 'Raleway', Arial, sans-serif; */
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 230px;
    max-width: 350px;
    width: 100%;
    background: #20638f;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    height: 500px;
}

    .snip1369 * {
        box-sizing: border-box;
        transition: all 0.3s ease-out;
    }

    .snip1369 > img,
    .snip1369 .image img {
        transform: scale(1.05);
        max-width: 100%;
    }

    .snip1369 > img {
        vertical-align: top;
        position: relative;
        filter: blur(5px);
        opacity: 0.6;
    }

    .snip1369 figcaption,
    .snip1369 .image {
        transition-delay: 0.2s;
    }

    .snip1369 .image {
        position: absolute;
        top: 0;
        bottom: 25%;
        right: 0;
        left: 0;
        overflow: hidden;
        /* box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1), 0px 1px 0 rgba(255, 255, 255, 0.2); */
    }

        .snip1369 .image img {
            position: absolute;
            top: 0;
        }

    .snip1369 figcaption {
        position: absolute;
        top: 61%;
        bottom: 185px;
        left: 20px;
        right: 20px;
        border-bottom: 2px solid #ffffff;
        padding-top: 20px;
        z-index: 1;
    }

    .snip1369:hover figcaption {
        border-bottom: 2px solid transparent;
    }

    .snip1369 h3,
    .snip1369 p {
        margin: 0;
    }

    .snip1369 h3 {
        font-weight: 700;
        margin-bottom: 5px;
        text-transform: uppercase;
        margin-top: 10px;
        color: #fff;
    }

    .snip1369 p {
        font-size: 0.9em;
        letter-spacing: 1px;
        font-weight: 400;
        opacity: 0;
        padding-left: 0;
        text-align: left;
    }

    .snip1369 .read-more {
        display: block;
        opacity: 0;
        transform: translateX(-20px);
        line-height: 48px;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 0 20px;
        color: #ffffff;
        right: 0;
        bottom: 0;
        font-weight: 500;
        position: absolute;
    }

    .snip1369 a {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        position: absolute;
        z-index: 1;
    }

    .snip1369:hover .read-more,
    .snip1369.hover .read-more,
    .snip1369:hover figcaption,
    .snip1369.hover figcaption {
        opacity: 1;
        transform: translateX(0px);
    }

    .snip1369:hover figcaption,
    .snip1369.hover figcaption,
    .snip1369:hover .image,
    .snip1369.hover .image {
        transition-delay: 0s;
    }

    .snip1369:hover figcaption,
    .snip1369.hover figcaption {
        top: 50%;
    }

    .snip1369:hover .image,
    .snip1369.hover .image {
        bottom: 50%;
    }

    .snip1369:hover p,
    .snip1369.hover p {
        opacity: 1;
        transition-delay: 0.2s;
    }

@media screen and (max-width: 770px) {
    .highlights {
        margin: 0 0 2cm;
        padding: 1cm 0;
    }

    .engagement {
        padding: 0px 20px;
        background: #fff;
    }

    .photo-gallery {
        padding: 2cm 0;
        margin: 1cm 0 0cm;
    }

    .related-insights {
        margin: 0;
        padding: 0;
        margin-top: 10%;
    }

    .snip1369 figcaption {
        position: absolute;
        top: 61%;
        bottom: 185px;
        left: 9px;
        right: 28px;
        border-bottom: 2px solid #ffffff;
        padding-top: 20px;
        z-index: 1;
    }

    .snip1369:hover figcaption, .snip1369.hover figcaption {
        top: 42%;
    }

    .related-slider {
        padding: 0;
    }

    .snip1369 figcaption {
        position: absolute;
        top: 50%;
        bottom: 185px;
        left: 9px;
        right: 28px;
        border-bottom: none;
        padding-top: 20px;
        z-index: 1;
    }

    .gallery-grid img {
        flex: 0 0 100%;
        max-width: 100%;
        margin-right: 2px;
    }

    .related-insights h3 {
        margin-left: 12px;
    }

    #banner-container-app .geogrid-overview-section p {
        color: #fff;
        text-align: left;
    }
}

.news-section {
    position: relative;
}

.news-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.news-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--Blue-color);
    margin-bottom: 10px;
}

.news-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Gallery grid */
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}


/* Wrapper under slider */
.carousel-controls-wrapper {
    position: absolute;
    bottom: -15%;
    left: 47%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

/* Custom Arrows */
.custom-arrow {
    border: 2px solid var(--Blue-color);
    background: #fff;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .custom-arrow:hover {
        background: var(--Blue-color);
    }

.custom-arrow-icon {
    font-size: 20px;
    font-weight: bold;
    color: var(--Blue-color);
    transition: color 0.3s ease;
}

.custom-arrow:hover .custom-arrow-icon {
    color: #fff;
}
/* Section background */
.benefits-section {
    background: #a8bfdf;
    padding: 30px 20px;
    margin-top: 3.5cm !important;
}

/* Layout wrapper */
.benefits-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Title */
.benefits-title {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-right: 20px;
    white-space: nowrap;
}

/* Slider wrapper */
.benefits-slider-wrapper {
    overflow: hidden; /* hide scroll */
    flex: 1;
}

.features-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-top: 20px;
}

    .features-grid::-webkit-scrollbar {
        display: none;
    }

.feature-box {
    flex: 0 0 calc(25% - 15px); /* 4 desktop */
    background: #fff;
    border-radius: 10px;
    padding: 0.5rem !important;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.08);
}

@media (max-width: 770px) {
    .feature-box {
        flex: 0 0 calc(50% - 10px);
    }

    .sec-p-top {
        padding-top: 15%;
    }
    /* 2 mobile */
}

/* Each card */
.feature-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.08);
}

    .feature-box i {
        font-size: 22px;
        color: #004a91;
        margin-bottom: 8px;
    }

    .feature-box h3 {
        font-size: 13px;
        font-weight: 600;
        color: #000;
        margin: 0;
    }

/* Arrow button */
.benefits-arrow button {
    border: 2px solid #004a91;
    background: transparent;
    color: #004a91;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .benefits-arrow button:hover {
        background: #004a91;
        color: #fff;
    }

.ben2 {
    background-color: #266996;
    margin-top: 0 !important;
}

    .ben2 h2 {
        color: #fff;
    }

    .ben2 .feature-box {
        background: transparent;
        border: none;
    }

        .ben2 .feature-box figure {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            margin: 0;
        }

        .ben2 .feature-box img {
            width: 150px;
            height: 170px;
            border-radius: 8px;
            object-fit: fill;
            margin-bottom: 10px;
        }

        .ben2 .feature-box figcaption {
            font-size: 14px;
            font-weight: 500;
            color: #fff; /* caption باللون الأبيض */
            text-align: center;
        }
    /* Arrow button */
    .ben2 .benefits-arrow button {
        border: 2px solid #fff;
        background: transparent;
        color: #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .ben2 .benefits-arrow button:hover {
            background: #fff;
            color: #004a91;
        }

.new-reverse {
    padding: 0 !important;
}

    .new-reverse .sticky-text-box {
        padding: 0 3.5cm;
    }

    .new-reverse .image-scroll-item img {
        box-shadow: none;
    }
/* Wrapper */
.functions-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Slider track */
.functions-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .functions-slider::-webkit-scrollbar {
        display: none;
    }

/* Each slide */
.function-slide {
    flex: 0 0 100%; /* 1 at a time */
    text-align: center;
}

    .function-slide img {
        width: 80%;
        border-radius: 1rem;
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
        margin-top: 4%;
    }

    .function-slide figcaption {
        margin-top: 10px;
        font-size: 0.9rem;
        color: #555;
    }

/* Arrows */
#functions .functions-arrows {
    position: absolute;
    top: 70%;
    right: 15px;
    display: flex;
    gap: 10px;
}

.functions-arrows button {
    background: #fff;
    border: 1px solid var(--Blue-color);
    padding: 6px 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    color: var(--Blue-color);
}

    .functions-arrows button:hover {
        background: var(--Blue-color);
        color: #fff;
    }

.functions-bg {
    position: relative;
    z-index: 1;
}

    /* الخلفية الزرقا */
    .functions-bg::before {
        content: "";
        position: absolute;
        top: 0; /* يبدأ من فوق */
        left: 0;
        width: 100%; /* ياخد عرض الصفحة كله */
        height: 80vh; /* ارتفاع الخلفية فقط */
        background: #e7f0ff;
        border-radius: 0 0 20px 20px; /* ممكن تخلي الحواف ناعمة لو تحب */
        z-index: -1; /* يخليها تحت المحتوى */
    }

.applications-section {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    min-height: 100vh;
}

.applications-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.geogrids-sections .applications-list li {
    font-size: 18px;
    font-weight: 700;
}

/* Left side */
.applications-list-box {
    background: #004d99;
    color: #fff;
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .applications-list-box h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #fff;
        text-align: left;
        margin-left: 9%;
    }

.applications-list li {
    margin-bottom: 15px;
}

.geogrids-sections .applications-list {
    display: grid;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0rem;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    margin-left: 13%;
    padding: 0;
    list-style: disc;
    columns: 1;
}

.applications-list a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

    .applications-list a:hover,
    .applications-list a.active {
        color: var(--secBule) !important; /* Active color */
        font-weight: bold;
    }

/* Right side */
.applications-slider-box {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.applications-slider .slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border-radius: 0;
}

/* Arrows */
.applications-arrows {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

    .applications-arrows button {
        background: #fff;
        border: 1px solid #ddd;
        padding: 6px 10px;
        border-radius: 50%;
        cursor: pointer;
        transition: 0.3s;
    }

        .applications-arrows button:hover {
            background: var(--Blue-color, #004d99);
            color: #fff;
        }

.geogrids-sections #applications {
    padding: 0 0 4.5cm;
}

.comparison-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.comparison-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.comparison-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 10px;
    box-sizing: border-box;
}

.comparison-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
}

.comparison-slider-wrapper .functions-arrows {
    position: relative;
    top: 0%;
    right: -45%;
    display: flex;
    gap: 20px;
    margin-bottom: 2%;
}

.comparison-slider::-webkit-scrollbar {
    display: none;
}

.comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    width: 52%;
    text-align: left;
}

.canva-product-img1 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    height: auto;
}

    .canva-product-img1 img {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

.canva-product-info1 {
    padding: 5px 20px;
}

    .canva-product-info1 h4 {
        margin-bottom: 0;
    }

    .canva-product-info1 p {
        margin-bottom: 0;
    }

.canva-product-img1::before {
    border-radius: 0;
}

.related-articles {
    background: #fff;
    padding: 3.5cm;
    padding-top: 0;
    border-radius: 12px;
    /*  box-shadow: 0 4px 12px rgba(0,0,0,0.08);*/
    margin: 0;
}

    .related-articles h2 {
        /* font-size: 1.6rem; */
        margin-bottom: 1.2rem;
        color: var(--Blue-color);
        border-left: 5px solid var(--secBule);
        padding-left: 10px;
    }

.articles-list a {
    display: block;
    text-decoration: none;
    background: #fff;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    color: var(--Blue-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

    .articles-list a:hover {
        background: var(--Blue-color);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0, 119, 182, 0.2);
    }

.swiper-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.canva-product-img img {
    border: 1px solid #229ed5;
    border-bottom: none;
}

.canva-product:hover {
    border: 1px solid #229ed5;
    border-bottom: none;
}

.geogrids-sections #faq-section {
    background-color: #dae7fe;
    margin-top: 3.5cm;
    padding: 60px 20px;
    padding-top: 60px !important;
}

.w-56 {
    width: 56%;
}

/* للموبايل */
@media (max-width: 770px) {
    .benefits-wrapper {
        display: flex;
        flex-direction: column;
    }

    .benefits-title {
        order: 1;
        text-align: center;
        margin-bottom: 15px;
    }

    .benefits-slider-wrapper {
        order: 2;
        overflow-x: auto; /* مهم للانزلاق */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .benefits-arrow {
        order: 3;
        text-align: center;
        margin-top: 10px;
    }

    .features-grid {
        display: flex;
        gap: 10px;
    }

    .feature-box {
        flex: 0 0 calc(50% - 10px); /* اتنين في الصف */
        scroll-snap-align: center;
    }

    .geogrids-sections .feature-box {
        width: 35px !important;
    }

    .new-reverse .sticky-text-box {
        padding: 20px;
    }

    .carousel-card {
        flex: 0 0 100%; /* كل كارت ياخد العرض كله */
    }

    .carousel-right {
        right: -15px;
    }

    .carousel-left {
        left: -15px;
    }

    #functions .functions-arrows {
        top: 95%;
    }

    .functions-slider-wrapper {
        top: 10%;
    }

    .w-56 {
        width: 100%;
    }

    .related-articles {
        padding: 20px;
        padding-bottom: 60px;
    }

    .applications-wrapper {
        flex-direction: column; /* بدل row */
    }

    .applications-list-box {
        order: 1; /* الليست الأول */
    }

    .applications-slider-box {
        order: 2; /* السلايدر تحت الليست */
    }
}

.geogrids-sections .feature-box {
    background: white;
    border: 2px solid var(--apec-light-blue);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 78, 154, 0.1);
    padding: 1rem 0.5rem;
    width: 200px;
    text-align: center;
    transition: all 0.4s ease;
    /* الجديد */
    display: flex;
    flex-direction: column;
    justify-content: center; /* يخلي الأيقونة فوق والعنوان تحت */
    height: 180px; /* ثبّت ارتفاع موحد */
}

    .geogrids-sections .feature-box h3 {
        font-size: 1.2rem;
    }

.geogrids-sections #functions {
    margin-top: 0;
}

.geogrids-sections #applications {
    padding: 0 0 5.5cm;
}

#comparison-saltstop {
    padding: 0;
}

.cta-section {
    margin-top: 0;
}

.benefits-slider-wrapper .features-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-top: 25px;
    padding-bottom: 10px;
}

.geogrids-sections .prod-function .feature-box {
    background: transparent;
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 78, 154, 0.1);
    padding: 1rem 0.5rem;
    width: 200px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 180px;
}

.geogrids-sections #functions.fun {
    margin-top: 3.5cm !important;
}

@media (max-width: 770px) {
    .comparison-slider-wrapper .functions-arrows {
        right: -40%;
    }

    .function-slide img {
        width: 100%;
        border-radius: 1rem;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        margin-top: 4%;
        height: 280px;
    }
}

.quality-section .section-title, .lab-section .section-title, .certifications .section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 20px;
    font-weight: 700;
    color: #003366;
}

.quality-section {
    margin-bottom: 1cm;
}

.section-desc {
    text-align: left;
    max-width: 900px;
    margin: 0 0 50px;
    font-size: 1.1rem;
    color: #555;
}


.certifications .section-title {
    text-align: center;
}

.certifications p {
    margin: 0 3.5cm;
    text-align: center;
    font-size: 17px;
}
/* Certifications */
.certifications ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 0;
}

.certifications li {
    background: #f5f5f5;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

    .certifications li i {
        color: #0077b6;
    }

    .certifications li:hover {
        background: #0077b6;
        color: #fff;
    }

/* QA/QC Grid */
.qa-qc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* يخلي العناصر في النص */
    gap: 25px;
    margin: 40px 1.5cm;
}

    .qa-qc-grid > div {
        flex: 1 1 calc(25% - 25px); /* 4 في الصف */
        max-width: calc(25% - 25px);
        min-width: 200px; /* عشان يبقى responsive */
    }


.qa-item img {
    max-width: 150px; /* 👈 حجم الشعار */
    margin-bottom: 15px;
}


.qa-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 300px; */
}

    .qa-item h4 {
        color: #0077b6;
    }

    .qa-item:hover h4 {
        color: #fff;
    }

    .qa-item i {
        font-size: 2rem;
        margin-bottom: 15px;
        color: #0077b6;
    }

    .qa-item:hover {
        transform: translateY(-8px);
        background: #0077b6;
        color: #fff;
    }

        .qa-item:hover i {
            color: #fff;
        }


.proven-section1 {
    text-align: center;
    margin-bottom: 3.5cm;
    padding: 3.5cm 40px 3cm;
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
}

    .proven-section1 h3 {
        font-size: 2.2rem; /* أكبر شوية */
        font-weight: 700; /* تخين */
        margin-bottom: 20px;
        color: var(--Blue-color); /* اللون الأساسي */
        text-transform: uppercase; /* يخليه كابيتال */
        letter-spacing: 1px; /* مسافة بين الحروف */
        line-height: 1.4;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.1); /* ظل خفيف */
    }


.lab-section {
    margin-bottom: 3cm;
}

.proven-section1 .proven-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

/* Slider */
.proven-slider1 {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

    .proven-slider1 .slider-wrapper {
        display: flex;
        gap: 20px; /* used in JS calculation */
        transition: transform 0.5s ease-in-out;
        will-change: transform;
        padding: 20px 0;
    }

    .proven-slider1 .slide {
        min-width: calc(33.33% - 13.3px); /* 3 per row on desktop */
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

        .proven-slider1 .slide img,
        .proven-slider1 .slide video {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
        }

    /* Arrows */
    .proven-slider1 .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid var(--Blue-color);
        color: var(--Blue-color);
        font-size: 1.8rem;
        width: 45px; /* خلي للدايرة عرض */
        height: 45px; /* وخليها نفس الارتفاع */
        display: flex; /* تفعيل flexbox */
        justify-content: center; /* توسيط أفقياً */
        align-items: end; /* توسيط رأسياً */
        cursor: pointer;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: 0.25s;
        z-index: 999;
        padding: 0 6px 2px;
    }

        .proven-slider1 .arrow:hover {
            background: var(--Blue-color);
            color: #fff;
        }

        .proven-slider1 .arrow.left {
            left: 10px;
        }

        .proven-slider1 .arrow.right {
            right: 10px;
        }

/* Responsive */
@media (max-width: 992px) {
    .proven-slider1 .slide {
        min-width: calc(50% - 10px);
    }
}
/* 2 per row */
@media (max-width: 600px) {
    .proven-slider1 .slide {
        min-width: 100%;
    }
}

.lab-container {
    display: flex;
    align-items: center;
    gap: 0px;
}

.lab-logo-box {
    flex: 1;
    display: flex;
    justify-content: center;
}

.lab-logo-content {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
    cursor: pointer;
}

.lab-logo {
    width: 100%;
    height: 50%;
    object-fit: contain;
    padding: 0;
    position: relative;
    z-index: 1;
}

.certificate-bg {
    position: absolute;
    top: 100%; /* مخفي تحت */
    left: 0;
    width: 500px;
    height: 500px;
    transition: top 0.6s ease;
    z-index: 2;
}

    .certificate-bg img {
        width: 500px;
        height: 500px;
        object-fit: fill;
    }

.lab-logo-content:hover .certificate-bg {
    top: 0; /* يظهر عند hover */
}

.lab-details {
    flex: 2;
    margin-left: 3cm;
    margin-right: -1.5%;
    z-index: 1000;
}

.lab-slider {
    margin-top: 25px;
}

.sections {
    background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    padding: 3.5cm 0 3.5cm;
    margin-bottom: 3cm;
}

.cta-section-alt {
    margin-top: 0;
}

.ce-section {
    background: #fff;
    padding: 60px 0;
}

.ce-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.ce-text {
    flex: 1;
}

.ce-logo {
    flex: 0 0 150px;
    text-align: right;
}

    .ce-logo img {
        max-width: 160px;
        height: auto;
    }

@media (max-width: 770px) {
    .quality-section .section-title {
        font-size: 2.7rem;
    }

    .qa-qc-grid {
        margin: 40px 0;
    }

    .sections {
        padding: 1cm 0 1cm;
        margin-bottom: 2cm;
    }

    .certifications p {
        margin: 0;
    }

    .qa-qc-grid > div {
        min-width: 300px;
    }

    .ce-container {
        justify-content: center;
    }

    .proven-section1 {
        text-align: center;
        margin-bottom: 2.5cm;
        padding: 40px 10px;
        background: linear-gradient(to right, #e0f2fe, #c4e4fc);
    }

    .lab-container {
        display: block;
    }

    .lab-details {
        margin: 0 10px;
    }

    .certificate-bg img {
        width: 430px;
        height: 350px;
        object-fit: fill;
    }

    .lab-section {
        margin-bottom: 0;
    }
}

.canva-products-grid1-res span {
    color: #00c2ff;
}

.canva-products-grid1-res .canva-product-img1 {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: auto;
}

    .canva-products-grid1-res .canva-product-img1 img {
        width: 100%;
        display: block;
        transition: transform 0.4s ease;
    }

    .canva-products-grid1-res .canva-product-img1:hover img {
        transform: scale(1.1);
    }

/* Overlay effect */
.canva-products-grid1-res .download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 75, 143, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

    .canva-products-grid1-res .download-overlay i {
        font-size: 40px;
        color: #fff;
        animation: bounce 1.5s infinite;
    }

.canva-products-grid1-res .canva-product-img1:hover .download-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}
/* Section */
.slider-section {
    width: 100%;
    padding: 0 3.5cm;
    position: relative;
}

/* Header */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.slider-title {
    font-size: 30px;
    font-weight: bold;
    color: #224b8f;
    margin-bottom: 0;
}

.view-all-btn {
    color: #224b8f;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
    position: relative;
}

    .view-all-btn::after {
        content: "\f105"; /* Font Awesome angle-right */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        display: inline-block;
        transition: transform 0.3s ease;
        margin-left: 4px;
    }

    .view-all-btn:hover {
        color: #00c2ff;
    }

        .view-all-btn:hover::after {
            transform: translateX(5px);
        }

/* Slider */
.slider-container {
    overflow: hidden;
    position: relative;
}


.canva-products-grid1-res {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 0;
}

    .canva-products-grid1-res .canva-product1 {
        flex: 0 0 25%;
        box-sizing: border-box;
        padding: 10px;
        background-color: transparent;
        box-shadow: none;
    }

        .canva-products-grid1-res .canva-product1:hover {
            box-shadow: none;
        }

/* Controls (bottom center) */
.slider-controls {
    text-align: center;
    margin-top: 10px;
}

.slider-btn {
    display: inline-block;
    margin: 0 5px;
    background: #fff;
    color: #224b8f;
    border: 2px solid #224b8f;
    width: 45px;
    height: 45px;
    line-height: 40px;
    cursor: pointer;
    padding: 0 0 10px;
    font-size: 22px;
    border-radius: 50%;
    transition: background 0.3s;
}

    .slider-btn:hover {
        background: #224b8f;
        color: #fff;
    }
/* Overlay Play Icon */
.canva-products-grid1-res .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: none;
}

    .canva-products-grid1-res .video-overlay i {
        font-size: 50px;
        color: #fff;
        background: rgba(34,75,143,0.8);
        padding: 18px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

.canva-products-grid1-res .video-card:hover .video-overlay {
    opacity: 1;
}

    .canva-products-grid1-res .video-card:hover .video-overlay i {
        transform: scale(1.2);
    }


.res .close-btn {
    position: absolute;
    top: -33px;
    right: -10px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.res .video-modal-content {
    position: relative;
    width: 100%;
    max-width: 890px;
    background: transparent;
    padding: 0;
    animation: fadeInUp 0.5s ease;
}

.cta-section-alt {
    margin-top: 0;
}

.slider-content {
    display: none;
    margin-top: 15px;
}

.slider-section.active .slider-content {
    display: block;
    padding: 2%;
}

.toggle-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #c7e6fc;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.toggle-icon1 {
    font-size: 30px;
    transition: transform 0.3s ease;
    color: var(--Blue-color);
}

.slider-section.active .toggle-icon1 {
    transform: rotate(45deg); /* يتحول + إلى × */
}

.slider-content .slider-title {
    font-size: 28px;
}


@media (max-width: 770px) {
    .slider-section {
        width: 100%;
        padding: 0 20px 40px;
        position: relative;
    }

    .breadcrumbs {
        padding-top: 0cm;
        padding-bottom: 0cm;
    }
    /* للسلايدر */
    .canva-products-grid1-res {
        display: flex;
        flex-wrap: nowrap; /* ✅ خليه صف واحد فقط */
        transition: transform 0.3s ease-in-out;
    }

        .canva-products-grid1-res .canva-product1 {
            flex: 0 0 50%;
            max-width: 50%;
        }

    .video-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .canva-product-info1 {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        z-index: 2;
        text-align: left;
        color: white;
        font-size: 15px;
    }

    .slider-title {
        font-size: 27px;
    }

    .slider-content .slider-title {
        font-size: 24px;
    }

    .slider-section {
        padding: 0 20px 10px;
    }
}

:root {
    --primary: #1a73e8;
    --primary-dark: #0d47a1;
    --light-bg: #f4f7fb;
    --white: #fff;
    --dark: #1a1a1a;
    --text-gray: #555;
}

.wrap1 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 0px;
    padding: 0 3.5cm 40px;
    flex-wrap: wrap;
}

    .wrap1 .box {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        position: relative;
        padding: 24px;
        background: var(--white);
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: transform .3s ease;
    }

        .wrap1 .box:hover {
            transform: translateY(-6px);
        }

.box-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.box-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
}

.title-flex {
    display: block;
    justify-content: space-between;
    align-items: center;
}

.box-title {
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    font-weight: 700;
    color: var(--primary-dark);
}

.wrap1 .user-follow-info {
    color: var(--text-gray);
    font-size: 0.9em;
}

.wrap1 .description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Cut the preview text after 3 lines inside the box */
.wrap1 .box .description {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* show only 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrap1 .social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    margin-top: auto;
}

    .wrap1 .social-icons a {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: var(--white);
        border-radius: 50%;
        transition: background 0.3s;
    }

        .wrap1 .social-icons a:hover {
            background: var(--primary-dark);
        }

/* Responsive */
@media (min-width: 640px) {
    .wrap1 .box {
        flex-basis: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .wrap1 .box {
        flex-basis: calc(30% - -17px);
    }
}


.modal1 {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto; /* allow scroll when needed */
}

    .modal1 .modal-content {
        background: #fff;
        max-width: 800px;
        width: 100%;
        max-height: 90vh; /* limit modal height to 90% of viewport */
        overflow-y: auto; /* scroll inside modal if content is long */
        border-radius: 12px;
        padding: 24px;
        position: relative;
        animation: fadeIn 0.3s ease;
    }

        .modal1 .modal-content img {
            max-width: 100%;
            border-radius: 10px;
            margin-bottom: 20px;
            height: auto;
        }

        .modal1 .modal-content h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #1a3d7c;
        }

        .modal1 .modal-content p {
            font-size: 1rem;
            color: #555;
            margin-bottom: 15px;
            line-height: 1.6;
        }

        .modal1 .modal-content .social-icons {
            margin-top: 15px;
        }

            .modal1 .modal-content .social-icons a {
                font-size: 20px;
                margin-right: 10px;
                color: #fff;
                transition: color 0.3s;
            }

                .modal1 .modal-content .social-icons a:hover {
                    color: #fff;
                }

    .modal1 .close {
        position: absolute;
        right: 20px;
        top: 10px;
        font-size: 28px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
    }


@media (max-width: 770px) {
    .wrap1 {
        padding: 0;
    }

    .modal1 .close {
        right: 5px;
        top: 10px;
    }
}


.hero-photo img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 0px;
}

.geogrid-overview-section-sus .d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 40px; */
    padding-left: 0;
}

.geogrid-overview-section-sus .geogrid-heading,
.geogrid-overview-section-sus .geogrid-text {
    text-align: left;
    margin: 0 0 15px 0; /* يخلي العنوان فوق والنص تحته */
}

.geogrid-overview-section-sus .text-content {
    padding: 0 3.5cm;
}

.geogrid-overview-section-sus .geogrid-text {
    max-width: 500px; /* عشان يفضل منظم وما يتمددش قوي */
}

.hero-photo img {
    max-width: 1000px;
    width: 100%;
    border-radius: 20px; /* لمسة جمالية اختيارية */
}

.hero-photo {
    width: 800px;
}

.sustainability-icon img {
    width: 300px; /* أكبر حجم */
    height: auto;
    margin: 0 auto;
    display: block;
    background: #328ac9;
    padding: 15px;
    border-radius: 50%;
}

/* النص بجانب الأيقونة */
.sustainability-section .value-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    color: var(--Blue-color);
    font-size: 2.4em;
    font-weight: 700;
}

    .sustainability-section .value-header .upto {
        font-size: 1.4em;
        font-weight: 600;
        color: #444;
    }

    .sustainability-section .value-header .big-value {
        font-size: 2.4em;
        font-weight: bold;
        color: var(--Blue-color);
    }

.sus .value-header .caption {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--Blue-color);
}

.sustainability-text .desc {
    font-size: 1.6em;
    line-height: 1.7;
    color: #444;
}

.sustainability-content {
    display: flex;
    gap: 0;
    align-items: center;
}


/* موبايل */
@media (max-width: 770px) {
    .sustainability-content {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-section .value-header {
        justify-content: center;
    }
}

@media (max-width: 770px) {
    .geogrid-overview-section-sus .text-content {
        padding: 0 10px;
    }

    .geogrid-overview-section-sus .d-flex {
        display: block !important;
    }

    .hero-photo {
        width: auto;
        margin: 0 10px;
    }

    .sustainability-content {
        align-items: center;
    }

    .production-videos {
        height: 40%;
    }
}

.design-team-seminars {
    padding: 0;
    background: var(--apec-blue);
    color: #fff;
    height: 100vh;
    margin-bottom: 3.5cm;
}

    .design-team-seminars .design-team-container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .design-team-seminars .design-team-photo img {
        /* width: 400px; */
        max-width: 100%;
        height: 680px;
        /* border-radius: 20px; */
        /* box-shadow: 0 10px 25px rgba(0,0,0,0.5); */
        /* transform: scale(0.95); */
        transition: transform 0.5s ease;
    }

        .design-team-seminars .design-team-photo img:hover {
            transform: scale(1);
        }

    .design-team-seminars .design-team-content {
        max-width: 600px;
        margin-right: 4%;
        opacity: 0;
        transform: translateX(-50px);
        transition: all 1s ease;
    }

        .design-team-seminars .design-team-content.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .design-team-seminars .design-team-content h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
            position: relative;
            color: #fff;
        }


        .design-team-seminars .design-team-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #fff;
        }

        .design-team-seminars .design-team-content .benefits-list {
            color: #fff !important;
        }

            .design-team-seminars .design-team-content .benefits-list li {
                color: #fff !important;
            }



.flexible-schedule {
    background: #bcd0ed; /* light blue */
    padding: 0 0 0 3.5cm;
    /* display: flex; */
    align-items: center;
    /* height: 70vh; */
    justify-content: center;
}

.flexible-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    height: 75vh;
    flex-wrap: nowrap;
}

.flexible-content {
    flex: 1;
    color: #002f6c; /* dark navy blue */
}

    .flexible-content h2 {
        font-size: 2.8rem;
        font-weight: 500;
        margin-bottom: 30px;
        line-height: 1.4;
    }

    .flexible-content .btn {
        display: inline-block;
        border-radius: 20px;
        background: linear-gradient(to right, #00c6ff, #0047ab);
        color: #fff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: bold;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .flexible-content .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.2);
        }

.flexible-photo {
    /* flex: 1; */
    display: flex;
    justify-content: center;
}

    .flexible-photo img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }


.apec-section .benefits-list li {
    margin-bottom: 10px;
    color: #224b8f;
}

@media(max-width: 770px) {
    .flexible-content {
        padding: 10px;
    }

    .flexible-schedule {
        padding: 0;
    }

    .flexible-container {
        display: block;
        height: auto;
    }

    .design-team-seminars .design-team-container {
        display: block;
    }

    .design-team-seminars .design-team-photo img {
        height: 300px;
    }

    .design-team-seminars .design-team-content {
        margin: 20px 10px;
    }

    .design-team-seminars {
        height: auto;
        margin-bottom: 40px;
    }
}

.flexible-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.flexible-content {
    flex: 1; /* ياخد 50% */
}

.flexible-photo {
    /* flex: 1; */ /* ياخد 50% */
}

    .flexible-photo img {
        width: 100%;
        height: 100%; /* يملأ القسم كله */
        object-fit: cover; /* يخلي الصورة مظبوطة بدون فراغ */
    }

.design-team-seminars .design-team-container {
    width: 100%;
    height: 100%;
}

.design-team-seminars .design-team-photo {
    flex: 1; /* ياخد 50% */
    display: flex;
    justify-content: center;
    height: 100%; /* يملى طول القسم */
    align-items: center;
}

    .design-team-seminars .design-team-photo img {
        width: 100%;
        height: 100%; /* يملى طول القسم */
        object-fit: cover; /* يخلي الصورة تتقص بشكل مناسب بدون فراغ */
    }

@media (max-width: 770px) {
    .flexible-content {
        padding: 10px;
    }

    .flexible-schedule {
        padding: 0;
    }

    .flexible-container {
        display: block;
        height: auto;
    }

    .flexible-schedule {
        height: auto;
    }
}

.faq-inner {
    background-color: #fff !important;
    margin-bottom: 3.5cm;
}

.key-b {
    margin: 0 3.5cm;
    padding: 3.5cm 0;
}

@media (max-width: 770px) {
    .key-b {
        margin: 0;
        padding: 0 20px;
    }

    .headline-with-icon-app {
        display: block !important;
    }
}

@media (min-width: 1000px) and (max-width: 1190px) {
    .header-area-content-app #main-nav-content {
        margin-right: 0%;
    }

        .header-area-content-app #main-nav-content .navbar-nav {
            margin-right: 2%;
        }
}

.problems-card-section {
    /* height: 150vh; */
    overflow: visible;
    background: #afc3e4;
}

    .problems-card-section .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--New-color);
        position: relative;
        display: inline-block; /* Important for centering the underline */
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    /* .problems-card-section .section-title::after {
                    content: "";
                    position: absolute;
                    left: 50%;
                    transform: translateX(-50%);
                    bottom: 0;
                    width: 80px;
                    height: 3px;
                    background-color: var(--New-color);
                    border-radius: 2px;
                }*/

    .problems-card-section p {
        margin: 0 20% 2%;
        font-size: 19px;
    }

    /* Card Container */
    .problems-card-section .problem-hover-card {
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 0;
        position: relative;
        min-height: 250px;
        transition: transform 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        overflow: visible;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

/* Center content vertically */
.problem-hover-card .card-front {
    padding: 2rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
    direction: ltr;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

    .problem-hover-card .card-front i {
        color: var(--New-color);
    }

.problem-hover-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center !important;
    color: var(--New-color);
    margin-bottom: 0.5rem;
}

.problem-hover-card p {
    font-size: 0.95rem;
    text-align: center !important;
    color: #666;
    margin: 0;
}

/* Card Back shown below the box */
.problems-card-section .card-back {
    background-color: #d0e8f2;
    padding: 1rem 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--New-color);
    border-left: 4px solid #007bff;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
    /* ✅ Fix RTL & animation */
    direction: ltr !important;
    text-align: left;
    /* 👇 Only fade + height transition */
    transform: none !important;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

/* On hover: move content up and reveal solution */
.problem-hover-card:hover .card-front {
    transform: translateY(-10px);
}

.problem-hover-card:hover .card-back {
    display: block;
    opacity: 1;
    max-height: 300px;
}

.apec-products-collapse .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #013f66;
}

.apec-products-collapse .accordion-button {
    background-color: #f4f9fd;
    color: #013f66;
    font-weight: 600;
}

    .apec-products-collapse .accordion-button:not(.collapsed) {
        background-color: #7fa7c1;
        color: #012e4a;
    }

.apec-products-collapse .product-list {
    list-style: none;
    padding-left: 0;
}

    .apec-products-collapse .product-list li {
        margin: 0.5rem 0;
    }

    .apec-products-collapse .product-list a {
        color: var(--Blue-color);
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

        .apec-products-collapse .product-list a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

.benefits-section1 {
    margin: 3.5cm 0;
    margin-right: 4%;
}

    /* Section title */
    .benefits-section1 .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: #004080;
    }

    /* Benefits list */
    .benefits-section1 .benefits-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        color: #333;
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .benefits-section1 .benefits-list i {
        color: #004080;
        flex-shrink: 0;
        margin-top: 4px;
        font-size: 15px;
    }

    /* Video Box */
    .benefits-section1 .video-box {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0px 6px 16px rgba(0,0,0,0.25);
        transform: translateX(50px);
        opacity: 1;
        height: 250px;
        transition: all 1s ease;
    }

        .benefits-section1 .video-box video {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

.products-section {
    background: #0d3b55;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

    .products-section .products-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        font-weight: bold;
    }

.products-section {
    background: #0d3b55;
    color: #fff;
    text-align: center;
    padding: 2.5cm 1.5cm;
}

    .products-section .products-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        font-weight: bold;
    }

.products-slider {
    padding-bottom: 40px;
}

.product-item {
    text-align: center;
}

    .product-item .icon-wrapper {
        border: 2px solid #fff;
        border-radius: 10px;
        /* padding: 20px; */
        padding-top: 8px;
        transition: transform 0.3s ease;
        background: transparent;
    }

        .product-item .icon-wrapper img {
            width: 110px;
            height: 110px;
        }

    .product-item p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.3;
    }

    .product-item:hover .icon-wrapper {
        transform: translateY(-5px);
    }

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    top: 40%;
}

#related-swiper-container .swiper-button-prev,
#related-swiper-container .swiper-button-next {
    color: var(--secBule) !important;
}

.products-btn {
    margin-top: 20px;
}

    .products-btn .btn-primary {
        display: inline-block;
        padding: 10px 25px;
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        border-radius: 20px;
        font-size: 14px;
        transition: 0.3s;
    }

        .products-btn .btn-primary:hover {
            background: #fff;
            color: #0d3b55;
        }

.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    color: #1f3661;
}

.products-section .swiper-wrapper {
    padding-top: 20px;
}

.product-carousel-block {
    background: #0d3b55;
    color: #fff;
    text-align: center;
    padding: 3.5cm;
}

.carousel-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 20px;
}

.carousel-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding-top: 20px;
}

.carousel-card {
    flex: 0 0 calc(100% / 7 - 20px);
    text-align: center;
}

.icon-wrapper {
    border: 2px solid #fff;
    border-radius: 10px;
    width: 140px;
    height: 140px;
    margin: 0 auto 10px;
    padding: 10px;
    transition: transform 0.3s ease;
}

    .icon-wrapper img {
        width: 110px;
        height: 110px;
    }

.carousel-card p {
    font-size: 14px;
    line-height: 1.3;
    margin-top: 5px;
}

.carousel-card:hover .icon-wrapper {
    transform: translateY(-5px);
}

.carousel-arrow {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 10;
    border: 2px solid #fff;
    border-radius: 50%;
}

    .carousel-arrow:hover {
        background: #fff;
        color: var(--apec-blue);
    }

.carousel-left {
    left: -40px;
}

.carousel-right {
    right: -40px;
}

.products-btn {
    margin-top: 20px;
}

    .products-btn .btn-primary {
        display: inline-block;
        padding: 10px 25px;
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        border-radius: 20px;
        font-size: 14px;
        transition: 0.3s;
    }

        .products-btn .btn-primary:hover {
            background: #fff;
            color: #0d3b55;
        }


.geogrid-overview-section-app {
    max-width: 820px;
}

    .geogrid-overview-section-app .geogrid-text {
        text-align: left;
    }

.bg-div {
    position: relative;
    background-color: #f9f9f9;
    margin-right: -10%;
    overflow: hidden;
}

    .bg-div::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: url('../IMG/road icon.svg') no-repeat right / cover;
        opacity: 1;
        z-index: 0;
    }

.page-content-wrapper {
    position: relative;
    z-index: 1; /* يخلي المحتوى فوق الصورة */
}
/* Scope كل شيء داخل هذا الكلاس */
.slider-4-no-gap * {
    box-sizing: border-box;
}

.slider-4-no-gap {
    width: 100vw; /* عرض الصفحة بالكامل */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* فل بليد حتى لو داخل كونتينر */
    margin-right: -50vw;
    overflow: hidden;
}

    .slider-4-no-gap .s4-wrap {
        width: 100%;
        overflow: hidden; /* يخفي خارج التراك */
    }

    .slider-4-no-gap .s4-track {
        display: flex;
        gap: 0; /* بدون مسافات */
        will-change: transform;
        transform: translate3d(0,0,0);
        touch-action: pan-y; /* يسمح بالسحب الأفقي */
        user-select: none;
    }

    .slider-4-no-gap .s4-slide {
        flex: 0 0 25%; /* 4 عناصر في الصف */
    }

        .slider-4-no-gap .s4-slide img {
            width: 100%;
            height: 300px; /* يمكن تغييره حسب رغبتك */
            display: block;
            object-fit: cover; /* ملء بدون فراغات */
            pointer-events: none; /* يسهل السحب */
        }

/* استجابة: على الشاشات الصغيرة ما زلنا نظهر 4 بدون فجوات،
        إن أردت 2 أو 1 على الموبايل غيّر الـ flex-basis أدناه */
@media (max-width: 770px) {
    .slider-4-no-gap .s4-slide img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .slider-4-no-gap .s4-slide img {
        height: 180px;
    }
}


.solutions-section {
    margin: 3.5cm 1cm 20px;
}

    .solutions-section .solutions-container {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    /* النص */
    .solutions-section .solutions-text {
        flex: 2;
        margin-right: 5%;
    }

        .solutions-section .solutions-text h2 {
            margin-bottom: 20px;
            color: #004080;
        }

        .solutions-section .solutions-text p {
            font-size: 18px;
            color: #333;
            line-height: 1.6;
            margin-bottom: 15px;
        }

    /* السلايدر */
    .solutions-section .slider-container {
        flex: 3;
        position: relative;
    }

    .solutions-section .slider-arrows {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
        margin-top: 10px;
    }

        .solutions-section .slider-arrows button {
            border: 2px solid var(--Blue-color);
            background: #fff;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: var(--Blue-color);
        }

            .solutions-section .slider-arrows button:hover {
                background: var(--Blue-color);
                color: #fff;
            }

    .solutions-section .slider-wrapper2 {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .solutions-section .slide2 {
        display: none;
        animation: fade 0.5s;
    }

        .solutions-section .slide2.active {
            display: block;
        }

        .solutions-section .slide2 img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
        }

/* ✅ Wrapper with arrows on sides */
.problems-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.problems-slider {
    flex: 1;
    padding: 20px 10px;
}

/* ✅ Arrows Style */
.problems-slider-wrapper .slider-arrow {
    border: 2px solid var(--Blue-color);
    background: transparent;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--Blue-color);
}

    .problems-slider-wrapper .slider-arrow:hover {
        background: var(--Blue-color);
        color: #fff;
    }

.problems-slider-wrapper .slider-arrow-prev {
    position: relative;
    left: -3%;
}

.problems-slider-wrapper .slider-arrow-next {
    position: relative;
    right: -3%;
}

/* ✅ Center cards if 4 or less */
.problems-slider-wrapper.centered .problems-slider .swiper-wrapper {
    justify-content: center;
}

@media (max-width: 770px) {
    .bg-div {
        margin-right: 0;
    }

        .bg-div::before {
            /* background: url('include/IMG/road icon.svg') no-repeat center / cover; */
            margin: -15% 0;
            right: -110%;
        }

    .slider-4-no-gap .s4-slide {
        flex: 0 0 100% !important; /* كل شريحة تاخد العرض كله */
    }

    .problems-card-section p {
        margin: 0 5% 2%;
    }

    .solutions-container {
        display: block !important;
    }

    .solutions-section {
        margin: 40px 10px 40px;
    }

    .benefits-section {
        margin: 0cm;
        margin-right: 0;
    }

    .video-box {
        transform: none;
    }

    .carousel-card {
        flex: 0 0 calc(62% - 70px);
    }

    .product-carousel-block {
        background: #0d3b55;
        color: #fff;
        text-align: center;
        padding: 1cm 50px;
        margin-bottom: 1cm;
    }

    .application-carousel-block {
        padding: 1cm 45px;
    }

    .icon-wrapper {
        border: 2px solid #fff;
        border-radius: 10px;
        width: 120px;
        height: 120px;
        margin: 0 auto 10px;
        padding: 10px;
        transition: transform 0.3s ease;
    }

        .icon-wrapper img {
            width: 90px;
            height: 90px;
        }

    .related-articles {
        padding: 20px;
        padding-bottom: 60px;
    }

    .snip1369-n figcaption {
        top: 68% !important;
    }

    .snip1369-n:hover figcaption, .snip1369-n.hover figcaption {
        top: 50% !important;
    }

    .snip1369-n figcaption {
        position: absolute;
        top: 61%;
        bottom: 185px;
        left: 20px;
        right: 20px;
        border-bottom: 2px solid #ffffff;
        padding-top: 20px;
        z-index: 1;
    }

    .news-content {
        width: 85%;
    }

    .news-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
}

.problems-slider .swiper-wrapper {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 3.5cm 0 0cm;
    gap: 0px;
}

.product-carousel-block .carousel-card, .application-carousel-block .carousel-card {
    flex: 0 0 calc(100% / 7 - 20px);
    text-align: center;
    margin-right: 0;
}

.product-slider {
    background: #1e4b87;
    padding: 40px 20px;
    color: #fff;
    text-align: center;
    margin-top: 6.5cm;
}

    .product-slider .carousel-title {
        color: #fff !important;
    }

    .product-slider .carousel-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 1000px;
        margin: auto;
    }

    .product-slider .carousel-slider {
        display: flex;
        overflow: hidden;
        scroll-behavior: smooth;
        width: 100%;
        padding-top: 20px;
        gap: 0;
    }

    .product-slider .carousel-card {
        flex: 0 0 calc(33.333% - 20px) !important; /* 3 per row */
        margin: 0 10px;
        background: #fff;
        border-radius: 12px;
        color: #000;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        overflow: hidden;
        transition: transform 0.3s;
    }

        .product-slider .carousel-card:hover {
            transform: translateY(-5px);
        }

    .product-slider .carousel-img-box img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .product-slider .carousel-info {
        padding: 12px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

        .product-slider .carousel-info p {
            font-size: 1.3rem;
            color: var(--apec-blue);
            text-align: center;
            width: 90%;
        }

    /* ✅ Arrows styled like function-arrows */
    .product-slider .carousel-arrow {
        background: #1e4b87;
        color: #fff;
        border: 2px solid #fff;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 0.3s ease;
    }

        .product-slider .carousel-arrow:hover {
            background: #fff;
            color: #1e4b87;
            border-color: #1e4b87;
        }

    .product-slider .carousel-left {
        left: -60px;
    }

    .product-slider .carousel-right {
        right: -60px;
    }

.m-top {
    margin-top: 7%;
}

.related-products-section {
    margin: 3.5cm;
}

.custom-slider-container .slider-arrows {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.popup-box {
    /* padding: 2rem 10px; */
}
    /* الصندوق نفسه قابل للتمرير */
    .popup-box.large {
        max-height: 90vh; /* ارتفاع أقصى مع تمرير داخلي */
        overflow-y: auto; /* تفعيل التمرير العمودي */
        position: relative; /* مرجع للـ sticky */
        /* padding-top: 50px; */ /* فراغ علوي كافٍ لمحتوى الـsticky */
        padding: 0;
    }

        /* حاوية العنوان وزر الإغلاق */
        .popup-box.large h3 {
            position: sticky;
            top: -8%;
            background: #fff;
            z-index: 30;
            /* padding: 10px; */ /* مسافة يمين لزر الإغلاق */
        }

        /* زر الإغلاق مثبت في أقصى اليمين */
        .popup-box.large .close-btn {
            position: sticky;
            top: -5%;
            right: 0;
            float: right; /* يبقى على يمين العنوان */
            background: #fff;
            z-index: 31;
            cursor: pointer;
            padding: 0px 15px;
        }

        /* النص التعريفي تحت العنوان مباشرة */
        .popup-box.large form > p {
            position: sticky;
            top: 0; /* أسفل العنوان + زر الإغلاق */
            background: #fff;
            z-index: 20;
            padding: 15px;
        }

@media (min-width: 1200px) and (max-width: 1500px) {
    .impact-section {
        margin-top: 10%;
    }
}

@media (min-width: 1200px) {
    .slide-content .content-wrapper {
        /* margin-top: 25%; */
    }

    .newSection {
        /* height: 95vh; */
    }

    .bottom-images img {
        width: 26%;
    }

    .impact-stats-container {
        height: 12vh;
    }

    .impact-about .impact-stats-container {
        height: 12vh;
    }

    .impact-section {
        min-height: 50vh;
    }

    .impact-section-app {
        min-height: 40vh;
    }

    .value-proposition-section {
        padding: 120px 20px 11%;
    }

    .header-area-content {
        margin-top: 1.5% !important;
        margin-right: -5%;
    }


    body.scrolled .header-area-content {
        margin-top: 1% !important;
    }

    .social-icon-wrapper {
        top: 4.5%;
        right: 3%;
    }

    .right-image {
        height: 111%;
        width: 45%;
    }

        .right-image img {
            height: 100%;
        }

    body.scrolled .navbar-brand {
        top: -20%;
        width: 15%;
    }

    body.scrolled .pages-nav .navbar-brand {
        top: -8%;
        width: 15%;
    }

    .navbar-brand img {
        height: 100%;
    }

    .navbar-brand {
        top: -25%;
        left: 4%;
        height: 150px;
        width: 215px;
    }

    body.scrolled .social-icon-wrapper {
        top: 4%;
    }

    body.scrolled .social-icon-wrapper-pages {
        top: 3%;
    }

    .impact-about {
        min-height: 60vh;
    }

    .impact-map {
        margin: -2% 2% 3.5cm;
    }

    .quality-section {
        margin-bottom: 1cm;
        margin-left: 3%;
    }
}

@media (min-width: 1360px) and (max-width: 1370px) {
    .slide-content .content-wrapper {
        /* margin-top: 22%; */
    }

    .newSection {
        /* height: 114vh; */
    }

    .bottom-images img {
        width: 360px;
    }

    .impact-section {
        min-height: 75vh;
    }

    .impact-stats-container {
        height: 33vh;
    }

    .value-proposition-section {
        padding: 120px 20px 17%;
    }

    .header-area-content {
        margin-top: 1% !important;
        margin-right: 0;
    }

    body.scrolled .navbar-brand {
        top: -33%;
        width: 200px;
    }

    .navbar-brand img {
        height: 120px;
    }

    .navbar-brand {
        top: -20%;
        left: 0%;
        height: 120px;
        width: auto;
    }

    body.scrolled .social-icon-wrapper {
        top: 5% !important;
    }

    .social-icon-wrapper {
        top: 3%;
    }

    .bg-div {
        margin-right: 0;
    }

        .bg-div::before {
            right: 0;
        }

    .social-icon-wrapper-pages {
        top: 4.5%;
    }

    .quality-section {
        margin-bottom: 1cm;
        margin-left: 1%;
    }

    .social-icon-wrapper {
        right: 1%;
    }

    .social-icon-wrapper-pages {
        top: 4.5% !important;
    }
}

@media (min-width: 1390px) and (max-width: 1450px) {
    .bottom-images img {
        height: 390px;
    }
}

@media (min-width: 1500px) {
    .lab-facilities-section {
        padding-bottom: 10%;
        padding-top: 5%;
    }

    .product-card img {
        /* width: 400px; */
    }
}

@media (min-width: 1100px) and (max-width: 1200px) {
    .impact-section {
        min-height: 32vh;
    }

    .impact-about {
        min-height: 50vh;
    }

    .impact-stats-container {
        height: 15vh;
    }

    .impact-about .impact-stats-container {
        height: 20vh;
    }

    body.scrolled .social-icon-wrapper {
        top: 3%;
    }

    body.scrolled .header-area-content #main-nav-content .nav-link {
        padding: 8px 5px;
    }

    .pages-nav .navbar-brand {
        top: 0;
    }

    body.scrolled .pages-nav .navbar-brand {
        top: 1%;
    }

    .social-icon-wrapper-pages {
        top: 2.5% !important;
    }

    .main-header-and-nav-wrapper-pages {
        background-color: #fff;
        height: 9.5vh;
    }

    .header-area-content #main-nav-content .nav-link {
        padding: 8px;
    }
}

@media (min-width: 1200px) and (max-width: 1350px) {
    .header-area-content #main-nav-content .navbar-nav {
        margin-right: 13%;
    }

    .navbar-brand {
        left: 2%;
    }
}

@media (min-width: 1190px) and (max-width: 1200px) {
    .header-area-content #main-nav-content .navbar-nav {
        gap: 0px;
        margin-right: 6%;
    }

    .blog-card {
        height: 550px;
    }
}


@media (min-width: 1200px) and (max-width: 1260px) {
    .header-area-content #main-nav-content .nav-link {
        padding: 8px;
    }
}

@media (max-width: 770px) {
    #next-section [data-aos="fade-up"] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .custom-slider-container {
        margin-top: 12% !important;
    }

    .section-exclusive-manufacturer-video .container {
        padding-left: 30px;
    }

    .manufacturing-projects {
        padding: 55px 20px 10%;
    }

    .section-subtitle {
        font-size: 1.7rem;
    }

    .content-container h2 {
        font-size: 2rem;
    }

    .apec-image-wrapper {
        margin-top: 10%;
        margin-bottom: 10%;
    }

    .design-team-design .design-team-photo {
        height: auto;
    }

    .design-team-design {
        height: 75vh;
    }

        .design-team-design .design-team-content {
            margin: 55px 20px 10%;
        }

    .design-team-faq .design-team-content {
        margin: 55px 20px 10%;
    }

    .design-team-seminars .design-team-content {
        margin: 55px 20px 10%;
    }

    .faq-design {
        margin-top: 0.5cm !important;
    }

    .flexible-content {
        padding: 55px 20px 10%;
    }

    .faq-inner {
        margin-top: 0cm !important;
        padding: 10px 20px !important;
        padding-top: 10px !important;
        margin-bottom: 1cm !important;
    }

    .certificate-bg {
        height: 350px;
    }

    .geogrids-sections #faq-section {
        background-color: #dae7fe;
        margin-top: 3.5cm;
        padding: 60px 20px;
        padding-top: 0px !important;
        margin-top: -30px !important;
        padding-bottom: 70px !important;
    }

    .lab-logo-content {
        /* height: 350px; */
    }

    .popup-box {
        padding: 2rem 10px;
    }
        /* الصندوق نفسه قابل للتمرير */
        .popup-box.large {
            max-height: 90vh; /* ارتفاع أقصى مع تمرير داخلي */
            overflow-y: auto; /* تفعيل التمرير العمودي */
            position: relative; /* مرجع للـ sticky */
            padding-top: 50px; /* فراغ علوي كافٍ لمحتوى الـsticky */
        }

            /* حاوية العنوان وزر الإغلاق */
            .popup-box.large h3 {
                position: sticky;
                top: -5%;
                background: #fff;
                z-index: 30;
                padding: 12px 40px 12px 10px; /* مسافة يمين لزر الإغلاق */
            }

            /* زر الإغلاق مثبت في أقصى اليمين */
            .popup-box.large .close-btn {
                position: sticky;
                top: -5%;
                right: 0;
                float: right; /* يبقى على يمين العنوان */
                background: #fff;
                z-index: 31;
                cursor: pointer;
                padding: 0px 15px;
            }

            /* النص التعريفي تحت العنوان مباشرة */
            .popup-box.large form > p {
                position: sticky;
                top: 5px; /* أسفل العنوان + زر الإغلاق */
                background: #fff;
                z-index: 20;
                padding: 10px;
            }

    .geogrids-sections #functions.fun {
        margin-top: 1cm !important;
    }

    .product-slider .carousel-card {
        flex: 0 0 95% !important;
        max-width: 100% !important;
    }

    .product-slider .carousel-right {
        right: -15px;
    }

    .product-slider .carousel-left {
        left: -15px;
    }

    #banner-container-app {
        min-height: 700px;
    }

    .value-proposition-section.section-app {
        margin-bottom: 0.5cm;
    }

    .geogrid-overview-section-app .geogrid-text {
        font-size: 1em;
    }

    page-content-wrapper-app {
        padding-top: 6% !important;
        padding-bottom: 6% !important;
    }

    .grid-container .icon-wrapper {
        height: 120px;
    }
}

@media (max-width: 360px) {
    .newSection {
        /* height: 60vh !important; */
    }
}

@media (min-wdth: 900px) and (max-width: 1250px) {
    .timeline-section {
        padding: 0 160px;
    }
}

.faq-design {
    background-color: #fff !important;
}

@media (min-width: 790px) {
    .bg-div {
        margin-right: 0;
    }

        .bg-div::before {
            right: -25%;
        }
}

.geogrid-overview-section-app p {
    color: #1f2937;
}

@media (min-width: 1570px) {
    #banner-container-app .geogrid-overview-section .bann-p {
        right: -95%;
    }
}

@media (max-width: 500px) {
    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 37vh;
    }

    #banner-container-app #banner-text-content .headline-with-icon {
        margin-top: 40%;
    }
}

@media (min-width: 450px) and (max-width: 770px) {
    .widget-title::after {
        left: 40% !important;
        width: 100px !important;
    }
}

.snip1369-n {
    max-width: 100% !important;
}

.awards-section .awards-grid {
    pointer-events: none;
    cursor: default;
}

@media (min-width: 1000px) and (max-width: 1300px) {
    .timeline-section {
        padding: 0 160px !important;
    }
}

.video-link {
    position: relative;
}

    .video-link .overlay-link {
        position: absolute;
        inset: 0; /* يغطي كامل الفيديو */
        z-index: 2;
    }

.dropdown > a {
    pointer-events: none; /* يخلي الكليك ما يغيّرش الحالة */
}

.dropdown-toggle::after {
    pointer-events: none; /* يمنع سهم bootstrap من استقبال الكليك */
}

.contact-collapse {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 260px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

    .contact-collapse.show {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.contact-window {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contact-header {
    background: var(--secBule);
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .contact-header h5 {
        margin: 0;
        font-size: 16px;
    }

.btn-close-contact {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.contact-body {
    padding: 15px;
    background: #f9f9f9;
}

    .contact-body a {
        display: block;
        color: #333;
        text-decoration: none;
        margin-bottom: 10px;
        transition: color 0.3s;
    }

        .contact-body a:hover {
            color: var(--secBule);
        }

.contact-footer {
    padding: 10px 15px;
    background: #fff;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid #eee;
}

.contact-body .branch {
    margin-bottom: 10px;
}

    .contact-body .branch strong {
        color: #007bff;
        display: block;
        margin-bottom: 2%;
        font-size: 14px;
    }

    .contact-body .branch a {
        color: #333;
        text-decoration: none;
        font-size: 13px;
    }

        .contact-body .branch a:hover {
            color: #007bff;
        }

.contact-body hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

/* Scope everything to popup-products-slider */
#productsModal .popup-products-slider .owl-stage-outer,
#productsModal .popup-products-slider .owl-stage,
#productsModal .popup-products-slider .owl-item {
    width: 100%;
    display: flex;
}

/* Modal dialog specific to products */
#productsModal .modal-dialog {
    max-width: 900px; /* Adjust width as needed */
    margin: auto; /* Center horizontally */
}

#productsModal .modal-body {
    padding: 0; /* Remove extra padding for full-width slider */
    background-color: transparent;
}

/* Slider item */
#productsModal .popup-products-slider .popup-item {
    text-align: center;
    padding: 20px;
    background-color: transparent;
    border-radius: 10px;
    box-shadow: none;
}

    /* Ensure image scales nicely */
    #productsModal .popup-products-slider .popup-item img {
        width: 55%;
        height: auto;
        border-radius: 10px;
        display: block;
        margin: 0 auto;
    }

/* Titles and description inside popup */
#productsModal .popup-products-slider .popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 15px;
}

#productsModal .popup-products-slider .popup-desc {
    font-size: 14px;
    color: #fff;
    margin: 10px 0;
}

/* View Details button */
#productsModal .popup-products-slider .view-details-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--secBule);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

    #productsModal .popup-products-slider .view-details-button:hover {
        background-color: #026aa7;
    }

/* Center carousel navigation arrows vertically */
#productsModal .popup-products-slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#productsModal .popup-products-slider .owl-nav .owl-prev {
    left: -25px;
}

#productsModal .popup-products-slider .owl-nav .owl-next {
    right: -25px;
}

#productsModal .popup-products-slider .owl-nav button i {
    color: #fff;
    font-size: 25px;
}

/* Specific style for products modal */
.modal-products {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 0px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(13 59 85 / 58%);
    overflow: hidden;
    text-align: center;
}

#productsModal .modal-header {
    color: #fff;
}

    #productsModal .modal-header .btn-close {
        filter: invert(1);
        color: #fff;
    }
/* Icon container */
#productsModal .popup-products-slider .popup-item .popup-icon {
    width: 200px; /* Adjust icon size */
    height: 200px;
    margin: 0 auto 15px; /* Center horizontally and add bottom spacing */
}

    /* Icon image */
    #productsModal .popup-products-slider .popup-item .popup-icon img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Text below icon */
#productsModal .popup-products-slider .popup-item .popup-title,
#productsModal .popup-products-slider .popup-item .popup-desc {
    text-align: center;
}

/* Keep View Details button centered */
#productsModal .popup-products-slider .popup-item .view-details-button {
    display: inline-block;
    margin-top: 10px;
}

.popup-item {
    text-align: center;
    margin: 20px;
}

.popup-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.popup-icon {
    width: 120px; /* bigger size */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc; /* bordered box */
    border-radius: 15px;
    padding: 15px;
    /* background-color: #fff; */
    transition: transform 0.3s, box-shadow 0.3s;
}

    .popup-icon img {
        max-width: 90%;
        max-height: 90%;
    }

.popup-link:hover .popup-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.popup-title {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 380px) {
    .main-header-and-nav-wrapper-pages {
        height: 13.5vh;
    }

    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 45vh;
    }

    #banner-container-app #banner-text-content .headline-with-icon {
        margin-top: -15%;
    }
}

@media (min-width: 380px) and (max-width: 400px) {
    .main-header-and-nav-wrapper-pages {
        height: 12.5vh;
    }

    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 40vh;
    }

    #banner-container-app #banner-text-content .headline-with-icon {
        margin-top: 0%;
    }
}

.team-h {
    color: #fff !important;
}

.sustainability-section {
    margin-bottom: 2%;
}

@media (min-width: 1400px) {
    .hero-photo {
        width: 900px;
    }

    .sustainability-icon img {
        width: 350px;
    }

    .comparison-slider-wrapper .functions-arrows {
        right: -47% !important;
    }

    .pages-nav .navbar-brand {
        top: 10%;
    }
}

@media (min-width: 1550px) {
    .hero-photo {
        width: 1000px;
    }

    .sustainability-icon img {
        width: 450px;
    }
}

@media (max-width: 760px) {
    .connect-with-us-section .image-container img {
        display: none;
    }

    .flexible-photo img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
}
/* لجعل الصندوق في منتصف المودال */
.modal-searchBox {
    margin: 0;
}

    /* لو أردت نفس الحركة بالضبط */
    .modal-searchBox.searchBox {
        height: 30px;
        /* padding: 10px 0; */
        display: flex;
        /* align-items: center; */
        justify-content: flex-end;
        width: 30px;
        transition: 0.4s;
        overflow: hidden;
        color: #fff !important;
        border-radius: 0% !important;
        background-color: transparent;
        font-size: 16px !important;
        padding: 0px !important;
    }

        .modal-searchBox.searchBox:hover {
            width: 280px;
            background: #1d435e;
            border-radius: 10%;
        }

    .modal-searchBox .searchInput {
        border: none;
        /* background: none; */
        outline: none;
        color: white;
        font-size: 16px;
        /* width: 0; */
        transition: width 0.4s;
        color: #fff !important;
        border-radius: 10% !important;
        background-color: transparent;
        font-size: 16px !important;
        padding: 0 !important;
    }

    .modal-searchBox.searchBox:hover .searchInput {
        width: 200px;
    }

    .modal-searchBox .searchInput::placeholder {
        color: white;
        opacity: 1;
    }

    .modal-searchBox .searchButton {
        color: white;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        cursor: pointer;
        font-size: 18px;
        color: #fff !important;
        border-radius: 10% !important;
        background-color: transparent;
        font-size: 16px !important;
        padding: 0px !important;
    }

    .modal-searchBox.searchBox:hover .searchButton {
        background: #fff;
        color: #308bca;
    }

@media (min-width: 450px) and (max-width: 768px) {
    .newSection {
        height: 55vh !important;
    }

    .mission-vision {
        padding: 0 0 40px;
        margin-top: 5%;
    }

    #banner-container-app #banner-text-content .headline-with-icon {
        margin-top: 50%;
    }

    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 100%;
    }

    #banner-container-app .geogrid-overview-section p {
        color: #fff;
        text-align: left;
    }
}

.sustainability-text {
    margin-left: 13%;
}

.sustainability-icon {
    margin-left: 5%;
}

@media (max-width: 400px) {
    .design-team-design {
        height: 105vh;
    }
}

.lab-logo-content.static-cert {
    position: relative;
    width: 450px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

    .lab-logo-content.static-cert .lab-logo {
        width: 60%;
        height: 30%;
        object-fit: cover;
        margin-bottom: 20px; /* مسافة بين الشعار والشهادة */
    }

    .lab-logo-content.static-cert .lab-certificate {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

/* إزالة أي كود قديم يخص الحركة */
.certificate-bg,
.lab-logo-content:hover .certificate-bg {
    position: static;
    top: auto;
    left: auto;
    transition: none;
}

.modal-body-search {
    margin-right: 5%;
}

@media (min-width: 1400px) and (max-width: 1600px) {
    .newSection {
        /* height: 105vh; */
    }
}

@media (max-width: 770px) {
    .sustainability-text {
        text-align: left;
        margin-left: 5%;
    }

    .sustainability-section .value-header {
        justify-content: flex-start;
    }

    .sustainability-section .value-header {
        font-size: 1.9em;
    }

    .sustainability-text .desc {
        font-size: 1.3em;
    }

    .benefits-section1 .video-box {
        height: 180px;
    }

    #productsModal .modal-dialog {
        max-width: 300px;
    }

    body.scrolled .social-icon-wrapper {
        top: 5%;
        right: 15px;
    }

    .apec-mobile-menu {
        top: 100px !important;
    }

    .social-icon-wrapper {
        right: 15px;
    }

    body.scrolled .navbar-brand {
        left: -3%;
    }

    .chat-float-container {
        bottom: 145px;
    }

    .mobile-float-container {
        bottom: 25px;
    }

    .popup-header {
        top: -7% !important;
        padding-top: 0 !important;
    }
}

@media (min-width: 770px) and (max-width: 900px) {
    #productsModal .modal-dialog {
        max-width: 700px;
        margin: auto;
    }

    #productsModal .popup-products-slider .owl-stage-outer, #productsModal .popup-products-slider .owl-stage, #productsModal .popup-products-slider .owl-item {
        width: 100%;
        display: flex;
        margin-right: 15px !important;
    }

    .apec-mobile-menu {
        top: 125px !important;
    }
}

@media (min-width: 900px) and (max-width: 1000px) {
    #productsModal .modal-dialog {
        max-width: 700px;
        margin: auto;
    }

    #productsModal .popup-products-slider .owl-stage-outer, #productsModal .popup-products-slider .owl-stage, #productsModal .popup-products-slider .owl-item {
        width: 100%;
        display: flex;
        margin-right: 17px !important;
    }

    .apec-mobile-menu {
        top: 125px !important;
    }
}

@media (max-width: 380px) {
    .apec-mobile-menu {
        top: 90px !important;
    }
}

/* General Toggle Icon Style - match search button style */
.toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10%;
    background-color: #1d435e; /* same as search button */
    transition: 0.4s;
    position: relative; /* needed for bars positioning */
    padding: 15px;
}

    /* Hamburger bars inside toggle */
    .toggle-icon .bar {
        display: flex;
        height: 2px;
        width: 15px; /* fixed width to look good inside 30px container */
        justify-content: center;
        background-color: #fff;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.3s ease;
    }

    .toggle-icon .bar1 {
        top: 8px;
    }

    .toggle-icon .bar2 {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .toggle-icon .bar3 {
        bottom: 8px;
    }

    /* Animate to X when open */
    .toggle-icon.open .bar1 {
        transform: translateX(-50%) rotate(45deg) translateY(9px);
    }

    .toggle-icon.open .bar2 {
        opacity: 0;
    }

    .toggle-icon.open .bar3 {
        transform: translateX(-50%) rotate(-45deg) translateY(-8px);
    }

    .toggle-icon.open .bar {
        left: 70%;
    }


.toggle-icon {
    display: none;
}

body.scrolled .toggle-icon {
    display: block;
}
/* Sticky header */
.popup-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 10;
    padding: 30px;
    padding-bottom: 5px;
    transition: box-shadow 0.3s ease;
}

    /* يظهر الظل فقط بعد التمرير */
    .popup-header.scrolled {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.popup-p {
    padding: 30px;
    padding-bottom: 5px;
    padding-top: 0;
}

/* Close button styling */
.popup-header .close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.popup-4 {
    padding: 2rem;
    padding-top: 0;
}

@media (max-width: 770px) {
    .toggle-icon {
        display: block;
    }

    .sec-m {
        margin: 3% 0 5%;
    }
}

.production-videos {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.video-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}

/* Each slide takes full width */
.video-slide {
    flex: 0 0 100%;
    position: relative;
}

    /* Responsive iframe */
    .video-slide iframe {
        width: 100%;
        height: 100%;
        border: 0;
        position: absolute;
        top: 0;
        left: 0;
    }

    /* Aspect ratio wrapper */
    .video-slide::before {
        content: "";
        display: block;
        padding-top: 56.25%; /* 16:9 ratio */
    }

@media (min-width: 2800px) {
    .impact-stats-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        height: 33vh;
        padding: 0 80px;
        flex-wrap: nowrap;
        position: absolute;
        bottom: 83px;
        left: 0;
        right: 0;
        margin-top: 20%;
    }

    .bottom-images {
        margin-top: -2%;
        justify-content: flex-start;
        position: relative;
        top: 0;
        padding: 6%;
    }

    .gradient-box {
        width: 40%;
        justify-content: center;
        align-items: center;
        text-align: right;
        padding: 20px;
        box-sizing: border-box;
        align-self: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .8s ease-out, transform .8s ease-out;
        position: relative;
        left: -18%;
        z-index: 1;
    }

    .navbar-brand {
        top: 0%;
        left: 4%;
        height: 200px;
        width: 215px;
    }

    body.scrolled .navbar-brand {
        top: -5%;
        width: 15%;
    }

    .header-area-content {
        margin-right: 20% !important;
    }

    .pages-nav .navbar-brand {
        top: 0%;
        left: 4%;
        height: 200px !important;
        width: 215px;
    }

        .pages-nav .navbar-brand img {
            height: 160px;
            /* width: 200px; */
            /* border-bottom-right-radius: 20%; */
        }

    .app-container {
        width: 100%;
        max-width: fit-content;
        margin: 0 auto 3.5cm auto;
    }

    .proj-card-x {
        min-width: 20%;
        height: auto;
        cursor: pointer;
        position: relative;
        border-radius: 1.5rem;
        overflow: hidden;
        transition-property: transform;
        transition-duration: .3s;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        left: -1%;
    }

    .carousel-inner {
        height: 1000px !important;
    }

    .applications-list-box h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #fff;
        text-align: left;
        margin-left: 20%;
    }

    .applications-list-box p {
        text-align: left;
        margin-left: 20%;
    }

    .carousel-slider {
        display: flex;
        overflow: hidden;
        scroll-behavior: smooth;
        gap: 0px;
        margin: 0 auto;
        padding-top: 20px;
    }

    #banner-container-app {
        position: relative;
        background-size: cover;
        background-position: center;
        min-height: 60%;
        color: #fff;
        display: flex;
        align-items: center;
    }

    .banner-text-content {
        position: relative !important;
        top: 0% !important;
        left: -8% !important;
        transform: none !important;
        max-width: 100% !important;
    }

    .application-carousel-block .carousel-slider {
        display: flex;
        gap: 250px;
        overflow: hidden;
        scroll-behavior: smooth;
        flex: 1;
    }

    .swiper-wrapper {
        margin: 0;
        /* gap: 50px; */
    }

    .design-team-design {
        height: 50%;
    }

        .design-team-design .design-team-photo {
            flex: none;
        }

    .proven-section .slide img, .proven-section1 .slide img, .proven-section .slide video .proven-section1 .slide video {
        height: auto;
    }

    .blog-card {
        height: 800px;
    }

    .design-team-seminars {
        height: 50%;
    }

        .design-team-seminars .design-team-photo {
            flex: none;
        }

    .snip1369 figcaption {
        top: 77%;
    }

    .snip1369 {
        height: auto;
    }

    .impact-map {
        height: 1000px;
    }

    .impact-about {
        min-height: 50vh;
    }

        .impact-about .impact-stats-container {
            justify-content: center;
        }

    .proven-slider1 .slide img, .proven-slider1 .slide video {
        height: auto;
    }

    .text-content {
        flex: none;
    }

    .project-left {
        flex: none;
    }

    .problem-section {
        justify-content: center;
    }

    .project-summary {
        justify-content: center;
    }

    .related-card {
        height: auto;
    }

    .related-insights {
        margin: 3.5cm 40cm;
        padding: 0 30px;
    }

    .design-team-faq {
        height: 50%;
    }

        .design-team-faq .design-team-photo {
            flex: none;
        }

    .comparison-slider-wrapper .functions-arrows {
        right: -50%;
    }

    .new-reverse .sticky-text-box {
        padding: 0 3.5cm;
        margin: auto;
    }

    .production-text {
        margin: auto 0;
    }

    .snip1369 {
        height: auto;
        min-width: 250px;
        max-width: 550px;
    }

    .related-insights {
        margin: 3.5cm 20cm;
        padding: 0 30px;
    }
}

.custom-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 2500px) and (max-width: 2800px) {
    .app-container {
        width: 100%;
        max-width: fit-content;
        margin: 0 auto 3.5cm auto;
    }

    .proj-card-x {
        min-width: 20%;
        height: auto;
        cursor: pointer;
        position: relative;
        border-radius: 1.5rem;
        overflow: hidden;
        transition-property: transform;
        transition-duration: .3s;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        left: -1%;
    }
}

@media (min-width: 1400px) and (max-width: 1700px) {
    .applications-list-box h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #fff;
        text-align: left;
        margin-left: 12%;
    }

    .applications-list-box p {
        text-align: left;
        margin-left: 12%;
    }

    .geogrids-sections .applications-list {
        margin-left: 12%;
    }
}

@media (min-width: 1700px) and (max-width: 2800px) {
    .geogrids-sections .applications-list {
        margin-left: 7%;
    }

    .applications-list-box h2 {
        font-size: 32px;
        margin-bottom: 20px;
        color: #fff;
        text-align: left;
        margin-left: 12%;
    }

    .applications-list-box p {
        text-align: left;
        margin-left: 12%;
    }
}

.sections-content .toggle-icon {
    background-color: transparent;
    color: var(--secBule);
    padding: 0;
    width: auto;
    height: auto;
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .social-icon-wrapper {
        top: 3.5%;
        right: 3%;
    }

    body.scrolled .social-icon-wrapper {
        top: 4%;
    }

    .header-area-content #main-nav-content .navbar-nav {
        margin-right: 14%;
    }

    body.scrolled .navbar-nav {
        margin-top: .7%;
        margin-right: 18% !important;
    }

    .header-area-content #main-nav-content .nav-link {
        padding: 8px;
    }

    .social-icon-wrapper-pages {
        top: 5%;
        right: 3%;
    }
}

@media (min-width: 1100px) and (max-width: 1200px) {
    .social-icon-wrapper {
        top: 1.5%;
    }

    body.scrolled .navbar-nav {
        margin-top: .7%;
        margin-right: 16% !important;
    }

    body.scrolled .social-icon-wrapper {
        top: 2.5%;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {

    body.scrolled .navbar-nav {
        margin-top: .7%;
        margin-right: 20% !important;
    }
}

@media (min-width: 2700px) {
    .client-logo-item img {
        max-width: 30%;
        height: auto;
        display: block;
        width: auto;
    }
}

.no-line {
    border-bottom: none !important;
}

    .no-line a {
        color: #fff !important;
        font-weight: 700;
    }

        .no-line a:hover {
            color: #fff !important;
        }

.has-submenu .inner-menu {
    border-bottom: none;
    font-style: italic;
}

    .has-submenu .inner-menu a {
        color: #fff !important;
        font-weight: 500 !important;
    }

@media (min-width: 1600px) {
    .social-icon-wrapper {
        top: 4%;
        right: 3%;
    }

    .social-icon-wrapper-pages {
        top: 5%;
        right: 3%;
    }

    body.scrolled .social-icon-wrapper {
        top: 4%;
    }
}

@media (max-width: 570px) {
    .footer-widget {
        padding-top: 0 !important;
    }
}

@media (min-width: 1450px) and (max-width: 1750px) {
    .impact-section-app {
        min-height: 50vh;
    }
}

@media (min-width: 2700px) and (max-width: 2800px) {
    .swiper-wrapper {
        margin: 0;
        /* gap: 25px; */
    }
}

@media (min-width: 1900px) {
    .related-card {
        height: 800px;
    }
}

@media (min-width: 1610px) and (max-width: 1700px) {
    .snip1369:hover figcaption, .snip1369.hover figcaption {
        top: 40%;
    }
}

@media (min-width: 550px) and (max-width: 770px) {
    .related-card {
        height: 700px;
    }
}

@media (min-width: 2000px) {
    .flexible-photo {
        flex: 1;
    }
}

.modal-arrow-about {
    z-index: 1000;
}

.modal-about {
    padding-top: 0 !important;
}

    .modal-about .close {
        z-index: 3000;
    }

@media (min-width: 1200px) and (max-width: 1500px) {
    .lab-facilities-section {
        padding-top: 10%;
    }
}

.popup-box2 {
    padding: 0;
}

/* حاوية القسم */
.awards-section-mobile {
    padding: 30px 10px; /* تقليل الحواف الداخلية */
    background: #fff;
}

    /* السلايدر */
    .awards-section-mobile .swiper {
        width: 100%;
        max-width: 420px; /* لا يتمدد أكثر من عرض موبايل */
        margin: 0 auto; /* توسيط */
        padding-bottom: 30px;
    }

    /* كل سلايد */
    .awards-section-mobile .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* الصورة */
    .awards-section-mobile .award-img {
        width: 100%;
        max-width: 130px; /* تحجيم مناسب */
        height: auto;
    }

    /* نقاط التصفح */
    .awards-section-mobile .swiper-pagination-bullet {
        background: #333;
        opacity: 0.5;
    }

    .awards-section-mobile .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .awards-section-mobile .swiper-wrapper {
        gap: 0px;
    }



.mobile-projects .swiper {
    --gap: 0;
}

.mobile-projects .swiper-slide {
    /* يملأ العرض بالكامل */
    width: 100% !important;
    display: flex;
    justify-content: center;
}




@media (min-width: 770px) {
    .awards-section-mobile {
        display: none;
    }

    .mobile-projects {
        display: none;
    }
}

@media (max-width: 770px) {
    .awards-section {
        display: none;
    }

    .manufacturing-projects-d {
        display: none;
    }
}


/* Add this to your main CSS file, or check your existing Swiper CSS */
.awards-section-mobile .swiper-pagination-bullet-active {
    opacity: 1; /* Ensure it's fully visible */
    background: var(--apec-blue); /* Use your brand color or a highly visible color */
    transform: scale(1.1); /* Make it stand out */
}

#logo {
    transition: opacity 0.2s ease-in-out;
    display: block;
}

@media (min-width:800)and (max-width:1300px) {
    .sec-buttons .col-md-3 .btn-primary-gradient {
        padding: 0px !important;
    }

    .gradient-box .section-title {
        margin-left: 0%;
    }
}

@media (min-width:1420px) {
    .gradient-box .section-title {
        margin-left: 13%;
    }
}


@media (min-width:1370px) and (max-width: 1420px) {
    .gradient-box .section-title {
        margin-left: 0%;
    }
}

.conatiner {
    padding: 0 !important;
}

.section-exclusive-manufacturer-video .section-title {
    /* font-size: 3.5em !important; */
}

@media (max-width:800px) {
    .case_study_area h2 {
        margin-bottom: 15px !important;
    }

    .section-subtitle-sec, .case_study_area h5 {
        font-size: 16px;
    }

    .lab-facilities-section .section-description {
        font-size: 18px;
    }

    .lab-facilities-section .btn-primary-gradient {
        margin: 10px 0px 20px;
    }
    /* .custom-slider-container h2{
        font-size: 5rem !important;
    } */
    .row > * {
        padding: 0;
    }

    .container-fluid {
        padding-right: 0px !important;
        padding-left: 0px !important
    }

    .container {
        padding: 0 !important;
    }

    .section-exclusive-manufacturer-video .container {
        padding: 0px 20px !important;
    }

    .value-proposition-section .section-title {
        font-size: 1.4em !important;
    }

    .custom-slider-container .container {
        padding: 0px 30px !important;
    }

    .who-we-are .row, .who-we-are .intro {
        width: 87%;
        margin: auto;
    }

        .who-we-are .row div:last-of-type {
            width: 93%;
            margin: auto;
        }

    .gallery-wrapper {
        width: 310px;
        margin: auto;
    }

    .impact-map {
        margin-top: 35px;
    }

    .certifications-section .cert-text {
        width: 90%;
        margin: auto;
    }

    .app-container .slider-bottom-bar {
        justify-content: center;
        flex-direction: column;
        gap: 7px;
    }

    .cta-buttons-group .btn {
        padding: 5px 7px;
    }

    .section-app .value-items-grid:has(> :nth-child(5):last-child) {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 أعمدة */
        grid-template-rows: repeat(3, auto); /* 3 صفوف */
        justify-items: center;
        align-items: center;
        gap: 0px; /* اختياري */
        width: 80%;
        margin-top: 30px;
        margin-right: 54px;
    }
        /* الصف الأول */
        .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(1) {
            grid-column: 1;
            grid-row: 1;
        }

        .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(2) {
            grid-column: 3;
            grid-row: 1;
        }

        /* الصف الثاني */
        .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(3) {
            grid-column: 2; /* المنتصف */
            grid-row: 2;
        }

        /* الصف الثالث */
        .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
            grid-column: 1;
            grid-row: 3;
        }

        .section-app .value-items-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
            grid-column: 3;
            grid-row: 3;
        }

    .section-app .value-text {
        font-size: 1em;
        width: 250% !important;
    }

    .benefits-section1 .section-title {
        margin-left: 9%;
    }

    .swiper-wrapper {
        margin: 0;
        gap: 0;
    }

    .related-slider .swiper-wrapper {
        margin: 0;
        gap: 0px;
    }
}

@media (min-width: 410px) and (max-width: 460px) {
    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 45vh;
    }
}

@media (min-width: 460px) and (max-width: 530px) {
    #banner-container-app .geogrid-overview-section .bann-p {
        margin-top: 50vh;
    }
}

.video-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

.video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

    .video-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .video-slide iframe {
        width: 100%;
        height: 100%;
        border: none;
    }


@media (min-width: 1200px) {
    body.scrolled .navbar-brand {
        top: -50%;
        width: 15%;
    }

    body.scrolled .header-area-content #main-nav-content {
        margin-right: 11%;
    }
}

@media (min-width: 1360px) and (max-width: 1370px) {
    body.scrolled .navbar-brand {
        top: -33%;
        width: 200px;
    }

    body.scrolled .header-area-content #main-nav-content {
        margin-right: 0%;
    }

    .pages-nav .header-area-content {
        margin-right: -4%;
    }
}

@media (min-width: 1500px) and (max-width: 1550px) {
    body.scrolled .header-area-content #main-nav-content {
        margin-right: 1%;
    }
}

@media (min-width: 1800px) {
    body.scrolled .navbar-brand {
        top: -20%;
    }
}

@media (min-width: 2500px) {
    body.scrolled .navbar-brand {
        top: -10%;
    }
}

.column-item .icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(65%) saturate(776%) hue-rotate(176deg) brightness(75%) contrast(86%);
}

.application-carousel-block .icon-wrapper img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(65%) saturate(776%) hue-rotate(176deg) brightness(75%) contrast(86%);
}