/* ========================================================
   NODSOL Canada Inc. - OUR PEOPLE / TEAM PAGE STYLES
   File: /css/our-people.css
   ======================================================== */

:root {
    --brand-primary: #ba0013;
    --brand-primary-hover: #960010;
    --brand-dark: #181b1e;
    --brand-slate: #283038;
    --brand-gold: #ff8c00;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-border: #e2e8f0;
    --bg-soft: #f8fafc;
}

/* --------------------------------------------------------
   Keyframe Animations
   -------------------------------------------------------- */
@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulseOrbitGlow {
    0%, 100% {
        box-shadow: 0 0 25px rgba(186, 0, 19, 0.25), inset 0 0 15px rgba(186, 0, 19, 0.15);
    }
    50% {
        box-shadow: 0 0 45px rgba(255, 140, 0, 0.38), inset 0 0 25px rgba(186, 0, 19, 0.25);
    }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

/* --------------------------------------------------------
   Hero Header Area
   -------------------------------------------------------- */
.team-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(24, 27, 30, 0.95) 0%, rgba(35, 42, 50, 0.92) 100%), url(/images/banner/banner1.jpg) center center / cover no-repeat;
    padding: 65px 0 55px;
    color: #ffffff;
    overflow: hidden;
}

.team-hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ba0013 0%, #ff8c00 50%, #ba0013 100%);
}

.team-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(186, 0, 19, 0.22);
    border: 1px solid rgba(255, 71, 87, 0.4);
    color: #ff9e9e;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 24px;
    margin-bottom: 16px;
}

.team-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.team-hero-title span {
    color: #ff4757;
}

.team-hero-desc {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 580px;
}

.team-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.team-breadcrumb .breadcrumb-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.team-breadcrumb .breadcrumb-item a:hover {
    color: #ff4757;
}

.team-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}

.team-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35);
}

/* Circular Animated Emblem in Hero */
.circular-banner-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    padding: 10px 0;
}

.circular-orbital-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatSlow 5s ease-in-out infinite;
}

.orbital-outer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    animation: spinClockwise 25s linear infinite;
}

.orbital-middle-ring {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #ff8c00;
    border-right-color: #ba0013;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    animation: spinCounterClockwise 12s linear infinite;
}

.orbital-core-disc {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, #232a32 0%, #181b1e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: pulseOrbitGlow 4s ease-in-out infinite;
    padding: 15px;
    color: #ffffff;
}

.orbital-core-icon {
    font-size: 24px;
    color: #ff4757;
    margin-bottom: 4px;
}

.orbital-core-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}

.orbital-core-sub {
    font-size: 9.5px;
    color: #94a3b8;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------
   Main Section
   -------------------------------------------------------- */
.team-main-section {
    background: var(--bg-soft);
    padding: 60px 0 70px;
}

/* ========================================================
   1. CHIEF OPERATING OFFICER SECTION (EXACT TEMPLATE DESIGN)
   ======================================================== */
.executive-spotlight-wrapper {
    margin-bottom: 50px;
}

.executive-spotlight-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.executive-spotlight-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

/* Left Side: Photo & Overlays */
.exec-photo-col {
    flex: 0 0 42%;
    max-width: 42%;
    position: relative;
    background: #0f172a;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.exec-photo-img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.executive-spotlight-card:hover .exec-photo-img {
    transform: scale(1.02);
}

.exec-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px;
    z-index: 2;
}

.exec-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
    width: fit-content;
    margin-bottom: 6px;
    box-shadow: 0 4px 10px rgba(186, 0, 19, 0.35);
}

.exec-badge-pill i {
    font-size: 9px;
}

.exec-badge-bar {
    background: rgba(24, 27, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Right Side: Details & Qualifications */
.exec-details-col {
    flex: 0 0 58%;
    max-width: 58%;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exec-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.exec-leadership-tag {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exec-phone-cta {
    background: var(--brand-primary);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.exec-phone-cta:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-1px);
}

.exec-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin: 0 0 4px 0;
    line-height: 1.15;
    text-transform: uppercase;
}

.exec-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 18px;
}

/* Quote Box */
.exec-quote-box {
    position: relative;
    background: #fdf2f2;
    border-left: 3px solid var(--brand-primary);
    padding: 14px 18px 14px 44px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 20px;
}

.exec-quote-icon {
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--brand-primary);
    font-size: 20px;
    opacity: 0.85;
}

.exec-quote-text {
    font-size: 13.5px;
    font-style: italic;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Specialty Pills */
.exec-spec-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.exec-spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.exec-pill {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 4px;
    letter-spacing: 0.2px;
}

.exec-bio-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 22px;
}

