/* Screen Stylesheet for our-team */

/* Secondary Button with High-Contrast Dark Typography */
.team-btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    line-height: normal !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s ease !important;
}

.team-btn-secondary span {
    color: #0f172a !important;
}

.team-btn-secondary i {
    color: #15803d !important;
    margin-left: 8px !important;
    transition: transform 0.2s ease !important;
}

.team-btn-secondary:hover {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #15803d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(21, 128, 61, 0.12) !important;
}

.team-btn-secondary:hover span,
.team-btn-secondary:hover i {
    color: #15803d !important;
}

/* Hero Section */
.team-hero-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    position: relative;
}

.team-hero-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-hero-card:hover img {
    transform: scale(1.02);
}

/* Hero Stats Metric Strip */
.team-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .team-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-metric-grid {
        grid-template-columns: 1fr;
    }
}

.team-metric-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #15803d, #22c55e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(21, 128, 61, 0.15);
    border-color: #86efac;
}

.team-metric-card:hover::before {
    opacity: 1;
}

.team-metric-num {
    font-size: clamp(26px, 2.4vw, 32px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.team-metric-lbl {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 5px;
}

.team-metric-sub {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

/* Leadership Card (Tier 1) */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

.leadership-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.07);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@media (max-width: 576px) {
    .leadership-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 18px;
    }
}

.leadership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px -10px rgba(21, 128, 61, 0.16);
    border-color: #86efac;
}

.leader-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.leader-avatar {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
}

.leader-badge-pill {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #15803d;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.4);
}

.leader-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.leader-role {
    font-size: 13.5px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 12px;
}

.leader-bio {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 14px;
}

.leader-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

@media (max-width: 576px) {
    .leader-tech-stack {
        justify-content: center;
    }
}

.tech-tag {
    background: #f1f5f9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.leader-socials {
    display: flex;
    gap: 10px;
}

@media (max-width: 576px) {
    .leader-socials {
        justify-content: center;
    }
}

.leader-socials a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s ease;
}

.leader-socials a:hover {
    background: #15803d;
    color: #ffffff;
    border-color: #15803d;
    transform: translateY(-2px);
}

/* Squad Leads Grid (Tier 2) */
.squad-leads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .squad-leads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .squad-leads-grid {
        grid-template-columns: 1fr;
    }
}

.squad-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.06);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.squad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(21, 128, 61, 0.15);
    border-color: #86efac;
}

.squad-avatar {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    box-shadow: 0 6px 16px -3px rgba(15, 23, 42, 0.1);
    margin-bottom: 14px;
}

.squad-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 3px;
}

.squad-title {
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 10px;
}

.squad-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
}

.squad-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 14px;
}

/* Vetting Standards 4-Pillars */
.vetting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .vetting-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .vetting-grid {
        grid-template-columns: 1fr;
    }
}

.vetting-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 20px;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}

.vetting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.vetting-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.vetting-card h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.vetting-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}