:root {
    --primary-bg: #f4f6f9;
    --secondary-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --accent-color: #007bff; /* Tech Blue */
    --accent-hover: #0056b3;
    --border-color: #ced2d6;
    --header-bg-hover: #f0f4f8; /* Light blue/grey for nav hover */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Consolas', 'Courier New', monospace;
    --hero-overlay: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--primary-bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header / Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
}

/* Default (Top) State: Thicker */
nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Thicker header */
    padding: 0 20px;
    transition: height 0.3s ease-in-out;
}

/* Scrolled State: Thinner */
header.scrolled nav {
    height: 60px; /* Thinner header */
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px 0; /* Add some padding so logo doesn't touch edges exactly */
}

.header-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Remove old text logo styles if they conflict */
.logo {
    display: none; 
}

.nav-links {
    display: flex;
    gap: 5px; /* Reduced gap since we use padding now */
    list-style: none;
    height: 100%; /* Take full height of nav to align properly */
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0 15px; /* Horizontal padding only, height handled by flex */
    display: flex; /* Use flex to center vertically */
    height: 100%; /* Full height */
    align-items: center; /* Vertical center */
    cursor: pointer;
    color: var(--text-main);
    border-radius: 4px;
    transition: background-color 0.2s;
}

/* Hover Effect: Background Fill */
.nav-item:hover .nav-link {
    background-color: var(--header-bg-hover);
    color: var(--accent-color);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0; /* Align left */
    transform: none; /* Remove center transform */
    background-color: var(--secondary-bg);
    min-width: 200px; /* Slightly wider */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    border-radius: 0 0 4px 4px; /* Round bottom corners only */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 1001;
    margin-top: 0;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--text-main);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--primary-bg);
    transition: background-color 0.2s, color 0.2s;
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: var(--primary-bg);
    color: var(--accent-color);
    padding-left: 18px; /* Slight slide effect */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: transparent; /* Remove solid background to see slides */
    position: relative;
    padding-top: 100px; /* Compensate for initial thicker header */
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Overlay to ensure text readability over the image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.3) 100%);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #1c2e40;
    margin: 0 auto 0 auto;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);*/
}

/* Info Cards Container (Date/Loc + Countdown) */
.hero-info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo-big {
    max-height: 160px; /* Approximate height of the countdown box */
    width: auto;
    max-width: 100%; /* Ensure it doesn't overflow horizontally */
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); 
    margin-bottom: 0;
}

.hero-date {
    margin: -10px 0 0 0; /* Tighten up with the logo above */
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 3px rgba(255, 255, 255, 0.9); /* Feathered white shadow for contrast */
}

.info-box {
    background: var(--secondary-bg);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    text-align: center;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-box h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.info-details {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-mono);
}

/* Countdown Specific Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: var(--font-mono);
    color: var(--text-main);
    margin-bottom: 15px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.time-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 5px;
}

.btn-hero {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    margin-top: 30px;
}

.btn-hero:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Content Sections */
.section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 60px; /* Offset for fixed header */
    overflow-x: hidden; /* Prevent accidental horizontal overflow */
}

.section h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.normal-text {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
}

/* Organizer Logos */
.organizer-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center them horizontally */
    align-items: center; /* Align them vertically */
    gap: 50px; /* Increased gap to prevent tooltips from overlapping next logos */
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.logo-wrapper {
    position: relative; /* Anchor for the absolute positioned tooltip */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.organizer-logo {
    height: 80px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: help;
}

/* Tooltip Text Style */
.logo-tooltip {
    position: absolute;
    bottom: -40px; /* Position it below the image */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Center horizontally and offset down */
    
    background-color: rgba(44, 62, 80, 0.95); /* Dark blue-grey to match theme */
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping */
    pointer-events: none; /* Let clicks pass through to the image */
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    
    /* Animation States */
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-out;
}

/* Small arrow pointing up */
.logo-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%; /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent rgba(44, 62, 80, 0.95) transparent;
}

/* Hover Effects */
.logo-wrapper:hover .organizer-logo {
    transform: scale(1.1);
}

.logo-wrapper:hover .logo-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Move up to final position */
}

