/* ---------------------------- */
/* General Body Styling         */
/* ---------------------------- */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background: #fdf6e3; /* very light warm background for readability */
  color: #333;
  line-height: 1.6;
}

/* ---------------------------- */
/* Header Styling               */
/* ---------------------------- */
header {
  position: relative;
  background: linear-gradient(
    135deg,
    #8b1d18 0%,
    #b22222 45%,
    #f4c430 100%
  );
  color: white;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.35), transparent 45%);
  z-index: 0;
}

header * {
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

header h2 {
  margin: 10px 0 0;
  font-size: 2rem;
  font-weight: 600;
  color: #fff8dc;
}

header p {
  margin-top: 12px;
  font-size: 1.15rem;
  color: #fff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------------- */
/* Navigation Styling           */
/* ---------------------------- */
nav {
  background: #8b1d18;
  padding: 12px 0;
  text-align: center;
}

nav a {
  color: #fdf6e3;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #f4c430;
  text-decoration: underline;
}

/* ---------------------------- */
/* Section Styling              */
/* ---------------------------- */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.section h2 {
  color: #8b1d18;
  margin-bottom: 20px;
  font-size: 2rem;
}

.section p, 
.section li {
  font-size: 1rem;
  color: #333;
}

/* Lists Styling */
.section ul {
  padding-left: 20px;
}

/* ---------------------------- */
/* Schedule Table Styling       */
/* ---------------------------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.schedule-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: middle; /* ensures cells align nicely */
}

.schedule-table .date-row td {
  background-color: #f4c430; /* yellow */
  font-weight: bold;
  text-align: center;
  font-size: 1.1rem;
  padding: 12px;
  border-left: 1px solid #ccc;  /* keeps border consistent */
  border-right: 1px solid #ccc;
}

/* ---------------------------- */
/* Footer Styling               */
/* ---------------------------- */
footer {
  background: #8b1d18;
  color: #fdf6e3;
  text-align: center;
  padding: 30px;
  margin-top: 50px;
  font-size: 0.9rem;
}







.registration-card {
  background: #f4c430; /* bright yellow highlight */
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-weight: bold;
  font-size: 1.1rem;
}

.registration-card a {
  color: #8b1d18; /* deep red links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.registration-card a:hover {
  color: #fff;
  text-decoration: underline;
}

.section iframe {
  width: 100%;
  max-width: 100%;
  height: 250px;
  border: 0;
  border-radius: 8px;
  margin-top: 15px;
}

.location {
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 30px;
}

.location-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #000000; /* black text */
  margin-bottom: 2px;
}

.room-number {
  background-color: #8b1d18;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

#contact {
  text-align: center;
}

#contact h2 {
  color: #14213d;
  margin-bottom: 15px;
}

#contact p {
  font-size: 1rem;
  color: #333;
}

#contact a {
  color: #1f2a48;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  text-decoration: underline;
}

.back-to-top-container {
  text-align: center;
  margin: 30px 0;
}

.back-to-top {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(135deg, #f4c430, #8b1d18);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}








/* ---------------------------- */
/* Speaker Section */
/* ---------------------------- */
/* Section background */
.speakers-section {
  background-color: #ffffff;
  padding: 50px 20px;
}

/* Speaker list - grid layout */
.speaker-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr)); /* always 2 columns */
  gap: 20px;
  padding-top: 20px;
}

/* Rectangular speaker card */
.speaker-rect {
  display: flex;
  flex-direction: column;
  background: #f6f8fc;
  border-radius: 12px;
  border: 1px solid #e3e8f2;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.speaker-rect:hover {
  background: #eef2fb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Accent bar */
.speaker-accent {
  width: 100%;
  height: 5px;
  background: #8b1d18;
}

.speaker-img {
  width: 220px;
  height: 220px;
  object-fit: cover;      /* LinkedIn-style headshot crop */
  border-radius: 50%;     /* circular frame */
  margin: 16px auto 8px;  /* centered inside card */
  display: block;
}

/* Content */
.speaker-content {
  padding: 0.8rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Speaker name */
.speaker-content h3 {
  margin: 0 0 3px;
  font-size: 1.15rem;
  color: #8b1d18;
}

/* Role/affiliation */
.speaker-role {
  margin: 0 0 4px;
  color: #555;
  font-size: 0.85rem;
}

/* Topic */
.speaker-topic {
  font-weight: 600;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

/* Summary */
.speaker-summary {
  color: #444;
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: auto;
}

/* Links */
.scholar-link {
  color: #1a4fd8;
  text-decoration: none;
  font-weight: 500;
}

.scholar-link:hover {
  text-decoration: underline;
  color: #0b2a80;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .speaker-img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .speaker-img {
    width: 90px;
    height: 90px;
  }

  .speaker-summary {
    font-size: 0.75rem;
  }
}









/* ============================ */
/* Organizers Section           */
/* ============================ */

.organizer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 20px auto 0;
}

/* Organizer card */
.organizer-card {
  background: #fdf6e3;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Organizer photo — circular headshot */
.organizer-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;     /* LinkedIn-style crop */
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
}

/* Organizer name */
.organizer-card h3 {
  margin: 10px 0 5px;
  font-size: 1.15rem;
  color: #8b1d18;
}

/* Organizer text */
.organizer-card p {
  margin: 3px 0;
  font-size: 0.9rem;
  color: #333;
}

/* Organizer links (if any) */
.organizer-card a {
  color: #b22222;
  text-decoration: none;
  font-weight: bold;
}

.organizer-card a:hover {
  text-decoration: underline;
}


/* Responsive Refinements       */
@media (max-width: 768px) {
  .organizer-photo {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  .organizer-photo {
    width: 120px;
    height: 120px;
  }

  .section {
    padding: 35px 15px;
  }
}













/* ---------------------------- */
/* Left-side Floating Navigation - Minimal Style */
/* ---------------------------- */
.floating-nav-left {
  position: fixed;               /* floats while scrolling */
  top: 50%;                      /* vertical center of viewport */
  left: 120px;                     /* distance from left edge */
  transform: translateY(-50%);    /* true vertical center */
  display: none;                  /* hidden initially, JS will show */
  flex-direction: column;
  gap: 14px;
  background: transparent;        /* no solid block */
  padding: 0;                     /* no padding */
  z-index: 1000;
}

/* Links inside nav */
.floating-nav-left a {
  color: #8b1d18;                /* deep red text */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;               /* readable size */
  padding: 4px 8px;              /* small padding for hover area */
  border-radius: 4px;
  display: block;
  transition: color 0.2s, transform 0.2s;
}

/* Hover effect */
.floating-nav-left a:hover {
  color: #000000;                /* black highlight on hover */
  transform: translateX(2px);    /* subtle movement */
}

/* Optional: active section styling */
.floating-nav-left a.active {
  color: #b22222;                /* slightly darker red for active */
}

/* Hide nav on smaller screens */
@media (max-width: 900px) {
  .floating-nav-left {
    display: none;
  }
}

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

