*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --teal: #007F80;
    --teal-dark: #005f60;
    --teal-light: #e8f6f6;
    --teal-mid: #b2dede;
    --muted: #5a8a8e;
    --white: #ffffff;
    --off: #f8fdfd;
    --text: #1c2e2e;
    --text-light: #5a7a7c;
    --border: #daeaea;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--white);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden
}

.en {
    font-family: 'Roboto', sans-serif;
    direction: ltr;
    display: inline-block
}


.hero {
    padding-top: 68px;
    min-height: 100vh;
    background: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 0.7;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none
}

.blob1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: rgba(0, 127, 128, 0.07);
    animation: blobDrift 12s ease-in-out infinite
}

.blob2 {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: -80px;
    background: rgba(0, 127, 128, 0.05);
    animation: blobDrift 16s ease-in-out infinite reverse
}

.blob3 {
    width: 260px;
    height: 260px;
    top: 40%;
    right: 38%;
    background: rgba(178, 222, 222, 0.25);
    animation: blobDrift 9s ease-in-out infinite 2s
}

@keyframes blobDrift {

    0%,
    100% {
        transform: translateY(0) scale(1)
    }

    50% {
        transform: translateY(-28px) scale(1.04)
    }
}

#hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1
}

.hero-ring {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1.5px dashed var(--teal-mid);
    animation: spin 28s linear infinite;
    pointer-events: none;
}

.hero-ring::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 14px rgba(0, 127, 128, 0.7);
}

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-light);
    border: 1px solid var(--teal-mid);
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--teal-dark);
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
}

.hero-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    animation: pulse 2.4s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.4;
        transform: scale(1.6)
    }
}

.hero h1 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 900;
    line-height: 1.18;
    color: var(--text);
    margin-bottom: 18px;
}

.hero h1 span {
    color: var(--teal) !important;
}

.hero-sub {
    font-size: 16.5px;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 460px;
    margin-bottom: 36px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .22s;
    cursor: pointer;
    border: none;
}

.btn-teal {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 127, 128, 0.25)
}

.btn-teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 127, 128, 0.35)
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2.5px solid var(--teal-mid)
}

.btn-outline:hover {
    background: var(--teal-light);
    border-color: var(--teal)
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.hv-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 8px 40px rgba(0, 127, 128, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    animation: cardFloat var(--cf-dur, 6s) ease-in-out infinite var(--cf-delay, 0s);
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(var(--cf-lift, -8px))
    }
}

.hv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.hv-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}

.hv-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hv-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.hv-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    font-family: 'Tajawal', sans-serif
}

.hv-sub {
    font-size: 11px;
    color: var(--text-light);
    font-family: 'Tajawal', sans-serif
}

.hv-live {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 180, 100, 0.08);
    border: 1px solid rgba(0, 180, 100, 0.2);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 11px;
    color: #00a060;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.hv-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00c070;
    animation: pulse 2s infinite
}

.hv-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.hv-stat {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    transition: background .2s;
}

.hv-stat:hover {
    background: var(--teal-light)
}

.hv-stat-num {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--teal);
    display: block;
    line-height: 1;
    margin-bottom: 2px
}

.hv-stat-lbl {
    font-size: 10px;
    color: var(--text-light);
    font-family: 'Tajawal', sans-serif
}

.hv-mods {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.hv-mod {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 9px 12px;
    transition: all .2s;
}

.hv-mod:hover {
    background: var(--teal-light);
    border-color: var(--teal-mid)
}

.hv-mod-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.hv-mod-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.hv-mod-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    font-family: 'Tajawal', sans-serif
}

.hv-mod-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-family: 'Roboto', sans-serif
}

.hv-mods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.hv-mod2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .18s;
    cursor: default;
}

.hv-mod2:nth-last-child(-n+2) {
    border-bottom: none
}

.hv-mod2:nth-child(odd) {
    border-left: none
}

.hv-mod2:hover {
    background: var(--teal-light)
}

.hv-mod2-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .18s;
}

.hv-mod2:hover .hv-mod2-icon {
    background: rgba(0, 127, 128, 0.18)
}

.hv-mod2-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hv-mod2 span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    font-family: 'Tajawal', sans-serif;
    line-height: 1.3;
    flex: 1;
}

.stats-bar {
    background: var(--teal);
    padding: 0
}

.stats-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 36px 20px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    transition: background .2s;
}

.stat-cell:last-child {
    border-left: none
}

.stat-cell:hover {
    background: rgba(255, 255, 255, 0.06)
}

.stat-num {
    font-family: 'Roboto', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
    display: block
}

.stat-lbl {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-family: 'Tajawal', sans-serif
}

.section {
    padding: 96px 0
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 52px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: 12px;
    font-family: 'Tajawal', sans-serif;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal);
    flex-shrink: 0
}

.sec-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: var(--text);
    line-height: 1.22;
    margin-bottom: 14px
}

.divider {
    width: 48px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin-bottom: 20px
}

.story {
    background: var(--off)
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center
}

.story-img {
    position: relative
}

.story-img-main svg {
    width: 80px;
    height: 80px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 1.5;
    opacity: 0.4
}