/* News Section Styles */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item {
    background-color: var(--secondary-bg);
    border-left: 4px solid var(--accent-color);
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-color);
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.news-date {
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    white-space: nowrap;
}

.news-content {
    flex-grow: 1;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.4;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center the left and right blocks */
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Left align logo and rights text */
    gap: 10px;
}

.footer-right {
    display: flex;
    justify-content: flex-end; /* Align right side content to the right */
}

.footer-logo {
    height: 50px; /* Slightly smaller for this layout */
    width: auto;
    opacity: 0.8;
}

.footer-rights {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Right align the text blocks */
    gap: 8px;
}

.contact-header {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    margin-bottom: 4px;
    display: inline-block;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-label {
    font-weight: 700;
    color: var(--text-main);
}

.contact-name {
    font-weight: 500;
}

.contact-link {
    color: var(--accent-color);
    background-color: rgba(0, 123, 255, 0.1); /* Subtle badge style */
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-1px);
}

/* Remove old centered container style */
.footer-logo-container {
    display: none;
}

/* Back to Top Button */
#backToTop {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Committee / Person Card Styles */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.person-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
    order: 1; /* First */
}

.person-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 15px;
    order: 2; /* Second */
}

.person-photo-container {
    width: 150px;
    height: 150px;
    margin-top: auto; /* Push to bottom if content varies, though order is fixed here */
    order: 3; /* Third */
    border-radius: 8px;
    overflow: hidden; /* Ensures image stays within rounded corners */
    background-color: #f0f0f0;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Key property for square cropping */
    object-position: top; /* Align top to keep faces in view for tall images */
    display: block;
}

