/* =========================
   Base & Reset
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f9f9;
  color: #333;
  display: flex;
}

/* =========================
   Sidebar Navigation
========================= */

.sidebar {
  width: 240px;
  height: 100vh;
  background-color: #00502b; /* WUR green */
  position: fixed;
  top: 0;
  left: 0;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
}

/* Logo / Title */
.logo {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 2.5rem;
}

/* Menu */
.side-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  margin-bottom: 1.1rem;
}

.side-menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

/* Hover */
.side-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Active (scroll-spy) */
.side-menu a.active {
  background-color: #73a839;
  color: #ffffff;
}

/* =========================
   Decorative Circles
========================= */

.circle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
}

.circle.small {
  width: 60px;
  height: 60px;
  bottom: 90px;
  left: 30px;
}

.circle.medium {
  width: 120px;
  height: 120px;
  bottom: -40px;
  left: 110px;
}

/* =========================
   Main Content Area
========================= */

.main-content {
  margin-left: 240px;
  padding: 2.5rem 3rem;
  width: calc(100% - 240px);
}

/* =========================
   Sections
========================= */

.section {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 14px;
  margin-bottom: 3rem;

  /* Improves anchor positioning */
  scroll-margin-top: 40px;

  /* Helps scroll-spy accuracy */
  min-height: 80vh;
}

/* Hero Section */
.hero {
  background-color: #73a839;
  color: #ffffff;
  border-radius: 18px;
}

.hero h1 {
  margin-top: 0;
  font-size: 2.8rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Section Headings */
.section h2 {
  color: #00502b;
  margin-top: 0;
}

/* Lists */
.section ul {
  padding-left: 1.2rem;
}

.section li {
  margin-bottom: 0.6rem;
}

/* =========================
   Footer
========================= */

.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 4rem;
}

/* =========================
   Responsive
========================= */

@media (max-width: 900px) {
  .sidebar {
    width: 200px;
  }

  .main-content {
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
  }

  .side-menu {
    display: flex;
    gap: 1rem;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .circle {
    display: none;
  }
}

/* =========================
   Section Entry Animation
========================= */

.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Mobile Sidebar Toggle
========================= */

.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  background: #00502b;
  color: #fff;
  border: none;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  z-index: 200;
  cursor: pointer;
}

@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    height: 100vh;
  }

  .sidebar.open {
    transform: translateX(0);
  }
}

/* =========================
   Sticky Section Indicator
========================= */

.section-indicator {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #00502b;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 150;
  opacity: 0.9;
}

/* =========================
   Timeline
========================= */

.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #73a839;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -3px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #00502b;
  border-radius: 50%;
}

.timeline-content {
  background: #f7f9f9;
  padding: 1rem 1.2rem;
  border-radius: 10px;
}

/* =========================
   Program Table
========================= */

.program-table-wrapper {
  overflow-x: auto;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.program-table thead {
  background-color: #00502b;
  color: #ffffff;
}

.program-table th,
.program-table td {
  padding: 0.9rem 1rem;
  text-align: left;
}

.program-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
}

.program-table tbody tr:hover {
  background-color: #f2f6f4;
}

.program-table th {
  font-weight: 600;
}

/* Mobile-friendly */
@media (max-width: 600px) {
  .program-table {
    font-size: 0.85rem;
  }
}

/* =========================
   Google Map
========================= */

.map-container {
  margin-top: 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ddd;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* =========================
   Registration Form
========================= */

.registration-form {
  max-width: 600px;
  margin-top: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.form-group label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #00502b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #73a839;
}

.btn-primary {
  background-color: #00502b;
  color: #ffffff;
  border: none;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #73a839;
}

/* Program tabs */
.program-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  background: #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
}

.tab-btn.active {
  background: #00502b;
  color: white;
}

.program-day {
  display: none;
}

.program-day.active {
  display: block;
}


/* =========================
   Venue Layout
========================= */

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.small-map iframe {
  height: 250px;
}

@media (max-width: 768px) {
  .venue-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Speakers
========================= */

.speaker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.speaker-card {
  text-align: center;
  background: #f7f9f9;
  padding: 1.5rem;
  border-radius: 16px;
}

.speaker-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.speaker-card h3 {
  margin-bottom: 0.2rem;
  color: #00502b;
}

.affiliation {
  font-size: 0.85rem;
  color: #666;
}

.bio {
  font-size: 0.9rem;
}


/* =========================
   Submission Section
========================= */

.submission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.submission-card {
  background: #f7f9f9;
  padding: 1.5rem;
  border-radius: 14px;
  border-left: 6px solid #73a839;
}

.submission-card h3 {
  margin-top: 0;
  color: #00502b;
}

.subsection-title {
  margin-top: 3rem;
  color: #00502b;
}

.submission-steps {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.submission-steps li {
  margin-bottom: 0.6rem;
}

/* =========================
   Contact Section
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: #f7f9f9;
  padding: 1.5rem;
  border-radius: 14px;
}

.contact-card h3 {
  margin-top: 0;
  color: #00502b;
}

.contact-card a {
  color: #00502b;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   Registration Pricing
========================= */

.price-box {
  background: #f7f9f9;
  padding: 1.2rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  border-left: 6px solid #73a839;
}

.price-box p {
  margin: 0.4rem 0;
  font-size: 1rem;
}
