/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  padding: 20px 0 40px;
  text-align: center;
}

/* Slideshow Container */
.slideshow-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(46, 134, 171, 0.15);
  border: 1px solid var(--gray-200);
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.6s ease-in-out;
  transform: translateX(0);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.slide-enter-right {
  transform: translateX(100%);
}

.slide.slide-enter-left {
  transform: translateX(-100%);
}

.slide.slide-exit-right {
  transform: translateX(100%);
}

.slide.slide-exit-left {
  transform: translateX(-100%);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide Caption */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 40px 30px 20px;
  text-align: center;
}

.slide-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
               0 0 8px rgba(0, 0, 0, 0.6),
               1px 1px 2px rgba(0, 0, 0, 1);
}

.slide-description {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8),
               0 0 6px rgba(0, 0, 0, 0.6),
               1px 1px 2px rgba(0, 0, 0, 1);
}


/* Dots Indicator */
.dots-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.dot.active {
  background-color: var(--white);
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Welcome Section */
.welcome-section {
  padding: 60px 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.welcome-title {
  font-size: 32px;
  color: var(--gray-800);
  margin-bottom: 16px;
  font-weight: 600;
}

.welcome-subtitle {
  font-size: 24px;
  color: var(--primary-blue);
  margin-bottom: 32px;
  font-weight: 500;
}

.welcome-description {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-message {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
  color: var(--white);
  padding: 20px 32px;
  border-radius: 8px;
  display: inline-block;
  font-size: 16px;
  font-style: italic;
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

/* Research Highlights Section */
.highlights-section {
  padding: 60px 20px;
  background: var(--gray-100);
}

.section-title {
  font-size: 28px;
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  background: var(--white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.1);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(46, 134, 171, 0.2);
  border-color: var(--primary-blue);
}

.highlight-icon {
  font-size: 48px;
  color: var(--primary-blue);
  margin-bottom: 16px;
}

.highlight-title {
  font-size: 20px;
  color: var(--gray-800);
  margin-bottom: 12px;
  font-weight: 600;
}

.highlight-description {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* Loading Animation */
.slide img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide img[loading="lazy"].loaded {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 10px 0 30px;
  }
  
  .slides-wrapper {
    height: 350px;
  }
  
  .slide-title {
    font-size: 20px;
  }
  
  .slide-description {
    font-size: 14px;
  }
  
  .slide-caption {
    padding: 30px 20px 15px;
  }
  
  
  .welcome-title {
    font-size: 24px;
  }
  
  .welcome-subtitle {
    font-size: 20px;
  }
  
  .welcome-description {
    font-size: 16px;
  }
  
  .cta-message {
    font-size: 14px;
    padding: 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 5px 0 20px;
  }
  
  .slides-wrapper {
    height: 300px;
  }
  
  .slide-title {
    font-size: 18px;
  }
  
  .slide-description {
    font-size: 13px;
  }
  
  
  .dots-container {
    bottom: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .dot.active {
    width: 24px;
  }
}