﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/*********************************************************************************************/
.navbar {
    background-color: transparent;
    transition: background-color 0.8s ease, box-shadow 0.8s ease;
}

    .navbar.scrolled {
        background-color: white;
        box-shadow: 0 2px 12px rgba(0,0,0,.1);
    }
.bgStyle {
    height: 60px;
    width: 80px;
}
html, body {
    overflow-x: hidden;
}

.section1 {
    background-image: url("/Img/bg4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
/*    height: 100vh;*/
    padding-top: 15%;
    padding-bottom: 15%;
}
.txt-color {
    color: #3BA3C6;
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
#section4 {
    /* The image used */
    background-image: url("/Img/bgsc4.jpg");
    /* Set a specific height */
    min-height: 500px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.process-section {
    position: relative;
    min-height: 1800px;
    overflow: hidden;
    background-image: url("/Img/bgsc4.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
    .process-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }
.process-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: auto;
    padding: 120px 20px;
}
.process-title {
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto 150px;
}

    .process-title span {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 4px;
    }

    .process-title h2 {
        font-size: 55px;
        font-weight: 700;
        margin: 15px 0;
    }

    .process-title p {
        font-size: 18px;
        line-height: 1.7;
    }
.process-steps {
    position: relative;
}
    .process-steps::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(255,255,255,0.4);
        transform: translateX(-50%);
    }
.process-step {
    position: relative;
    width: 50%;
    padding: 40px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
    .process-step:nth-child(odd) {
        margin-left: 0;
        text-align: right;
    }

    .process-step:nth-child(even) {
        margin-left: 50%;
        text-align: left;
    }
.step-circle {
    position: absolute;
    top: 40px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    color: #17365d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.15);
    z-index: 3;
}
.process-step:nth-child(odd) .step-circle {
    right: -35px;
}
.process-step:nth-child(even) .step-circle {
    left: -35px;
}
.step-info {
    color: white;
}

    .step-info h3 {
        font-size: 27px;
        margin-bottom: 15px;
    }

    .step-info p {
        font-size: 16px;
        line-height: 1.7;
        opacity: 0.9;
    }
.ImgSec5 {
    background-image: url("/Img/sec51.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.industries-section {
    padding: 120px 0;
    background: #f5f6f7;
    overflow: hidden;
}
.industries-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #1d4f73;
}

.industries-header h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-top: 15px;
    font-weight: 700;
}

.industries-header p {
    max-width: 400px;
    color: #666;
    line-height: 1.7;
}
.industries-wrapper {
    position: relative;
}

.industries-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-right: 10vw;
}

    .industries-track::-webkit-scrollbar {
        display: none;
    }
.industry-card {
    position: relative;
    flex: 0 0 360px;
/*    height: 480px;*/
    overflow: hidden;
    background: #111;
}
    .industry-card img {
        width: 100%;
/*        height: 100%;*/
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    .industry-card:hover img {
        transform: scale(1.08);
    }
    .industry-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0.18) );
        pointer-events: none;
    }
.industry-overlay {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    color: white;
}

    .industry-overlay h3 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .industry-overlay p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
        opacity: 0.9;
    }

    .industry-overlay a {
        color: white;
        text-decoration: none;
        font-weight: 600;
    }

        .industry-overlay a span {
            margin-left: 8px;
            transition: margin-left 0.3s ease;
        }

.industry-card:hover .industry-overlay a span {
    margin-left: 15px;
}
.industry-arrow {
    position: absolute;
    top: -90px;
    width: 48px;
    height: 48px;
    border: 1px solid #ccc;
    background: white;
    border-radius: 50%;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .industry-arrow:hover {
        background: #173d5a;
        color: white;
    }

    .industry-arrow.prev {
        right: 65px;
    }

    .industry-arrow.next {
        right: 5px;
    }
@media (max-width: 768px) {

    .industries-section {
        padding: 80px 0;
    }

    .industries-header {
        display: block;
    }

        .industries-header h2 {
            font-size: 38px;
        }

        .industries-header p {
            margin-top: 20px;
        }

    .industry-card {
        flex: 0 0 80vw;
        height: 420px;
    }

    .industry-arrow {
        display: none;
    }
}
.ImgSec7 {
    background-image: url("/Img/map.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.links {
    display: block;
    color: #797979;
    text-decoration:none;
    transition: color .5s;
}
    .links :hover {
        color: #0051d2;
        text-decoration: underline;
    }

.facebook-float {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #1877F2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    border-radius: 10px 0 0 10px;
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
}

    .facebook-float:hover {
        width: 60px;
        color: white;
    }
.facebook-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1877F2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.3s ease;
}

    .facebook-float:hover {
        transform: translateY(-50%) scale(1.1);
        color: white;
    }

/*********************************************************************************************/
/* Recommended site structure — new classes only; original homepage styles unchanged */
.rec-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
}