.story-img-main img {
    border-radius: 20px;
}

.story-img::before {
    content: '';
    position: absolute;
    top: -18px;
    right: 9px;
    width: 88%;
    height: 88%;
    background: linear-gradient(135deg, rgba(0, 127, 128, 0.10) 0%, rgba(0, 127, 128, 0.05) 100%);
    border-radius: 28px;
    z-index: 0;
}

.story-img::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: -14px;
    width: 55%;
    height: 55%;
    background: linear-gradient(135deg, rgba(0, 127, 128, 0.07) 0%, transparent 80%);
    border-radius: 20px;
    z-index: 0;
}

.story-img-main {
    position: relative;
    z-index: 1;
}

.story-badge {
    position: absolute;
    bottom: -30px;
    left: 375px;
    z-index: 2;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 22px;
    box-shadow: 0 8px 32px rgba(0, 127, 128, 0.12);
    display: flex;
    align-items: center;
    gap: 14px;
}

.story-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center
}

.story-badge-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.story-badge-num {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    line-height: 1
}

.story-badge-lbl {
    font-size: 11px;
    color: var(--text-light);
    font-family: 'Tajawal', sans-serif
}

.story-text p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--text-light);
    text-align: justify;
    margin-bottom: 18px;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400
}

.story-text p:last-of-type {
    margin-bottom: 28px
}

.mv {
    background: var(--white)
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 52px
}

.mv-card {
    border-radius: 20px;
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    border: 1px solid var(--border);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(0, 127, 128, 0.1)
}

.mv-card.mission {
    background: var(--teal)
}

.mv-card.vision {
    background: var(--white)
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.mv-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px
}

.mission .mv-icon {
    background: rgba(255, 255, 255, 0.15)
}

.vision .mv-icon {
    background: var(--teal-light)
}

.mv-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none
}

.mission .mv-icon svg {
    stroke: #fff
}

.vision .mv-icon svg {
    stroke: var(--teal)
}

.mv-card h3 {
    font-family: 'Tajawal', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px
}

.mission h3 {
    color: #fff
}

.vision h3 {
    color: var(--text)
}

.mv-card p {
    font-size: 15.5px;
    line-height: 1.85;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400
}

.mission p {
    color: rgba(255, 255, 255, 0.82)
}

.vision p {
    color: var(--text-light)
}

.values {
    background: var(--off)
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px
}

.val-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 30px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.val-card:hover {
    border-color: var(--teal-mid);
    background: var(--teal-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 127, 128, 0.08)
}

.val-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    transition: color .3s;
}

.val-card:hover .val-num {
    color: var(--teal-mid)
}

.val-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: background .3s
}

.val-card:hover .val-icon {
    background: var(--teal)
}

.val-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .3s
}

.val-card:hover .val-icon svg {
    stroke: #fff
}

.val-card h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px
}

.val-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
    font-family: 'Tajawal', sans-serif;
    font-weight: 400
}

.team {
    background: var(--white)
}

.team-header {
    margin-bottom: 52px
}

.team-header p {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 8px;
    line-height: 1.7;
    font-family: 'Tajawal', sans-serif
}

.cat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 44px 0 24px;
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 1px;
}

.cat-label::before,
.cat-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.cta {
    background: var(--off);
    padding: 72px 0
}

.cta-box {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 60px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 16px 64px rgba(0, 127, 128, 0.06);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 127, 128, 0.05) 0%, transparent 70%);
}

.cta-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--teal), var(--teal-mid));
    border-radius: 0 24px 24px 0;
}

.cta-box h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px
}

.cta-box p {
    font-size: 16px;
    color: var(--text-light);
    font-family: 'Tajawal', sans-serif
}

.cta-btns {
    display: flex;
    gap: 14px;
    flex-shrink: 0
}

.r {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease
}

.r.on {
    opacity: 1;
    transform: none
}

.r.d1 {
    transition-delay: .1s
}

.r.d2 {
    transition-delay: .2s
}

.r.d3 {
    transition-delay: .3s
}

.r.d4 {
    transition-delay: .4s
}

.cu {
    display: inline
}

@media(max-width:1024px) {
    nav {
        padding: 0 24px
    }

    .container,
    .stats-inner,
    .footer-inner {
        padding-right: 24px;
        padding-left: 24px
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 88px 24px 64px
    }

    .hero-visual {
        display: none
    }

    .story-grid,
    .mv-grid {
        grid-template-columns: 1fr
    }

    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 48px 36px
    }

    .cta-btns {
        justify-content: center
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    nav .nav-links {
        display: none
    }

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

    .values-grid {
        grid-template-columns: 1fr
    }

    .footer-inner {
        flex-direction: column;
        text-align: center
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center
    }

    .hero-ring {
        display: none
    }
}

.cta .cta-box {
    justify-content: flex-start;
    gap: 300px;
}

.cta .cta-btns .btn {
    padding: 20px 47px;
    font-size: 16px;
    border-radius: 12px;
}

.cta .cta-btns {
    position: relative;
    z-index: 5;
}

.cta .cta-btns a {
    position: relative;
    z-index: 6;
}

