/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f8fc;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* Slideshow */
.slideshow-container {
  position: relative;
  max-width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

/* Text Overlay on Slideshow */
.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 25px;
  border-radius: 8px;

  /* Animation */
  opacity: 0;
  animation: fadeZoom 3s infinite;
  transition: color 0.8s ease-in-out; /* smooth color change */
}

@keyframes fadeZoom {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

/* Quote Box */
.quote-box {
  text-align: center;
  background: #1976d2;
  color: #fff;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 8px;
  font-size: 18px;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Table */
.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

thead {
  background: #1976d2;
  color: #fff;
}

th, td {
  padding: 12px 15px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background: #f9f9f9;
}

tbody tr:hover {
  background: #eef3fc;
}

a {
  color: #1976d2;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .slideshow-container {
    height: 220px;
  }

  .slide img {
    height: 220px;
  }

  .slideshow-text {
    font-size: 1.5rem;
    padding: 8px 15px;
  }

  .quote-box {
    font-size: 16px;
    padding: 12px;
  }

  th, td {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .slideshow-text {
    font-size: 1.2rem;
    padding: 6px 12px;
  }

  .quote-box {
    font-size: 14px;
  }
}
