/* Chairman showcase — redesigned "من نحن" section on the homepage.
   Glassmorphism info panels over the chairman photo, gradient progress
   bars with icon badges, a stat card, and a pill CTA button. */

.chairman-showcase {
    position: relative;
    overflow: hidden;
    padding-block: 90px;
    background: linear-gradient(135deg, #f3fbf6 0%, #eef6fb 45%, #eef3fb 100%);
}

.chairman-showcase__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* mockup places the photo at the visual end (right, in RTL) and the copy
   at the visual start — swap via order rather than DOM order, so heading
   content still reads first for SEO/accessibility */
.chairman-photo-wrap {
    order: -1;
}

/* intro / heading / paragraph */
.chairman-showcase__intro {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #0a66c2;
    font-weight: 700;
    font-size: 14px;
}
.chairman-showcase__intro .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ebb32;
    flex-shrink: 0;
}
.chairman-showcase__intro .line {
    width: 34px;
    height: 2px;
    background: #2ebb32;
}

.chairman-showcase__heading {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 800;
    color: #123a6b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.chairman-showcase__text {
    color: #5b6b83;
    font-size: 15.5px;
    line-height: 2;
    max-width: 640px;
    margin-bottom: 34px;
}

/* stats row: stat card + progress card */
.chairman-showcase__stats {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 18px;
    margin-bottom: 34px;
}

.chairman-stat-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    padding: 26px 22px;
    box-shadow: 0 18px 40px rgba(18, 58, 107, 0.08);
}
.chairman-stat-card__dots {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: radial-gradient(#c9d9ee 1px, transparent 1px);
    background-size: 12px 12px;
    -webkit-mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 70%);
    mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 70%);
}
.chairman-stat-card__number {
    position: relative;
    font-size: 44px;
    font-weight: 800;
    color: #123a6b;
    line-height: 1;
    margin-bottom: 10px;
}
.chairman-stat-card__number span {
    color: #2ebb32;
}
.chairman-stat-card__label {
    position: relative;
    font-size: 14.5px;
    font-weight: 700;
    color: #123a6b;
    margin-bottom: 14px;
}
.chairman-stat-card__divider {
    position: relative;
    width: 26px;
    height: 2px;
    background: #d8e3f2;
    margin-bottom: 10px;
}
.chairman-stat-card__sub {
    position: relative;
    font-size: 12.5px;
    color: #8695ab;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chairman-stat-card__sub i {
    color: #2ebb32;
}

.chairman-progress-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 24px;
    box-shadow: 0 18px 40px rgba(18, 58, 107, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    justify-content: center;
}

.chairman-progress-row {
    display: grid;
    grid-template-columns: 44px 1fr 40px;
    align-items: center;
    gap: 14px;
}

.chairman-progress-row__percent {
    font-size: 15px;
    font-weight: 800;
    color: #123a6b;
    text-align: center;
}

.chairman-progress-row__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chairman-progress-row__label {
    font-size: 13.5px;
    font-weight: 700;
    color: #123a6b;
}

.chairman-progress-row__track {
    height: 6px;
    border-radius: 4px;
    background: #eaf0fa;
    overflow: hidden;
}

.chairman-progress-row__fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #7db6f5, #0a66c2);
    width: 0;
    transition: width 1.1s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.chairman-progress-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef4ff;
    color: #0a66c2;
    display: grid;
    place-items: center;
    font-size: 15px;
}

/* CTA pill */
.chairman-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #123a6b;
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 15px 30px;
    border-radius: 40px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}
.chairman-cta:hover {
    background: #0a66c2;
    color: #fff;
    transform: translateY(-2px);
}
.chairman-cta i {
    font-size: 13px;
}

/* photo side */
.chairman-photo-wrap {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    gap: 14px;
}

.chairman-photo-frame,
.chairman-nature-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(18, 58, 107, 0.18);
}
.chairman-photo-frame {
    flex: 1 1 64%;
    aspect-ratio: 4 / 5;
}
.chairman-nature-frame {
    flex: 1 1 36%;
    aspect-ratio: 3 / 5;
    align-self: flex-end;
    margin-block-end: -22px;
}
.chairman-photo-frame img,
.chairman-nature-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.chairman-photo-frame::after,
.chairman-nature-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 58, 107, 0) 55%, rgba(10, 30, 60, 0.35) 100%);
}

.chairman-glass-panel {
    position: absolute;
    z-index: 3;
    inset-inline: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.chairman-glass-panel .divider {
    width: 22px;
    height: 2px;
    background: #45d64c;
    margin: 8px auto;
}

.chairman-glass-panel--top {
    inset-block-start: 10%;
}
.chairman-glass-panel--bottom {
    inset-block-end: 12%;
}

/* decorative leaf silhouette, bottom-start corner of the section */
.chairman-showcase__leaf {
    position: absolute;
    inset-inline-start: -60px;
    inset-block-end: -60px;
    width: 320px;
    height: 320px;
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.chairman-showcase__footnote {
    position: absolute;
    inset-inline-start: 40px;
    inset-block-end: 26px;
    z-index: 2;
    font-size: 14px;
    font-weight: 700;
    color: #123a6b;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .chairman-showcase__grid {
        grid-template-columns: 1fr;
    }
    .chairman-showcase__stats {
        grid-template-columns: 1fr;
    }
    .chairman-photo-wrap {
        max-width: 360px;
        margin-inline: auto;
    }
    .chairman-showcase__footnote {
        position: static;
        margin-top: 24px;
    }
}

@media (max-width: 575px) {
    .chairman-progress-row {
        grid-template-columns: 36px 1fr 34px;
        gap: 10px;
    }
    .chairman-glass-panel {
        max-width: 105px;
        font-size: 11.5px;
        padding: 10px 10px;
    }
}
