/* Executive Profile — Vasavya Yagati */
.profile-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d47a1 45%, #1565c0 100%);
    padding: 100px 0 60px;
    color: #fff;
}
.profile-hero-inner {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 28px;
    align-items: center;
}
.profile-hero-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.profile-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    margin: 0 0 8px;
}
.profile-hero-tagline {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.profile-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.profile-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.profile-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.profile-hero-actions .btn-pdf {
    background: #FFD600;
    color: #0d47a1;
    font-weight: 700;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
}
.profile-hero-actions .btn-pdf:hover {
    background: #ffea00;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.profile-hero-actions .btn-outline-light {
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
}
.profile-hero-actions .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

.profile-stats {
    background: var(--brand-white);
    border-bottom: 1px solid var(--brand-gray-light);
    padding: 28px 0;
}
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
}
.profile-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pvt-primary);
    line-height: 1.1;
}
.profile-stat-label {
    font-size: 0.78rem;
    color: var(--brand-text-light);
    margin-top: 4px;
    line-height: 1.4;
}

.profile-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--brand-gray-light);
    padding: 10px 0;
}
.profile-nav-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}
.profile-nav a {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-text-light);
    text-decoration: none;
    transition: var(--transition);
}
.profile-nav a:hover,
.profile-nav a.active {
    background: var(--brand-blue-light);
    color: var(--pvt-primary);
}

.profile-section {
    scroll-margin-top: 70px;
}
.profile-section h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}
.profile-section .section-lead {
    color: var(--brand-text-light);
    line-height: 1.8;
    max-width: 780px;
    margin-bottom: 28px;
}

.profile-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.profile-highlight-box {
    background: var(--brand-blue-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border-left: 4px solid var(--pvt-primary);
}
.profile-highlight-box h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--pvt-primary);
}
.profile-highlight-box ul {
    margin: 0;
    padding-left: 18px;
    color: var(--brand-text-light);
    line-height: 1.8;
    font-size: 0.92rem;
}

.deployed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.deployed-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-gray-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.deployed-card:hover {
    border-color: var(--pvt-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.deployed-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--pvt-primary);
}
.deployed-card p {
    font-size: 0.85rem;
    color: var(--brand-text-light);
    line-height: 1.6;
    margin: 0;
}

.profile-timeline {
    position: relative;
    padding-left: 28px;
    border-left: 3px solid var(--brand-blue-light);
}
.profile-timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 8px;
}
.profile-timeline-item::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--pvt-primary);
    border: 3px solid var(--brand-white);
    box-shadow: 0 0 0 2px var(--pvt-primary);
}
.profile-timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pvt-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.profile-timeline-item h3 {
    font-size: 1.05rem;
    margin: 4px 0 6px;
}
.profile-timeline-item p {
    font-size: 0.9rem;
    color: var(--brand-text-light);
    line-height: 1.7;
    margin: 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.capability-block {
    background: var(--brand-white);
    border: 1px solid var(--brand-gray-light);
    border-radius: var(--radius-lg);
    padding: 22px;
}
.capability-block h3 {
    font-size: 0.95rem;
    color: var(--pvt-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-blue-light);
}
.capability-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.capability-block li {
    font-size: 0.84rem;
    color: var(--brand-text-light);
    padding: 5px 0;
    border-bottom: 1px solid var(--brand-gray-light);
}
.capability-block li:last-child { border-bottom: none; }

.skill-level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.skill-level-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--brand-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-gray-light);
}
.skill-level-item span:first-child {
    font-size: 0.88rem;
    font-weight: 600;
}
.skill-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.skill-badge.expert { background: #e8f5e9; color: #2e7d32; }
.skill-badge.advanced { background: var(--brand-blue-light); color: var(--pvt-primary); }

.domain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.domain-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    border: 1px solid var(--brand-gray-light);
    background: var(--brand-white);
}
.domain-card.core {
    border-color: var(--pvt-primary);
    background: linear-gradient(180deg, var(--brand-blue-light) 0%, var(--brand-white) 100%);
}
.domain-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}
.domain-card .core-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--pvt-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.domain-card p {
    font-size: 0.86rem;
    color: var(--brand-text-light);
    line-height: 1.65;
    margin: 0;
}

.case-study {
    background: var(--brand-white);
    border: 1px solid var(--brand-gray-light);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.case-study h3 {
    font-size: 1.25rem;
    margin: 0 0 4px;
    color: var(--pvt-primary);
}
.case-study-sub {
    font-size: 0.88rem;
    color: var(--brand-text-light);
}
.case-study-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pvt-primary);
    text-decoration: none;
    white-space: nowrap;
}
.case-study-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}
.case-metric {
    padding: 8px 14px;
    background: var(--brand-blue-light);
    border-radius: var(--radius-md);
    font-size: 0.82rem;
}
.case-metric strong {
    color: var(--pvt-primary);
}
.case-study ul {
    margin: 12px 0 0;
    padding-left: 18px;
    color: var(--brand-text-light);
    line-height: 1.8;
    font-size: 0.9rem;
}
.case-study-img {
    margin-top: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-gray-light);
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-md);
}
.case-study-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.case-study-gallery .case-study-img {
    margin-top: 0;
    width: 100%;
}

.ai-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.ai-metric-card {
    text-align: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #0a1628, #1565c0);
    border-radius: var(--radius-lg);
    color: #fff;
}
.ai-metric-card .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD600;
}
.ai-metric-card .lbl {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    margin-top: 6px;
    line-height: 1.4;
}

.engagement-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.engagement-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--brand-white);
    border: 2px solid var(--brand-gray-light);
    border-radius: var(--radius-lg);
}
.engagement-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pvt-primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.engagement-step h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}
.engagement-step p {
    font-size: 0.82rem;
    color: var(--brand-text-light);
    margin: 0;
    line-height: 1.5;
}

.profile-cta-bar {
    background: var(--pvt-gradient);
    padding: 48px 0;
    text-align: center;
    color: #fff;
}
.profile-cta-bar h2 { color: #fff; margin-bottom: 12px; }
.profile-cta-bar p { color: rgba(255,255,255,0.88); margin-bottom: 24px; }
.profile-cta-bar .btn-group { justify-content: center; }
.profile-cta-bar .btn-pdf-cta {
    background: #FFD600;
    color: #0d47a1;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}

.profile-floating-pdf {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    background: #FFD600;
    color: #0d47a1;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    font-size: 0.88rem;
    transition: var(--transition);
}
.profile-floating-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.28);
}

[data-theme="dark"] .profile-nav { background: rgba(30,30,30,0.96); }
[data-theme="dark"] .profile-stats { background: #1e1e1e; border-color: #2d2d2d; }
[data-theme="dark"] .deployed-card,
[data-theme="dark"] .capability-block,
[data-theme="dark"] .domain-card,
[data-theme="dark"] .case-study,
[data-theme="dark"] .engagement-step { background: #1e1e1e; border-color: #2d2d2d; }
[data-theme="dark"] .skill-level-item { background: #252525; border-color: #3d3d3d; }
[data-theme="dark"] .profile-highlight-box { background: rgba(21,101,192,0.12); }

/* Foundation portal theme */
body.profile-page-fdn .profile-hero { background: var(--fdn-gradient-hero); }
body.profile-page-fdn .profile-stat-num { color: var(--fdn-primary); }
body.profile-page-fdn .profile-nav a:hover,
body.profile-page-fdn .profile-nav a.active { background: var(--brand-green-light); color: var(--fdn-primary); }
body.profile-page-fdn .profile-highlight-box { background: var(--brand-green-light); border-left-color: var(--fdn-primary); }
body.profile-page-fdn .profile-highlight-box h3 { color: var(--fdn-primary); }
body.profile-page-fdn .deployed-card:hover { border-color: var(--fdn-primary); }
body.profile-page-fdn .deployed-card h3 { color: var(--fdn-primary); }
body.profile-page-fdn .profile-timeline { border-left-color: var(--brand-green-light); }
body.profile-page-fdn .profile-timeline-item::before { background: var(--fdn-primary); box-shadow: 0 0 0 2px var(--fdn-primary); }
body.profile-page-fdn .profile-timeline-year { color: var(--fdn-primary); }
body.profile-page-fdn .capability-block h3 { color: var(--fdn-primary); border-bottom-color: var(--brand-green-light); }
body.profile-page-fdn .domain-card.core { border-color: var(--fdn-primary); background: linear-gradient(180deg, var(--brand-green-light) 0%, var(--brand-white) 100%); }
body.profile-page-fdn .domain-card .core-label { color: var(--fdn-primary); }
body.profile-page-fdn .case-study h3 { color: var(--fdn-primary); }
body.profile-page-fdn .case-study-link { color: var(--fdn-primary); }
body.profile-page-fdn .case-metric { background: var(--brand-green-light); }
body.profile-page-fdn .case-metric strong { color: var(--fdn-primary); }
body.profile-page-fdn .case-study-metrics .case-metric { background: var(--brand-green-light); }
body.profile-page-fdn .skill-badge.advanced { background: var(--brand-green-light); color: var(--fdn-primary); }
body.profile-page-fdn .engagement-step .step-num { background: var(--fdn-primary); }
body.profile-page-fdn .profile-cta-bar { background: var(--fdn-gradient); }
body.profile-page-fdn .profile-hero-actions .btn-pdf { color: #1B5E20; }
body.profile-page-fdn .ai-metric-card { background: linear-gradient(135deg, #1B5E20, #2E7D32); }
body.profile-page-fdn .sdr-features li::before,
body.profile-page-fdn .capability-block li::before { background: var(--brand-green-light); color: var(--fdn-primary); }

@media (max-width: 992px) {
    .profile-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .profile-hero-photo { margin: 0 auto; }
    .profile-hero-actions { align-items: center; }
    .profile-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .capability-grid, .domain-grid { grid-template-columns: 1fr 1fr; }
    .ai-metrics { grid-template-columns: repeat(2, 1fr); }
    .engagement-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .profile-hero h1 { font-size: 1.8rem; }
    .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-highlight-grid,
    .capability-grid,
    .domain-grid,
    .ai-metrics,
    .engagement-steps { grid-template-columns: 1fr; }
    .profile-floating-pdf { bottom: 16px; right: 16px; font-size: 0.8rem; padding: 10px 16px; }
}
