.define-heading-fancy {
  position: relative;
  text-align: center;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #0E73B4;
  margin-bottom: 1rem;

  /* Elegant subtle shadow */
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-heading {
  position: relative;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0E73B4;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 50px;
  background-color: #0E73B4;
  border-radius: 2px;
}

.testimonial-container {
  width: 100%;
  max-width: 56rem;
  padding: 2rem;
}

.testimonial-grid {
  display: grid;
  gap: 5rem;
}

.image-container {
  position: relative;
  width: 100%;
  height: 24rem;
  perspective: 1000px;
}

.testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.25rem;
}

.designation {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.quote {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
}

.arrow-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 3rem;
}

.arrow-button {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.arrow-button:hover {
  background-color: white;
}

.arrow-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #f1f1f7;
  transition: transform 0.3s;
}

.arrow-button:hover svg {
  fill: #141313;
}

.prev-button:hover svg {
  transform: rotate(-12deg);
}

.next-button:hover svg {
  transform: rotate(12deg);
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .arrow-buttons {
    padding-top: 0;
  }
}

.testimonial-image,
.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-image.active,
.testimonial-slide.active {
  display: block;
  opacity: 1;
}

.one h1 {
  position: relative;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 10px;
  font-weight: 300;
  font-size: 40px;
  color: #EA1F25;
  margin: 0;
  transition: all 0.4s ease;
}

.one h1 span {
  display: block;
  font-size: 0.5em;
  line-height: 1.3;
}

.one h1 em {
  font-style: normal;
  font-weight: 600;
}

.one h1::before {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 28px;
  height: 5px;
  margin-left: -14px;
  background-color: #EA1F25;
}

.one h1::after {
  content: "";
  position: relative;
  display: block;
  width: 100px;
  height: 1px;
  background-color: #EA1F25;
  margin: 15px auto 0;
}

/* Extra Small Devices (≤576px) */
@media (max-width: 576px) {
  .define-heading-fancy {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0rem;
  }

  .section-heading {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
  }

  .testimonial-container {
    padding: 1rem;
  }

  .testimonial-grid {
    gap: 2rem;
  }

  .image-container {
    height: 16rem;
  }

  .quote {
    font-size: 1rem;
    line-height: 1.6;
  }

  .name {
    font-size: 1.25rem;
  }

  .arrow-buttons {
    justify-content: center;
    padding-top: 2rem;
  }

  .arrow-button {
    width: 2.25rem;
    height: 2.25rem;
  }

  .arrow-button svg {
    width: 1rem;
    height: 1rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .image-container {
    height: 20rem;
  }

  .quote {
    font-size: 1.05rem;
  }

  .name {
    font-size: 1.4rem;
  }

  .arrow-buttons {
    justify-content: flex-start;
    padding-top: 2.5rem;
  }

  .arrow-button {
    width: 2rem;
    height: 2rem;
  }

  .arrow-button svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .one h1 {
    font-size: 2.25rem;
  }
}

/* Medium Devices (≥769px and ≤991px) */
@media (max-width: 991px) {
  .define-heading-fancy {
    font-size: 1.5rem;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .image-container {
    height: 22rem;
  }

  .arrow-buttons {
    padding-top: 2rem;
  }
}

/* gallery  */
.options-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  /* 👈 prevent vertical overflow */
  height: 400px;
  /* 👈 fixed height */
  padding: 0 10px;
  box-sizing: border-box;
  margin-bottom: 20px;
  position: relative;
  /* for any internal absolute elements */
}

.options {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: max-content;
  height: 100%;
}

.option {
  position: relative;
  overflow: hidden;
  flex: 0 0 60px;
  background: var(--optionBackground) center/cover no-repeat;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  height: 100%;
  /* 👈 forces all options to stay in 1 row height */
  box-sizing: border-box;
}

.option .shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  transition: all 0.5s;
  box-shadow: inset 0 -120px 0px -120px black, inset 0 -120px 0px -100px black;
}

.option .label {
  display: flex;
  position: absolute;
  left: 10px;
  bottom: 10px;
  align-items: center;
  color: white;
  transition: all 0.5s;
}

.option .icon {
  background: white;
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option .info {
  margin-left: 10px;
}

.option .info>div {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease-out;
}

.option.active {
  flex-grow: 10;
  border-radius: 40px;
}

.option.active .shadow {
  box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
}

.option.active .label {
  left: 20px;
  bottom: 20px;
}

.option.active .info>div {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .options-wrapper {
    all: unset;
    overflow-x: auto;
    padding: 10px;
  }

  .options {
    all: unset;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0;
  }

  .option.active {
    border-radius: 0px;
  }

  .option {
    all: unset;
    flex: 0 0 auto;
    width: 120px;
    height: 100px;
    background: var(--optionBackground) center/cover no-repeat;
    border-radius: 10px;
  }

  .option .shadow,
  .option .label,
  .option .info {
    display: none !important;
  }
}