/* Organizer bio link (bottom right of card, matches keynote) */
.organizer-bio-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 1rem;
  color: var(--secondary-color);
  background: #f5f7fa;
  border-radius: 6px;
  padding: 4px 16px 4px 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(30, 55, 101, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.organizer-bio-link:hover {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 55, 101, 0.13);
}

/* Organizer bio modal (matches keynote modal style) */
.organizer-bio-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s;
}
.organizer-bio-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.organizer-bio-modal-content {
  background: linear-gradient(135deg, #f7fafd 0%, #eaf3fb 100%);
  border-radius: 16px;
  max-width: 700px;
  width: 90vw;
  max-height: 85vh;
  padding: 2.5em 2.2em 2em 2.2em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  position: relative;
  font-family: "Lato", Arial, sans-serif;
  animation: modalFadeIn 0.2s;
  overflow-y: auto;
}
.organizer-bio-close {
  position: absolute;
  top: 1em;
  right: 1em;
  background: none;
  border: none;
  font-size: 2em;
  color: #888;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.organizer-bio-close:hover,
.organizer-bio-close:focus {
  color: #333;
  outline: none;
}
.organizer-bio-modal-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.7em;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.3em;
}
@media (max-width: 600px) {
  .organizer-bio-modal-content h3 {
    font-size: 1.15em;
  }
}
.organizer-bio-modal-content p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1em;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .organizer-bio-modal-content {
    max-width: 98vw;
    max-height: 85vh;
    padding: 1.2em 0.7em 1.2em 0.7em;
  }
  .organizer-bio-modal-content h3 {
    font-size: 1.15em;
  }
}
/* Ensure organizer card is positioned relative for link placement */
.organizer-card {
  position: relative;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Keynote Speaker Bio Link and Modal */

.keynote-bio-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 1rem;
  color: var(--secondary-color);
  background: #f5f7fa;
  border-radius: 6px;
  padding: 4px 16px 4px 12px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(30, 55, 101, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.keynote-bio-link:hover {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 55, 101, 0.13);
}

.keynote-speaker-card {
  position: relative;
}

.keynote-bio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 55, 101, 0.25);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s;
}
.keynote-bio-modal.active {
  display: flex;
}

