/* ==================== TALENT PROFILE - MODERN UI ==================== */

/* Talent Suite Container */
.hi-talent-suite {
    margin-top: 64px;
    margin-bottom: 80px;
}

/* Talent Tabs Navigation */
.hi-talent-tabs {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px);
    margin-bottom: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.hi-talent-tabs::-webkit-scrollbar {
    display: none;
}

.hi-talent-tab {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body, 'Poppins', 'Inter', system-ui, sans-serif);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.hi-talent-tab svg {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.hi-talent-tab:hover {
    color: #0f172a;
    background: rgba(0, 112, 243, 0.08);
}

.hi-talent-tab:hover svg {
    opacity: 0.9;
}

.hi-talent-tab.active {
    background: rgba(0, 112, 243, 0.1);
    color: #0070f3;
    box-shadow: 0 2px 8px rgba(0, 112, 243, 0.15);
}

.hi-talent-tab.active svg {
    opacity: 1;
}

.hi-talent-tab.active::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: rgba(0, 112, 243, 0.2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* Talent Panels */
.hi-talent-panels {
    position: relative;
}

.hi-talent-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.hi-talent-panel.active {
    display: block;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Talent Overview Grid */
.hi-talent-overview {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hi-talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Talent Cards */
.hi-talent-card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hi-talent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.hi-talent-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 25px 70px rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
}

.hi-talent-card--hero {
    grid-column: 1 / -1;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.08), rgba(2, 6, 23, 0.95));
}

/* Card Header */
.hi-talent-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.hi-talent-card-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.hi-talent-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hi-talent-card-subtitle {
    font-size: 14px;
    color: rgba(148, 163, 184, 0.7);
    margin: 0;
}

/* Edit Toggle Button */
.hi-edit-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    color: rgba(56, 189, 248, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hi-edit-toggle svg {
    width: 18px;
    height: 18px;
}

.hi-edit-toggle:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: rgba(56, 189, 248, 1);
    transform: translateY(-1px);
}

.hi-edit-toggle--sm {
    padding: 6px 12px;
    font-size: 13px;
}

.hi-edit-toggle--sm svg {
    width: 16px;
    height: 16px;
}

/* Card Content */
.hi-talent-card-content {
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.7;
}

/* View/Edit Modes */
.hi-view-mode,
.hi-edit-mode {
    transition: opacity 0.3s ease;
}

/* Talent Summary */
.hi-talent-summary {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(203, 213, 225, 0.9);
    margin: 0 0 20px 0;
}

/* Resume Link */
.hi-resume-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    color: rgba(168, 85, 247, 0.95);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hi-resume-link:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

.hi-resume-link svg {
    width: 20px;
    height: 20px;
}

/* Social Grid */
.hi-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.hi-social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    color: rgba(203, 213, 225, 0.9);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hi-social-link:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.3);
    color: rgba(56, 189, 248, 0.95);
    transform: translateY(-1px);
}

.hi-social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: rgba(56, 189, 248, 0.9);
}

/* Stats Grid */
.hi-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hi-stat {
    text-align: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.hi-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.hi-stat-label {
    display: block;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline */
.hi-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    padding-left: 32px;
}

.hi-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.4), rgba(168, 85, 247, 0.4));
}

.hi-timeline-item {
    position: relative;
}

.hi-timeline-marker {
    position: absolute;
    left: -28px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.8), rgba(168, 85, 247, 0.8));
    border: 2px solid rgba(15, 23, 42, 1);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.hi-timeline-content {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s ease;
}

.hi-timeline-content:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(56, 189, 248, 0.2);
}

.hi-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.hi-timeline-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 4px 0;
}

.hi-timeline-company {
    font-size: 14px;
    color: rgba(56, 189, 248, 0.8);
    margin: 0;
}

.hi-timeline-period {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
    white-space: nowrap;
    padding: 4px 12px;
    background: rgba(148, 163, 184, 0.1);
    border-radius: 8px;
}

.hi-timeline-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.8);
    margin: 0;
}

/* Projects Grid */
.hi-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.hi-project-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.hi-project-item:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);
}

.hi-project-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 8px 0;
}

.hi-project-tech {
    font-size: 13px;
    color: rgba(168, 85, 247, 0.8);
    margin: 0 0 12px 0;
    font-weight: 500;
}

.hi-project-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.8);
    margin: 0 0 16px 0;
}

