:root {
    --primary-color: #00ADB5;
    --primary-hover: #0077B3;
    --text-color: #222831;
    --secondary-text-color: #444444;
    --muted-text-color: #666666;
    --light-bg: #EEEEEE;
    --surface-bg: #FFFFFF;
    --border-color: #393E46;
    --on-primary-color: #FFFFFF;
    --bs-primary-rgb: 0, 173, 181;
}

/* ===========================================================================
  CSS Architecture
  - Tokens: :root custom properties
  - Base: html/body/typography/links
  - Layout: section spacing
  - Components: navbar, hero, cards, forms, timeline, program, sessions, submission/session details,
    special events, map, footer
  - Utilities: animations, accessibility, helpers
  Naming: BEM-ish for components; page-scoped rules are prefixed by page container where possible
  (e.g., .event .sessions-grid).
  Guidelines: co-locate responsive rules near their component; avoid duplicate selectors;
  prefer scoping over global collisions.
  =========================================================================== */

body {
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    padding-top: 80px;
    /* Make the page fill the viewport and allow sticky footer */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    padding: 4rem 0;
}

/* Components | Navbar */
.navbar {
    background-color: var(--surface-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-logos-container {
    display: flex;
    align-items: center;
}

.navbar-logo {
    max-height: 40px;
    width: auto; /* Ensure proportional scaling */
    margin-right: 10px;
}

.navbar-logo:last-child {
    margin-right: 0; /* Example: Remove margin from the last logo */
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-color);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-dark .navbar-toggler {
    border-color: var(--text-color);
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(34,40,49,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Components | Hero */
.hero { 
    color: var(--light-bg);
    padding: 6rem 0;
    padding-bottom: 0px;
    text-align: center;
    background-color: var(--light-bg);
}

.hero h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.lead {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page | FAQ */
.faq-section .card {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.faq-section .card-header {
    background-color: var(--surface-bg);
    border-bottom: none;
    padding: 1rem;
}

.faq-section .card-body {
    border-top: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.accordion-button:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.5);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Components | Card */
.card {
    border: none;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
    height: 100%; /* Allow card to stretch in flex container */
}

/* Ensure equal height for cards in the same row */
.row.equal-height {
    display: flex;
}

.row.equal-height > [class^="col-"] {
    display: flex;
    flex-direction: column;
}

.row.equal-height > [class^="col-"] > .card {
    flex: 1 1 auto;
    height: 100%;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-section p {
    color: var(--muted-text-color);
    margin-bottom: 2rem;
}

.form-section .card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
}


.form-section .form-label {
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-section .form-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-section .form-inline .form-label {
    min-width: 60px;
    margin-bottom: 0;
}

.form-section .form-inline .form-control {
    flex: 1;
    max-width: 300px;
}

.form-section .form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.form-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-section .form-check-input {
    margin-top: 0.3rem;
}

.form-section .form-check-label {
    color: var(--muted-text-color);
}

.form-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.2s ease;
    width: auto;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.form-section .btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.form-section .btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.card-body {
    padding: 2rem;
}

/* Components | Program Timeline */
.program-timeline {
    position: relative;
    padding: 2rem 0;
}

.program-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

/* Page | Program */
/* Loading Spinner Overlay for Program Page */
#program-loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

#program-loading-spinner .spinner-border {
    width: 4rem;
    height: 4rem;
}

.program-day {
    margin-bottom: 4rem;
}

.program-day h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.program-slot {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1rem 1.5rem;
    align-items: start;
    box-shadow: 0 2px 4px rgba(var(--bs-primary-rgb), 0.08);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.program-slot:hover {
    box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), 0.16);
    transform: translateY(-2px);
}

.program-slot::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--surface-bg);
    z-index: 1;
}

/* Program Type Badge */
.program-slot::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--on-primary-color);
    padding: 0.25rem 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 999px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(var(--bs-primary-rgb), 0.25);
}

.program-slot.single_presentation::after { content: 'Talk'; }
.program-slot.multiple_presentations::after { content: 'Session'; }
.program-slot.parallel_session::after { content: 'Parallel Session'; }
.program-slot.parallel-sessions::after { content: 'Parallel'; }
.program-slot.keynote::after { content: 'Keynote'; }
.program-slot.remarks::after { content: 'Remarks'; }
.program-slot.empty::after { content: none; display: none; }

/* Type accents */
.program-slot.keynote {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border-color: rgba(var(--bs-primary-rgb), 0.3);
}

.program-slot.parallel_session {
    border-left: 4px solid var(--primary-color);
}

/* ---------------------------------------------------------------------------
   Parallel Session Tweaks
   - Tighter grid and card spacing
   - Smaller font sizes for session and presentation titles
   - Reduced padding for presentation items
   --------------------------------------------------------------------------- */
.program-slot.parallel_session .sessions-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.program-slot.parallel_session .session-header h5 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.program-slot.parallel_session .presentation-item h5 {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.program-slot.parallel_session .presentation-item {
    padding: 0.75rem;
}

.program-slot.parallel_session .session-card {
    padding: 1rem;
}

/* Collapsible Parallel Sessions */
.program-slot.parallel_session .session-toggle {
    all: unset;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    cursor: pointer;
    padding: 0.25rem;
    margin: -0.25rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.program-slot.parallel_session .session-toggle:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.program-slot.parallel_session .session-toggle:focus {
    outline: 2px solid rgba(var(--bs-primary-rgb), 0.4);
    outline-offset: 2px;
    background-color: rgba(var(--bs-primary-rgb), 0.08);
}

.program-slot.parallel_session .chevron {
    width: 0;
    height: 0;
    margin-top: 0.5rem;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-color);
    transform: rotate(0deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.program-slot.parallel_session .is-collapsible.expanded .chevron {
    transform: rotate(180deg);
}

.program-slot.parallel_session .presentations-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease;
    opacity: 0;
    padding-top: 0;
}

.program-slot.parallel_session .is-collapsible.expanded .presentations-list {
    max-height: 1000px;
    opacity: 1;
    padding-top: 0.75rem;
}

.program-slot.parallel_session .is-collapsible.expanded .session-header {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.15);
    padding-bottom: 0.75rem;
    margin-bottom: 0;
}

.program-slot.remarks {
    border-left: 4px solid var(--border-color);
}

.time-location {
    min-width: 180px;
    padding-right: 0;
    display: grid;
    grid-auto-flow: row;
    justify-items: end;
    text-align: right;
    row-gap: 0.25rem;
}

.time-location h6 {
    color: var(--primary-color);
    margin: 0; /* remove default top margin */
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums; /* stable digit widths */
    transform: translateY(1px); /* subtle visual alignment tweak */
}

.time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1.2;
}

.location {
    font-size: 0.9rem;
    color: var(--muted-text-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.event {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.event h4 {
    color: var(--primary-color);
    margin: 0 0 0.25rem 0; /* remove default top margin */
    line-height: 1.2;
}

.event h5 {
    color: var(--text-color);
    margin: 0 0 0.25rem 0; /* remove default top margin */
    line-height: 1.2;
}

.event h6 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.event .subtitle {
    color: var(--secondary-text-color);
    font-style: italic;
    margin-top: -0.25rem;
}

.event .description p,
.event .description {
    color: var(--text-color);
    line-height: 1.6;
}

.event p {
    color: var(--muted-text-color);
    margin-bottom: 0;
}

.event .sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 0.75rem;
}

/* New Program Event Styles */
.program-slot.single_presentation .event,
.program-slot.multiple_presentations .event,
.program-slot.parallel_session .event {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: 0;
}

.presenter-info {
    margin-bottom: 0.5rem;
}

.presenter-info .presenter {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.presenter-info .institution {
    color: var(--muted-text-color);
    font-style: italic;
    font-size: 0.85rem;
    margin: 0;
}

.session-description {
    font-style: italic;
    color: var(--secondary-text-color);
    margin-bottom: 1rem;
}

.presentations-list .presentation-item {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: var(--light-bg);
}

.presentations-list .presentation-item:last-child {
    margin-bottom: 0;
}


.session-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.session-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.session-header .session-title {
    margin-bottom: 0.25rem;
}

.session-presentations .session-presentation {
    margin-bottom: 1rem;
}

.session-presentations .session-presentation:last-child {
    margin-bottom: 0;
}

.session-presentation h6 {
    margin-bottom: 0.25rem;
}

.session-presentations .session-presentation + .session-presentation {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.session-presentations .session-presentation {
    position: relative;
    padding-left: 1.25rem;
}

.session-presentations .session-presentation::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.15);
}

.session-presentations .presenter-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    color: var(--muted-text-color);
}

.session-presentations .presenter-info .presenter {
    color: var(--text-color);
}


.session {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform, box-shadow;
}

.session:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.session-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.session-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.room {
    display: block;
    font-size: 0.85rem;
    color: var(--muted-text-color);
}

@media (max-width: 767px) {
    .program-slot {
        grid-template-columns: 1fr;
    }
    .time-location {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 0.25rem;
    }
    .event .sessions-grid {
        grid-template-columns: 1fr;
    }
}

/* Submenu under Program page */
#program-submenu {
    background: var(--light-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

#program-submenu .nav-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

#program-submenu .nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    background: transparent;
    transition: background 0.2s, color 0.2s;
}

#program-submenu .nav-pills .nav-link:hover,
#program-submenu .nav-pills .nav-link.active {
    background: var(--primary-color);
    color: var(--on-primary-color);
}

/* Page | Sessions */
#sessions-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

.date-group {
    margin-bottom: 3rem;
}

.date-header {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 1400px) {
    .sessions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1399px) {
    .sessions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sessions-grid {
        grid-template-columns: 1fr;
    }
}

.session-card {
    background: var(--surface-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    transform-origin: center top;
    will-change: transform, opacity;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.session-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.session-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.session-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted-text-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.chair {
    color: var(--secondary-text-color);
    font-style: italic;
    font-size: 0.9rem;
}

.submissions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submission {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.submission:hover {
    transform: translateX(5px);
    background: var(--surface-bg);
    border-color: var(--primary-color);
}

.submission h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.submission .author {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.submission .institution {
    font-size: 0.9rem;
}

/* Submission Details Page */
.submission-details {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--surface-bg);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.session-info {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.meta-info {
    color: var(--muted-text-color);
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.submission-details .chair-info {
    color: var(--secondary-text-color);
    font-style: italic;
}

.paper-details {
    padding-top: 2rem;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.abstract-section {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

#abstract-text {
    line-height: 1.6;
    color: var(--text-color);
}

.keywords-section {
    margin-top: 2rem;
}

#keywords {
    color: var(--muted-text-color);
    font-size: 0.95rem;
}

.navigation-buttons {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--on-primary-color);
}

/* Session Details Page */
.session-details {
    max-width: 900px;
    margin: 0 auto;
}

.session-details h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.session-details .session-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    justify-content: flex-start; /* override list view spacing */
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-text-color);
}

.session-details .chair-info {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    font-style: italic;
}

.presentations-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.presentation-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--surface-bg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

.presentation-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--on-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.presentation-content {
    flex: 1;
}

.presentation-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.presentation-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.presentation-content h3 a:hover {
    color: var(--primary-color);
}

.presenter {
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--muted-text-color);
    margin-left: 0.5rem;
}

.coauthors {
    color: var(--muted-text-color);
    font-size: 0.9rem;
}

.session-title-link {
    color: var(--text-color);
    text-decoration: none;
}

.session-title-link:hover {
    color: var(--primary-color);
}

/* Loading Overlay */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.spinner {
  border: 8px solid var(--border-color, #E5E7EB);
  border-top: 8px solid var(--primary-color, #F52B37);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Section Headings */
section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Components | Special Events */
.special-events-section .timeline {
    position: relative;
    padding: 2rem 0;
}

.day-header {
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.event-card {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.event-time {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Components | Map */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.map-container img {
    transition: transform 0.3s ease;
}

.map-container:hover img {
    transform: scale(1.02);
}

/* Components | Footer */
.footer {
    background: var(--surface-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0 1.2rem 0;
    margin-top: 4rem;
    box-shadow: none;
    border-radius: 0;
    position: relative;
}

#footer-placeholder {
    /* Push footer area to the bottom when content is short */
    margin-top: auto;
}

.footer .partner-logo {
    max-height: 48px;
    margin: 0 1.2rem;
    filter: grayscale(60%) brightness(0.98);
    opacity: 0.92;
    transition: filter 0.2s, opacity 0.2s, transform 0.2s;
}

.footer .partner-logo:hover {
    filter: grayscale(0%) brightness(1.05);
    opacity: 1;
    transform: scale(1.04);
}

.footer .row {
    justify-content: center;
    align-items: center;
    margin-bottom: 0.6rem;
}

.footer-text {
    color: var(--text-color);
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    margin-top: 0.8rem;
}

@media (max-width: 767px) {
    .footer .partner-logo {
        max-width: 80px;
        margin-bottom: 1rem;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .footer .row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Responsive adjustments */

@media (max-width: 767px) {
    .session-card {
        margin-bottom: 1.5rem;
    }

    .date-header {
        font-size: 1.5rem;
    }
}

/* Utilities | Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Utilities | Accessibility */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

a {
    color: var(--primary-color);
}

.logo { 
    height: auto;
    transition: filter 0.7s ease;
}

.grayscale {
    filter: grayscale(100%);
}

.logo:hover {
    filter: grayscale(0%);
}

/* Form Alignment */
.form-label-aligned {
    min-width: 100px; /* Adjust as needed */
    text-align: right;
    margin-right: 0.5rem; /* Space between label and input */
    margin-bottom: 0; /* Override default form-label margin */
}
