/* ============================================================
   ABOUT US — CUSTOM ADD-ON STYLES
   Load this file AFTER css/style.css.
   Uses the same --bs-primary / --bs-secondary / --bs-light /
   --bs-dark / --bs-white variables already defined site-wide,
   so it automatically matches the current theme colors.
   All classes are prefixed "i3-" to avoid clashing with any
   existing template class names.
   ============================================================ */

/* ---- Three pillars (Infinity / Innovation / Integration) ---- */
.i3-pillars {
    border-top: 1px solid rgba(0, 0, 0, .08);
    margin-top: 10px;
}

.i3-pillar {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.i3-pillar .i3-pillar-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.i3-pillar h5 {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--bs-dark);
}

.i3-pillar p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 16px;
}

/* ---- Mission / Vision cards ---- */
.i3-mv-card {
    height: 100%;
    background: var(--bs-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}

.i3-mv-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 6px;
    background: var(--bs-primary);
}

.i3-mv-card .i3-mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--bs-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.i3-mv-card h4 {
    font-weight: 700;
    margin-bottom: 16px;
}

.i3-mv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.i3-mv-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
}

.i3-mv-card ul li i {
    color: var(--bs-primary);
    margin-top: 4px;
}

.i3-mv-card p {
    font-size: 16px;
    color: #555;
    margin-bottom: 0;
}

/* ---- Core team: 4-column dossier rows (photo | name+role | bio | tags) ---- */
.i3-team-row {
    background: var(--bs-white);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    overflow: hidden;
    margin-bottom: 30px;
    transition: box-shadow .4s, transform .4s;
}

.i3-team-row:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
    transform: translateY(-4px);
}

.i3-team-row > .row {
    --bs-gutter-x: 0;
}

.i3-team-col {
    padding: 32px 28px;
    position: relative;
    border-left: 1px dashed rgba(0, 0, 0, .12);
    height: 100%;
}

.i3-team-row .row > div:first-child .i3-team-col,
.i3-team-photo-col {
    border-left: none;
}

/* -- column 1: photo -- */
.i3-team-photo-col {
    padding: 0;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.i3-team-photo-col img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    filter: grayscale(85%);
    transform: scale(1.001);
    transition: filter .6s ease, transform .8s ease;
}

.i3-team-row:hover .i3-team-photo-col img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.i3-team-index {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* -- column 2: name + role -- */
.i3-team-eyebrow {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bs-secondary);
    margin-bottom: 10px;
    display: block;
}

.i3-team-name-col h4 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--bs-dark);
}

.i3-team-name-col .i3-team-role {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: block;
    margin-bottom: 16px;
}

.i3-team-rule {
    width: 30px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 3px;
    transition: width .5s ease;
}

.i3-team-row:hover .i3-team-rule {
    width: 60px;
}

/* -- column 3: bio -- */
.i3-team-bio-col p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #6c757d;
    margin-bottom: 0;
}

/* -- column 4: expertise tags -- */
.i3-team-tags-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.i3-team-tags-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--bs-dark);
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: transform .3s, color .3s;
}

.i3-team-tags-col li:last-child {
    border-bottom: none;
}

.i3-team-tags-col li i {
    color: var(--bs-primary);
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.i3-team-row:hover .i3-team-tags-col li {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .i3-team-col {
        border-left: none;
        border-top: 1px dashed rgba(0, 0, 0, .12);
    }
    .i3-team-photo-col {
        border-top: none;
    }
    .i3-team-photo-col img {
        min-height: 220px;
    }
}

/* ---- Core values strip ---- */
.i3-value {
    text-align: center;
    padding: 30px 15px;
    height: 100%;
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: .5s;
}

.i3-value:hover {
    background: var(--bs-primary);
}

.i3-value:hover .i3-value-icon {
    background: var(--bs-white);
    color: var(--bs-primary);
}

.i3-value:hover h6,
.i3-value:hover p {
    color: var(--bs-white) !important;
}

.i3-value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--bs-light);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    transition: .5s;
}

.i3-value h6 {
    font-weight: 700;
    margin-bottom: 6px;
    transition: .5s;
}

.i3-value p {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 0;
    transition: .5s;
}

@media (max-width: 767.98px) {
    .i3-mv-card {
        padding: 28px;
    }
}