.hi-project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(56, 189, 248, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hi-project-link:hover {
    color: rgba(56, 189, 248, 1);
    gap: 8px;
}

.hi-project-link svg {
    width: 16px;
    height: 16px;
}

/* Testimonials */
.hi-testimonials-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hi-testimonial-item {
    background: rgba(15, 23, 42, 0.4);
    border-left: 3px solid rgba(168, 85, 247, 0.5);
    border-radius: 12px;
    padding: 20px 24px;
}

.hi-testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(203, 213, 225, 0.9);
    font-style: italic;
    margin: 0 0 12px 0;
}

.hi-testimonial-attribution {
    font-size: 14px;
    color: rgba(148, 163, 184, 0.8);
    margin: 0;
}

.hi-testimonial-attribution strong {
    color: rgba(255, 255, 255, 0.9);
}

/* Certifications Grid */
.hi-certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.hi-cert-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.hi-cert-item:hover {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(56, 189, 248, 0.2);
}

.hi-cert-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px 0;
}

.hi-cert-meta {
    font-size: 13px;
    color: rgba(148, 163, 184, 0.7);
    margin: 0;
}

/* Honors List */
.hi-honors-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hi-honor-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.hi-honor-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 6px 0;
}

.hi-honor-meta {
    font-size: 13px;
    color: rgba(168, 85, 247, 0.8);
    margin: 0 0 10px 0;
}

.hi-honor-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.8);
    margin: 0;
}

/* Empty State */
.hi-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: rgba(148, 163, 184, 0.6);
    font-size: 15px;
    font-style: italic;
}

/* Inline Form Styles */
.hi-inline-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hi-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hi-form-field label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(203, 213, 225, 0.9);
}

.hi-form-field input,
.hi-form-field textarea,
.hi-form-field select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.hi-form-field input:focus,
.hi-form-field textarea:focus,
.hi-form-field select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.hi-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.hi-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.hi-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 8px;
}

/* Buttons */
.hi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.hi-btn--primary {
    background: linear-gradient(135deg, #38bdf8, #a855f7);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

.hi-btn--primary:hover:not(:disabled) {
    box-shadow: 0 6px 30px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.hi-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hi-btn--ghost {
    background: transparent;
    color: rgba(148, 163, 184, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.hi-btn--ghost:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.3);
}

.hi-btn--sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Talent Section */
.hi-talent-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Collection Styles */
.hi-collection {
    margin-bottom: 24px;
}

.hi-collection-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.hi-collection-heading h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.hi-collection-add {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    color: rgba(56, 189, 248, 0.9);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hi-collection-add:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

.hi-collection-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hi-collection-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.hi-collection-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.hi-collection-item-head span {
    font-size: 14px;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.7);
}

.hi-collection-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 6px;
    color: rgba(239, 68, 68, 0.9);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hi-collection-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.hi-collection-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.hi-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hi-field span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(203, 213, 225, 0.8);
}

.hi-field input,
.hi-field textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.hi-field input:focus,
.hi-field textarea:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.8);
}

.hi-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hi-talent-tabs {
        gap: 6px;
        padding: 6px;
    }

    .hi-talent-tab {
        min-width: 120px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .hi-talent-card {
        padding: 24px;
    }

    .hi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hi-timeline {
        padding-left: 24px;
    }
}

@media (max-width: 768px) {
    .hi-talent-suite {
        padding: 0 16px 60px;
    }

    .hi-talent-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .hi-talent-tab {
        flex: 0 0 auto;
    }

    .hi-talent-tab span {
        display: none;
    }

    .hi-talent-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hi-social-grid {
        grid-template-columns: 1fr;
    }

    .hi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hi-timeline {
        padding-left: 20px;
    }

    .hi-timeline::before {
        left: 6px;
    }

    .hi-timeline-marker {
        left: -26px;
    }

    .hi-timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .hi-timeline-period {
        align-self: flex-start;
    }

    .hi-projects-grid {
        grid-template-columns: 1fr;
    }

    .hi-certs-grid {
        grid-template-columns: 1fr;
    }

    .hi-form-row {
        grid-template-columns: 1fr;
    }

    .hi-form-actions {
        flex-direction: column;
    }

    .hi-btn {
        width: 100%;
    }

    .hi-collection-item-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hi-talent-card {
        padding: 20px;
        border-radius: 16px;
    }

    .hi-talent-card-header h2 {
        font-size: 20px;
    }

    .hi-edit-toggle {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hi-stats-grid {
        grid-template-columns: 1fr;
    }

    .hi-stat-value {
        font-size: 28px;
    }
}

/* ============================================================
   LIGHT THEME OVERRIDES — v3 (Apr 2026)
   ------------------------------------------------------------
   The rules above were authored for a dark-mode palette. The rest
   of the site has moved to an elegant light theme; this block
   overrides every dark surface / text color with light-theme
   equivalents so the /hi-profile/ page stays visually consistent
   with home, opportunity, and earned-badges.
   ============================================================ */

/* Tab pill refinements */
.hi-talent-tab {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #64748b;
}
.hi-talent-tab.active {
    background: linear-gradient(135deg, rgba(0, 112, 243, 0.12), rgba(0, 112, 243, 0.06));
    color: #0070f3;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 112, 243, 0.12);
}

/* ===== Talent cards (overview grid, hero card) ===== */
.hi-talent-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hi-talent-card:hover {
    border-color: rgba(0, 112, 243, 0.2) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}
.hi-talent-card--hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%) !important;
    border-color: rgba(0, 112, 243, 0.18) !important;
    position: relative;
    overflow: hidden;
}
.hi-talent-card--hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #0070f3, rgba(0, 112, 243, 0));
}

