/* Framework Technology — Team page (.team-org), ported near-verbatim from the supplied
   Framework-Team-Final/assets/css/team-hierarchy.css reference template.

   One deliberate adaptation from the source file: the template's two static HTML files each
   set dir="ltr"/dir="rtl" directly on the <section class="team-org"> element itself (each file
   is a fully separate, self-contained page). This site instead renders both languages from one
   page and already flips direction on <body> via applyLanguage() (JsCommon/MainMaster.js), so
   the reference's compound selectors ([dir="rtl"].team-org ...) are rewritten below as descendant
   selectors ([dir="rtl"] .team-org ...) to match how direction is actually applied here. No
   visual rule, value, or breakpoint from the template was otherwise changed. */
.team-org {
    padding: 76px 0 90px;
/*    background: radial-gradient(circle at 50% 0,rgba(76,147,255,.10),transparent 28%), linear-gradient(180deg,#f8fbff 0%,#fff 26%,#f7faff 100%);*/
    overflow: hidden
}

    .team-org * {
        box-sizing: border-box
    }

    .team-org .org-head {
        max-width: 850px;
        margin: 0 auto 38px;
        text-align: center
    }

    .team-org .org-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 12px;
        border-radius: 999px;
        background: #eef5ff;
        color: #75c3ee;
        font-size: 11px;
        font-weight: 800;
        margin-bottom: 12px
    }

    .team-org .org-head h2 {
        margin: 0;
        color: #0f1d43;
        font-size: clamp(30px,4vw,50px);
        line-height: 1.15;
        letter-spacing: -1.2px
    }

        .team-org .org-head h2 span {
            color: #75c3ee
        }

    .team-org .org-head p {
        max-width: 690px;
        margin: 13px auto 0;
        color: #71809a;
        font-size: 15px;
        line-height: 1.8
    }

    .team-org .org-stats {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 22px
    }

    .team-org .org-stat {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 9px 14px;
        border: 1px solid #e4ebf5;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 8px 25px rgba(15,29,67,.05)
    }

        .team-org .org-stat i {
            color: #75c3ee
        }

        .team-org .org-stat strong {
            color: #101e43;
            font-size: 14px
        }

        .team-org .org-stat span {
            color: #8a96aa;
            font-size: 10px;
            font-weight: 700
        }

    .team-org .level-title {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: center;
        margin: 0 0 14px
    }

        .team-org .level-title:before, .team-org .level-title:after {
            content: "";
            height: 1px;
            max-width: 170px;
            flex: 1;
            background: linear-gradient(90deg,transparent,#bcd5ff)
        }

        .team-org .level-title:after {
            background: linear-gradient(90deg,#bcd5ff,transparent)
        }

        .team-org .level-title span {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 7px 13px;
            border-radius: 999px;
            background: #e8f2ff;
            color: #75c3ee;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: .6px;
            text-transform: uppercase
        }

    .team-org .connector {
        width: 2px;
        height: 32px;
        margin: 0 auto;
        background: #bcd5ff;
        position: relative
    }

        .team-org .connector:after {
            content: "";
            position: absolute;
            bottom: -4px;
            left: 50%;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            transform: translateX(-50%);
            background: #75c3ee;
            box-shadow: 0 0 0 5px #edf5ff
        }

    /* CEO */
    .team-org .ceo-card {
        width: min(650px,100%);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 104px 1fr auto;
        gap: 18px;
        align-items: center;
        padding: 18px 20px;
        border-radius: 24px;
        background: linear-gradient(135deg,#0f1d43 0%,#12366d 55%,#1854a1 100%);
        border: 1px solid rgba(255,255,255,.16);
        box-shadow: 0 25px 60px rgba(15,29,67,.20);
        color: #fff;
        position: relative;
        overflow: hidden
    }

        .team-org .ceo-card:before {
            content: "";
            position: absolute;
            inset: auto -60px -90px auto;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: rgba(63,139,255,.22)
        }

    .team-org .ceo-photo {
        width: 104px;
        height: 104px;
        border-radius: 20px;
        object-fit: cover;
        object-position: center top;
        border: 3px solid rgba(255,255,255,.32);
        background: #dceafb;
        position: relative;
        z-index: 1
    }

    .team-org .ceo-copy {
        position: relative;
        z-index: 1
    }

    .team-org .ceo-role {
        display: inline-flex;
        padding: 5px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.12);
        color: #a9ccff;
        font-size: 10px;
        font-weight: 800;
        margin-bottom: 7px
    }

    .team-org .ceo-copy h3 {
        font-size: 26px;
        line-height: 1.2;
        margin: 0 0 3px;
        color: #fff
    }

    .team-org .ceo-copy p {
        margin: 0;
        color: #d2def0;
        font-size: 13px
    }

    .team-org .ceo-mark {
        position: relative;
        z-index: 1;
        min-width: 74px;
        text-align: center;
        padding: 12px 10px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(255,255,255,.08);
        border-radius: 16px
    }

        .team-org .ceo-mark i {
            display: block;
            color: #ffd95a;
            font-size: 18px;
            margin-bottom: 3px
        }

        .team-org .ceo-mark strong {
            font-size: 12px;
            color: #fff
        }

    /* Executive leadership */
    .team-org .executive-grid {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 14px
    }

    .team-org .exec-card {
        background: #fff;
        border: 1px solid #e2eaf5;
        border-radius: 10px;
        padding: 15px 140px 15px 21px;
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 12px;
        align-items: center;
        box-shadow: 0 10px 32px rgba(15,29,67,.06);
        min-width: 0;
        position: relative
    }

        .team-org .exec-card:before {
            content: "";
            position: absolute;
            inset-block: 0px;
            inset-inline-start: -1px;
            width: 7px;
            border-start-start-radius: 18px;
            border-end-start-radius: 20px;
            background: #75c3ee;
            height: 94px;
            padding: 0px 0px 0px 0px;
        }
html[lang="ar"] .team-org .exec-card {
    padding: 15px 19px 15px 100px !important;
}
.team-org .exec-card img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center top;
    background: #edf4fb
}

        .team-org .exec-card small {
            display: block;
            color: #75c3ee;
            font-size: 9px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: .55px
        }

        .team-org .exec-card strong {
            display: block;
            color: #102044;
            font-size: 13px;
            line-height: 1.35;
            margin-top: 2px
        }

        .team-org .exec-card span {
            display: block;
            color: #818da2;
            font-size: 10px;
            line-height: 1.4;
            margin-top: 2px
        }

    /* A lone Level 2 member would otherwise auto-place into the grid's first track (left in
       LTR, right in RTL, per direction) instead of sitting under the Level 1 card - span the
       full row and cap+center the card's own width so it isn't stretched edge to edge. */
    .team-org .executive-grid .exec-card:only-child {
        grid-column: 1 / -1;
        max-width: 420px;
        margin-inline: auto;
        justify-self: center
    }

    /* Departments */
    .team-org .departments {
        margin-top: 40px
    }

    .team-org .dept-grid {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 16px;
        align-items: start
    }

    .team-org .dept-card {
        background: #fff;
        border: 1px solid #e1e9f4;
        border-radius: 20px;
        padding: 15px;
        box-shadow: 0 12px 34px rgba(15,29,67,.055);
        min-width: 0;
        transition: .2s ease;
        overflow: hidden
    }

        .team-org .dept-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 42px rgba(15,29,67,.09)
        }

    .team-org .dept-head {
        display: grid;
        grid-template-columns: 44px 1fr auto;
        gap: 10px;
        align-items: center;
        padding-bottom: 12px;
        border-bottom: 1px solid #edf1f6
    }

    .team-org .dept-icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        background: #edf5ff;
        color: #75c3ee;
        font-size: 16px
    }

    .team-org .dept-head small {
        display: block;
        color: #90a0b8;
        font-size: 8.5px;
        font-weight: 900;
        letter-spacing: .65px;
        text-transform: uppercase
    }

    .team-org .dept-head h3 {
        margin: 2px 0 0;
        color: #112148;
        font-size: 14px;
        line-height: 1.32
    }

    .team-org .dept-count {
        min-width: 34px;
        height: 28px;
        padding: 0 8px;
        border-radius: 9px;
        display: grid;
        place-items: center;
        background: #eff5ff;
        color: #75c3ee;
        font-size: 9px;
        font-weight: 900
    }

    .team-org .dept-manager {
        display: grid;
        grid-template-columns: 58px 1fr;
        gap: 11px;
        align-items: center;
        margin: 13px 0;
        padding: 10px;
        background: linear-gradient(180deg,#f8fbff,#fff);
        border: 1px solid #eaf0f7;
        border-radius: 14px
    }

        .team-org .dept-manager img {
            width: 58px;
            height: 58px;
            border-radius: 14px;
            object-fit: cover;
            object-position: center top;
            background: #e9f1f9
        }

        .team-org .dept-manager small {
            display: block;
            color: #75c3ee;
            font-size: 8.5px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: .5px
        }

        .team-org .dept-manager strong {
            display: block;
            color: #132349;
            font-size: 12px;
            line-height: 1.35;
            margin-top: 1px
        }

        .team-org .dept-manager span {
            display: block;
            color: #8994a8;
            font-size: 9px;
            margin-top: 2px
        }

    .team-org .team-members {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 8px
    }

    .team-org .member {
        display: grid;
        grid-template-columns: 42px 1fr;
        gap: 8px;
        align-items: center;
        padding: 8px;
        border-radius: 12px;
        background: #fbfcff;
        border: 1px solid #edf1f6;
        min-width: 0
    }

        .team-org .member img {
            width: 42px;
            height: 42px;
            border-radius: 11px;
            object-fit: cover;
            object-position: center top;
            background: #edf3fa
        }

        .team-org .member strong, .team-org .member span {
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis
        }

        .team-org .member strong {
            color: #17264a;
            font-size: 10px;
            line-height: 1.3
        }

        .team-org .member span {
            color: #929caf;
            font-size: 8px;
            margin-top: 2px
        }

    /* The department employee grid is 2 columns; when the member count is odd the final
       (unpaired) card would otherwise sit half-width with empty space beside it - span it
       across both columns instead. A lone employee (count 1) is also last-child + odd, so
       this same rule spans the full row for that case too, with no separate selector needed. */
    .team-org .team-members .member:last-child:nth-child(odd) {
        grid-column: 1 / -1
    }

    .team-org .dept-foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-top: 11px;
        padding-top: 10px;
        border-top: 1px solid #eef2f7
    }

    .team-org .dept-tags {
        display: flex;
        gap: 5px;
        flex-wrap: wrap
    }

        .team-org .dept-tags span {
            padding: 4px 7px;
            border-radius: 999px;
            background: #f0f4f9;
            color: #69768d;
            font-size: 7px;
            font-weight: 800
        }