.keynote-bio-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30, 55, 101, 0.18);
  max-width: 700px;
  width: 90vw;
  max-height: 85vh;
  padding: 2.5em 2.2em 2em 2.2em;
  position: relative;
  animation: growIn 0.35s cubic-bezier(0.23, 1.02, 0.64, 1);
  font-size: 1.08rem;
  color: #222;
  overflow-y: auto;
}
.keynote-bio-modal-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.7em;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.3em;
}
.keynote-bio-modal-content p {
  margin-bottom: 1em;
  line-height: 1.7;
}
.keynote-bio-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2;
}
.keynote-bio-close:hover {
  color: var(--secondary-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes growIn {
  from {
    transform: scale(0.85);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .keynote-bio-modal-content {
    width: 98vw;
    padding: 1.2em 0.7em 1.2em 0.7em;
    font-size: 1rem;
  }
  .keynote-bio-link {
    right: 10px;
    bottom: 10px;
    padding: 3px 10px 3px 8px;
    font-size: 0.98rem;
  }
}
/* Keynote Speaker Section Box */
.keynote-speaker-box {
  background: #f5f7fa;
  border: 2px solid #e0e4ea;
  border-radius: 14px;
  padding: 2em 1.5em 1.5em 1.5em;
  margin-bottom: 2.5em;
  margin-top: 1.5em;
  box-shadow: 0 2px 12px 0 rgba(30, 55, 101, 0.07);
}

/* Keynote Speaker Card Styles (match organizer cards exactly) */
.keynote-speaker-card {
  background-color: var(--light-color); /* White background for cards */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer shadow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 280px; /* Fixed width to match image container size */
  height: auto; /* Remove fixed height, let content determine height */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px; /* Ensures space if cards wrap on smaller screens */
}

.keynote-speaker-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.keynote-speaker-photo {
  width: 100%;
  height: 280px; /* Consistent photo height */
  object-fit: contain; /* Preserve aspect ratio, no zoom/crop */
  background-color: #f8f9fa; /* Light grey background for letterboxing */
  border-bottom: 1px solid #e0e0e0; /* Subtle separator */
}

.keynote-speaker-info {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows info to fill space in card */
  justify-content: flex-start; /* Align content to top of info section */
  min-height: 120px; /* Ensure minimum height for consistent text area */
}

.keynote-speaker-info h3 {
  /* Name container - NO ICONS for individual names */
  margin-top: -5px; /* Remove default h3 margin if any */
  margin-bottom: 8px;
  font-size: 1.43rem;
  color: var(--primary-color);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color); /* Match logistics exactly */
  position: relative;
  display: flex;
  align-items: center;
}

/* Explicitly prevent any ::before content on individual keynote speaker names */
.keynote-speaker-info h3::before,
.keynote-speaker-card h3::before {
  content: none !important;
  display: none !important;
}

.keynote-speaker-info h3 a {
  /* Name link - match navigation panel styling */
  font-weight: bold; /* Match navigation font weight */
  color: var(--primary-color) !important; /* Same initial color as navigation */
  text-decoration: none;
  transition: color 0.3s ease; /* Match navigation transition */
  position: relative;
  font-size: inherit !important; /* Inherit the h3 font size */
}

.keynote-speaker-info h3 a:hover {
  color: var(--secondary-color) !important; /* Match navigation hover color */
}

.keynote-speaker-info h3 a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.keynote-speaker-info h3 a:hover::after {
  width: 100%;
}

.keynote-speaker-title {
  /* Position - clean and simple */
  font-size: 1.1rem;
  margin-bottom: 20px;
  margin-left: -2px; /* Align with name */
  max-width: none;
  line-height: 1.7;
  color: #444;
  font-style: italic;
  line-height: 1.4;
  text-align: left !important;
}

.keynote-speaker-affiliation {
  /* Affiliation container - clean and compact */
  margin-bottom: 0;
  margin-top: 8px;
  text-align: left !important;
}

.keynote-speaker-department {
  /* Department - clean and readable */

  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left !important;
  max-width: none;
  line-height: 1.7;
  color: #444;
}

.keynote-speaker-university {
  /* University - secondary styling */
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 2px 0;
  padding: 0;
}

.keynote-speaker-institution {
  /* Additional institutions - subtle styling */
  font-size: 0.75rem;
  color: #888;
  font-weight: normal;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

/* Responsive adjustments for keynote speaker affiliations */
@media screen and (max-width: 480px) {
  .keynote-speaker-department {
    font-size: 0.8rem;
  }

  .keynote-speaker-university {
    font-size: 0.75rem;
  }

  .keynote-speaker-institution {
    font-size: 0.7rem;
  }

  .keynote-speaker-affiliation {
    margin-top: 6px;
  }
}

/* Keynote Speaker Grid Responsive Styles */
@media screen and (max-width: 768px) {
  .keynote-speaker-card {
    width: 100%; /* Full width within container on mobile */
    max-width: 300px; /* Prevent cards from becoming too wide */
  }
}

@media screen and (max-width: 480px) {
  .keynote-speaker-card {
    width: 100%;
    max-width: 280px;
  }

  .keynote-speaker-photo {
    height: 240px; /* Slightly smaller photo height on small screens */
  }

  .keynote-speaker-info {
    padding: 15px; /* Reduce padding on small screens */
    min-height: 100px; /* Reduce minimum height */
  }
}

/* Style for schedule subsection headings to match about subsection headings */
.schedule-subsection-heading {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 5px 0 5px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  position: relative;
  gap: 12px;
}

.schedule-subsection-heading i {
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  margin-right: 0;
}
/* General Styles */
:root {
  --primary-color: #1e3765;
  --secondary-color: #007894;
  --accent-color: #6fc7ea;
  --mid-color: #d0d1c9;
  --dark-color: #000000;
  --light-color: #ffffff;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Lato", Arial, sans-serif;
  line-height: 1.8; /* Increased from 1.6 for better readability */
  color: #222; /* Darker text color for better contrast */
  background-color: var(--light-color);
  font-size: 1.1rem; /* Added base font size for the whole document */
}

.top-header {
  background-color: white;
  padding: 10px 5%; /* Adjusted padding to align logo with banner text */
  display: flex;
  justify-content: space-between; /* This will push logo to left and nav to right */
  align-items: flex-end; /* Align items to the bottom */
  position: sticky;
  top: 0;
  left: 0;
  width: 100%; /* Ensure it spans full width */
  box-sizing: border-box; /* Ensures padding doesn't add to width */
  z-index: 1000; /* Keeps header on top */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

.top-header-logo-link img {
  height: 70px; /* Updated logo height to 70px */
  width: auto;
  display: block; /* Removes extra space under the image */
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.top-header-nav {
  display: flex;
  align-items: flex-end; /* Align navigation to bottom */
}

.top-header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end; /* Align items to the bottom */
}

.top-header-nav li {
  margin-left: 30px; /* Space between navigation items */
}

.top-header-nav ul li a {
  font-family: "Lato", Arial, sans-serif;
  font-weight: bold;
  font-size: 1.5rem; /* Reduced from 1.8rem for better aesthetics */
  color: var(--primary-color); /* Initial color */
  text-decoration: none;
  padding: 0 15px 5px 15px; /* Minimal top padding, bottom padding for spacing */
  transition: color 0.3s ease; /* Updated transition */
  display: inline-block;
  line-height: 1.2; /* Tighter line height for better alignment */
  position: relative; /* Added for ::after positioning */
}

.top-header-nav ul li a:hover {
  color: var(--secondary-color); /* Hover text color */
}

.top-header-nav ul li a.active {
  color: var(--secondary-color); /* Active text color - persists */
}

/* Underline pseudo-element for navigation links */
.top-header-nav ul li a::after {
  content: "";
  position: absolute;
  width: 0; /* Initial state: hidden */
  height: 3px;
  bottom: 1px; /* Positioned 12px from the bottom of the 'a' tag's padding box */
  left: 50%; /* Start from center for text-width effect */
  transform: translateX(-50%); /* Center the underline */
  background-color: var(
    --secondary-color
  ); /* Color for hover state as default */
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Underline becomes visible and matches text width on hover */
.top-header-nav ul li a:hover::after {
  width: calc(
    100% - 30px
  ); /* Adjust width to be similar to text, considering padding */
  background-color: var(--secondary-color);
}

/* Underline style for active link */
.top-header-nav ul li a.active::after {
  width: calc(
    100% - 30px
  ); /* Adjust width to be similar to text, considering padding */
  background-color: var(
    --secondary-color
  ); /* Active underline color matches text color */
}

/* Underline style for active link when it is also hovered */
/* This ensures that when an active link is hovered, it still shows the hover color for the underline */
.top-header-nav ul li a.active:hover::after {
  background-color: var(--secondary-color);
}

/* New Apply Now Button Styles */
.apply-now-btn {
  display: inline-block;
  background-color: transparent; /* No background */
  color: white; /* White text */
  padding: 15px 35px; /* Increased by 50% */
  border-radius: 8px; /* Increased by 50% */
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 1.65rem; /* Increased by 50% */
  font-weight: bold;
  margin-top: 30px; /* Increased by 50%, ensures it's on a new line */
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease;
  box-shadow: none; /* Remove previous box-shadow */
  border: 3px solid white; /* Increased by 50% */
}

.apply-now-btn:hover {
  background-color: white; /* White background on hover */
  color: var(--primary-color); /* Text color changes to primary theme color */
  border-color: white; /* Border remains white or matches background */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow on hover */
}
/* End of New Apply Now Button Styles */

/* Banner inline links (Schedule | Tutorials) */
.banner-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 30px; /* keep similar spacing to previous Apply button */
}

.banner-link {
  color: #fff;
  background: transparent;
  border: 4px solid rgba(255, 255, 255, 0); /* invisible by default to avoid layout shift; thicker baseline to match hover */
  padding: 0.35rem 0.75rem; /* reserve space so hover doesn't shift layout */
  text-decoration: none;
  font-weight: 900; /* very bold */
  font-size: 2rem; /* user requested size */
  line-height: 1;
  display: inline-block;
  border-radius: 8px;
  transition: background-color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.banner-link {
  color: #fff;
  background: transparent;
  padding: 0.35rem 0.75rem; /* reserve space so hover doesn't shift layout */
  text-decoration: none;
  font-weight: 900; /* very bold */
  font-size: 2rem; /* user requested size */
  line-height: 1;
  display: inline-block;
  border-radius: 8px;
  transition: background-color 220ms ease, transform 220ms ease;
  position: relative; /* for pseudo-element bounding box */
  --banner-border-size: 4px; /* default border thickness */
  z-index: 1;
}

/* Pseudo-element for animated bounding box to allow subtle fade */
.banner-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--banner-border-size) solid rgba(255, 255, 255, 1);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
  z-index: -1; /* keep behind the link text */
}

.banner-link:hover,
.banner-link:focus {
  text-decoration: none; /* remove underline */
  outline: none;
  background-color: rgba(
    255,
    255,
    255,
    0.06
  ); /* subtle off-white hover color (not cyan) */
  color: #fff; /* ensure text stays white on hover */
  transform: translateY(-2px);
}

.banner-link:hover::before,
.banner-link:focus::before {
  opacity: 1;
  transform: scale(1);
}
/* Responsive adjustments for banner links */
@media (max-width: 900px) {
  .banner-links {
    gap: 0.4rem;
    margin-top: 22px;
  }

  .banner-link {
    font-size: 1.5rem; /* reduce for medium screens */
    padding: 0.3rem 0.6rem;
    --banner-border-size: 3px; /* slightly smaller border on medium */
  }

  .banner-sep {
    font-size: 1.5rem;
  }
}

@media (max-width: 520px) {
  /* Mobile: stack links vertically for easier tapping */
  .banner-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-top: 18px;
    width: 100%;
  }

  .banner-link {
    width: auto;
    font-size: 1.25rem; /* comfortable mobile tap target */
    padding: 0.6rem 1rem; /* larger tap area */
    --banner-border-size: 3px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  /* Hide the pipe separator when stacked */
  .banner-sep {
    display: none;
  }

  /* Ensure high contrast focus for keyboard users */
  .banner-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
  }
}

/* Section Backgrounds */
.section-light-bg {
  background-color: var(--light-color);
}

.section-mid-bg {
  background-color: var(--mid-color);
}

/* Schedule Section Specific Styles */
#schedule {
  background-color: rgba(
    208,
    209,
    201,
    0.2
  ); /* --mid-color (#d0d1c9) with 80% transparency */
}

.tentative-schedule-note {
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--dark-color);
}

#schedule .container > div:not(.schedule-tabs):not(.schedule-content) {
  /* Targeting the div that used to be section-box */
  padding: 0; /* Remove padding if section-box is removed */
  box-shadow: none; /* Remove box-shadow if section-box is removed */
  border-top: none; /* Remove border if section-box is removed */
}

p {
  margin-bottom: 1.5rem; /* Add space below paragraphs */
  font-size: 1.2rem; /* Increased font size for paragraphs */
  max-width: 900px; /* Limit line length for better readability */
  margin-left: auto;
  margin-right: auto;
  text-align: justify; /* Center justify text */
}

.container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: left; /* Changed from center to left */
  margin-bottom: 50px;
  color: var(--primary-color); /* Updated to primary color */
  position: relative;
  padding-bottom: 5px; /* Reduced from 15px */
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0; /* Adjusted to align with new padding */
  left: 0; /* Changed from 50% to 0 */
  /* transform: translateX(-50%); Removed to align left */
  width: 80px;
  height: 4px;
  background: var(--accent-color); /* Updated to accent color */
}

/* Section Box Style */
.section-box {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin-bottom: 30px;
  border-top: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

/* Specific styles for #about section paragraphs */
#about .container div p {
  font-family: Arial, sans-serif;
  font-size: 1.1rem; /* Changed from 18pt to match other sections */
  margin-left: 0; /* Align paragraph block to the left */
  text-align: justify; /* Align text within the block to be justified */
  max-width: 1200px;
}

.sponsorship-note {
  margin-top: 30px;
  text-align: left;
}

.sponsor-logo {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin: 25px auto 0;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: var(--transition);
}

.sponsor-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

/* Specific sizing for Denvr logo used in acknowledgments */
.denvr-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .denvr-logo {
    width: 120px;
  }
}

.section-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
  position: relative;
  height: 100vh; /* Increased to full viewport height */
  min-height: 700px; /* Increased significantly to prevent cutoff */
  color: white;
  text-align: center;
  overflow: hidden;
}

.banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: saturate(90%) brightness(100%); /* Adjust saturation and brightness */
}

.banner-title {
  position: absolute;
  top: 45%; /* Moved up to prevent cutoff */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; /* Changed from 95% to 100% to allow full logo width */
  max-width: none; /* Removed max-width constraint */
  padding: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Responsive banner positioning */
@media (max-width: 700px) {
  .banner-title {
    top: 40%; /* Move higher on narrow screens for vertical logo */
    width: 100%; /* Changed from 90% to 100% to allow full logo width */
  }
}

@media (max-width: 480px) {
  .banner-title {
    top: 38%; /* Even higher on very small screens */
    width: 100%; /* Changed from 95% to 100% to allow full logo width */
  }

  .banner-title .subtitle {
    font-size: 1.4rem; /* Smaller text on mobile */
    margin-bottom: 12px;
  }
}

.banner-title .subtitle {
  font-family: "Lato", Arial, sans-serif;
  font-weight: 500; /* Slightly bolder */
  font-size: 1.8rem; /* Increased font size */
  color: white;
  text-align: center;
  margin: 10px 0 15px 0; /* Added negative top margin to move subtitle up by 20% */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Darker shadow for better contrast */
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block; /* To make background fit the text */
  max-width: 100%;
}

.banner-title .date-range {
  font-size: 1.2rem;
  color: white;
  text-align: center;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Matching shadow with subtitle */
  font-style: italic;
  background-color: rgba(
    0,
    0,
    0,
    0.2
  ); /* Semi-transparent background - 80% transparent */
  padding: 6px 12px;
  border-radius: 5px;
  display: inline-block; /* To make background fit the text */
}

/* About Section */
.highlights {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.highlight-item {
  flex: 1;
  min-width: 250px;
  margin: 15px;
  padding: 30px;
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.highlight-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.highlight-item h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Speakers Section */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.speaker-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.speaker-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.speaker-photo {
  height: 250px;
  background-color: #e0e0e0;
}

.placeholder-img {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.speaker-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
  color: var(--dark-color);
}

.speaker-title {
  padding: 0 20px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.speaker-card p:last-child {
  padding: 0 20px 20px;
}

.more-speakers {
  text-align: center;
  margin-top: 40px;
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Schedule Section */
.schedule-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 14px 28px;
  min-width: 180px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 58, 117, 0.2);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.tab-btn:hover::before {
  left: 100%;
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 58, 117, 0.3);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--dark-color), #1a1a1a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.schedule-content {
  display: none;
}

.schedule-content.active {
  display: block;
}

.schedule-item {
  display: flex;
  margin-bottom: 8px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-left: 10px solid var(--primary-color); /* Increased from 8px to 10px */
  transition: var(--transition);
  position: relative;
}

.schedule-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.schedule-item.keynote {
  border-left-color: #e74c3c;
}

.schedule-item.tutorial {
  border-left-color: #27ae60;
}

.schedule-item.social {
  border-left-color: #f39c12;
}

.schedule-item.break {
  border-left-color: #95a5a6;
}

.time {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 16px 20px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.details {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  align-items: center;
}

.details h3 {
  margin: 0;
  color: var(--dark-color);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Small map link appended to schedule items */
.map-link {
  margin-left: 10px;
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.map-link .fa-map-marker-alt,
.map-link i {
  font-size: 0.95rem;
  color: var(--secondary-color);
}
.map-link:hover,
.map-link:focus {
  text-decoration: underline;
}

/* Schedule Legend */
.schedule-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--dark-color);
  font-weight: 500;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.keynote-color {
  background-color: #e74c3c;
}

.tutorial-color {
  background-color: #27ae60;
}

.social-color {
  background-color: #f39c12;
}

.break-color {
  background-color: #95a5a6;
}

.schedule-download {
  text-align: center;
  margin-top: 40px;
}

/* Participant list under schedule (bulleted and spaced) */
.participant-list {
  margin-top: 10px; /* space between heading and list */
  margin-bottom: 0;
  padding-left: 1.25rem; /* consistent indent for bullets */
  list-style: disc;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--dark-color);
}

.schedule-item .details h3 + .participant-list {
  margin-top: 0rem;
}

/* When we want the heading and participant list on the same row */
.details.has-participant-list {
  display: flex;
  align-items: flex-start; /* align the top of the list with the heading */
  gap: 1.1rem; /* horizontal gap between h3 and the list */
}

.details.has-participant-list .participant-list {
  margin-top: 0; /* remove vertical gap when inline */
  padding-left: 1rem; /* keep bullets visible but compact */
}

/* Venue Section */
.venue-info {
  display: flex;
  flex-wrap: wrap;
}

.venue-details {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.venue-details h3 {
  margin: 20px 0 10px;
  color: var(--dark-color);
}

.venue-details ul {
  margin: 20px 0;
  padding-left: 20px;
}

.venue-details li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.venue-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.venue-map {
  flex: 1;
  min-width: 300px;
  height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px dashed #aaa;
}

/* Logistics Section */
.logistics-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: none;
}

.logistics-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logistics-content h3:first-of-type {
  margin-top: 0;
}

/* Font Awesome icons for logistics section headings with circular backgrounds */
.logistics-location-heading i,
.logistics-accommodation-heading i,
.logistics-travel-heading i {
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  margin-right: 12px;
}

.logistics-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
  max-width: none;
  line-height: 1.7;
  color: #444;
}

.logistics-content p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.logistics-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.logistics-content a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.map-container {
  margin: 30px 0;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.clean-light-gray-box {
  padding: 0;
  border: none;
  margin: 20px 0;
}

.clean-light-gray-box p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.clean-light-gray-box p:last-child {
  margin-bottom: 0;
}

.visa-info {
  background-color: rgba(0, 120, 148, 0.08);
  border: 1px solid rgba(0, 120, 148, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid var(--primary-color);
}

.visa-info p {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.visa-info p:last-child {
  margin-bottom: 0;
}

.extended-learning-highlight {
  background-color: rgba(0, 120, 148, 0.08);
  border: 1px solid rgba(0, 120, 148, 0.2);
  border-radius: 8px;
  padding: 25px;
  margin: 30px 0;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

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

.extended-learning-highlight h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.extended-learning-highlight h3 i {
  background-color: var(--primary-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.extended-learning-highlight p {
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.extended-learning-highlight p:last-child {
  margin-bottom: 0;
}

.extended-learning-highlight strong {
  color: var(--primary-color);
  font-weight: 600;
}

.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.transport-item {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transport-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transport-item p {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.transport-item p:last-child {
  margin-bottom: 0;
}

.transport-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Registration Section */
.registration-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.registration-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: white;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.registration-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.registration-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.deadline {
  color: #777;
  font-style: italic;
  margin-bottom: 25px;
}

.registration-card ul {
  margin-bottom: 30px;
  text-align: left;
}

.registration-card li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.registration-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.registration-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 1;
}

.registration-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--accent-color);
  color: white;
  padding: 5px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-color);
  color: var(--dark-color);
  margin-right: 15px;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 134, 255, 0.2);
  outline: none;
}

.submit-btn {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Goals Section */
.goals-list {
  margin-left: 20px;
  margin-bottom: 25px;
  list-style: none;
  padding-left: 15px;
}

.goals-list li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
  font-size: 1.2rem; /* Increased from 1.1rem */
}

.goals-list li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Eligibility Section */
.eligibility-content {
  /* Restore some padding since we're adding a box around the section */
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

.eligibility-content h3 {
  color: var(--dark-color);
  margin: 25px 0 15px;
  font-size: 1.5rem;
}

.eligibility-content p {
  font-size: 1.2rem; /* Match the paragraph size throughout the site */
}

.eligibility-list {
  margin-left: 20px;
  margin-bottom: 25px;
}

.eligibility-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}

.eligibility-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Organizers Section */
/* Styles for subsection titles like "Local Organizers" are assumed to be in place as per summary */

.organizers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  max-width: 920px; /* 3 cards * 280px + 2 gaps * 30px = 920px */
  margin-left: auto;
  margin-right: auto;
}

.organizer-card {
  background-color: var(--light-color); /* White background for cards */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Softer shadow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 280px; /* Fixed width to match image container size */
  height: auto; /* Remove fixed height, let content determine height */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px; /* Ensures space if cards wrap on smaller screens */
}

.organizer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.organizer-photo {
  width: 100%;
  height: 280px; /* Consistent photo height */
  object-fit: contain; /* Preserve aspect ratio, no zoom/crop */
  background-color: #f8f9fa; /* Light grey background for letterboxing */
  border-bottom: 1px solid #e0e0e0; /* Subtle separator */
}

.organizer-info {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows info to fill space in card */
  justify-content: flex-start; /* Align content to top of info section */
  min-height: 120px; /* Ensure minimum height for consistent text area */
}

.organizer-info h3 {
  /* Name container - NO ICONS for individual names */
  margin-top: 0; /* Remove default h3 margin if any */
  margin-bottom: 8px;
  font-size: 1.43rem !important; /* Increased by 30% from 1.1rem */
}

/* Explicitly prevent any ::before content on individual organizer names */
.organizer-info h3::before,
.organizer-card h3::before {
  content: none !important;
  display: none !important;
}

.organizer-info h3 a {
  /* Name link - match navigation panel styling */
  font-weight: bold; /* Match navigation font weight */
  color: var(--primary-color) !important; /* Same initial color as navigation */
  text-decoration: none;
  transition: color 0.3s ease; /* Match navigation transition */
  position: relative;
  font-size: inherit !important; /* Inherit the h3 font size */
}

.organizer-info h3 a:hover {
  color: var(--secondary-color) !important; /* Match navigation hover color */
}

.organizer-info h3 a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.organizer-info h3 a:hover::after {
  width: 100%;
}

.organizer-title {
  /* Position - clean and simple */
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 8px;
  font-style: italic;
  line-height: 1.4;
  text-align: left !important;
}

.organizer-affiliation {
  /* Affiliation container - clean and compact */
  margin-bottom: 0;
  margin-top: 8px;
  text-align: left !important;
}

.organizer-department {
  /* Department - clean and readable */
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 3px 0;
  padding: 0;
}

.organizer-university {
  /* University - secondary styling */
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 2px 0;
  padding: 0;
}

.organizer-institution {
  /* Additional institutions - subtle styling */
  font-size: 0.75rem;
  color: #888;
  font-weight: normal;
  line-height: 1.3;
  margin: 0;
  padding: 0;
}

/* Responsive adjustments for affiliations */
@media screen and (max-width: 480px) {
  .organizer-department {
    font-size: 0.8rem;
  }

  .organizer-university {
    font-size: 0.75rem;
  }

  .organizer-institution {
    font-size: 0.7rem;
  }

  .organizer-affiliation {
    margin-top: 6px;
  }
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .top-header {
    padding: 8px 3%;
  }

  .top-header-logo-link img {
    height: 63px; /* Proportionally scaled from 70px for tablet */
  }

  .top-header-nav ul li a {
    font-size: 1.3rem; /* Reduced for better aesthetics */
    padding: 0 12px 4px 12px; /* Adjusted padding for bottom alignment */
  }

  .top-header-nav li {
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .top-header {
    padding: 10px 15px;
    flex-wrap: wrap;
    position: relative;
  }

  .top-header-logo-link img {
    height: 56px; /* Proportionally scaled from 70px for mobile */
  }

  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }

  .top-header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    order: 4;
  }

  .top-header-nav.active {
    max-height: 300px;
  }

  .top-header-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
  }

  .top-header-nav li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .top-header-nav ul li a {
    font-size: 1.2rem; /* Reduced for better aesthetics */
    padding: 15px 20px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .top-header-nav ul li:last-child a {
    border-bottom: none;
  }

  .banner-title h1 {
    font-size: 2.8rem;
    line-height: 1.1;
  }

  .banner-title .subtitle {
    font-size: 1.4rem;
    padding: 6px 12px;
  }

  .banner-title .date-range {
    font-size: 1rem;
    padding: 5px 10px;
  }

  .apply-now-btn {
    font-size: 1.3rem;
    padding: 12px 25px;
    margin-top: 20px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  #about .container div p {
    font-size: 1rem;
  }

  .highlights {
    flex-direction: column;
  }

  .highlight-item {
    margin: 10px 0;
    min-width: auto;
  }

  .schedule-tabs {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .tab-btn {
    min-width: 100%;
    margin: 0;
    padding: 16px;
    font-size: 1.1rem;
  }

  .schedule-legend {
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    margin-bottom: 20px;
  }

  .legend-item {
    justify-content: center;
    font-size: 0.85rem;
  }

  .schedule-item {
    flex-direction: column;
    margin-bottom: 6px;
  }

  .schedule-item:hover {
    transform: translateY(-2px);
  }

  .time {
    min-width: auto;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.9rem;
  }

  .details {
    padding: 12px 15px;
  }

  .details h3 {
    font-size: 1rem;
  }

  .venue-info {
    flex-direction: column;
  }

  .venue-details {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-info {
    padding-right: 0;
  }

  .speakers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .registration-options {
    flex-direction: column;
    align-items: center;
  }

  .registration-card {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .registration-card.featured {
    transform: scale(1);
  }

  .sponsor-logo {
    max-width: 250px;
  }

  .map-container {
    margin-top: 20px;
  }

  .extended-learning-highlight {
    padding: 20px;
    margin: 20px 0;
  }

  .extended-learning-highlight h3 {
    font-size: 1.2rem;
    gap: 8px;
  }

  .extended-learning-highlight h3 i {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .extended-learning-highlight p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 480px) {
  .top-header {
    padding: 8px 10px;
  }

  .top-header-logo-link img {
    height: 49px; /* Proportionally scaled from 70px for small mobile */
  }

  .top-header-nav ul {
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .top-header-nav ul li a {
    font-size: 1rem; /* Reduced for better aesthetics */
    padding: 6px 8px;
  }

  .banner-title h1 {
    font-size: 2.2rem;
  }

  .banner-title .subtitle {
    font-size: 1.2rem;
    padding: 5px 10px;
  }

  .banner-title .date-range {
    font-size: 0.9rem;
    padding: 4px 8px;
  }

  .apply-now-btn {
    font-size: 1.1rem;
    padding: 10px 20px;
    border-width: 2px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .container {
    padding: 0 10px;
  }

  p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  #about .container div p {
    font-size: 0.95rem;
  }

  .tab-btn {
    padding: 14px;
    font-size: 1rem;
    min-width: 100%;
  }

  .time {
    padding: 10px;
    font-size: 0.85rem;
  }

  .details {
    padding: 10px 12px;
  }

  .details h3 {
    font-size: 0.95rem;
  }

  .schedule-legend {
    padding: 12px;
    margin-bottom: 15px;
  }

  .legend-item {
    font-size: 0.8rem;
  }

  .details {
    padding: 12px;
  }

  .details h3 {
    font-size: 1.1rem;
  }

  .sponsor-logo {
    max-width: 200px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px;
    font-size: 0.9rem;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .goals-list li {
    font-size: 1rem;
    padding-left: 25px;
  }

  .eligibility-content h3 {
    font-size: 1.3rem;
  }

  .eligibility-content p {
    font-size: 1rem;
  }

  #logistics .logistics-content {
    padding: 25px 20px;
    border-radius: 10px;
  }

  #logistics .logistics-content h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px 0;
    gap: 10px;
  }

  #logistics .logistics-location-heading i,
  #logistics .logistics-accommodation-heading i,
  #logistics .logistics-travel-heading i {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  #logistics .logistics-content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .map-container {
    margin: 20px 0 25px 0;
    border-radius: 10px;
  }
}

/* Organizers Section */
#organizers {
  background-color: #f8f9fa; /* UofT Wolf Grey - clean and neutral */
  position: relative;
  padding-top: 1px; /* Minor fix for potential margin collapse */
  padding-bottom: 1px; /* Minor fix for potential margin collapse */
}

#organizers::before {
  display: none; /* Remove previous radial gradient background */
}

/* Organizers content wrapper - matches logistics section */
#organizers .organizers-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: none; /* Remove border to match logistics */
}

/* Style subsection headers to match logistics */
#organizers .organizers-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color); /* Match logistics exactly */
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

#organizers .organizers-content h3:first-of-type {
  margin-top: 0;
}

/* Style text content to match logistics */
#organizers .organizers-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
  max-width: none;
  line-height: 1.7;
  color: #444;
}

#organizers .organizers-content p strong {
  color: var(--primary-color);
  font-weight: 600;
}

#organizers .organizers-content a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

#organizers .organizers-content a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.organizer-tier {
  background-color: transparent; /* Remove white background since it's now in content wrapper */
  border-radius: 0; /* Remove border radius */
  box-shadow: none; /* Remove shadow */
  margin-bottom: 40px;
  overflow: visible; /* Change from hidden */
  position: relative;
}

.organizer-tier::before {
  display: none; /* Remove gradient line above tier */
}

/* Organizer tier heading styles now handled by .organizers-content */

/* Contact section styles now handled by .organizers-content */

/* Funding acknowledgment styles now handled by .organizers-content */

/* Sponsorship Note */
.sponsorship-note {
  max-width: none;
  margin: 0;
}

.sponsorship-note p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
  max-width: none;
}

.sponsorship-note a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.sponsorship-note a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--accent-color);
}

.sponsor-logo {
  max-width: 350px; /* Slightly reduced for balance */
  width: 100%;
  height: auto;
  margin: 25px auto 0;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Adjusting section title for organizers if it was too stylized */
#organizers .section-title {
  background: none; /* Remove gradient text if too flashy */
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--primary-color); /* Standard UofT primary color */
  font-size: 2.2rem; /* Ensure it's prominent */
  margin-bottom: 40px;
}

#organizers .section-title::after {
  background: var(
    --accent-color
  ); /* Match default section title underline color */
  height: 3px; /* Adjusted thickness */
  width: 70px; /* Adjusted width */
}

/* Enhanced visual elements for UofT branding consistency */
.organizer-tier::before {
  display: none; /* Remove gradient line above tier */
}

/* Subtle pattern overlay for the organizers section */
#organizers .container {
  position: relative;
  z-index: 1;
}

/* Enhanced card styling with UofT colors */
.organizer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.organizer-card:hover::before {
  opacity: 1;
}

/* Organizers Grid Responsive Styles */
@media screen and (max-width: 1200px) {
  .organizers-grid {
    max-width: 620px; /* Accommodate 2 columns + gap */
  }
}

@media screen and (max-width: 768px) {
  .organizers-grid {
    max-width: 320px; /* Single card width + padding */
    gap: 20px; /* Reduce gap on mobile */
  }

  .organizer-card {
    width: 100%; /* Full width within container on mobile */
    max-width: 300px; /* Prevent cards from becoming too wide */
  }
}

@media screen and (max-width: 480px) {
  .organizers-grid {
    gap: 15px; /* Further reduce gap on very small screens */
  }

  .organizer-card {
    width: 100%;
    max-width: 280px;
  }

  .organizer-photo {
    height: 240px; /* Slightly smaller photo height on small screens */
  }

  .organizer-info {
    padding: 15px; /* Reduce padding on small screens */
    min-height: 100px; /* Reduce minimum height */
  }
}

/* Responsive animation adjustments */
@media (prefers-reduced-motion: reduce) {
  .organizer-card,
  .keynote-speaker-card,
  .contact-section,
  .organizer-tier,
  .funding-acknowledgment {
    animation: none;
  }

  .organizer-card:hover,
  .keynote-speaker-card:hover {
    transform: none;
  }

  .organizer-photo,
  .keynote-speaker-photo {
    transition: none;
  }
}

/* Contact text highlighting */
.highlight-text {
  background: linear-gradient(
    135deg,
    rgba(111, 199, 234, 0.15),
    rgba(0, 120, 148, 0.1)
  );
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.highlight-text:hover {
  background: linear-gradient(
    135deg,
    rgba(111, 199, 234, 0.2),
    rgba(0, 120, 148, 0.15)
  );
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Custom icons for organizer section headings only - not individual person names */
.contact-information-heading i,
.local-organizers-heading i,
.scientific-advisors-heading i,
.funding-acknowledgment-heading i {
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  margin-right: 12px;
}

/* About Section Styles */
.about-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-subsection {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 120, 148, 0.1);
}

.about-subsection-heading {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 40px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  position: relative;
  gap: 12px;
}

.about-subsection-heading:first-of-type {
  margin-top: 0;
}

.about-subsection-heading i {
  width: 24px;
  height: 24px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-size: 12px;
  margin-right: 0;
}

.about-subsection p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: left;
  max-width: none;
  line-height: 1.7;
  color: #444;
}

/* Mobile responsiveness for about sections */
@media (max-width: 768px) {
  .about-subsection {
    padding: 1rem;
  }

  .about-subsection-heading {
    font-size: 1.6rem;
    margin: 30px 0 15px 0;
    gap: 10px;
  }

  .about-subsection-heading:first-of-type {
    margin-top: 0;
  }

  .about-subsection-heading i {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .about-subsection p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Footer Styles */
.uoft-footer {
  background-color: var(--primary-color);
  padding: 20px 0;
  margin-top: 50px;
  border-top: 4px solid var(--accent-color);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-defy-gravity {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1); /* Make logo white */
  transition: var(--transition);
}

.footer-defy-gravity:hover {
  filter: brightness(0) invert(1) opacity(0.8);
  transform: scale(1.05);
}

.footer-links {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.footer-links a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

/* Footer responsive styles */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-defy-gravity {
    height: 60px;
  }
}

@media screen and (max-width: 480px) {
  .uoft-footer {
    padding: 15px 0;
  }

  .footer-content {
    padding: 0 15px;
  }

  .footer-links ul {
    gap: 12px;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
}

/* ===================================
   FLOATING NAVIGATION MENU STYLES
   =================================== */

/* Floating Navigation Container */
.floating-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999; /* Below top header but above content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.floating-nav.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.floating-nav.hide {
  transform: translateY(-50%) translateX(-100%);
}

/* Toggle Button */
.floating-nav-toggle {
  background: var(--primary-color);
  color: var(--light-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(30, 55, 101, 0.3);
  transition: all 0.3s ease;
  font-size: 18px;
  position: relative;
  z-index: 1001;
}

.floating-nav-toggle:hover {
  background: var(--secondary-color);
  box-shadow: 0 6px 16px rgba(0, 120, 148, 0.4);
  transform: scale(1.05);
}

.floating-nav-toggle:active {
  transform: scale(0.95);
}

/* Navigation Content */
.floating-nav-content {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-nav.expanded .floating-nav-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  pointer-events: all;
}

/* Navigation Panel (individual sections) */
.floating-nav-section {
  display: none;
}

.floating-nav-section.active {
  display: block;
}

/* Section Title */
.floating-nav-section h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-color);
}

/* Navigation List */
.floating-nav-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.floating-nav-section li {
  margin: 0 0 8px 0;
}

.floating-nav-section li:last-child {
  margin-bottom: 0;
}

/* Navigation Links */
.floating-nav-section a {
  display: block;
  color: var(--dark-color);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: all 0.3s ease;
  position: relative;
  border-left: 3px solid transparent;
}

.floating-nav-section a:hover {
  background: rgba(30, 55, 101, 0.08);
  color: var(--primary-color);
  border-left-color: var(--accent-color);
  transform: translateX(4px);
}

.floating-nav-section a.active {
  background: rgba(30, 55, 101, 0.12);
  color: var(--primary-color);
  border-left-color: var(--secondary-color);
  font-weight: 600;
}

.floating-nav-section a.active:hover {
  background: rgba(30, 55, 101, 0.15);
  border-left-color: var(--secondary-color);
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet breakpoint */
@media (max-width: 1024px) {
  .floating-nav {
    left: 15px;
  }

  .floating-nav-content {
    min-width: 220px;
    left: 55px;
  }

  .floating-nav-toggle {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* Mobile breakpoint */
@media (max-width: 768px) {
  .floating-nav {
    display: none !important; /* Hide on mobile to avoid clutter */
  }
}

/* Large screens - adjust positioning */
@media (min-width: 1400px) {
  .floating-nav {
    left: 40px;
  }

  .floating-nav-content {
    left: 70px;
    min-width: 280px;
  }

  .floating-nav-toggle {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }
}

/* Animation classes for JavaScript control */
.floating-nav.fade-in {
  animation: fadeInNav 0.5s ease forwards;
}

.floating-nav.fade-out {
  animation: fadeOutNav 0.5s ease forwards;
}

@keyframes fadeInNav {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes fadeOutNav {
  from {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
  to {
    opacity: 0;
    transform: translateY(-50%) translateX(-100%);
  }
}

/* Adaptive Logo Styles */
.adaptive-logo {
  display: block;
  width: 100% !important;
  max-width: 900px !important; /* Increased by 10% from 1200px */
  height: auto;
  margin: 0 auto 8px auto;
  object-fit: contain;
  filter: drop-shadow(
    2px 2px 4px rgba(0, 0, 0, 0.8)
  ); /* Shadow matching subtitle */
}

/* Medium screens */
@media (max-width: 1024px) {
  .adaptive-logo {
    max-width: 1030px; /* Increased by 10% from 936px */
  }
}

/* Tablet screens */
@media (max-width: 768px) {
  .adaptive-logo {
    max-width: 858px; /* Increased by 10% from 780px */
    width: 95vw; /* Increased from 90vw to accommodate larger logo */
  }
}

/* For narrow screens - switch to vertical logo */
@media (max-width: 700px) {
  .adaptive-logo {
    max-width: 601px; /* Increased by 10% from 546px */
    width: 85vw; /* Increased from 80vw to accommodate larger logo */
    margin-bottom: 6px;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .adaptive-logo {
    max-width: 481px; /* Increased by 10% from 437px */
    width: 90vw; /* Increased from 85vw to accommodate larger logo */
    margin-bottom: 5px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .adaptive-logo {
    max-width: 429px; /* Increased by 10% from 390px */
    width: 95vw; /* Increased from 90vw to accommodate larger logo */
    margin-bottom: 4px;
  }
}

/* Picture element - ensure no constraints */
.banner-title picture {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
