* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f7f7f8;
    color: #2f2f2f;
    line-height: 1.6;
}

.portfolio-container {
    min-height: auto;
}

.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

.tab-navigation {
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: #334155;
    background: #f1f5f9;
}

.tab-button.active {
    background: #1e293b;
    color: white;
    box-shadow: 0 2px 8px rgba(30, 41, 59, 0.15);
}

.content-container {
    transition: all 0.3s ease;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content-header {
    text-align: center;
    margin-bottom: 2rem;
}

.content-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 0.5rem;
    color: white;
    max-width: 450px;
    flex-shrink: 0;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0;
    text-align: center;
}

.avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.headshot-image {
    width: 110%;
    height: 110%;
    object-fit: cover;
    object-position: center center;
    border-radius: 50%;
    transform: scale(1.1);
}

.profile-info h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.title {
    font-size: 1.125rem;
    color: #cbd5e1;
}

.hero-description {
    color: #e2e8f0;
    line-height: 1.6;
}

.hero-with-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.hero-description-section {
    display: flex;
    justify-content: center;
    position: relative;
}

.callout-bubble {
    background: white;
    border-radius: 20px;
    border: 2px solid #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 1.5rem 2rem;
    position: relative;
    max-width: 500px;
    text-align: center;
    flex-shrink: 0;
}

.callout-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30%;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #1e293b;
    border-radius: 50%;
    z-index: 1;
}

.callout-bubble::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 35%;
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid #1e293b;
    border-radius: 50%;
    z-index: 1;
}

.callout-arrow-left {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #1e293b;
}

.callout-bubble p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.expertise-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.expertise-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.core-highlights-section {
    margin-bottom: 1.5rem;
}

.highlights-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.25rem;
}

.highlights-card h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlights-content {
    color: #4a5568;
    line-height: 1.6;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #059669;
    font-weight: bold;
    font-size: 1.1rem;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.expertise-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #1e293b;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.expertise-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.expertise-item p {
    font-size: 0.875rem;
    color: #64748b;
}

.skills-section {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.skill-category {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 150px;
    flex-shrink: 0;
    text-align: center;
}

.skill-category h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.skill-tags, .project-tags, .interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
    align-content: flex-start;
}

.skill-tag, .project-tag, .interest-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.6rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    transition: all 0.2s ease;
}

.skill-tag:hover, .project-tag:hover, .interest-tag:hover {
    background: #e2e8f0;
    transform: scale(1.05);
}

