.story-section {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.text-section {
  background: #ffffff;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  margin-top: 0;
}

.split-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.split-image {
  flex: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: #ffffff;
}

.image-frame {
  width: 100%;
  height: 80vh;
  background: url("images/Home-Image-2.jpg") no-repeat center center/cover;
  border: 20px solid #ffffff;
  position: relative;
  background-position: center 30%;
}

.split-text {
  flex: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 70px;
  background: #ffffff;
  overflow: hidden;
}

.text-container {
  max-width: 450px;
  text-align: left;
}

.text-title {
  font-family: "DM Serif Text", serif;
  font-size: clamp(32px, 3.5vw, 42px);
  color: #2c3e50;
  margin-bottom: 35px;
  letter-spacing: 1px;
  font-weight: 400;
  position: relative;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-title.animate {
  transform: translateX(0);
  opacity: 1;
}

.text-content {
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #574839;
  margin: 0;
  text-align: justify;
  font-weight: 600;
  letter-spacing: 0.5px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.text-content.animate {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
  }

  .split-image {
    min-height: 40vh;
    flex: none;
    padding: 30px;
  }

  .split-text {
    padding: 50px 30px;
    flex: none;
  }

  .text-container {
    text-align: center;
    max-width: 100%;
  }

  .text-content {
    text-align: center;
  }

  .text-title {
    transform: translateX(-50px);
  }
}