.cta .cta-box::before,
.cta .cta-box::after {
    pointer-events: none;
}

#gotoTop {
    position: fixed;
    bottom: 32px;
    left: 32px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(103, 58, 183, 0.35);
    opacity: 0;
    transform: translateY(16px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.25s ease;
    pointer-events: none;
}

#gotoTop.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#gotoTop:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 14px 32px rgba(103, 58, 183, 0.45);
}

.story-img-main {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.story-img-main img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.founders-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.founders-grid .tcard {
    width: 300px;
    flex-shrink: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tcard {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .28s, box-shadow .28s, border-color .28s;
    position: relative;
}

.tcard:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 56px rgba(0, 127, 128, 0.13);
    border-color: var(--teal-mid);
}

.tcard::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--teal-mid));
    opacity: 0;
    transition: opacity .28s;
}

.tcard:hover::after {
    opacity: 1
}

.tcard-avatar {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--teal-light);
}

.tcard-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--teal-mid) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.35;
}

.avatar-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform .3s, box-shadow .3s;
}

.tcard:hover .avatar-circle {
    transform: scale(1.1);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.founders-grid .avatar-circle {
    width: 90px;
    height: 90px;
    font-size: 34px;
}

.av-c1 {
    background: linear-gradient(135deg, #007F80, #00b4b5)
}

.av-c2 {
    background: linear-gradient(135deg, #2d6a8f, #3d9fd8)
}

.av-c3 {
    background: linear-gradient(135deg, #5a4fcf, #8b7ff5)
}

.av-c4 {
    background: linear-gradient(135deg, #c05621, #e07b45)
}

.av-c5 {
    background: linear-gradient(135deg, #276749, #38a169)
}

.av-c6 {
    background: linear-gradient(135deg, #97266d, #d53f8c)
}

.av-c7 {
    background: linear-gradient(135deg, #744210, #d69e2e)
}

.av-c8 {
    background: linear-gradient(135deg, #2c5282, #4299e1)
}

.av-c9 {
    background: linear-gradient(135deg, #1a365d, #2b6cb0)
}

.tcard-body {
    padding: 16px 18px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.founders-grid .tcard-body {
    padding: 20px 24px 24px;
}

.tcard-name {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    color: var(--text);
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.founders-grid .tcard-name {
    font-size: 18px;
}

.tcard-role {
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: 'Tajawal', sans-serif;
}

.founders-grid .tcard-role {
    font-size: 13.5px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    letter-spacing: .3px;
}

.tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.7;
    flex-shrink: 0;
}

.tag-founder {
    background: var(--teal);
    color: #fff
}

.tag-dev {
    background: rgba(0, 127, 128, 0.1);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-qa {
    background: rgba(0, 127, 128, 0.07);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-mobile {
    background: rgba(0, 160, 96, 0.08);
    color: #00805a;
    border: 1px solid rgba(0, 160, 96, 0.2)
}

.tag-support {
    background: rgba(90, 138, 142, 0.12);
    color: var(--muted);
    border: 1px solid rgba(90, 138, 142, 0.25)
}

.cat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 44px 0 24px;
    font-family: 'Tajawal', sans-serif;
}

.cat-label::before,
.cat-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 640px) {
    .founders-grid {
        flex-direction: column;
        align-items: center
    }

    .founders-grid .tcard {
        width: 100%;
        max-width: 320px
    }

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

h2 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text);
}

.sub {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 36px;
}

.cat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 40px 0 18px;
    font-family: 'Tajawal', sans-serif;
}

.cat-label::before,
.cat-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.founders-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.founders-grid .tcard {
    width: 210px;
    flex-shrink: 0
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px
}

.tcard {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    cursor: default;
}

.tcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 127, 128, .1);
    border-color: var(--teal-mid);
}

.tcard::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--teal);
    opacity: 0;
    transition: opacity .25s;
}

.tcard:hover::after {
    opacity: 1
}

.tcard-icon-area {
    width: 100%;
    padding: 28px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.person-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s, transform .25s;
}

.tcard:hover .person-icon {
    background: var(--teal);
    transform: scale(1.08);
}

.person-icon svg {
    width: 34px;
    height: 34px;
    stroke: var(--teal);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .25s;
}

.tcard:hover .person-icon svg {
    stroke: #fff
}

.founders-grid .person-icon {
    width: 80px;
    height: 80px;
}

.founders-grid .person-icon svg {
    width: 42px;
    height: 42px;
}

.tcard-body {
    padding: 14px 14px 18px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.founders-grid .tcard-body {
    padding: 16px 18px 22px
}

.tcard-name {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.founders-grid .tcard-name {
    font-size: 17px
}

.tcard-role {
    font-size: 11.5px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-family: 'Tajawal', sans-serif;
    line-height: 1.4;
}

.founders-grid .tcard-role {
    font-size: 13px
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 11px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.tag::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: .7;
    flex-shrink: 0
}

.tag-founder {
    background: var(--teal);
    color: #fff
}

.tag-dev {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-qa {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-mobile {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-support {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid)
}

.tag-sales {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid);
}

.tag-marketing {
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid var(--teal-mid);
}