.timeline-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.timeline-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.timeline-section p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.metrics-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.metrics-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.metrics-section p {
    color: #475569;
    margin-bottom: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-card {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.metric-label {
    font-size: 0.875rem;
    color: #64748b;
}

.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 0.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: #1e293b;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e2e8f0;
    z-index: 2;
}

.timeline-content {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.timeline-year {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
}

.timeline-org {
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-desc {
    color: #475569;
    margin-bottom: 0.75rem;
}

.timeline-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
}

.timeline-highlights li {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.timeline-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.impact-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.impact-summary h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.project-header p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0.5rem;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.clickable-image {
    cursor: pointer;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 0.5rem;
}

.image-overlay span {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.clickable-image {
    cursor: pointer;
}

.clickable-image:hover .image-overlay {
    opacity: 1;
}

.clickable-image:hover img {
    transform: scale(1.05);
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #f7f7f8;
}

.modal-close {
    background: none;
    border: none;
    color: #2f2f2f;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: rgba(47, 47, 47, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-button {
    left: 1rem;
}

.next-button {
    right: 1rem;
}

.modal-header-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2f2f2f;
    margin: 0;
}

.image-info {
    padding: 0.75rem 1rem;
    background: #f7f7f8;
}

.image-info p {
    color: #2f2f2f;
    line-height: 1.6;
    margin: 0;
}

.project-content {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.project-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.contact-section {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    padding: 1rem;
    border-radius: 8px;
    background: #f8fafc;
    min-width: 180px;
}

.contact-link:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.contact-link svg {
    flex-shrink: 0;
}

.contact-link span {
    text-align: center;
}

.research-section {
    margin-bottom: 3rem;
}

.research-section > h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.research-section:first-child > h3 {
    margin-top: 0;
}

.education-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.education-section > h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.research-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    text-align: left;
}

.technical-section {
    margin-top: 3rem;
}

.research-section h3, .technical-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-header {
    text-align: center;
}

.research-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.research-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.research-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.research-header {
    flex-shrink: 0;
    min-width: 200px;
}

.research-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.research-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.research-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    font-size: 14.5px;
}

.research-content a {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 500;
    transition: all 0.2s ease;
}

.research-content a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.research-header a {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.2s ease;
}

.research-header a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.cert-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.cert-row:last-child {
    border-bottom: none;
}

.cert-name {
    flex-shrink: 0;
    min-width: 140px;
    font-weight: 600;
    color: #1e293b;
}

.cert-details {
    flex: 1;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.collapsible-section {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.collapsible-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: transparent;
    z-index: 0;
}

/* Section-specific subtle border colors */
.collapsible-section:nth-child(1)::before {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.collapsible-section:nth-child(2)::before {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8);
}

.collapsible-section:nth-child(3)::before {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.section-header {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Section-specific subtle shadows and borders */
.collapsible-section:nth-child(1) .section-header {
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #fbbf24;
}

.collapsible-section:nth-child(2) .section-header {
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f472b6;
}

.collapsible-section:nth-child(3) .section-header {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #34d399;
}

.section-header:hover {
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h3::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Section header colors */
.collapsible-section:nth-child(1) .section-header h3::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.collapsible-section:nth-child(2) .section-header h3::before {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.collapsible-section:nth-child(3) .section-header h3::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.toggle-icon {
    font-size: 1.2rem;
    color: #64748b;
    transition: transform 0.2s ease;
    user-select: none;
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.section-content.expanded {
    max-height: 2000px;
}

.sub-bubble {
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sub-bubble:last-child {
    margin-bottom: 0;
}

.sub-bubble:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sub-bubble h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sub-bubble h4::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Icon colors for different sections - all match parent */
.leadership .sub-bubble h4::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.academic .sub-bubble h4::before {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.education .sub-bubble h4::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Fallback colors */
.sub-bubble h4::before {
    background: linear-gradient(135deg, #64748b, #475569);
}

.sub-bubble p {
    margin: 0 0 0.5rem 0;
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

.sub-bubble p:last-child {
    margin-bottom: 0;
}

.sub-bubble ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.sub-bubble li {
    margin-bottom: 0.5rem;
    color: #64748b;
    line-height: 1.5;
    font-size: 0.9rem;
}

.sub-bubble li:last-child {
    margin-bottom: 0;
}

.sub-bubble ul li::marker {
    color: #94a3b8;
}

/* Color-coded bullet points by section */
.leadership .sub-bubble ul li::marker {
    color: #f59e0b;
}

.academic .sub-bubble ul li::marker {
    color: #ec4899;
}

.education .sub-bubble ul li::marker {
    color: #10b981;
}

.research-card-expanded {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.research-card-expanded:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.research-card-expanded .research-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.research-card-expanded .research-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-size: 15px;
}

.website-stamp {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.website-stamp p {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
    opacity: 0.8;
}

.research-tags {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .max-width {
        padding: 0.75rem;
    }
    
    .tab-navigation {
        padding: 0.75rem 0.5rem;
        margin-bottom: 0.75rem;
        gap: 0.25rem;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        min-width: 60px;
        flex-shrink: 0;
        border-radius: 6px;
    }
    
    .tab-button span {
        display: none;
    }
    
    .tab-button svg {
        width: 16px;
        height: 16px;
    }
    
    .skill-category {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .skill-header {
        min-width: auto;
        justify-content: center;
    }
    
    .skill-header h3 {
        font-size: 0.9rem;
    }
    
    .skill-tags {
        justify-content: center;
    }
    
    .skill-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .profile-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .profile-info h1 {
        font-size: 1.25rem;
    }
    
    .profile-info .title {
        font-size: 0.9rem;
    }
    
    .avatar-large {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .headshot-image {
        transform: scale(1.2) translate(-3px, 3px);
    }
    
    .expertise-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .expertise-card h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .highlights-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .highlights-card h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-card {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .project-header {
        padding: 0.75rem 1rem;
    }
    
    .project-header p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .project-image {
        height: 160px;
        padding: 0.5rem;
    }
    
    .research-card-expanded {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .research-header h4 {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .research-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .cert-table {
        gap: 0.5rem;
    }
    
    .cert-row {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .cert-name {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .cert-details {
        font-size: 0.8rem;
        padding-left: 0;
    }
    
    .collapsible-section {
        margin-bottom: 1rem;
    }
    
    .section-header {
        padding: 0.75rem 1rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
    
    .section-header h3::before {
        width: 10px;
        height: 10px;
    }
    
    .sub-bubble {
        padding: 0.75rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    .sub-bubble h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .sub-bubble h4::before {
        width: 6px;
        height: 6px;
    }
    
    .sub-bubble p, .sub-bubble li {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.25rem;
    }
    
    .sub-bubble ul {
        padding-left: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .contact-link {
        min-width: 250px;
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .contact-link svg {
        width: 28px;
        height: 28px;
    }
    
    .hero-with-callout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .callout-bubble {
        padding: 1rem;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .callout-bubble p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .callout-arrow-left {
        display: none;
    }
    
    .callout-bubble::before,
    .callout-bubble::after {
        display: none;
    }
    
    .education-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .research-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .content-header h2 {
        font-size: 1.5rem;
    }
    
    .website-stamp {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .website-stamp p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .tab-navigation {
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.5rem;
        min-width: 44px;
        justify-content: center;
    }
    
    .avatar-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .profile-info h1 {
        font-size: 1.25rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-card,
    .metrics-section,
    .timeline-content,
    .contact-section,
    .research-card {
        padding: 1rem;
    }
    
    .skill-category {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .skill-header {
        min-width: auto;
        justify-content: flex-start;
    }
    
    .skill-icon {
        width: 28px;
        height: 28px;
    }
    
    .image-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .image-overlay span {
        font-size: 0.75rem;
    }
    
    .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .image-container {
        min-height: 250px;
    }
    
    .nav-button {
        padding: 0.5rem;
    }
    
    .image-info {
        padding: 1rem;
    }
    
    .project-image {
        height: 160px;
        padding: 0.5rem;
    }
    
    .callout-bubble {
        padding: 0.75rem 1rem;
        max-width: 95%;
        border-radius: 16px;
    }
    
    .callout-bubble p {
        font-size: 0.9rem;
    }
    
    .callout-bubble::before {
        width: 16px;
        height: 16px;
        top: -6px;
    }
    
    .callout-bubble::after {
        width: 10px;
        height: 10px;
        top: -12px;
    }
    
    .hero-with-callout {
        flex-direction: column;
        gap: 0.75rem;
    }
}