* {box-sizing:border-box}

.main-title {
  text-align: center;
  max-width: 100rem;
  grid-column: 2;
}

.hero-section {
  position: relative;
  width: 100%;
  margin-bottom: 5rem;
  overflow: hidden;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(40, 40, 40, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 900px;
  width: 90%;
  animation: fadeInUp 1s ease-out 0.3s both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-lab-name {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.98;
}

.hero-acronym {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  margin: 0.5rem 0 1.25rem 0;
  line-height: 1;
  text-shadow: 0 3px 25px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
  opacity: 1;
  color: #fff;
}

.hero-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.intro-section {
  animation: fadeInUpIntro 0.4s ease-out;
  background: #fff;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  width: 100%;
  will-change: opacity, transform;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes fadeInUpIntro {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #2c3e50;
  margin-bottom: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.main-text:last-child {
  margin-bottom: 0;
}


@media (max-width: 992px) {
  .hero-image-wrapper {
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
  }

  .hero-content {
    padding: 1.5rem;
    width: 95%;
  }

  .hero-lab-name {
    margin-bottom: 0.25rem;
  }

  .hero-acronym {
    margin-bottom: 1rem;
  }

  .hero-title {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    margin-bottom: 2rem;
  }

  .hero-image-wrapper {
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-lab-name {
    margin-bottom: 0.25rem;
  }

  .hero-acronym {
    margin-bottom: 0.75rem;
  }

  .hero-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 3.5vw, 2rem);
  }

  .intro-section {
    padding: 2rem 1.5rem;
    margin-top: -2rem;
    border-radius: 8px;
  }

  .main-text {
    font-size: 1rem;
    line-height: 1.75;
  }
}