.rec-hero-copy {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rec-lead {
    max-width: 720px;
    line-height: 1.7;
}

.btn-nabeel {
    background: #3BA3C6;
    color: #fff;
    border: 1px solid #3BA3C6;
}

    .btn-nabeel:hover,
    .btn-nabeel:focus {
        background: #2f8aa8;
        border-color: #2f8aa8;
        color: #fff;
    }

.btn-nabeel-outline {
    background: transparent;
    color: #3BA3C6;
    border: 1px solid #3BA3C6;
}

    .btn-nabeel-outline:hover,
    .btn-nabeel-outline:focus {
        background: #3BA3C6;
        color: #fff;
    }

.card-link {
    color: #3BA3C6;
    font-weight: 600;
    text-decoration: none;
}

    .card-link:hover {
        text-decoration: underline;
        color: #2f8aa8;
    }

.why-compact {
    background: #f5f6f7;
    padding: 72px 0;
}

.why-item {
    background: #fff;
    padding: 28px 22px;
    height: 100%;
    border: 1px solid #e6e8ea;
}

    .why-item h3 {
        font-size: 1.15rem;
        color: #17365d;
        margin-bottom: 10px;
    }

    .why-item p {
        margin: 0;
        color: #555;
        line-height: 1.6;
    }

.why-full .why-item {
    background: #f5f6f7;
}

.cta-band {
    background: #17365d;
    color: #fff;
    padding: 72px 20px;
    text-align: center;
}

    .cta-band h2 {
        font-size: clamp(1.5rem, 3vw, 2.1rem);
        margin-bottom: 12px;
    }

    .cta-band p {
        max-width: 560px;
        margin: 0 auto 24px;
        opacity: 0.9;
    }

.page-hero {
    background-image: url("/Img/bg4.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 140px;
    padding-bottom: 72px;
}

.layout-recommended .section1,
.layout-recommended .page-hero {
    position: relative;
    isolation: isolate;
}

.layout-recommended .section1::before,
.layout-recommended .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 26, 53, 0.04) 0%,
        rgba(10, 26, 53, 0.1) 88px,
        rgba(10, 26, 53, 0.42) 48%,
        rgba(8, 18, 36, 0.66) 100%
    );
    z-index: 0;
    pointer-events: none;
}

.layout-recommended .section1 > .container,
.layout-recommended .page-hero > .container {
    position: relative;
    z-index: 1;
}

.layout-recommended .section1 .text-light,
.layout-recommended .page-hero .text-light,
.layout-recommended .page-hero .section-label {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.layout-recommended .rec-navbar {
    min-height: 88px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.layout-recommended .rec-navbar.navbar-scrolled,
.layout-recommended .rec-navbar.navbar-light {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.layout-recommended .rec-navbar-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.layout-recommended .rec-navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-inline-end: 0.75rem;
    display: flex;
    align-items: center;
}

.layout-recommended .rec-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

.layout-recommended .rec-navbar.navbar-dark .rec-logo {
    filter: brightness(0) invert(1);
}

.layout-recommended .rec-navbar.navbar-light .rec-logo {
    filter: none;
}

.layout-recommended .rec-navbar .nav-link {
    font-weight: 700;
    padding-inline: 0.8rem;
}

.layout-recommended .rec-navbar.navbar-dark .nav-link {
    color: #fff;
    text-shadow: 0 1px 6px rgba(10, 26, 53, 0.45);
}

.layout-recommended .rec-navbar.navbar-dark .nav-link:hover,
.layout-recommended .rec-navbar.navbar-dark .nav-link.active {
    color: #fff;
}

.layout-recommended .rec-navbar.navbar-light .nav-link {
    color: #17365d;
    text-shadow: none;
}

.layout-recommended .rec-navbar.navbar-light .nav-link:hover,
.layout-recommended .rec-navbar.navbar-light .nav-link.active {
    color: #3BA3C6;
}

.layout-recommended .rec-navbar.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.65);
}

.layout-recommended .rec-navbar.navbar-light .navbar-toggler {
    border-color: rgba(23, 54, 93, 0.35);
}

.layout-recommended .rec-navbar-lang {
    margin-inline-start: auto;
    order: 1;
}

