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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.4;
  overflow: hidden;
  cursor: pointer;
}

/* Full screen styles */
.presentation-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2vh 2.5vw;
}

.slide {
  background: white;
  border-radius: 15px;
  width: 90%;
  height: 85%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  opacity: 0;
  animation: slideIn 0.6s ease forwards;
  display: none;
  overflow: hidden;
  position: relative;
}

.slide.active {
  display: flex;
  flex-direction: column;
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* intro */
#intro {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
}
.book-card {
  background: white;

  border-radius: 8px;
  width: 50%;
  height: auto;
  border: #034e5a 4px inset;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.book-card img {
  width: 100%;
  height: 100%;
}

.presenter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  width: 50%;
  height: auto;
  border: #034e5a 4px inset;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.presenter-card img {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: rgb(48, 1, 94);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.presenter-card h4 {
  color: #034e5a;
  font-size: min(2.5vw, 1.6em);

  font-weight: bold;
  font-size: 25px;
}

/* Main slide container */
.slide-content {
  width: 85%;
  height: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5vh 0;
}

.slide h1 {
  color: #2c3e50;
  font-size: min(2.2vw, 1.8em);
  margin-bottom: 1vh;
  text-align: center;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5vh;
  flex-shrink: 0;
}

.slide h2 {
  color: #34495e;
  font-size: min(2.5vw, 1.6em);
  margin-bottom: 1vh;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.slide h2::before {
  content: "→";
  color: #3498db;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.1em;
}

.slide h3 {
  color: #2980b9;
  font-size: min(1.8vw, 1.2em);
  margin: 1vh 0 0.5vh 0;
}

.slide h4 {
  color: #34495e;
  font-size: min(1.6vw, 1.1em);
  margin: 0.5vh 0;
}

.slide p,
.slide li {
  font-size: min(1.4vw, 0.95em);
  line-height: 1.3;
  margin: 0.3vh 0;
}

.content-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-height: 0;
}

.content-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1vh 1.5vw;
  border-radius: 8px;
  border-left: 4px solid #3498db;
  margin: 0.5vh 0;
}

.highlight {
  background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
  padding: 1vh 1.5vw;
  border-radius: 6px;
  font-weight: 600;
  margin: 0.5vh 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 30vw), 1fr));
  gap: 1vw;
  margin: 1vh 0;
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1vh 0.8vw;
  border-radius: 8px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: scale(1);
}

.stat-number {
  font-size: min(2.5vw, 1.4em);
  font-weight: bold;
  display: block;
  margin-bottom: 0.2vh;
}

.stat-card p {
  font-size: min(1.2vw, 0.85em);
  margin: 0;
}

.navigation {
  position: fixed;
  bottom: 2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.nav-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: min(1.6vw, 14px);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slide-counter {
  position: fixed;
  top: 2vh;
  right: 2vw;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8vh 1.5vw;
  border-radius: 15px;
  font-weight: 600;
  color: #2c3e50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: min(1.6vw, 14px);
}

.control-buttons {
  position: fixed;
  top: 2vh;
  left: 2vw;
  display: flex;
  gap: 8px;
  z-index: 1000;
}

.control-btn {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
  background: white;
  transform: scale(1.1);
}

.progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(59, 202, 31, 0.429);
  z-index: 1000;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #511e3f 0%, #c59dee 100%);
  transition: width 0.3s ease;
  width: 0%;
}

.click-indicator {
  position: fixed;
  width: 50px;
  height: 50px;
  background: rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.click-indicator.show {
  transform: scale(1);
}

ul {
  margin-left: 15px;
  list-style-type: none;
}

li {
  margin: 0.5vh 0;
  position: relative;
  padding-left: 15px;
}

li::before {
  content: "▸";
  color: #3498db;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 40vw), 1fr));
  gap: 1vw;
  margin: 1vh 0;
}

.method-card {
  background: white;
  border: 2px solid #e3f2fd;
  border-radius: 8px;
  padding: 1vh 1vw;
  text-align: center;
}

.timeline {
  position: relative;
  margin: 1vh 0;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #3498db, #2980b9);
}

.timeline-item {
  position: relative;
  margin: 1vh 0;
  padding: 1vh 1.5vw;
  background: #f8f9fa;
  border-radius: 6px;
  margin-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: #3498db;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #3498db;
}

.future-research {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
  color: #2c3e50;
  padding: 1.5vh 1.5vw;
  border-radius: 10px;
  margin: 1vh 0;
}

.help-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.help-content {
  background: white;
  padding: 3vh 3vw;
  border-radius: 12px;
  max-width: 500px;
  text-align: center;
}

.help-content h3 {
  margin-bottom: 1.5vh;
  color: #2c3e50;
}

.help-content ul {
  text-align: left;
  margin: 1.5vh 0;
}

.help-close {
  background: #3498db;
  color: white;
  border: none;
  padding: 0.8vh 1.5vw;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1.5vh;
}

/* Two-column layout for complex slides */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
  height: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

/* Compact spacing for content-heavy slides */
.compact .content-box,
.compact .highlight,
.compact .timeline-item {
  margin: 0.3vh 0;
  padding: 0.8vh 1.2vw;
}

.compact h3 {
  margin: 0.5vh 0 0.3vh 0;
}

.compact p,
.compact li {
  margin: 0.2vh 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slide {
    width: 95%;
    height: 90%;
  }

  .slide-content {
    width: 90%;
    height: 95%;
  }

  .methodology-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1vh;
  }

  .control-buttons {
    top: 1vh;
    left: 1vw;
  }

  .slide-counter {
    top: 1vh;
    right: 1vw;
  }
}

@media (max-height: 600px) {
  .slide h1 {
    font-size: min(2vw, 1.4em);
    margin-bottom: 0.5vh;
  }

  .slide h2 {
    font-size: min(2.2vw, 1.3em);
  }

  .content-box,
  .highlight,
  .timeline-item {
    padding: 0.5vh 1vw;
    margin: 0.2vh 0;
  }
}
.thank-you-card {
  background: linear-gradient(135deg, #0c3929 0%, #031a35 100%);
  padding: 2vh 2vw;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#thank-you {
  color: #cde1f5;
  font-size: min(2.5vw, 2.8em);
  text-align: center;
  margin-top: 20px;
}