.team-org .dept-more {
    font-size: 8px;
    font-weight: 900;
    color: #75c3ee;
    white-space: nowrap
}

    /* Bottom note */
    .team-org .org-bottom {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 12px;
        margin-top: 34px
    }

    .team-org .value-card {
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 14px 15px;
        background: #fff;
        border: 1px solid #e3eaf4;
        border-radius: 15px;
        box-shadow: 0 8px 26px rgba(15,29,67,.04)
    }

        .team-org .value-card i {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 11px;
            background: #edf5ff;
            color: #75c3ee
        }

        .team-org .value-card strong {
            display: block;
            color: #112148;
            font-size: 13px
        }

        .team-org .value-card span {
            display: block;
            color: #8894a8;
            font-size: 9px;
            margin-top: 2px
        }

    .team-org .quote {
        max-width: 780px;
        margin: 28px auto 0;
        padding: 16px 20px;
        border-radius: 16px;
        background: #101f46;
        color: #dce7f8;
        text-align: center;
        font-size: 12px;
        line-height: 1.7
    }

        .team-org .quote b {
            color: #fff
        }

/* RTL - adapted to this site's dir-on-<body> convention, see file header comment */
[dir="rtl"] .team-org .ceo-card, [dir="rtl"] .team-org .exec-card, [dir="rtl"] .team-org .dept-card {
    text-align: right
}