/* Responsive */
@media (max-width: 1000px) {
    .hamburger {
        display: flex; /* Show hamburger on mobile */
        z-index: 1002;
    }

    /* Mobile Navigation */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%; /* Hide off-screen by default */
        width: min(70%,300px);
        height: 100vh;
        background-color: var(--secondary-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        overflow-y: auto; /* Allow scrolling if menu is long */
    }

    .nav-links.active {
        right: 0; /* Slide in */
    }

    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
        justify-content: space-between; /* Push caret to right */
    }

    /* Mobile Dropdown - Static for simplicity or toggle */
    .dropdown {
        position: static; /* Flow naturally in document */
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background-color: var(--primary-bg);
        padding-left: 10px;
        display: none; /* Hidden by default on mobile, toggled via JS ideally, or CSS hover */
        transform: none;
    }
    
    /* Show dropdown on hover/focus for mobile (or use JS to toggle class) */
    .nav-item:hover .dropdown {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-logo-big {
        max-width: 80vw; /* Limit width on mobile to prevent cropping */
        height: auto;
    }

    .hero-info-container {
        flex-direction: column;
        align-items: center;
    }

    .countdown-timer {
        gap: 10px;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left, .footer-right, .contact-wrapper, .contact-item {
        align-items: center;
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-date {
        font-size: 0.85rem;
    }
}

.schedule-container {
    width: 100%;
    overflow-x: auto; /* Allows table to scroll on mobile */
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.schedule-table {
    width: 100%;
    border-collapse: separate; /* Changed to separate to allow border-radius on cells if needed, or stick to collapse */
    border-collapse: collapse; 
    min-width: 800px;
    background-color: #ffffff;
}

.schedule-table th, 
.schedule-table td {
    padding: 0; /* Remove default padding to let inner content fill */
    border: 1px solid var(--border-color);
    text-align: center;
    vertical-align: middle;
    height: 1px; /* Trick: allows children to use height: 100% correctly in tables */
    width: 200px;
}

.schedule-table td.time-col {
    padding: 2px; /* Keep padding for time column */
    background-color: #f8f9fa;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-mono);
    width: 140px;
    border-right: 2px solid var(--border-color);
    height: auto; /* Reset height for time column */
}

/* Header Row */
.schedule-table thead th {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px;
}

/* Event Cell Content Wrapper */
.event-content {
    width: 100%;
    height: 100%;
    min-height: 30px; /* Ensure some visibility even if empty */
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

/* Split Sessions (Sub-columns) */
.split-session-container {
    display: flex;
    height: 100%;
    width: 100%;
}

.sub-session {
    flex: 1; /* Takes equal width */
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Vertical Divider for split sessions */
.sub-session:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.sub-session-title, .event-title {
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    font-size: 1rem;
}

.event-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

/* Special Events (like Lunch, Coffee Break) */
.event-break .event-content {
    background-color: #f4f6f9;
    color: var(--text-muted);
    font-style: italic;
}

/* --- Color Coding Tags --- */
/* Defined by a left border strip and a subtle background tint */

/* Keynote: Purple */
.type-keynote {
    border-left: 5px solid #9c27b0;
    background-color: rgba(156, 39, 176, 0.05);
}
.type-keynote .event-title, .type-keynote .sub-session-title { color: #9c27b0; }

/* Tutorial: Blue (Tech Blue) */
.type-tutorial {
    border-left: 5px solid #007bff;
    background-color: rgba(0, 123, 255, 0.05);
}
.type-tutorial .event-title, .type-tutorial .sub-session-title { color: #007bff; }

/* Oral Session: Green */
.type-oral {
    border-left: 5px solid #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}
.type-oral .event-title, .type-oral .sub-session-title { color: #28a745; }

/* Workshop: Red/Pink */
.type-workshop {
    border-left: 5px solid #e83e8c;
    background-color: rgba(232, 62, 140, 0.05);
}
.type-workshop .event-title, .type-workshop .sub-session-title { color: #e83e8c; }

/* Poster: Orange */
.type-poster {
    border-left: 5px solid #fd7e14;
    background-color: rgba(253, 126, 20, 0.05);
}
.type-poster .event-title, .type-poster .sub-session-title { color: #fd7e14; }

.type-other {
    border-left: 5px solid #cccc14;
    background-color: rgba(225, 225, 9, 0.05);
}
.type-other .event-title, .type-other .sub-session-title { color: #cccc14; }

/* Important Dates Timeline */
.timeline-section {
    margin-bottom: 40px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid var(--accent-color);
}

.timeline-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 10px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Hide scrollbar but keep functionality for cleaner look on desktop */
.timeline-container::-webkit-scrollbar {
    height: 6px;
}
.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.timeline-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
.timeline-container::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.timeline-row {
    display: flex;
    min-width: max-content;
    position: relative;
    padding: 0 0;
}

/* The connecting line */
.timeline-row::before {
    content: '';
    position: absolute;
    top: 88px; /* Adjusted: icon(40) + date(30) + dot_margin(10) + dot_half(8) */
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-node {
    position: relative;
    z-index: 2;
    width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.timeline-node:hover .timeline-icon {
    transform: translateY(-5px);
}

.timeline-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    margin: 10px 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-node:hover .timeline-dot {
    transform: scale(1.3);
    background-color: var(--accent-color);
}

.timeline-date {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: var(--font-mono);
    margin-bottom: 0;
    height: 30px; /* Fixed height for date area */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.2;
    padding: 0 10px;
    margin-top: 5px;
}

.timeline-node:hover .timeline-date {
    color: var(--accent-hover);
}

/* Past / Completed Node Styles */
.timeline-node.past .timeline-icon {
    color: #94a3b8; /* Muted slate gray */
    opacity: 0.7;
}

.timeline-node.past .timeline-dot {
    background-color: #94a3b8;
    border-color: #94a3b8;
}

.timeline-node.past .timeline-date {
    color: #64748b;
    font-weight: 500;
}

.timeline-node.past .timeline-desc {
    color: #94a3b8;
}

.timeline-node.past:hover .timeline-icon {
    transform: none; /* Disable lift effect for past items */
}

.timeline-node.past:hover .timeline-dot {
    transform: none;
    background-color: #64748b;
    border-color: #64748b;
}

/* Responsive adjustments for timeline */
@media (max-width: 600px) {
    .timeline-node {
        width: 140px;
    }
    .timeline-desc {
        font-size: 0.8rem;
    }
}

/* Hover Effects */
.event-content:hover, .sub-session:hover {
    filter: brightness(0.98); /* Slightly dim to show interaction */
}