* {
  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;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  display: none;
  width: 90%;
  max-width: 1200px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 60px;
  text-align: center;
  animation: slideIn 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h1 {
  font-size: 3em;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.slide-content h2 {
  font-size: 2.2em;
  color: #3498db;
  margin-bottom: 30px;
  font-weight: 400;
}

.subtitle {
  font-size: 1.3em;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-style: italic;
}

.team-info {
  margin-top: 60px;
}

.team-info p {
  font-size: 1.1em;
  color: #34495e;
  margin: 10px 0;
}

/* Problem Stats */
.problem-stats {
  display: flex;
  justify-content: space-around;
  margin: 40px 0;
  flex-wrap: wrap;
}

.stat-box {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin: 10px;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.stat-box h3 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 1.1em;
  line-height: 1.4;
}

.problem-list {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.problem-list li {
  font-size: 1.2em;
  margin: 15px 0;
  padding-left: 20px;
  color: #2c3e50;
}

/* Architecture */
.architecture-container {
  margin: 40px 0;
}

.architecture-diagram {
  max-width: 60%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  max-width: 400px;
  height: auto;
  margin: 20px 0 50px 0;
}

.api-showcase {
  max-width: 85%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #ecf0f1;
}

/* API slide styling */
.api-intro {
  font-size: 1.3em;
  color: #34495e;
  margin: 30px 0 30px 0;
  line-height: 1.5;
  font-weight: 500;
}

.api-main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 20px 0;
}

.api-features-left {
  display: flex;
  flex-direction: column;
}

.api-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.api-feature {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: left;
}

.api-feature h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.api-feature p {
  font-size: 0.9em;
  line-height: 1.4;
}

.swagger-container-right {
  text-align: center;
}

.swagger-container-right h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.4em;
}

.api-endpoints {
  font-size: 1.1em;
  color: #7f8c8d;
  margin-top: 15px;
  font-style: italic;
  text-align: center;
}

/* Architecture slide styling */
.architecture-main-content {
  display: grid;
  grid-template-columns: 1fr 1.8fr; /* enlarged right column by 20% */
  gap: 30px;
  align-items: center;
  margin: 10px 0;
}

.architecture-description-left p {
  font-size: 1.3em;
  color: #34495e;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

.architecture-benefits {
  list-style: none;
  padding: 0;
}

.architecture-benefits li {
  padding: 12px 0;
  font-size: 1.1em;
  color: #2c3e50;
  border-bottom: 1px solid #ecf0f1;
}

.architecture-diagram-large {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.full-image-slide { padding:10px 10px 20px; }
.full-portal-image { max-width:95%; max-height:78vh; width:auto; height:auto; border-radius:15px; box-shadow:0 15px 35px rgba(0,0,0,0.15); border:2px solid #ecf0f1; }
/* Frontend slide styling */
.frontend-main-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  margin: 20px 0;
}

.frontend-intro {
  font-size: 1.2em;
  color: #34495e;
  margin-bottom: 25px;
  line-height: 1.5;
  font-weight: 500;
}

.frontend-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.frontend-feature {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  text-align: left;
}

.frontend-feature h3 {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.frontend-feature p {
  font-size: 0.9em;
  line-height: 1.4;
}

.frontend-showcase {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid #ecf0f1;
}

/* Demo section centered styling */
.demo-section-centered {
  text-align: center;
  margin: 60px 0;
}

.demo-section-centered h3 {
  color: #2c3e50;
  font-size: 2em;
  margin-bottom: 40px;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 500px;
  margin: 0 auto;
}

.demo-button-large, .github-button-large {
  display: inline-block;
  padding: 20px 40px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: all 0.3s ease;
  text-align: center;
}

.demo-button-large {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: white;
}

.github-button-large {
  background: linear-gradient(135deg, #2d3436, #636e72);
  color: white;
}

.demo-button-large:hover, .github-button-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.architecture-description {
  font-size: 1.3em;
  color: #34495e;
  margin-top: 30px;
  font-weight: 500;
}

/* Personas Grid */
.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.persona-card {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
  color: white;
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.persona-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.persona-card p:first-of-type {
  font-weight: bold;
  margin-bottom: 15px;
}

.persona-card p:last-of-type {
  line-height: 1.5;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: white;
  border: 2px solid #ecf0f1;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.feature-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.feature-card p {
  color: #7f8c8d;
  line-height: 1.5;
}

/* Impact Section */
.impact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.impact-column {
  text-align: left;
}

.impact-column h3 {
  color: #2c3e50;
  font-size: 1.4em;
  margin-bottom: 20px;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
}

.impact-column ul {
  list-style: none;
  padding: 0;
}

.impact-column li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #34495e;
  font-size: 1.1em;
}

.impact-column li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
  font-size: 1.2em;
}

/* Demo Section */
.demo-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin: 40px 0;
  text-align: left;
}

.demo-links {
  text-align: center;
}

.demo-links h3 {
  color: #2c3e50;
  margin-bottom: 30px;
}

.demo-button,
.github-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.demo-button {
  background: linear-gradient(135deg, #00b894, #00a085);
  color: white;
}

.github-button {
  background: linear-gradient(135deg, #2d3436, #636e72);
  color: white;
}

.demo-button:hover,
.github-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.next-steps h3 {
  color: #2c3e50;
  margin-bottom: 30px;
}

.phase {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.phase h4 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.phase p {
  color: #7f8c8d;
  line-height: 1.5;
}

/* Navigation */
.navigation {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 15px 20px;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.slide-counter {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  color: #2c3e50;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .slide {
    padding: 30px 20px;
    width: 95%;
  }

  .slide-content h1 {
    font-size: 2.2em;
  }

  .slide-content h2 {
    font-size: 1.8em;
  }

  .problem-stats {
    flex-direction: column;
    align-items: center;
  }

  .personas-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .impact-section {
    grid-template-columns: 1fr;
  }

  .demo-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .api-main-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .slide {
    padding: 20px 15px;
  }

  .slide-content h1 {
    font-size: 1.8em;
  }

  .navigation {
    bottom: 80px;
  }

  .slide-indicators {
    bottom: 30px;
  }
}