[dir="rtl"] .team-org .ceo-card {
    grid-template-columns: 104px 1fr auto
}

[dir="rtl"] .team-org .dept-head {
    grid-template-columns: 44px 1fr auto
}

/* Responsive */
@media(max-width:1199px) {
    .team-org .executive-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .team-org .dept-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

@media(max-width:767px) {
    .team-org {
        padding: 52px 0 64px
    }

        .team-org .org-head {
            margin-bottom: 30px
        }

            .team-org .org-head h2 {
                font-size: 31px
            }

            .team-org .org-head p {
                font-size: 13px
            }

        .team-org .ceo-card {
            grid-template-columns: 82px 1fr;
            padding: 15px;
            gap: 13px;
            border-radius: 20px
        }

        .team-org .ceo-photo {
            width: 82px;
            height: 82px;
            border-radius: 17px
        }

        .team-org .ceo-copy h3 {
            font-size: 20px
        }

        .team-org .ceo-mark {
            grid-column: 1/-1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            padding: 8px
        }

            .team-org .ceo-mark i {
                margin: 0
            }

        .team-org .executive-grid, .team-org .dept-grid {
            grid-template-columns: 1fr
        }

        .team-org .org-bottom {
            grid-template-columns: repeat(2,1fr)
        }

        .team-org .departments {
            margin-top: 30px
        }
}

@media(max-width:480px) {
    .team-org .auto-container {
        padding-left: 14px;
        padding-right: 14px
    }

    .team-org .org-stat {
        padding: 8px 10px
    }

        .team-org .org-stat span {
            font-size: 9px
        }

    .team-org .exec-card {
        grid-template-columns: 58px 1fr
    }

        .team-org .exec-card img {
            width: 58px;
            height: 58px
        }

    .team-org .dept-card {
        padding: 13px
    }

    .team-org .team-members {
        grid-template-columns: 1fr
    }

    .team-org .member {
        grid-template-columns: 46px 1fr
    }

        .team-org .member img {
            width: 46px;
            height: 46px
        }

    .team-org .org-bottom {
        grid-template-columns: 1fr
    }

    .team-org .level-title:before, .team-org .level-title:after {
        max-width: 50px
    }
}
