/* Story Section - Two Column Grid */
.story-section {
  padding: 5rem 0;
}

.story-content {
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; justify-content: space-between; 
  gap: 40px;
}

.story-text {
  flex: 1 1 500px;
}

.story-text .section-title {
  text-decoration: underline 5px var(--primary);
  text-underline-offset: 10px;
}

.story-paragraphs {
  line-height: 1.7; 
  color: #333; 
  font-size: 1rem;
}

.story-image {
  flex: 1 1 450px; 
  display: flex; flex-direction: column; align-items: center; margin-top: 20px;
}

.story-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  object-fit: cover;
}

.image-caption {
  margin-top: 1rem;
  text-align: center;
  display: block;
  opacity: 1;
  visibility: visible;
}

.image-caption h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.image-caption p {
  color: var(--text-light);
  font-style: italic;
  font-size: 1rem;
  margin: 0;
}


/* ===============================
        TESTIMONIAL AREA
   =============================== */

.testimonial-area {
    padding: 5rem 0;
    background: #f9f9f9;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: #666;
}

/* Wrapper */
.testimonial-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Track */
.testimonial-track {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Cards */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
    position: absolute;
    inset: 0;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

/* Quote */
.testimonial-quote {
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

/* Text */
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #777;
}

/* Navigation */
.testimonial-nav {
    background: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--primary);
    color: #fff;
}

.testimonial-nav.prev {
    margin-right: 1rem;
}

.testimonial-nav.next {
    margin-left: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}