/* Bottom 3-Metric Strip */
.exec-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f1f5f9;
    border-radius: 10px;
    padding: 14px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.exec-metric-col:not(:last-child) {
    border-right: 1px solid #cbd5e1;
}

.exec-metric-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.1;
}

.exec-metric-num.text-green {
    color: #059669;
}

.exec-metric-num.text-brand {
    color: var(--brand-primary);
}

.exec-metric-label {
    font-size: 10px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 3px;
    display: block;
}

/* ========================================================
   2. SECTION HEADER & HIERARCHY DIVIDER
   ======================================================== */
.team-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 35px;
}

.team-section-header .sub-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
}

.team-section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.team-section-header p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ========================================================
   3. PREVIOUS CIRCULAR CARD PATTERN (FEWER DETAILS)
   ======================================================== */
.nodsol-team-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.nodsol-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.09);
    border-color: #cbd5e1;
}

/* Card Top Decorative Curve */
.card-top-accent {
    height: 85px;
    background: linear-gradient(135deg, #181b1e 0%, #283038 100%);
    position: relative;
    overflow: hidden;
}

.card-top-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ba0013 0%, #ff8c00 100%);
}

.card-top-accent::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 40px;
    background: #ffffff;
    border-radius: 50% 50% 0 0;
}

/* Circular Profile Avatar with Animated Ring */
.team-avatar-wrapper {
    position: relative;
    width: 152px;
    height: 152px;
    margin: -66px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.avatar-animated-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ba0013 0%, #ff8c00 35%, #ba0013 70%, #e61e38 100%);
    animation: spinClockwise 8s linear infinite;
    opacity: 0.85;
    transition: opacity 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 4px 12px rgba(186, 0, 19, 0.2));
}

.nodsol-team-card:hover .avatar-animated-ring {
    opacity: 1;
    filter: drop-shadow(0 0 16px rgba(186, 0, 19, 0.45));
    animation-duration: 4s;
}

.avatar-inner-ring {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: #ffffff;
    z-index: 1;
}

.team-circular-img {
    position: relative;
    z-index: 2;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
    background-color: #f1f5f9;
}

.nodsol-team-card:hover .team-circular-img {
    transform: scale(1.03);
}

/* Card Body Content */
.team-card-body {
    padding: 0 22px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.team-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(186, 0, 19, 0.08);
    border: 1px solid rgba(186, 0, 19, 0.2);
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 12px;
    border-radius: 20px;
    margin: 0 auto 10px;
}

.team-role-badge.badge-tech {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(30, 41, 59, 0.2);
    color: #0f172a;
}

.team-role-badge.badge-media {
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.25);
    color: #0284c7;
}

.team-role-badge.badge-cad {
    background: rgba(234, 88, 12, 0.08);
    border-color: rgba(234, 88, 12, 0.25);
    color: #c2410c;
}

.team-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.team-card-designation {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.team-card-bio {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: center;
}

/* Skills Chips */
.team-card-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.skill-tag {
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.nodsol-team-card:hover .skill-tag {
    background: #ffffff;
    border-color: #cbd5e1;
}

/* --------------------------------------------------------
   Action Strip
   -------------------------------------------------------- */
.team-cta-strip {
    background: #ffffff;
    border-top: 1px solid var(--card-border);
    padding: 35px 0;
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 4px 0;
}

.cta-text p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

.btn-cta-brand {
    background: var(--brand-primary);
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s ease;
}

.btn-cta-brand:hover {
    background: var(--brand-primary-hover);
}

.btn-cta-outline {
    background: #ffffff;
    color: var(--brand-dark) !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13.5px;
    border: 1px solid var(--card-border);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.btn-cta-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--brand-primary) !important;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .executive-spotlight-card {
        flex-direction: column;
    }
    .exec-photo-col, .exec-details-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .exec-photo-img {
        min-height: 360px;
        max-height: 420px;
    }
    .exec-details-col {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    .team-hero-banner {
        padding: 45px 0 35px;
        text-align: center;
    }
    .team-hero-desc {
        margin: 0 auto 20px;
    }
    .team-hero-title {
        font-size: 28px;
    }
    .circular-banner-visual {
        margin-top: 20px;
    }
    .exec-name {
        font-size: 26px;
    }
    .exec-metrics-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .exec-metric-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #cbd5e1;
        padding-bottom: 10px;
    }
    .cta-content-wrapper {
        text-align: center;
        justify-content: center;
    }
}
