.success-stories-section {
  background-color: #F8F8F8;
  padding: 70px 0;
}

.success-stories-section h2 {
    color: #1f305a;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.success-story {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: auto;
  margin-top: 30px;
  padding: 20px;
}

.success-story-item {
  margin: 0 20px;
  position: relative;
}

.success-story img {
  width: 550px;
  height: 380px;
  border-radius: 10px;
  object-fit: cover;
}

.success-story img:hover {
  cursor: pointer;
  transform: scale(1.02);
  transition: opacity 0.5s, transform 0.5s;
}

.story-content {
  background-color: white;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  position: absolute;
  left: 35%;
  right: 0;
}

.story-content h3 {
    margin-top: 0;
    font-size: 22px;
    color: #1f305a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.story-content p {
  font-size: 16px;
  color: rgb(51, 51, 51);
  line-height: 1.6;
  margin-top: 20px;
}

.story-content .read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background-color: #8a6d45;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.story-content .read-more i {
  margin-left: 5px;
}

.more-blog-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 20px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .story-content {
    left: 50%;
  }
  .story-content h3 {
    font-size: 20px;
  }
  .story-content p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .success-story {
    margin-top: 20px;
  }
  
  .success-story-item {
    flex-direction: column;
  }

  .success-story img {
    width: 100%;
    height: auto;
  }

  .story-content {
    position: static;
    left: 0;
    right: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.story-content .story-content-summary {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
}