.home-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 8rem;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
  background: #f0f4f8;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-section2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
  background: #e8f0f7;
  border-radius: 20px;
  margin: 3rem 8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-section3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 8rem;
  background: #f0f4f8;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-section4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
  background: #e8f0f7;
  border-radius: 20px;
  margin: 3rem 8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-section5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5rem 0;
}

.home-section6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 2.5rem;
  gap: 3rem;
  background: #f0f4f8;
  border-radius: 20px;
  margin: 3rem 8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-section7 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 8rem 4rem;
  padding: 2.5rem;
  gap: 2.5rem;
  align-items: center;
  background: #e8f0f7;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.home-content {
  padding: 1rem;
}

.home-content h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.home-content h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.home-content p,
.home-content .text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.home-content dl {
  font-size: 1.1rem;
  line-height: 2;
  color: #333;
}

.home-content dt {
  font-weight: 600;
  margin-top: 0.5rem;
}

.home-content dd {
  margin-left: 1.5rem;
  color: #555;
}

.whalebone,
.kids,
.teacher,
.Researchers {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.whalebone:hover,
.kids:hover,
.teacher:hover,
.Researchers:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.museum {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  margin: 3rem auto;
}

.rectangle {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.flexcontainer {
  padding: 1rem;
}

.flexcontainer h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.flexcontainer .text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

.homre-content {
  padding: 1rem;
}

.homre-content h2 {
  font-size: 2.5rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.homre-content .text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .home-section,
  .home-section2,
  .home-section3,
  .home-section4,
  .home-section6,
  .home-section7 {
    grid-template-columns: 1fr;
    margin: 2rem 1rem;
    padding: 2rem;
    gap: 2rem;
  }

  .home-content h2,
  .flexcontainer h2,
  .homre-content h2 {
    font-size: 2rem;
  }

  .whalebone,
  .kids,
  .teacher,
  .Researchers {
    max-width: 100%;
  }

  .museum {
    max-width: 100%;
  }

  .rectangle {
    max-width: 100%;
  }
}
