/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2c5f8d;
    --accent-color: #c7522a;
    --coop-concept-color: #2563eb;  /* Blue */
    --comp-concept-color: #dc2626;  /* Red */

     /* Colors for research STREAMS */
    --cooperation-color: #2d6a4f;  /* Green - Stream 1 */
    --competition-color: #d97706;  /* Orange - Stream 2 */


    --text-color: #333;
    --text-light: #666;
    --light-bg: #fafafa;
    --border-color: #e5e5e5;
    --nav-width: 200px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: var(--nav-width);
    background-color: var(--primary-color);
    z-index: 1000;
    transition: var(--transition);
}

.main-nav ul {
    list-style: none;
    padding: 2rem 0;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.08);
    border-left-color: var(--secondary-color);
}

/* Find the .mobile-menu-toggle section and replace it with this: */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1002; /* Increase from 1001 to be above nav */
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Transform to X and move to top-right when menu is open */
/* Transform to X and move to visible top-right when menu is open */
.mobile-menu-toggle.active {
    left: auto;
    right: 1rem; /* 1rem from the RIGHT edge of the screen */
    top: 1rem;
    background-color: rgba(255, 255, 255, 0.15);
    z-index: 1002;
    /* Remove any transform that might be pushing it off screen */
    transform: none !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MAIN CONTENT ===== */
.content-wrapper {
    margin-left: var(--nav-width);
    transition: var(--transition);
}

.page-section {
    display: none;
    min-height: 100vh;
    padding: 3rem 4rem;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-section h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.page-section h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ===== HOME PAGE ===== */
/* ===== HOME PAGE ===== */
.home-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1400px;
}

.profile-section {
    flex-shrink: 0;
    text-align: center;
    width: 280px;
}

.profile-image {
      margin-bottom: 1.5rem;
    display: flex;
    justify-content: center; /* Center the image */
}

.profile-image img {
    width: 280px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: block;
}

.profile-section h1 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    border: none;
    padding: 0;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.profile-section h2 {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 0;
    line-height: 1.4;
}

.profile-content {
    flex: 1;
}

.profile-content p {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Keep existing .intro-text styles if you're using them elsewhere */
.intro-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ===== RESEARCH PAGE ===== */
.research-streams {
    margin-bottom: 4rem;
}

.collapsible-section {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    background-color: #fff;
}

.collapsible {
    width: 100%;
    background-color: #fff;
    border: none;
    text-align: left;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.collapsible:hover {
    background-color: var(--light-bg);
}

.collapsible-icon {
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--text-light);
    transition: var(--transition);
}

.collapsible.active .collapsible-icon {
    transform: rotate(45deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    background-color: #fff;
}

.collapsible-content p {
    margin: 1rem 0;
    padding-bottom: 1.25rem;
    line-height: 1.7;
}

.publications-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.publication {
    margin-bottom: 2.5rem;
    padding: 1.75rem;
    background-color: var(--light-bg);
    border-radius: 2px;
    border-left: 3px solid var(--secondary-color);
}

.pub-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pub-authors {
    font-style: normal;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.pub-journal {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.abstract-toggle {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
}

.abstract-toggle:hover {
    background-color: var(--secondary-color);
    color: white;
}

.abstract-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.abstract-content p {
    padding: 1rem 0;
    line-height: 1.7;
}

.pub-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.pub-link:hover {
    text-decoration: underline;
}

/* ===== TEACHING PAGE ===== */
.teaching-container {
    display: flex;
    gap: 3rem;
    position: relative;
}

.timeline-sidebar {
    position: sticky;
    top: 2rem;
    width: 180px;
    height: fit-content;
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.timeline-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-nav {
    list-style: none;
}

.timeline-nav li {
    margin-bottom: 0.5rem;
}

.timeline-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 2px;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.timeline-link:hover,
.timeline-link.active {
    background-color: var(--secondary-color);
    color: white;
}

.teaching-content {
    flex: 1;
}

.teaching-year {
    margin-bottom: 3rem;
    scroll-margin-top: 2rem;
}

.teaching-year h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.course {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.course h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.course-details {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.teaching-rating {
    margin-top: 1rem;
    color: var(--accent-color);
    font-weight: 500;
}

.teaching-awards {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.teaching-awards ul {
    list-style: none;
    padding-left: 0;
}

.teaching-awards li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background-color: var(--light-bg);
    border-left: 3px solid var(--accent-color);
    border-radius: 2px;
}

/* ===== CV PAGE ===== */
.cv-container {
    max-width: 1000px;
}

.cv-container embed {
    border: 1px solid var(--border-color);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cv-fallback {
    margin-top: 1rem;
    text-align: center;
}

.cv-fallback a {
    color: var(--secondary-color);
    font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    max-width: 800px;
}

.contact-info {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid var(--border-color);
}

.contact-details {
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 2rem;
}

.social-links h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links li {
    flex: 0 0 calc(100% - 1rem);

}

.social-links a {
    display: block;
    padding: 1rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background-color: var(--light-bg);
}

/* ===== PAGE ANCHOR NAVIGATION ===== */
.page-nav {
    background-color: var(--light-bg);
    padding: 1rem 1.5rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.page-nav-label {
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

.page-anchor-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    font-size: 0.95rem;
}

.page-anchor-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.page-nav-separator {
    color: var(--border-color);
    margin: 0 0.25rem;
}

.back-to-anchor {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.back-to-anchor a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}

.back-to-anchor a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ===== RESEARCH THEME STYLING ===== */
.research-theme-box {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 2px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.tension-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 2rem;
}

.tension-side {
    flex: 0 0 auto;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 2px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background-color: white;
}

.tension-side.cooperation {
    border-left: 3px solid var(--cooperation-color);
}

.tension-side.competition {
    border-left: 3px solid var(--competition-color);
}

.tension-icon {
    display: none;
}

.tension-label {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.tension-side.cooperation .tension-label {
    color: var(--cooperation-color);
}

.tension-side.competition .tension-label {
    color: var(--competition-color);
}

.tension-center {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--text-light);
}

.balance-icon {
    display: none;
}

.research-philosophy {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--secondary-color);
}

.stream-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stream-badge.cooperation {
    background-color: var(--cooperation-color);
    color: white;
}

.stream-badge.competition {
    background-color: var(--competition-color);
    color: white;
}

.collapsible-section.cooperation-theme {
    border-left: 3px solid var(--cooperation-color);
}

.collapsible-section.competition-theme {
    border-left: 3px solid var(--competition-color);
}

.collapsible-section.cooperation-theme .collapsible:hover {
    background-color: var(--light-bg);
}

.collapsible-section.competition-theme .collapsible:hover {
    background-color: var(--light-bg);
}

.pub-stream-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pub-stream-tag.cooperation {
    background-color: var(--cooperation-color);
    color: white;
}

.pub-stream-tag.competition {
    background-color: var(--competition-color);
    color: white;
}

.publication.cooperation-theme {
    border-left-color: var(--cooperation-color);
}

.publication.competition-theme {
    border-left-color: var(--competition-color);
}

/* ===== GENERAL/RELATED WORK BADGE ===== */
.stream-badge.general {
    background-color: #6b7280;
    color: white;
}

.pub-stream-tag.general {
    background-color: #6b7280;
    color: white;
}

.publication.general-theme,
.manuscript.general-theme {
    border-left-color: #6b7280;
}

/* ===== MANUSCRIPTS SECTION ===== */
.manuscripts-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.manuscript {
    margin-bottom: 2.5rem;
    padding: 1.75rem;
    background-color: var(--light-bg);
    border-radius: 2px;
    border-left: 3px solid var(--secondary-color);
}

.manuscript .pub-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.manuscript .pub-authors {
    font-style: normal;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.manuscript.cooperation-theme {
    border-left-color: var(--cooperation-color);
}

.manuscript.competition-theme {
    border-left-color: var(--competition-color);
}

/* ===== RESPONSIVE DESIGN ===== */
/* ===== MOBILE MENU - FULL SCREEN ===== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        width: 100%; /* Full screen width */
        transform: translateX(-100%);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    /* Center and space out navigation items */
    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 0;
        gap: 0.5rem;
    }

    .main-nav li {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.3rem;
        padding: 1.25rem 2rem;
        border-left: none; /* Remove left border */
        border-bottom: 2px solid transparent; /* Add bottom border instead */
        letter-spacing: 0.5px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: rgba(255, 255, 255, 0.1);
        border-left: none;
        border-bottom-color: var(--secondary-color);
    }

    /* Adjust hamburger position for full-screen */
    .mobile-menu-toggle.active {
        transform: translateX(calc(100vw - 4.5rem)); /* Move to right edge of screen */
    }

    .content-wrapper {
        margin-left: 0;
    }

    .page-section {
        padding: 2rem 1.5rem;
        padding-top: 5rem;
        padding-left: 4.5rem; /* Keep left padding for when menu is closed */
    }

    .home-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image img {
        width: 250px;
        height: auto;
    }

    .teaching-container {
        flex-direction: column;
    }

    .timeline-sidebar {
        position: static;
        width: 100%;
    }

    .timeline-nav {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .social-links li {
        flex: 0 0 100%;
    }

    .page-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .page-nav-separator {
        display: none;
    }
    
    .page-anchor-link {
        display: block;
        width: 100%;
        padding: 0.5rem;
    }
    
    .tension-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tension-side {
        width: 100%;
    }
    
    .tension-center {
        display: none;
    }
    
    .research-theme-box {
        padding: 1.5rem;
    }
    
    .research-philosophy {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-section h1 {
        font-size: 1.75rem;
    }

    .profile-content h1 {
        font-size: 2rem;
    }

    .profile-image img {
        width: 200px;
        height: auto;
    }

    .page-section {
        padding: 1.5rem 1rem;
        padding-top: 5rem;
        padding-left: 4rem;
    }

    /* Slightly smaller menu text on very small screens */
    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
    }
}

/* ===== RESEARCH STREAMS SUMMARY BOX ===== */
.research-streams-summary {
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    margin: 2rem 0;
}

.research-streams-summary h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.streams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stream-summary {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--border-color);
    position: relative;
}

.stream-summary.cooperation-stream {
    border-left-color: var(--cooperation-color);
}

.stream-summary.competition-stream {
    border-left-color: var(--competition-color);
}

.stream-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.stream-number.cooperation {
    background-color: var(--cooperation-color);
}

.stream-number.competition {
    background-color: var(--competition-color);
}

.stream-summary h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.stream-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .streams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .research-streams-summary {
        padding: 1.5rem;
    }
}

/* ===== RESEARCH VISUAL (Enhanced with CSS Graphics) ===== */
.research-visual-enhanced {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(220, 38, 38, 0.03) 100%);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

.visual-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tension-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.arrow-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.css-arrow {
    width: 80px;
    height: 6px;
    position: relative;
    background-color: currentColor;
    border-radius: 3px;
}

.css-arrow::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    top: 50%;
    transform: translateY(-50%);
}

.cooperation-arrow {
    color: var(--coop-concept-color);  /* Blue */
}

.cooperation-arrow::after {
    right: -20px;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent var(--coop-concept-color);
}

.competition-arrow {
    color: var(--comp-concept-color);  /* Red */
}

.competition-arrow::after {
    left: -20px;
    border-width: 20px 20px 20px 0;
    border-color: transparent var(--comp-concept-color) transparent transparent;
}

.arrow-side.cooperation .arrow-label {
    color: var(--coop-concept-color);
}

.arrow-side.competition .arrow-label {
    color: var(--comp-concept-color);
}

.arrow-label {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}


.arrow-sublabel {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 500;
}

.center-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.balance-icon {
    position: relative;
    width: 80px;
    height: 60px;
}

.balance-beam {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.balance-fulcrum {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 40px solid var(--primary-color);
}

.question-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
}

.obstacle {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===== RESEARCH STREAMS SUMMARY BOX ===== */
.research-streams-summary {
    background-color: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    margin: 2rem 0;
}

.research-streams-summary h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.streams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stream-summary {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--border-color);
    position: relative;
}

.stream-summary.cooperation-stream {
    border-left-color: var(--cooperation-color);
}

.stream-summary.competition-stream {
    border-left-color: var(--competition-color);
}

.stream-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.stream-number.cooperation {
    background-color: var(--cooperation-color);
}

.stream-number.competition {
    background-color: var(--competition-color);
}

.stream-summary h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.stream-summary p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .research-visual-enhanced {
        padding: 2rem 1.5rem;
    }
    
    .tension-arrows {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .visual-header {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .css-arrow {
        width: 60px;
        height: 5px;
    }
    
    .cooperation-arrow::after {
        right: -12px;
        border-width: 12px 0 12px 12px;
    }
    
    .competition-arrow::after {
        left: -12px;
        border-width: 12px 12px 12px 0;
    }
    
    .balance-icon {
        width: 60px;
        height: 50px;
    }
    
    .balance-beam {
        height: 4px;
    }
    
    .balance-fulcrum {
        border-left-width: 12px;
        border-right-width: 12px;
        border-bottom-width: 35px;
    }
    
    .streams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .research-streams-summary {
        padding: 1.5rem;
    }
}