        :root {
            /* LSUA Purple */
            --primary-color: #461D7C; 
            /* LSUA Gold for accents */
            --secondary-color: #FDD023; 
            /* Timeline */
            --line-color: #bc8ef7; 
            /* Darker purple for the navigation bar */
            --nav-bg: #2a114a; 
            --bg-light: #f8f9fa;
            --text-dark: #333;
            --text-light: #666;
            --border-color: #e9ecef;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            margin: 0;
            padding: 0;
            background-color: var(--bg-light);
            /* Smooth scrolling for anchor links */
            scroll-behavior: smooth; 
        }

        /* Navigation Menu Styles */
        nav {
            background-color: var(--nav-bg);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            align-items: center;
        }
        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            letter-spacing: 1px;
            transition: color 0.3s ease;
            white-space: nowrap;
        }
        nav a:hover {
            color: var(--secondary-color);
        }

        /* Header (Banner) Styles */
        header {
            background-color: var(--primary-color);
            color: white;
            padding: 4rem 0;
        }
        
        .header-content {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 40px;
            text-align: left;
        }
        
        /* Profile Image Styles */
        .profile-img {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--secondary-color);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            background-color: white;
            flex-shrink: 0; 
        }

        /* LSUA Logo Styles */
        .lsua-logo {
            width: 160px;
            height: auto;
            object-fit: contain;
            flex-shrink: 0;
        }

        /* Text inside Header */
        .header-text {
            flex-grow: 1;
        }
        .header-text h1 {
            margin: 0;
            font-size: 2.8rem;
            line-height: 1.1;
        }
        .header-text h2 {
            font-size: 1.25rem;
            font-weight: 400;
            margin: 10px 0;
            color: #e0e0e0;
        }
        .header-text p {
            margin: 10px 0;
            font-size: 1rem;
            color: #d1c4e9;
        }

        .contact-info {
            display: flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
            font-size: 0.9rem;
        }
        
        /* General styling for spans and link buttons in the banner */
        .contact-info span, 
        .contact-info a {
            background: rgba(255, 255, 255, 0.1);
            padding: 6px 12px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            color: white;
            text-decoration: none;
        }
        
        /* Hover effect specifically for the clickable links */
        .contact-info a:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--secondary-color);
            transition: all 0.3s ease;
        }
        
        /* Icon alignment and spacing */
        .contact-info .material-symbols-outlined,
        .contact-info i {
            margin-right: 8px;
            color: var(--secondary-color);
            font-size: 1.2rem;
        }

        /* Container and Section Styles */
        .container {
            /* max-width: 900px; */
            max-width: 1000px;
            margin: 40px auto;
            padding: 0 20px;
        }
        section {
            background: white;
            padding: 30px;
            margin-bottom: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            scroll-margin-top: 70px; 
        }
        h3 {
            color: var(--primary-color);
            border-bottom: 2px solid var(--secondary-color);
            /* border-bottom: 2px solid var(--primary-color); */
            padding-bottom: 10px;
            margin-top: 0;
        }
        p{
            text-align: justify;
        }
        /* Timeline Styles */
        .timeline {
            /* border-left: 3px solid var(--primary-color); */
            border-left: 3px solid var(--line-color);
            padding-left: 25px;
            margin-left: 10px;
            margin-top: 20px;
        }
        /* Timeline Item Specifics */
        .timeline .item-block {
            position: relative;
        }
        .timeline .item-block::before {
            content: '';
            position: absolute;
            left: -32px; /* Centers the dot on the line */
            top: 4px;
            width: 6px;
            height: 6px;
            background-color: white;
            /* border: 3px solid var(--secondary-color); */
            border: 3px solid var(--primary-color);
            border-radius: 50%;
        }
        /* Layout Blocks */
        .item-block {
            /* margin-bottom: 20px;
            padding-bottom: 20px; */
            border-bottom: 1px solid var(--border-color);
        }
        .item-block:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .item-header {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            margin-bottom: 10px;
        }
        .item-title {
            font-weight: bold;
            font-size: 1.1rem;
        }
        .item-subtitle {
            color: var(--text-light);
            font-style: italic;
        }
        .item-date {
            color: var(--primary-color);
            font-weight: bold;
            font-size: 0.9rem;
        }
        /* Research & Publications Styles */
        .publication-category {
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary-color);
            margin-top: 30px;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        .publication-category::before {
            content: "\2022"; /* Bullet point */
            color: var(--secondary-color);
            font-size: 1.5rem;
            margin-right: 10px;
        }
        .publication-list {
            padding-left: 40px;
            margin-bottom: 30px;
        }
        .publication-list li {
            margin-bottom: 15px;
            line-height: 1.6;
            text-align: justify;
        }
        
        /* Formatting for Author and Notes */
        .author-highlight {
            font-weight: bold;
            color: #00008B; /* DarkBlue */
        }
        .note-red {
            font-weight: bold;
            color: #dc2626; /* Red */
            margin-left: 5px;
        }
        /* DOI Badge Styling */
        .doi-badge {
            display: inline-block;
            background-color: #f1f3f5;
            color: var(--primary-color);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
            text-decoration: none;
            margin-left: 8px;
            border: 1px solid #ced4da;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .doi-badge i {
            margin-right: 4px;
        }
        .doi-badge:hover {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        ul.tags {
            list-style: none;
            padding: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        ul.tags li {
            background-color: var(--border-color);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--text-dark);
        }

        /* Footer */
        footer {
            text-align: center;
            padding: 20px;
            background: var(--nav-bg);
            color: white;
            margin-top: 40px;
        }

        /* ------------------------------------------- */
        /* SINGLE CONTINUOUS BRANCHED TIMELINE         */
        /* ------------------------------------------- */
        .research-timeline {
            padding-left: 15px; 
            margin-top: 20px;
        }

        .rt-node {
            position: relative;
            margin: 0;
            padding-bottom: 40px; /* Space between categories */
        }
        .rt-node:last-child {
            padding-bottom: 0;
        }
        .rt-node.collapsed {
            padding-bottom: 20px; 
        }
        /* The continuous connecting line */
        .rt-node::before {
            content: '';
            position: absolute;
            left: 0;
            top: 15px; /* Starts at the exact vertical center of the current category dot */
            bottom: -15px; /* Reaches perfectly down to the center of the NEXT category dot */
            width: 32px;
            /* border-top: 3px solid var(--primary-color);
            border-right: 3px solid var(--primary-color);
            border-bottom: 3px solid var(--primary-color); */
            border-top: 3px solid var(--line-color);
            border-right: 3px solid var(--line-color);
            border-bottom: 3px solid var(--line-color);
            border-radius: 0 15px 15px 0;
            box-sizing: border-box;
            z-index: 1;
        }
        
        /* The last category line stops at the last child instead of curving back */
        .rt-node:last-child::before {
            border-bottom: none;
            border-radius: 0 15px 0 0;
            bottom: 0; /* Stops cleanly at the end of the list */
        }
        
        /* .rt-header {
            position: relative;
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary-color);
            margin: 0;
            padding: 0 0 0 40px; 
            min-height: 30px;
            display: flex;
            align-items: center;
            z-index: 2; 
        } */
         .rt-header {
            position: relative;
            font-size: 1.2rem;
            font-weight: bold;
            color: var(--primary-color);
            margin: 0;
            padding: 0 0 0 40px; 
            min-height: 30px;
            display: flex;
            align-items: center;
            z-index: 2; 
            cursor: pointer;
            user-select: none;
            transition: color 0.4s ease;
        }
        .rt-header:hover {
            color: var(--secondary-color);
        }
        /* The Main Category Dot */
        .rt-header::before {
            content: '';
            position: absolute;
            left: -6px; /* perfectly centers a 12px dot on the 0 axis line */
            top: 15px; /* Fixed at 15px for mathematical alignment with the lines */
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            background-color: white;
            /* border: 3px solid var(--secondary-color); */
            border: 3px solid var(--primary-color);
            border-radius: 50%;
            box-sizing: border-box;
        }
        .rt-header-first::before {
            /* your styles */
            top: 16px;
        }
        /* .rt-header u{
            margin-left:23px;
        } */
        .toggle-icon {
            margin-left: auto; 
            font-size: 1rem;
            color: var(--text-light);
            transition: transform 0.4s ease-in-out;
        }
        .rt-node.collapsed .toggle-icon {
            transform: rotate(-90deg);
        }

        /* ------------------------------------------- */
        /* CSS GRID ANIMATION WRAPPERS                 */
        /* ------------------------------------------- */
        .rt-list-wrapper {
            display: grid;
            grid-template-rows: 1fr; 
            transition: grid-template-rows 0.4s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.4s ease-in-out;
            opacity: 1;
            margin-top: 15px;
        }
        
        .rt-node.collapsed .rt-list-wrapper {
            grid-template-rows: 0fr; 
            opacity: 0;
            margin-top: 0;
        }
        
        .rt-list-inner {
            min-height: 0; 
            overflow: hidden; 
        }
        .rt-list {
            list-style: none;
            margin: 15px 0 0 30.5px; /* Pushes the list content exactly onto the branch axis */
            padding: 0 0 0 20px; /* Indents the text away from the branch dot */
            position: relative;
        }

        /* Individual Papers List Items */
        .rt-list li {
            position: relative;
            /* margin-bottom: 20px; */
            margin-bottom: 10px;
            /* padding-bottom: 15px; */
            padding-bottom: 10px;
            line-height: 1.6;
            text-align: justify;
            border-bottom: 1px dashed var(--border-color);
            z-index: 2; /* Keeps dots above line */
        }
        .rt-list li:last-child {
            border-bottom: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }

        /* Sub-timeline dots for individual papers */
        .rt-list li::before {
            content: '';
            position: absolute;
            left: -25px; /* Centers the 10px dot mathematically onto the vertical right border */
            top: 6px;
            width: 10px;
            height: 10px;
            background-color: var(--secondary-color);
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            box-sizing: border-box;
        }

        /* ------------------------------------------- */
        /* RESEARCH SUMMARY STYLES                     */
        /* ------------------------------------------- */
        .research-summary {
            background-color: var(--bg-light);
            border-left: 4px solid var(--secondary-color);
            padding: 20px;
            margin-bottom: 30px;
            border-radius: 4px;
        }
        .research-summary h4 {
            margin-top: 0;
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-bottom: 15px;
        }
        .stats-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 15px;
        }
        .stat-item {
            background-color: white;
            border: 1px solid var(--border-color);
            padding: 10px 15px;
            border-radius: 6px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 100px;
            flex: 1 1 calc(25% - 15px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        }
        a.stat-item.clickable-stat:hover {
            transform: translateY(-3px);
            border-color: var(--secondary-color);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            cursor: pointer;
        }
        .stat-number {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }
        .stat-label {
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: center;
            margin-top: 5px;
        }
        .contribution-note {
            font-size: 0.9rem;
            font-style: italic;
            color: var(--text-light);
            margin: 0;
        }

        /* ------------------------------------------- */
        /* SERVICE SECTION FORMATTING (1:2 Width Ratio)*/
        /* ------------------------------------------- */
        .service-grid {
            display: grid;
            grid-template-columns: 1fr 2fr; 
            gap: 20px;
            align-items: start; 
        }
        
        .service-grid .item-block,
        .two-col-grid .item-block {
            margin-bottom: 0;
            padding-bottom: 20px;
            border-bottom: none;
            /* background: var(--bg-light); */
            padding: 20px;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            height: auto; 
            box-sizing: border-box;
            transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
        }

        /* Enhanced Hover Shadow Effect for Service Cards */
        .service-grid .item-block:hover,
        .two-col-grid .item-block:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(70, 29, 124, 0.12);
            border-color: var(--secondary-color);
        }
        .service-stats {
            /* background: var(--bg-light); */
            border: 1px solid var(--border-color);
            padding: 6px 20px;
            border-radius: 6px;
            margin-bottom: 25px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            font-weight: 600;
            color: var(--primary-color);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .service-stats span {
            display: flex;
            align-items: center;
            font-size: .8rem;
        }
        .service-stats i {
            color: var(--line-color);
            margin-right: 8px;
            font-size: 1.2rem;
        }
        .service-stats .divider {
            color: var(--border-color);
            font-weight: normal;
        }
        .two-col-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        .review-badge {
             display: inline-block;
            /* background-color: #f1f3f5; */
            background-color: var(--bg-light);
            color: var(--primary-color);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.75rem;
            font-weight: 600;
            text-decoration: none;
            margin-left: 8px;
            border: 1px solid #ced4da;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .review-badge i {
            margin-right: 4px;
        }
        .item-block-service::before {
            
            left: -33px !important; /* Centers the dot on the line */
            
        }
        .teaching-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 15px;
        }
        
        /* Responsive Design */
        @media (max-width: 992px) {
            .teaching-grid {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 768px) {
            nav {
                padding: 10px 10px;
            }
            nav ul {
                gap: 15px;
            }
            nav a {
                font-size: 0.9rem;
            }
            .header-content {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
            .contact-info {
                justify-content: center;
            }
            .lsua-logo {
                width: 140px;
                margin-top: 15px;
            }
            .item-header {
                flex-direction: column;
            }
            .item-date {
                margin-top: 5px;
            }
            /* nav ul {
                gap: 20px;
            } */
            .stat-item {
                flex: 1 1 calc(50% - 15px);
            }
            /* Stack columns on smaller screens */
            .service-grid,
            .two-col-grid,
            .teaching-grid {
                grid-template-columns: 1fr;
            }
            .service-stats .divider {
                display: none;
            }
            .service-stats {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }
