/* Reset default margins */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Basic font and background */
body {
  font-family: "bookman old style", Verdana, Geneva, Tahoma, sans-serif;
  background: #f5f7fa;
  color: #7f0070;
  display: flex;
  flex-direction: column;
}

/* ============================= */
/* HEADER (Logos + Title + Event Details) */
/* ============================= */
.header {
  text-align: center;
  padding: 15px 20px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}
.header-top .title {
  flex-grow: 1;
  text-align: center;
}

.logo-group {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 5px;
  gap: 10px;
}

.logo-group img {
  max-height: 500px;
  width: 170px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-group img:hover {
  transform: scale(1);
  opacity: 0.9;
}
.logo-group-others img {
  transition: transform 0.5s ease;
  margin-bottom: -45px;
  margin-top: -40px;
}


.logo-group-others img:hover {
  transform: scale(1.1);
  /* zoom effect */
}


.header .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: fit-content;
  flex-wrap: nowrap;
  margin-top: 0px;
  /* reduce space above title */

}

.header .title .conference-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.header .title .conference-logo:hover {
  transform: scale(1.1);
}

.header .title h1 {
  margin-top: 5px;
  margin-bottom: 0px;
  font-size: 2.2rem;
  color: #6e007f;
  font-weight: 700;
  line-height: 1.2;
}

.header .title h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 2.2rem;
  color: #666666;
  font-weight: 500;
  
}

.divider {
  border: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 15px auto;
  max-width: 90%;
}

.event-details {
  font-family: "arial narrow";
  margin-top: 15px;
  margin-right: 0;
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #08666f;
}

.event-details p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 500;
}

/* Responsive: stack elements on smaller screens */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
  }
  .logo-group {
    justify-content: center;
    gap: 15px;
  }
  .header .title {
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px;
  }
  .header .title h1 {
    font-size: 1.5rem;
  }
  .header .title h2 {
    font-size: 0.95rem;
  }
  .event-details {
    font-size: 0.9rem;
  }
  .logo-group img {
    max-height: 60px;
  }
  .header .title .conference-logo {
    max-height: 80px;
  }
}

/* Navigation bar */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #ffa500;
  padding: 14px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ff6f61;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #00467f;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* Ticker styling */
.ticker-wrap {
  overflow: hidden;
  background: #00467f;
  color: #ffffff;
  white-space: nowrap;
  padding: 10px 0;
  min-height: 30px;
  z-index: 5;
}

.ticker {
  display: inline-block;
  animation: scroll-left 20s linear infinite;
}

.ticker span {
  display: inline-block;
  padding: 0 40px;
  font-size: 1.15rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.ticker:hover {
  animation-play-state: paused;
}
.ticker a {
  color: #ffffff !important;
  text-decoration: none;
}

.ticker a:hover {
  text-decoration: underline;
}


@keyframes scroll-left {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
  transform: scale(1);
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.05);
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
}

/* Gradient overlay for slider images */
.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 0;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: cover;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 0;
}

/* Slider and Banner captions */
.slider .caption,
.banner .caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 123, 255, 0.3);
  /* Transparent blue overlay */
  color: white;
  padding: 15px 30px;
  border-radius: 2px;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  z-index: 1;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Tablet adjustments */
@media (max-width: 768px) {
  .slider,
  .banner {
    max-height: 40vh;
  }
  .slider .caption,
  .banner .caption {
    font-size: 1.8rem;
    padding: 12px 20px;
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .slider,
  .banner {
    max-height: 30vh;
  }
  .slider .caption,
  .banner .caption {
    font-size: 1.3rem;
    padding: 8px 15px;
  }
}

.slider .caption small,
.banner .caption small {
  display: block;
  font-size: 1rem;
  margin-top: 0px;
  font-weight: 400;
  opacity: 0.9;
}

/* Welcome section */
.welcome {
  padding: 60px 20px;
  background: #ffffff;
  text-align: left;
  animation: fadeInSection 1s ease-in;
}

@keyframes fadeInSection {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome h2 {
  font-size: 2.2rem;
  max-width: 100rem;
  margin: 10px auto 0px auto;
  color: #00467f;
  font-weight: 700;
  text-align: center;
  border-bottom: 5px solid #cccccc00;
  display: block;
  padding-bottom: 2px;
  text-transform: uppercase;
}

.welcome h3 {
  font-size: 2rem;
  max-width: 100rem;
  margin: 24px auto 16px auto;
  color: white;
  background-color: #00467f;
  font-weight: 600;
  text-align: left;
  display: block;
  padding: 8px 8px;
}

.welcome h3:first-child {
  margin-bottom: 10px;
}

.welcome p {
  font-size: 1.25rem;
  color: #333;
  font-weight: 400;
  max-width: 100rem;
  margin: 0 auto;
  padding: 20px;
  line-height: 1.6;
  text-align: justify;
}

.welcome ul {
  columns: 2;
  column-gap: 40px;
  max-width: 82rem;
  margin: 0 auto;
  padding-left: 24px;
}

.welcome li {
  font-size: 1.25rem;
  color: #333;
  font-weight: 400;
  line-height: 1.6;
  break-inside: avoid;
}

.sponsors-details h3 {
  font-size: 2rem;
  max-width: 100rem;
  margin: 24px auto 16px auto;
  color: rgb(5, 1, 245);
  background-color: #c2c5c8;
  font-weight: 600;
  text-align: center;
  display: block;
  padding: 8px;
}

.sponsors-details p {
  max-width: 100rem;
  margin: 10px auto;
  font-size: 2rem;
  text-align: center;
}

.sponsor-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  /* fixed box size */
  height: 160px;
  /* fixed box size */
  transition: transform 0.2s ease;
}

.sponsor-box:hover {
  transform: scale(1.05);
}

.sponsor-box img {
  max-width: 150px;
  /* force logos to fit within */
  max-height: 150px;
  /* keeps logo size uniform */
  object-fit: contain;
  /* ensures no distortion */
}

.grey-strip {
  width: 100%;
  /* full width */
  height: 50px;
  /* adjust height as needed */
  background-color: #c2c5c8;
  /* light grey color */
  margin: 20px 0;
  /* spacing above and below */
}


.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

/* Calculate line height from first to last circle */
.timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  /* center of first circle */
  left: 50%;
  width: 5px;
  height: calc(100% - 100px);
  /* total container height minus first & last circle offset */
  background: #0832ec;
  transform: translateX(-50%);
}

/* Event boxes */
.event {
  position: relative;
  width: 50%;
  padding: 20px 30px;
  box-sizing: border-box;
}

/* Odd events on left */
.event:nth-child(odd) {
  left: 0;
  text-align: right;
}

/* Even events on right */
.event:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Circles for timeline points */
.event::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: #d01238;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #042ff0;
  z-index: 1;
}

/* Position circles depending on side */
.event:nth-child(odd)::before {
  right: -15px;
}

.event:nth-child(even)::before {
  left: -15px;
}

/* Headings and text styling */
.event h3 {
  margin: 0 0 10px 0;
  font-size: 25px;
  font-weight: bold;
  color: #4f0bf0;
}

.event p {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
  color: #ea0f0f;
}

.old-date {
  position: relative;
  color: #4f0bf0;
  /* keep original text color */
}

.old-date::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 3px;
  background-color: #ff0000;
}

.new-date {
  color: #4f0bf0;
  font-weight: bold;
  white-space: nowrap
}
.hard-deadline {
  color: red;
  /* change to any colour */
  font-weight: bold;
}

/* Timeline heading */
.timeline-heading h2 {
  text-align: center;
  font-size: 30px;
  color: #1238e2;
  margin-bottom: 50px;
}

.countdown {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown h4 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
  background-color: #00467f;
  display: inline-block;
  padding: 8px 16px;
}

.timer {
  font-size: 3rem;
  letter-spacing: 3px;
  padding: 20px 40px;
  margin-bottom: 32px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: #00467f;
}

@media (max-width: 700px) {
  .welcome ul {
    columns: 1;
    column-gap: 0;
  }
}

/* Conference details section */
.conference-details {
  padding: 40px 20px;
  background: #ffffff;
  text-align: left;
  max-width: 100rem;
  margin: 0 auto;
}

.conference-details h3 {
  font-size: 1.8rem;
  color: #00467f;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: justify;
}

.conference-details p {
  font-size: 1.25rem;
  color: #333333;
  line-height: 1.9;
  margin-bottom: 20px;
}

.conference-details ul {
  list-style-type: disc;
  margin-left: 40px;
  font-size: 1.25rem;
  color: #333333;
  line-height: 1.9;
}

.conference-details ul li {
  margin-bottom: 10px;
}

/* Map section (for contact.html) */
.map-section {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
  max-width: 85rem;
  margin: 0 auto;
}

.map-section h2 {
  font-size: 2rem;
  color: #00467f;
  margin-bottom: 10px;
  font-weight: 700;
}

.map-section p {
  font-size: 1.25rem;
  color: #2b2d42;
  line-height: 1.9;
  margin-bottom: 10px;
}

.map-section iframe {
  border-radius: 8px;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  height: 450px;
  border: none;
}

/* Responsive map adjustments */
@media (max-width: 768px) {
  .map-section iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .map-section iframe {
    height: 250px;
  }
  .map-section h2 {
    font-size: 1.8rem;
  }
  .map-section p {
    font-size: 1.1rem;
  }
}

/* Footer */
footer {
  background: #2b2d42;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 1rem;
}

.social-links {
  margin-top: 12px;
}

.social-links a {
  color: #ff6f61;
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffffff;
}

.tracks li {
  /* font-weight: 500; */
  /* color: #444; */
  /* font-family: serif; */
  /* font-size: 16px; */
  margin-bottom: 4px;
}

.welcome .author-ps {
  font-weight: 600;
  color: #863c00;
  /* font-family: serif; */
  line-height: 1.4;
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 4px;
}

/* Registration + Important Dates Layout */
.registration-dates-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  max-width: 95vw; /* Spans nearly full viewport width */
  margin: 40px auto;
  padding: 20px;
  background: #f5f7fa; /* Matches body background */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow from header */
}

/* Table Styling */
.registration-table {
  flex: 1.5; /* Wider table */
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.registration-table:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.registration-table h3 {
  font-size: 2rem;
  color: #00467f; /* Dark blue from website theme */
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.registration-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff; /* White background for clean look */
  border-radius: 10px;
  overflow: hidden;
}

.registration-table th {
  background: #00467f; /* Dark blue header */
  color: #ffffff;
  padding: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.registration-table td {
  border: 1px solid #ddd; /* Light gray border */
  padding: 10px;
  text-align: center;
  font-size: 1rem;
  color: #333333; /* Dark text for readability */
  transition: background 0.2s ease;
}

.registration-table td:hover {
  background: #ffa500; /* Orange hover effect */
  color: #ffffff;
}

.registration-table tr:nth-child(even) {
  background: #f7f7f7; /* Light gray alternating rows */
}

/* Important Dates */
.important-dates {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* Prevents content from spilling out */
}

.important-dates:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.important-dates h3 {
  font-size: 2rem;
  color: #00467f; /* Dark blue from website theme */
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.important-dates ul {
  list-style: none;
  padding: 0;
  margin: 0; /* Ensures no extra margins cause overflow */
}

.important-dates li {
  background: #f7f7f7; /* Light gray background */
  margin-bottom: 12px;
  padding: 12px 15px 12px 40px; /* Adjusted padding to accommodate icon */
  border-radius: 8px;
  font-size: 1.1rem;
  color: #333333; /* Dark text */
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
  border-left: 4px solid #ffa500; /* Orange accent */
  box-sizing: border-box; /* Ensures padding doesn't cause overflow */
}

.important-dates li:hover {
  background: #ff6f61; /* Coral hover effect */
  color: #ffffff;
  transform: translateX(5px);
}

.important-dates li::before {
  content: "\f073"; 
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #00467f; /* Dark blue icon */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem; 
}
.important-notes {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 2px solid #e0e7ff;
}

.important-notes h3 {
  color: #3a0ca3;
  margin-bottom: 10px;
}

.important-notes ul {
  padding-left: 18px;
}

.important-notes li {
  margin-bottom: 6px;
  font-size: 14.5px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .registration-dates-section {
    flex-direction: column;
    max-width: 90vw;
    padding: 15px;
  }
  .registration-table, .important-dates {
    width: 100%;
    margin-bottom: 20px;
  }
  .registration-table h3, .important-dates h3 {
    font-size: 1.8rem;
  }
  .registration-table th {
    font-size: 1rem;
    padding: 8px;
  }
  .registration-table td {
    font-size: 0.95rem;
    padding: 8px;
  }
  .important-dates li {
    font-size: 1rem;
    padding: 10px 12px 10px 35px; 
  }
  .important-dates li::before {
    left: 8px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .registration-dates-section {
    max-width: 92vw;
    padding: 10px;
  }
  .registration-table, .important-dates {
    padding: 15px;
  }
  .registration-table h3, .important-dates h3 {
    font-size: 1.6rem;
  }
  .registration-table th {
    font-size: 0.9rem;
    padding: 6px;
  }
  .registration-table td {
    font-size: 0.85rem;
    padding: 6px;
  }
  .important-dates li {
    font-size: 0.95rem;
    padding: 8px 10px 8px 30px; 
  }
  .important-dates li::before {
    left: 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .registration-dates-section {
    max-width: 95vw;
    padding: 8px;
  }
  .registration-table, .important-dates {
    padding: 10px;
  }
  .registration-table h3, .important-dates h3 {
    font-size: 1.4rem;
  }
  .registration-table table {
    font-size: 0.8rem;
  }
  .registration-table th {
    font-size: 0.8rem;
    padding: 5px;
  }
  .registration-table td {
    font-size: 0.75rem;
    padding: 5px;
  }
  .important-dates li {
    font-size: 0.9rem;
    padding: 6px 8px 6px 25px; 
  }
  .important-dates li::before {
    left: 6px;
    font-size: 0.8rem;
  }
 
  .registration-table {
    overflow-x: auto;
  }
  .registration-table table {
    min-width: 500px; 
  }
}
.accommodation-contact {
  display: flex;
  flex-wrap: nowrap;
  /* Prevents wrapping to ensure side-by-side */
  gap: 40px;
  /* Increased gap for better separation */
  justify-content: center;
  margin: 60px auto;
  max-width: 95vw;
  /* Wider layout to cover more width */
  padding: 20px;
}

.card {
  flex: 1 1 100%;
  /* Each card takes ~50% width to enforce side-by-side */
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  /* Light blue-white gradient */
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 70, 127, 0.1);
  /* Subtle dark blue shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 450px;
  /* Minimum width to ensure side-by-side on larger screens */
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, transparent 70%);
  z-index: 0;
  transition: transform 0.5s ease;
 
      pointer-events: none;
  transform: scale(1);
}

.card:hover::before {
  transform: scale(1.2);
  
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 70, 127, 0.15);
}

.card h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #00467f;
  /* Dark blue */
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.card h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #ffa500;
  /* Orange accent */
  transition: width 0.3s ease;
}

.card:hover h3::after {
  width: 60px;
  

}

.accommodation ul {
  padding-left: 25px;
  line-height: 1.8;
  color: #333333;
  position: relative;
  z-index: 1;
}

.accommodation li {
  font-size: 5rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

.accommodation li::before {
  content: '\2022';
  /* Bullet */
  color: #ffa500;
  /* Orange */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Coming Soon Section */
.coming-soon {
  text-align: center;
  padding: 60px 20px;
  margin: 50px auto;
  max-width: 900px;
  background: #ffffff;
  border: 2px solid #4caf50;  /* matches green accent */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.coming-soon h2 {
  font-size: 2rem;
  color: #2e7d32;   /* dark green like your table headings */
  margin-bottom: 15px;
  font-weight: 700;
}

.coming-soon p {
  font-size: 1.1rem;
  color: #444;      /* same as your body text */
  font-weight: 500;
}

/* Conference Record Box */
.conference-record {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: #e6aa5c;
  padding: 25px;
  width: 350px;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.conference-record h3 {
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #333;
}

.conference-record p {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 500;
  color: #444;
}

.conference-record a {
  display: inline-block;
  margin-top: 10px;
  font-size: 17px;
  color: #0047ff;
  text-decoration: underline;
}

/* Keynote Speaker Page Styling */
/* =============================== */

.keynote-section {
    padding: 50px 20px;
    background: #f5f7fa;
    text-align: center;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #00467f;
    margin-bottom: 40px;
}

.speaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 90%;
    margin: auto;
}

.speaker-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.speaker-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #7f0070;
    margin-bottom: 10px;
}

.speaker-role {
    font-size: 1rem;
    font-weight: 600;
    color: #00467f;
    font-style: italic;
    margin-bottom: 15px;
}

.speaker-topic {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 20px;
    padding: 0 10px;
}

.speaker-bio {
    text-decoration: none;
    font-weight: 700;
    color: #0066cc;
    font-size: 1rem;
}

.speaker-bio:hover {
    color: #00467f;
}

/* Keynote Speaker Cards */ .speaker-bio-btn {
  background: #00467f;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
}

.speaker-bio-btn:hover {
  background: #002f5a;
}

/* Bio Modal */
.bio-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  /* cleaner full-screen coverage */
  background: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  /* ⭐ allows modal to scroll fully */
  padding: 40px 0;
}

.bio-content {
  background: white;
  margin: auto;
  padding: 25px;
  border-radius: 12px;
  width: 60%;
  max-width: 900px;
  max-height: 85vh;
  /* ⭐ box stops growing */
  overflow-y: auto;
  /* ⭐ inner scroll */
  scroll-behavior: smooth;
  animation: fadeIn 0.4s ease;
}

.bio-content h2 {
  color: #7f0070;
  margin-bottom: 15px;
  text-align: center;
}

.bio-content p {
  color: #333;
  line-height: 1.5;
  font-size: 1.1rem;
  text-align: justify;
}

.close-btn {
  float: right;
  font-size: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
}

.close-btn:hover {
  color: #cc0000;
}

@media (max-width: 600px) {
  .bio-content {
    width: 90%;
    padding: 18px;
  }
}

.bio-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