.hi-talent-card-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0f172a;
}

.hi-talent-card-subtitle {
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

/* ===== Body + summary text ===== */
.hi-talent-card-content,
.hi-talent-summary {
    color: #334155 !important;
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 14.5px;
}
.hi-talent-summary {
    font-size: 15px;
    line-height: 1.65;
}

/* ===== Stats grid ===== */
.hi-stat {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 12px;
    padding: 16px;
}
.hi-stat-value {
    color: #0f172a;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.hi-stat-label {
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Contact / link blocks ===== */
.hi-talent-contact a {
    background: #f8fafc !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #334155 !important;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.15s ease;
}
.hi-talent-contact a:hover {
    border-color: rgba(0, 112, 243, 0.25) !important;
    color: #0070f3 !important;
    background: #ffffff !important;
}

/* ===== Timeline (experience + education) ===== */
.hi-timeline-content,
.hi-project-item,
.hi-testimonial-item,
.hi-cert-item,
.hi-honor-item,
.hi-collection-item {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hi-timeline-content:hover,
.hi-project-item:hover,
.hi-cert-item:hover {
    background: #ffffff !important;
    border-color: rgba(0, 112, 243, 0.2) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.hi-timeline-period {
    color: #0070f3 !important;
    background: rgba(0, 112, 243, 0.08) !important;
    border: 1px solid rgba(0, 112, 243, 0.15);
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 12px;
    border-radius: 999px;
}

.hi-timeline-marker {
    background: linear-gradient(135deg, #0070f3, #005bb5) !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 1px rgba(0, 112, 243, 0.3), 0 0 16px rgba(0, 112, 243, 0.25) !important;
}

.hi-timeline-description,
.hi-project-desc,
.hi-testimonial-text,
.hi-honor-desc {
    color: #475569 !important;
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
}

/* Testimonial accent (was purple) → HI blue */
.hi-testimonial-item {
    border-left: 3px solid #0070f3 !important;
    padding-left: 22px;
}
.hi-testimonial-attribution {
    color: #64748b !important;
    font-weight: 500;
}

/* Cert meta */
.hi-cert-meta,
.hi-collection-item-head span {
    color: #64748b !important;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
}

/* Collection item head gets a subtle underline */
.hi-collection-item-head {
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
}

/* Empty states */
.hi-empty-state {
    color: #64748b !important;
    font-size: 14px;
    padding: 40px 20px;
    background: #f8fafc;
    border: 1px dashed rgba(15, 23, 42, 0.1);
    border-radius: 12px;
}

/* ===== Edit-mode forms (hi-form-field, hi-field) ===== */
.hi-form-field label,
.hi-field span {
    color: #475569 !important;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hi-form-field input,
.hi-form-field textarea,
.hi-form-field select,
.hi-field input,
.hi-field textarea {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    font-family: 'Inter', sans-serif;
    border-radius: 10px;
    padding: 11px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hi-form-field input:focus,
.hi-form-field textarea:focus,
.hi-form-field select:focus,
.hi-field input:focus,
.hi-field textarea:focus {
    border-color: #0070f3 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.1) !important;
    outline: none;
}

/* ===== Ghost buttons in profile forms ===== */
.hi-btn--ghost {
    color: #475569 !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    border-radius: 10px;
    padding: 9px 18px;
    font-size: 13px;
    transition: all 0.15s ease;
}
.hi-btn--ghost:hover {
    color: #0f172a !important;
    border-color: rgba(0, 112, 243, 0.3) !important;
    background: #f8fafc !important;
}
