/* HERO */
.hero-text {
  max-width: 650px;
}

/* TESTIMONIAL CSS */
.testimonial-wrapper {
  display: flex;
  gap: 30px;          /* space between avatar and text */
  align-items: flex-start; 
  max-width: 900px;
}
.avatar-wrapper {
  position: relative;
  width: 250px;
  height: 250px;
  flex-shrink: 0;
}
.avatar-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f6efe6;
  transform: scale(1.12);
  border-radius: 50%;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: 50%;
  position: relative;
}
.quote-icon {
  position: absolute;
  top: -10px;
  right: -12px;
  width: 64px;
  height: 64px;
  background: #f6efe6;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 3;
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
  flex: 1;
  flex: 1 1 auto;    /* ✅ allow content to expand */
  min-width: 0;    
  max-width: 700px;
}
.testimonial-badge {
  background: #f6efe6;
  color: #8b5e34;

  font-size: 14px;
  font-weight: 700;

  padding: 8px 6px;        /* minimal, controlled */
  border-radius: 50px;

  display: inline-flex;
  align-items: center;

  width: fit-content;      /* 🔥 THIS IS THE KEY */
  max-width: fit-content;  /* safety */
  white-space: nowrap;
  margin-bottom: 2rem;
  line-height: 1;          /* remove font gap */
}

.feedback-text {
  font-size: 22px;
  line-height: 1.5;
  color: #1d1d1f;
  word-wrap: normal;
  white-space: normal;
  overflow-wrap: break-word;
  margin-bottom: 1.5rem;
  width: 100%; 
  max-width: 700px; 
}
.name-text {
  font-size: 18px;
  font-weight: 600;
}
.role-text {
  font-size: 16px;
  color: #666;
}
.testimonial-arrow {
  width: 50px;
  height: 50px;
  align-self: flex-end;
  font-size: 32px;     /* icon size */
  color: #000;         /* dark black */
  cursor: pointer;

  background: none;
  border: none;
  box-shadow: none;
}

.testimonial-arrow i {
  font-size: 30px;   /* icon size */
  color: #000;       /* dark black */
  font-weight: 900;
}

.marquee-container {
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

/* FULL WIDTH IMAGES */
.full-width-img {
  outline: 3px solid #000704;
  outline-offset: 15px;
  border-radius: 0.25rem;
}

/* LOGO IMAGE */
.logo-img {
  max-height: 60px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Only dynamic page sections */
.content-section:nth-of-type(odd) {
  background-color: #f4f9f7;
}

.content-section:nth-of-type(even) {
  background-color: #f6f7f9;
}

.fixed-right-img {
  width: 450px;       /* fixed width */
  height: 300px;      /* fixed height */
  object-fit: cover;
  border-radius: 20px;  /* maintains aspect ratio, crops if needed */
}