.layout-recommended .rec-navbar .navbar-toggler {
    margin-inline-start: 10px;
    order: 2;
}

.layout-recommended .rec-navbar .navbar-collapse {
    order: 3;
}

@media (min-width: 768px) {
    .layout-recommended .rec-navbar-lang {
        margin-inline-start: 1.25rem;
        order: 3;
    }

    .layout-recommended .rec-navbar .navbar-collapse {
        order: 1;
        flex-grow: 1;
    }

    .layout-recommended .rec-navbar .navbar-toggler {
        order: 2;
    }
}

@media (max-width: 399.98px) {
    .layout-recommended .rec-logo {
        height: 30px;
        max-width: 124px;
    }
}

@media (max-width: 767.98px) {
    .layout-recommended .rec-logo {
        height: 36px;
        max-width: 150px;
    }

    .layout-recommended .rec-navbar .navbar-collapse {
        flex-basis: 100%;
        background: #fff;
        margin-top: 10px;
        padding: 8px 16px 16px;
    }

    .layout-recommended .rec-navbar .navbar-collapse .nav-link,
    .layout-recommended .rec-navbar.navbar-dark .navbar-collapse .nav-link {
        color: #17365d;
    }

    .layout-recommended .rec-navbar .navbar-collapse .nav-link.active,
    .layout-recommended .rec-navbar.navbar-dark .navbar-collapse .nav-link.active {
        color: #3BA3C6;
    }
}

.footer-link {
    display: block;
    color: #797979;
    text-decoration: none;
    margin-bottom: 6px;
}

    .footer-link a {
        color: inherit;
        text-decoration: none;
    }

    .footer-link:hover,
    .footer-link a:hover {
        color: #3BA3C6;
        text-decoration: underline;
    }

.rec-social a {
    display: inline-block;
    margin: 0 8px;
    color: #17365d;
}

    .rec-social a:hover {
        color: #3BA3C6;
    }

.about-photo,
.about-map {
    min-height: 360px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-photo {
    background-image: url("/Img/sec51.jpg");
}

.about-map {
    background-image: url("/Img/map.jpg");
}

.service-detail {
    scroll-margin-top: 100px;
}

.service-detail-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.industry-card-grid {
    flex: none;
    width: 100%;
    height: 380px;
    scroll-margin-top: 100px;
}

.process-section-page {
    min-height: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    max-width: none;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

    .lang-switch .lang-sep {
        opacity: 0.4;
    }

    .lang-switch .lang-link {
        text-decoration: none;
        opacity: 0.88;
    }

        .lang-switch .lang-link[lang="ar"] {
            font-family: Cairo, Tahoma, sans-serif;
        }

        .lang-switch .lang-link[lang="zh-CN"] {
            font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
        }

        .lang-switch .lang-link:hover,
        .lang-switch .lang-link.active {
            opacity: 1;
        }

        .lang-switch .lang-link.active {
            text-decoration: underline;
            text-underline-offset: 4px;
        }

.navbar-dark .lang-switch .lang-link,
.navbar-dark .lang-switch .lang-sep {
    color: #fff;
    text-shadow: 0 1px 6px rgba(10, 26, 53, 0.45);
}

.navbar-light .lang-switch .lang-link,
.navbar-light .lang-switch .lang-sep {
    color: #17365d;
    text-shadow: none;
}

.navbar-light .lang-switch .lang-link.active {
    color: #3BA3C6;
}

body.lang-ar {
    font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
}

body.lang-zh-CN {
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

body.lang-ar .rec-hero-title,
body.lang-ar .page-hero h1,
body.lang-zh-CN .rec-hero-title,
body.lang-zh-CN .page-hero h1 {
    line-height: 1.45;
}

body.lang-ar p,
body.lang-zh-CN p,
body.lang-ar .card-text,
body.lang-zh-CN .card-text {
    line-height: 1.85;
}

body.lang-ar .section-label,
body.lang-ar .process-title span {
    letter-spacing: 0.12em;
}

@media (max-width: 768px) {
    .process-section-page .process-title h2 {
        font-size: 36px;
    }

    .process-section-page .process-steps::before {
        left: 35px;
        transform: none;
    }

    .process-section-page .process-step {
        width: 100%;
        margin-left: 0 !important;
        text-align: left !important;
        padding: 20px 20px 20px 90px;
        margin-bottom: 48px;
    }

    .process-section-page .process-step .step-circle,
    .process-section-page .process-step:nth-child(odd) .step-circle,
    .process-section-page .process-step:nth-child(even) .step-circle {
        left: 0;
        right: auto;
    }
}