.success-stories-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.success-stories-section .section-header h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #333;
}

.view-all-btn-row {
  margin-top: 40px; /* Space above button */
}

/* Carousel Container Fixes for Horizontal Sliding */
.success-carousel {
  width: 100%;
  overflow: hidden; /* Prevent horizontal scroll outside carousel */
}

.success-carousel .owl-stage {
  display: flex !important; /* Override any Bootstrap flex conflicts */
  flex-wrap: nowrap;
  align-items: stretch; /* Ensure equal heights for smooth slide */
}

.success-carousel .owl-item {
  flex: 0 0 auto;
  height: 100%;
}

.success-carousel .owl-item .story-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Story Card (Tata-Inspired: Clean, Shadowed with Gradient Overlay Option) */
.story-card {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative; /* For potential overlays */
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.story-card::after { /* Optional Tata-like subtle gradient on hover */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,123,255,0.1));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
}

.story-card:hover::after {
  opacity: 1;
}

/* Image (Responsive Heights for Better Sliding on All Devices) */
.story-image {
  overflow: hidden; /* Crop if needed */
}

.story-image img,
.story-card img {
  width: 100%;
  height: 250px; /* Base for mobile/tablet */
  object-fit: cover;
  transition: transform 0.3s ease; /* Zoom on hover */
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .story-image img,
  .story-card img {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .story-image img,
  .story-card img {
    height: 350px; /* Taller for desktop, like Tata cards */
  }
}

/* Content */
.story-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.story-title {
  font-size: 20px;
  margin-bottom: 15px;
  flex-shrink: 0;
  color: #333;
  line-height: 1.3;
}

.story-desc {
  flex-grow: 1;
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.story-link {
  align-self: flex-start;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.story-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* View All Button (Bootstrap-Enhanced) */
.view-all-btn {
  padding: 12px 40px; /* Slightly larger for prominence */
  font-size: 16px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Remove Unused Grid Styles (Cleanup) */
/*
.stories-grid { ... }
.story-item { ... }
*/