/* ===== RATING SUMMARY SECTION ===== */
.rating-section {
  padding: 50px 0 15px;
  /* background: linear-gradient(135deg, #fcf9f7 0%, #ffffff 100%); */
  position: relative;
  overflow: hidden;

  position: relative;
  padding: 50px 0 15px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-6.png") no-repeat center center;
  background-size: cover;
}

/* Subtle background pattern */
.rating-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(186, 35, 37, 0.02) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(70, 43, 52, 0.02) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.rating-section .auto-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 2;
}

/* Section Title - Using your existing .sec-title styles */
.rating-section .sec-title {
  margin-bottom: 50px;
  text-align: center;
}

.rating-section .sec-title .top-title {
  position: relative;
  display: inline-block;
  font-size: 15px;
  line-height: 26px;
  font-family: "Muli", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-top: 28px;
  z-index: 1;
}

.rating-section .sec-title .top-title:before {
  position: absolute;
  content: "";
  background: #f0e6e0;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  left: -25px;
  top: 8px;
  z-index: -1;
}

.rating-section .sec-title .top-title:after {
  position: absolute;
  content: "";
  background: #f0e6e0;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  left: 9px;
  top: 0px;
  z-index: -1;
}

.rating-section .sec-title h2 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 10px;
}

.rating-section .sec-title p {
  font-size: 18px;
  color: #766068;
  max-width: 600px;
  margin: 0 auto;
}

/* Rating Wrapper */
.rating-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

/* Rating Grid - 4 cards in one row */
.rating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

/* Rating Card */
.rating-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px 20px 25px;
  box-shadow: 0 15px 35px rgba(70, 43, 52, 0.08);
  border: 1px solid rgba(224, 214, 208, 0.4);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Gradient line at top */
.rating-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #462b34, #ba2325, #462b34);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: 2;
}

.rating-card:hover::before {
  transform: scaleX(1);
}

.rating-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(186, 35, 37, 0.15);
  border-color: rgba(186, 35, 37, 0.2);
}

/* Rating Icon */
.rating-icon {
  width: 70px;
  height: 70px;
  background: #f0e6e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

/* Brand-specific icon colors */
.google-card .rating-icon {
  color: #4285f4;
}
.linkedin-card .rating-icon {
  color: #0077b5;
}
.client-card .rating-icon {
  color: #462b34;
}
.candidate-card .rating-icon {
  color: #ba2325;
}

.rating-card:hover .rating-icon {
  background: linear-gradient(135deg, #462b34, #ba2325);
  color: #ffffff !important;
  transform: scale(1.1) rotate(5deg);
  border-color: #ffffff;
}

/* Rating Content */
.rating-content h3 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.rating-card:hover .rating-content h3 {
  color: #ba2325;
}

/* Rating Stars */
.rating-stars {
  margin-bottom: 12px;
}

.rating-stars i {
  color: #ffc107;
  font-size: 16px;
  margin: 0 2px;
  transition: all 0.3s ease;
}

.rating-card:hover .rating-stars i {
  transform: scale(1.1);
  color: #ffb300;
}

/* Rating Number */
.rating-number {
  margin-bottom: 8px;
}

.big-number {
  font-family: "Nunito Sans", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #462b34;
  line-height: 1;
  transition: color 0.3s ease;
}

.out-of {
  font-size: 16px;
  font-weight: 600;
  color: #766068;
  margin-left: 2px;
}

.rating-card:hover .big-number {
  color: #ba2325;
}

/* Rating Total */
.rating-total {
  font-size: 13px;
  color: #766068;
  margin: 0;
  padding-top: 5px;
  border-top: 1px solid #f0e6e0;
  transition: all 0.3s ease;
}

.rating-card:hover .rating-total {
  color: #462b34;
  border-top-color: #ba2325;
}

/* Trust Message */
.trust-message {
  background: linear-gradient(135deg, #462b34, #ba2325);
  border-radius: 30px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(186, 35, 37, 0.2);
  text-align: center;
}

.trust-message::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.trust-message::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.message-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.message-text {
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 500;
  font-style: italic;
}

.message-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.signature-line {
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.signature-text {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Trust Badges */
.rating-section .trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rating-section .badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 5px 15px rgba(70, 43, 52, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0e6e0;
}

.rating-section .badge-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(186, 35, 37, 0.15);
  border-color: #ba2325;
}

.rating-section .badge-item i {
  font-size: 16px;
  color: #ba2325;
  transition: transform 0.3s ease;
}

.rating-section .badge-item:hover i {
  transform: scale(1.2);
}

.rating-section .badge-item span {
  font-size: 14px;
  font-weight: 600;
  color: #462b34;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
  .rating-section .sec-title h2 {
    font-size: 40px;
  }

  .rating-grid {
    gap: 20px;
  }

  .rating-card {
    padding: 25px 15px;
  }

  .big-number {
    font-size: 32px;
  }
}

/* Tablet Landscape (992px - 3 cards) */
@media (max-width: 992px) {
  .rating-section {
    padding: 70px 0;
  }

  .rating-section .sec-title h2 {
    font-size: 36px;
  }

  .rating-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .message-text {
    font-size: 18px;
  }
}

/* Tablet Portrait (768px - 2 cards) */
@media (max-width: 768px) {
  .rating-section {
    padding: 60px 0;
  }

  .rating-section .sec-title h2 {
    font-size: 32px;
  }

  .rating-section .sec-title p {
    font-size: 16px;
  }

  .rating-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .rating-card {
    padding: 22px 12px;
  }

  .rating-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .rating-content h3 {
    font-size: 16px;
  }

  .big-number {
    font-size: 28px;
  }

  .rating-total {
    font-size: 12px;
  }

  .trust-message {
    padding: 30px 25px;
  }

  .message-text {
    font-size: 16px;
  }

  .signature-text {
    font-size: 14px;
  }
}

/* Mobile (576px - 2 cards still) */
@media (max-width: 576px) {
  .rating-section {
    padding: 50px 0;
  }

  .rating-section .sec-title h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .rating-section .sec-title p {
    font-size: 15px;
    padding: 0 15px;
  }

  .rating-grid {
    gap: 15px;
  }

  .rating-card {
    padding: 20px 10px;
  }

  .rating-icon {
    width: 55px;
    height: 55px;
    font-size: 26px;
    margin-bottom: 15px;
  }

  .rating-stars i {
    font-size: 14px;
  }

  .big-number {
    font-size: 26px;
  }

  .out-of {
    font-size: 14px;
  }

  .trust-message {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .message-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .message-text {
    font-size: 15px;
  }

  .rating-section .badge-item {
    padding: 8px 18px;
  }

  .rating-section .badge-item i {
    font-size: 14px;
  }

  .rating-section .badge-item span {
    font-size: 13px;
  }
}

/* Small Mobile (400px - 1 card) */
@media (max-width: 400px) {
  .rating-section .sec-title h2 {
    font-size: 24px;
  }

  .rating-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto 30px;
  }

  .rating-card {
    flex-direction: row;
    text-align: left;
    padding: 18px 20px;
    align-items: center;
  }

  .rating-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin: 0 15px 0 0;
  }

  .rating-content {
    flex: 1;
  }

  .rating-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .rating-stars {
    margin-bottom: 5px;
  }

  .rating-stars i {
    font-size: 13px;
  }

  .rating-number {
    margin-bottom: 3px;
  }

  .big-number {
    font-size: 24px;
  }

  .out-of {
    font-size: 13px;
  }

  .rating-total {
    font-size: 11px;
    padding-top: 3px;
  }

  .trust-message {
    padding: 20px 15px;
  }

  .message-text {
    font-size: 14px;
  }

  .signature-line {
    width: 30px;
  }

  .signature-text {
    font-size: 13px;
  }

  .rating-section .trust-badges {
    gap: 10px;
  }

  .rating-section .badge-item {
    width: 100%;
    justify-content: center;
    padding: 8px 15px;
  }
}

/* Animation for rating cards */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.rating-card {
  animation: floatIn 0.6s ease forwards;
  opacity: 0;
}

.rating-card:nth-child(1) {
  animation-delay: 0.1s;
}
.rating-card:nth-child(2) {
  animation-delay: 0.2s;
}
.rating-card:nth-child(3) {
  animation-delay: 0.3s;
}
.rating-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Hover effect for stars */
.rating-card:hover .rating-stars i {
  animation: starPulse 0.5s ease;
}

@keyframes starPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Font Awesome 6 fix for verified icon */
.fa-verified::before {
  content: "\f272"; /* Uses check-circle */
}

.fa-medal::before {
  content: "\f5a2";
}

/*  */
/* Add this to your existing rating section CSS */

/* Handle suffix via pseudo-element if needed */
.count-number[data-suffix="%"]::after {
  content: "%";
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin-left: 2px;
}

/* Alternative: if using span for suffix */
.rating-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.out-of {
  font-size: 16px;
  font-weight: 600;
  color: #766068;
}

/* For percentage cards without "/5" */
.client-card .out-of,
.candidate-card .out-of {
  display: none;
}

/*  */

/* ═══════════════════════════════════════════
   S4 — TEXT TESTIMONIALS
═══════════════════════════════════════════ */
.text-testi-section {
  padding: 100px 0;
  background: var(--white);
}
/* filter tabs */
.testi-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tfilter {
  padding: 9px 22px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--body-text);
  cursor: pointer;
  transition: var(--transition);
  background: var(--light-bg);
}
.tfilter:hover,
.tfilter.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}
.testi-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(186, 35, 37, 0.07);
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-deep);
  border-color: rgba(186, 35, 37, 0.15);
  background: var(--white);
}
.tc-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.tc-stars i {
  color: #f5a623;
  font-size: 15px;
}
.tc-text {
  font-size: 14.5px;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.tc-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--burgundy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.tc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.2;
}
.tc-role {
  font-size: 12px;
  color: var(--muted);
}
.tc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
}
.tag-c {
  background: rgba(186, 35, 37, 0.1);
  color: var(--red);
}
.tag-co {
  background: rgba(70, 43, 52, 0.1);
  color: var(--burgundy);
}
.tag-cl {
  background: #ba2325;
  color: white;
}
.testi-view-more {
  text-align: center;
}
/* hidden cards */
.testi-card.hidden {
  display: none;
}

/*  */

/* ===== VIDEO TESTIMONIALS SECTION ===== */
.video-testimonials-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #fcf9f7 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-39.png") no-repeat center center;
  background-size: cover;
}

/* Subtle background pattern */
.video-testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(186, 35, 37, 0.02) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(70, 43, 52, 0.02) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.video-testimonials-section .auto-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 2;
}

/* Section Title */
.video-testimonials-section .sec-title {
  margin-bottom: 50px;
  text-align: center;
}

.video-testimonials-section .sec-title .top-title {
  position: relative;
  display: inline-block;
  font-size: 15px;
  line-height: 26px;
  font-family: "Muli", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-top: 28px;
  z-index: 1;
}

.video-testimonials-section .sec-title .top-title:before {
  position: absolute;
  content: "";
  background: #f0e6e0;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  left: -25px;
  top: 8px;
  z-index: -1;
}

.video-testimonials-section .sec-title .top-title:after {
  position: absolute;
  content: "";
  background: #f0e6e0;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 24px;
  height: 24px;
  border-radius: 3px;
  left: 9px;
  top: 0px;
  z-index: -1;
}

.video-testimonials-section .sec-title h2 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 44px;
  line-height: 54px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 10px;
}

.video-testimonials-section .sec-title p {
  font-size: 18px;
  color: #766068;
  max-width: 600px;
  margin: 0 auto;
}

/* Video Wrapper */
.video-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

/* Video Grid - 3 columns */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* Video Card */
.video-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(70, 43, 52, 0.08);
  border: 1px solid rgba(224, 214, 208, 0.4);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: cardFloatIn 0.6s ease forwards;
}

/* Stagger animation delays */
.video-card:nth-child(1) {
  animation-delay: 0.1s;
}
.video-card:nth-child(2) {
  animation-delay: 0.2s;
}
.video-card:nth-child(3) {
  animation-delay: 0.3s;
}
.video-card:nth-child(4) {
  animation-delay: 0.4s;
}
.video-card:nth-child(5) {
  animation-delay: 0.5s;
}
.video-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes cardFloatIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hidden cards (for load more) */
.video-card.hidden-card {
  display: none;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(186, 35, 37, 0.15);
  border-color: rgba(186, 35, 37, 0.2);
}

/* Video Thumbnail */
.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #462b34;
}

.video-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

/* Gradient backgrounds for thumbnails */
.vthumb-1 {
  background: linear-gradient(135deg, #2d1a20, #5a2d35);
}
.vthumb-2 {
  background: linear-gradient(135deg, #1a2d2d, #2d4a3e);
}
.vthumb-3 {
  background: linear-gradient(135deg, #1a1a2d, #2d2d5a);
}
.vthumb-4 {
  background: linear-gradient(135deg, #2d2d1a, #4a3e1a);
}
.vthumb-5 {
  background: linear-gradient(135deg, #2d1a2d, #4a1a4a);
}
.vthumb-6 {
  background: linear-gradient(135deg, #1a2d1a, #2d4a2d);
}

.video-card:hover .video-thumb-bg {
  transform: scale(1.1);
}

/* Play Button */
.play-button {
  width: 58px;
  height: 58px;
  background: rgba(186, 35, 37, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 6px 24px rgba(186, 35, 37, 0.4);
  position: relative;
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 4px;
}

.video-card:hover .play-button {
  transform: scale(1.15);
  background: #ba2325;
  box-shadow: 0 10px 30px rgba(186, 35, 37, 0.6);
}

/* Video Category */
.video-category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 30px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.cat-candidate {
  background: #ba2325;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cat-company {
  background: #462b34;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cat-college {
  background: #2d4a6e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Video Duration */
.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* Video Info */
.video-info {
  padding: 20px 18px 18px;
}

.video-info h4 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.video-card:hover .video-info h4 {
  color: #ba2325;
}

.vi-role {
  font-size: 14px;
  color: #766068;
  font-weight: 500;
  margin-bottom: 8px;
}

.vi-location {
  font-size: 13px;
  color: #9e848d;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vi-location i {
  color: #ba2325;
  font-size: 12px;
}

/* Video Filters */
.video-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  background: transparent;
  border: 2px solid #f0e6e0;
  border-radius: 40px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #766068;
  cursor: pointer;
  transition: all 0.4s ease;
}

.filter-btn:hover {
  border-color: #ba2325;
  color: #462b34;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(186, 35, 37, 0.15);
}

.filter-btn.active {
  background: #462b34;
  border-color: #462b34;
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(70, 43, 52, 0.25);
}

.filter-btn.active:hover {
  background: #ba2325;
  border-color: #ba2325;
}

/* Load More Button */
.load-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 40px;
  background: transparent;
  border: 2px solid #462b34;
  border-radius: 50px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #462b34;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.load-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #462b34, #ba2325);
  transition: left 0.4s ease;
  z-index: -1;
}

.load-more-btn:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.25);
}

.load-more-btn:hover::before {
  left: 0;
}

.load-more-btn i {
  font-size: 14px;
  transition: transform 0.4s ease;
}

.load-more-btn:hover i {
  transform: translateX(8px);
}

/* ===== RESPONSIVE STYLES ===== */

/* Desktop (1200px and below) */
@media (max-width: 1200px) {
  .video-testimonials-section .sec-title h2 {
    font-size: 40px;
  }

  .video-grid {
    gap: 20px;
  }
}

/* Tablet Landscape (992px - 2 columns) */
@media (max-width: 992px) {
  .video-testimonials-section {
    padding: 70px 0;
  }

  .video-testimonials-section .sec-title h2 {
    font-size: 36px;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button::after {
    border-width: 9px 0 9px 18px;
  }
}

/* Tablet Portrait (768px - 2 columns) */
@media (max-width: 768px) {
  .video-testimonials-section {
    padding: 60px 0;
  }

  .video-testimonials-section .sec-title h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .video-testimonials-section .sec-title p {
    font-size: 16px;
    padding: 0 15px;
  }

  .video-grid {
    gap: 18px;
  }

  .video-info {
    padding: 18px 15px;
  }

  .video-info h4 {
    font-size: 17px;
  }

  .vi-role {
    font-size: 13px;
  }

  .filter-btn {
    padding: 8px 22px;
    font-size: 13px;
  }
}

/* Mobile (576px - 1 column) */
@media (max-width: 576px) {
  .video-testimonials-section {
    padding: 50px 0;
  }

  .video-testimonials-section .sec-title h2 {
    font-size: 28px;
  }

  .video-testimonials-section .sec-title p {
    font-size: 15px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 30px;
  }

  .video-info h4 {
    font-size: 18px;
  }

  .vi-role {
    font-size: 14px;
  }

  .video-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 12px;
  }

  .load-more-btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
    font-size: 15px;
  }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
  .video-testimonials-section .sec-title h2 {
    font-size: 24px;
  }

  .play-button {
    width: 45px;
    height: 45px;
  }

  .play-button::after {
    border-width: 8px 0 8px 15px;
  }

  .video-category {
    font-size: 10px;
    padding: 4px 10px;
  }

  .video-info h4 {
    font-size: 16px;
  }

  .vi-role {
    font-size: 13px;
  }

  .vi-location {
    font-size: 12px;
  }

  .video-filters {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
}

/* Load More Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effect for video cards */
.video-card {
  position: relative;
}

.video-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #462b34, #ba2325);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: 20px;
}

.video-card:hover::after {
  opacity: 0.05;
}

/*  */
/* ===== TEXT TESTIMONIALS GRID - UPDATED ===== */

/* Rating Stars */
.testimonial-block-three .rating-stars {
  margin-bottom: 15px;
  display: flex;
  gap: 3px;
}

.testimonial-block-three .rating-stars i {
  color: #ffc107;
  font-size: 14px;
  transition: all 0.3s ease;
}

.testimonial-block-three:hover .rating-stars i {
  transform: scale(1.1);
  color: #ffb300;
}

/* Author Box - Updated */
.testimonial-block-three .author-box {
  position: relative;
  padding: 0 0 0 80px;
  margin-bottom: 0;
  margin-top: 15px;
  min-height: 60px;
}

.testimonial-block-three .author-box .author-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 5px 15px rgba(70, 43, 52, 0.15);
  transition: all 0.3s ease;
}

.testimonial-block-three:hover .author-box .author-thumb {
  transform: scale(1.05);
  border-color: #ba2325;
}

.testimonial-block-three .author-box h3 {
  font-size: 18px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 3px;
  line-height: 1.3;
}

.testimonial-block-three .author-box .designation {
  display: block;
  font-size: 13px;
  color: #766068;
  font-weight: 500;
  margin-bottom: 5px;
}

/* Category Tag */
.category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 30px;
  margin-top: 5px;
}

.tag-candidate {
  background: rgba(186, 35, 37, 0.1);
  color: #ba2325;
  border: 1px solid rgba(186, 35, 37, 0.2);
}

.tag-company {
  background: rgba(70, 43, 52, 0.1);
  color: #462b34;
  border: 1px solid rgba(70, 43, 52, 0.2);
}

.tag-college {
  background: rgba(37, 100, 180, 0.1);
  color: #2564b4;
  border: 1px solid rgba(37, 100, 180, 0.2);
}

/* Hidden Testimonials */
.hidden-testimonial {
  display: none;
}

/* View More Button */
.view-more-wrapper {
  text-align: center;
  margin-top: 50px;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 40px;
  background: transparent;
  border: 2px solid #462b34;
  border-radius: 50px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #462b34;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.view-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #462b34, #ba2325);
  transition: left 0.4s ease;
  z-index: -1;
}

.view-more-btn:hover {
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.25);
}

.view-more-btn:hover::before {
  left: 0;
}

.view-more-btn i {
  font-size: 14px;
  transition: transform 0.4s ease;
}

.view-more-btn:hover i {
  transform: translateX(8px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .testimonial-block-three .author-box {
    padding: 0 0 0 70px;
  }

  .testimonial-block-three .author-box .author-thumb {
    width: 55px;
    height: 55px;
  }

  .testimonial-block-three .author-box h3 {
    font-size: 17px;
  }

  .testimonial-block-three .author-box .designation {
    font-size: 12px;
  }

  .category-tag {
    font-size: 10px;
    padding: 3px 8px;
  }

  .view-more-btn {
    padding: 12px 30px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .testimonial-block-three .author-box {
    padding: 0 0 0 60px;
  }

  .testimonial-block-three .author-box .author-thumb {
    width: 50px;
    height: 50px;
  }

  .view-more-btn {
    width: 100%;
    max-width: 300px;
  }
}
/*  */
/* ===== CASE STUDIES / SUCCESS STORIES SECTION ===== */
.case-studies-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #fcf9f7 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  font-family: "Muli", sans-serif;
}

/* Subtle background pattern */
.case-studies-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(186, 35, 37, 0.02) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(70, 43, 52, 0.02) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.case-studies-section .auto-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 2;
}

/* Section Title - Using your existing .sec-title */
.case-studies-section .sec-title {
  margin-bottom: 50px;
}

.case-studies-section .sec-title h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.case-studies-section .sec-title p {
  font-size: 18px;
  color: #766068;
  max-width: 700px;
  margin: 0 auto;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0 30px;
  padding: 10px 0;
}

.carousel-track {
  display: flex;
  gap: 30px;
  animation: autoScroll 35s linear infinite;
  width: fit-content;
  padding: 15px 0;
}

.carousel-track:hover {
  animation-play-state: paused;
}

/* Case Card */
.case-card {
  min-width: 350px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 20px 40px -12px rgba(70, 43, 52, 0.2);
  border: 1px solid rgba(224, 214, 208, 0.3);
}

.case-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px -12px rgba(186, 35, 37, 0.25);
  border-color: rgba(186, 35, 37, 0.2);
}

/* Image Container */
.case-image {
  position: relative;
  overflow: hidden;
  width: 350px;
  height: 420px;
  border-radius: 24px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  display: block;
}

.case-card:hover .case-image img {
  transform: scale(1.1);
}

/* Gradient overlay - always visible */
.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(70, 43, 52, 0.2) 50%,
    rgba(70, 43, 52, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Overlay - Bottom to Top on Hover */
.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(70, 43, 52, 0.98) 0%,
    rgba(160, 50, 50, 0.85) 70%,
    transparent 100%
  );
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  z-index: 2;
}

.case-card:hover .case-overlay {
  transform: translateY(0);
}

/* Content inside overlay */
.case-content {
  color: #ffffff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.2s;
  width: 100%;
}

.case-card:hover .case-content {
  opacity: 1;
  transform: translateY(0);
}

.case-type {
  display: inline-block;
  background: #ba2325;
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(186, 35, 37, 0.3);
}

.case-type i {
  margin-right: 6px;
  font-size: 11px;
}

.case-content h4 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.case-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.case-content li {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.case-content li i {
  color: white;
  width: 22px;
  margin-right: 10px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-content li strong {
  color: #ffffff;
  font-weight: 700;
  margin-left: 5px;
  background: rgba(186, 35, 37, 0.3);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 13px;
}

.case-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
}

.case-value i {
  color: #ba2325;
  font-size: 14px;
}

/* Success Categories - Like your chip design */
.success-categories {
  margin: 40px 0 30px;
  text-align: center;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 5px 15px rgba(70, 43, 52, 0.08);
  border: 1px solid #f0e6e0;
  transition: all 0.4s ease;
  font-size: 14px;
  font-weight: 600;
  color: #462b34;
  cursor: default;
}

.category-chip i {
  color: #ba2325;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.category-chip:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, #462b34, #ba2325);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.2);
}

.category-chip:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

/* Highlight Metrics - Like metric pills */
.highlight-metrics {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 40px;
  flex-wrap: wrap;
}

.metric-pill {
  background: #f0e6e0;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 700;
  color: #462b34;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  border: 1px solid rgba(224, 214, 208, 0.6);
}

.metric-pill i {
  color: #ba2325;
  font-size: 16px;
  transition: all 0.3s ease;
}

.metric-pill:hover {
  background: #ba2325;
  color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(186, 35, 37, 0.25);
  border-color: transparent;
}

.metric-pill:hover i {
  color: #ffffff;
  transform: scale(1.2);
}

/* CTA Button */
.cta-wrapper {
  text-align: center;
  margin-top: 20px;
}

.explore-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #462b34, #ba2325);
  border-radius: 60px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.3);
  transition: all 0.5s ease;
  overflow: hidden;
  z-index: 1;
}

.explore-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.explore-btn:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 25px 40px rgba(186, 35, 37, 0.4);
  border-color: #ffffff;
  background: #462b34;
}

.explore-btn:hover::before {
  left: 100%;
}

.explore-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.explore-btn:hover i {
  transform: translateX(8px);
}

.cta-note {
  margin-top: 15px;
  font-size: 14px;
  color: #766068;
  font-weight: 500;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4c5bd;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.carousel-dots .dot.active {
  background: #ba2325;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(186, 35, 37, 0.5);
}

.carousel-dots .dot:hover {
  background: #462b34;
  transform: scale(1.2);
}

/* Auto Scroll Animation */
@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-380px * 3 - 90px));
  }
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
  .case-studies-section .sec-title h2 {
    font-size: 40px;
  }

  .case-card {
    min-width: 320px;
  }

  .case-image {
    width: 320px;
    height: 400px;
  }

  @keyframes autoScroll {
    100% {
      transform: translateX(calc(-350px * 3 - 90px));
    }
  }
}

/* Tablet Landscape (992px and below) */
@media (max-width: 992px) {
  .case-studies-section {
    padding: 70px 0;
  }

  .case-studies-section .sec-title h2 {
    font-size: 36px;
  }

  .case-card {
    min-width: 300px;
  }

  .case-image {
    width: 300px;
    height: 380px;
  }

  .category-chips {
    gap: 10px;
  }

  .category-chip {
    padding: 8px 18px;
    font-size: 13px;
  }

  .metric-pill {
    padding: 12px 24px;
    font-size: 14px;
  }

  @keyframes autoScroll {
    100% {
      transform: translateX(calc(-330px * 3 - 90px));
    }
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .case-studies-section {
    padding: 60px 0;
  }

  .case-studies-section .sec-title h2 {
    font-size: 32px;
  }

  .case-studies-section .sec-title p {
    font-size: 16px;
  }

  .case-card {
    min-width: 280px;
  }

  .case-image {
    width: 280px;
    height: 350px;
  }

  .case-content h4 {
    font-size: 20px;
  }

  .category-chips {
    gap: 8px;
  }

  .category-chip {
    padding: 8px 16px;
    font-size: 12px;
  }

  .metric-pill {
    padding: 10px 20px;
    font-size: 13px;
  }

  .explore-btn {
    padding: 14px 30px;
    font-size: 15px;
  }

  @keyframes autoScroll {
    100% {
      transform: translateX(calc(-310px * 3 - 90px));
    }
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  .case-studies-section {
    padding: 50px 0;
  }

  .case-studies-section .sec-title h2 {
    font-size: 28px;
  }

  .case-studies-section .sec-title p {
    font-size: 15px;
    padding: 0 15px;
  }

  .carousel-container {
    margin: 30px 0 20px;
  }

  .case-card {
    min-width: 260px;
  }

  .case-image {
    width: 260px;
    height: 320px;
  }

  .case-content h4 {
    font-size: 18px;
  }

  .case-content li {
    font-size: 13px;
  }

  .case-value {
    font-size: 12px;
    padding: 6px 12px;
  }

  .category-chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 350px;
    margin: 0 auto;
  }

  .category-chip {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }

  .highlight-metrics {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .metric-pill {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .explore-btn {
    width: 100%;
    max-width: 350px;
    font-size: 14px;
    padding: 12px 25px;
  }

  .cta-note {
    font-size: 13px;
  }

  @keyframes autoScroll {
    100% {
      transform: translateX(calc(-290px * 3 - 90px));
    }
  }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
  .case-studies-section .sec-title h2 {
    font-size: 24px;
  }

  .case-card {
    min-width: 230px;
  }

  .case-image {
    width: 230px;
    height: 290px;
  }

  .case-content h4 {
    font-size: 16px;
  }

  .case-content li {
    font-size: 12px;
  }

  .case-type {
    font-size: 10px;
    padding: 4px 12px;
  }

  .category-chips {
    grid-template-columns: 1fr;
    max-width: 250px;
  }

  .metric-pill {
    max-width: 260px;
    font-size: 12px;
    padding: 10px 16px;
  }

  .explore-btn {
    max-width: 280px;
    font-size: 13px;
    padding: 12px 20px;
  }

  @keyframes autoScroll {
    100% {
      transform: translateX(calc(-260px * 3 - 90px));
    }
  }
}

/* Animation for cards on load */
.case-card {
  opacity: 0;
  transform: translateY(30px);
  animation: caseCardFloat 0.7s ease forwards;
}

.case-card:nth-child(1) {
  animation-delay: 0.1s;
}
.case-card:nth-child(2) {
  animation-delay: 0.15s;
}
.case-card:nth-child(3) {
  animation-delay: 0.2s;
}
.case-card:nth-child(4) {
  animation-delay: 0.25s;
}
.case-card:nth-child(5) {
  animation-delay: 0.3s;
}
.case-card:nth-child(6) {
  animation-delay: 0.35s;
}

@keyframes caseCardFloat {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  */
/* =========================================
   TEXT TESTIMONIALS SECTION
========================================= */

.text-testi-section {
  padding: 100px 0;
  background: #ffffff;

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-4.png") no-repeat center center;
  background-size: cover;
}

/* filters */
.testi-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.tfilter {
  padding: 9px 22px;
  border-radius: 30px;
  border: 1px solid #e6deda;
  font-size: 13px;
  font-weight: 600;
  background: #faf7f5;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tfilter:hover,
.tfilter.active {
  background: #ba2325;
  color: #fff;
  border-color: #ba2325;
}

/* grid */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

/* card */
.testi-card {
  background: #faf7f5;
  border: 1px solid #e6deda;
  border-radius: 18px;
  padding: 28px 24px;
  transition: 0.35s ease;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(70, 43, 52, 0.12);
  background: #fff;
}

/* quote decoration */
.testi-card::after {
  content: "“";
  position: absolute;
  top: -20px;
  right: 16px;
  font-size: 110px;
  color: rgba(186, 35, 37, 0.06);
  font-family: serif;
  pointer-events: none;
}

/* stars */
.tc-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}

.tc-stars i {
  color: #f5a623;
  font-size: 15px;
}

/* text */
.tc-text {
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #5c4b50;
}

/* footer */
.tc-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* avatar */
.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ba2325, #462b34);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

/* name */
.tc-name {
  font-size: 14px;
  font-weight: 700;
  color: #462b34;
}

.tc-role {
  font-size: 12px;
  color: #766068;
}

/* tag */
.tc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tag-c {
  background: rgba(186, 35, 37, 0.12);
  color: #ba2325;
}

.tag-co {
  background: rgba(70, 43, 52, 0.12);
  color: #462b34;
}

/* .tag-cl {
    background: rgba(37, 100, 180, 0.12);
    color: #2564b4;
  } */

/* view more */
.testi-view-more {
  text-align: center;
}

.testi-card.hidden {
  display: none;
}

/* =========================================
     TABLET
  ========================================= */

@media (max-width: 1024px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .text-testi-section {
    padding: 80px 0;
  }
}

/* =========================================
     MOBILE
  ========================================= */

@media (max-width: 600px) {
  .text-testi-section {
    padding: 70px 0;
  }

  .testi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testi-card {
    padding: 24px 20px;
  }

  .tc-text {
    font-size: 14px;
  }

  .tc-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* =========================================
     SMALL MOBILE
  ========================================= */

@media (max-width: 420px) {
  .tfilter {
    padding: 7px 18px;
    font-size: 12px;
  }

  .tc-text {
    font-size: 13.5px;
  }
}

/*  */
/* ===== SUBMIT YOUR FEEDBACK FORM SECTION ===== */
.feedback-form-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #fcf9f7 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;

  position: relative;
  padding: 70px 20px;
  text-align: center;
  overflow: hidden;

  background: url("/assets/images/shape/pattern-50.png") no-repeat center center;
  background-size: cover;
}

/* Subtle background pattern */
.feedback-form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(186, 35, 37, 0.02) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(70, 43, 52, 0.02) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.feedback-form-section .auto-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 2;
}

/* Section Title */
.feedback-form-section .sec-title {
  margin-bottom: 50px;
}

.feedback-form-section .sec-title h2 {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.feedback-form-section .sec-title p {
  font-size: 18px;
  color: #766068;
  max-width: 700px;
  margin: 0 auto;
}

/* Form Container */
.form-container {
  background: #ffffff;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(70, 43, 52, 0.12);
  border: 1px solid #a03232;

  transition: all 0.4s ease;
}

.form-container:hover {
  box-shadow: 0 30px 60px rgba(186, 35, 37, 0.15);
  border-color: rgba(186, 35, 37, 0.2);
}

/* Form Layout */
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

/* Labels */
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #462b34;
  letter-spacing: 0.3px;
}

.required {
  color: #ba2325;
  margin-left: 2px;
}

.optional {
  color: #9e848d;
  font-size: 12px;
  font-weight: 400;
  margin-left: 5px;
}

/* Input Wrappers */
.input-wrapper,
.textarea-wrapper,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.input-wrapper i,
.textarea-wrapper i,
.select-wrapper i:first-child {
  position: absolute;
  left: 16px;
  color: #9e848d;
  font-size: 15px;
  transition: all 0.3s ease;
  z-index: 1;
}

.select-wrapper .select-arrow {
  position: absolute;
  right: 16px;
  color: #9e848d;
  font-size: 12px;
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* Input Fields */
.input-wrapper input,
.select-wrapper select,
.textarea-wrapper textarea {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid rgba(224, 214, 208, 0.7);
  border-radius: 12px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  outline: none;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.textarea-wrapper textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 14px;
}

.input-wrapper input:focus,
.select-wrapper select:focus,
.textarea-wrapper textarea:focus {
  border-color: #ba2325;
  box-shadow: 0 5px 20px rgba(186, 35, 37, 0.1);
  transform: translateY(-2px);
}

.input-wrapper input:focus + i,
.input-wrapper input:focus ~ i,
.select-wrapper select:focus + i,
.select-wrapper select:focus ~ i,
.textarea-wrapper textarea:focus + i,
.textarea-wrapper textarea:focus ~ i {
  color: #ba2325;
  transform: scale(1.1);
}

.input-wrapper input::placeholder,
.select-wrapper select::placeholder,
.textarea-wrapper textarea::placeholder {
  color: #b8a9a1;
  font-weight: 400;
}

/* Rating Stars Input */
.rating-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.rating-stars-input {
  display: flex;
  gap: 8px;
}

.rating-stars-input i {
  font-size: 28px;
  color: #d4c5bd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rating-stars-input i:hover,
.rating-stars-input i.active,
.rating-stars-input i.selected {
  color: #ffc107;
  transform: scale(1.1);
}

.rating-text {
  font-size: 14px;
  color: #766068;
}

/* File Upload Styles */
.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-upload-area {
  border: 2px dashed rgba(186, 35, 37, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  background: rgba(186, 35, 37, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.file-upload-area:hover {
  border-color: #ba2325;
  background: rgba(186, 35, 37, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(186, 35, 37, 0.1);
}

.file-upload-area i {
  font-size: 40px;
  color: #ba2325;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.file-upload-area:hover i {
  transform: scale(1.1) translateY(-5px);
}

.file-upload-text {
  font-size: 16px;
  color: #462b34;
  margin-bottom: 8px;
}

.browse-text {
  color: #ba2325;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.file-info {
  display: block;
  font-size: 12px;
  color: #9e848d;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* File Preview */
.file-preview {
  margin-top: 15px;
  padding: 12px 16px;
  background: rgba(70, 43, 52, 0.05);
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: space-between;
  animation: slideIn 0.3s ease;
}

.file-preview.show {
  display: flex;
}

.file-name {
  font-size: 13px;
  color: #462b34;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-name::before {
  content: "\f15b";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  color: #ba2325;
}

.remove-file {
  width: 24px;
  height: 24px;
  background: rgba(186, 35, 37, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ba2325;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-file:hover {
  background: #ba2325;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Submit Button */
.submit-group {
  margin-top: 20px;
}

.submit-feedback-btn {
  position: relative;
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #462b34, #ba2325);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(186, 35, 37, 0.25);
}

.submit-feedback-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: 1;
}

.submit-feedback-btn span {
  position: relative;
  z-index: 2;
}

.submit-feedback-btn i {
  position: relative;
  z-index: 2;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.submit-feedback-btn i:first-child {
  color: #ffc107;
}

.submit-feedback-btn:hover {
  background: transparent;
  border-color: #ba2325;
  color: #462b34;
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(186, 35, 37, 0.3);
}

.submit-feedback-btn:hover i:first-child {
  color: #462b34;
}

.submit-feedback-btn:hover i:last-child {
  transform: translateX(8px);
}

.submit-feedback-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Form Note */
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px;
  background: rgba(186, 35, 37, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(186, 35, 37, 0.1);
}

.form-note i {
  color: #ba2325;
  font-size: 16px;
}

.form-note p {
  font-size: 13px;
  color: #766068;
  margin: 0;
}

/* Success Message */
.feedback-success {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #462b34, #ba2325);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  color: #ffffff;
  box-shadow: 0 15px 30px rgba(186, 35, 37, 0.3);
  animation: successPop 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.feedback-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: #462b34;
  margin-bottom: 10px;
}

.feedback-success p {
  font-size: 16px;
  color: #766068;
  max-width: 500px;
  margin: 0 auto;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
  .feedback-form-section .sec-title h2 {
    font-size: 40px;
  }

  .form-container {
    padding: 45px;
  }
}

/* Tablet Landscape (992px and below) */
@media (max-width: 992px) {
  .feedback-form-section {
    padding: 70px 0;
  }

  .feedback-form-section .sec-title h2 {
    font-size: 36px;
  }

  .form-container {
    padding: 40px 30px;
  }

  .rating-stars-input i {
    font-size: 26px;
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .feedback-form-section {
    padding: 60px 0;
  }

  .feedback-form-section .sec-title h2 {
    font-size: 32px;
  }

  .feedback-form-section .sec-title p {
    font-size: 16px;
    padding: 0 15px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .rating-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .rating-stars-input i {
    font-size: 24px;
  }

  .file-upload-area {
    padding: 25px 15px;
  }

  .file-upload-area i {
    font-size: 35px;
  }

  .file-upload-text {
    font-size: 14px;
  }

  .submit-feedback-btn {
    padding: 16px 25px;
    font-size: 15px;
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  .feedback-form-section {
    padding: 50px 0;
  }

  .feedback-form-section .sec-title h2 {
    font-size: 28px;
  }

  .feedback-form-section .sec-title p {
    font-size: 15px;
  }

  .form-container {
    padding: 25px 15px;
    border-radius: 20px;
  }

  .input-wrapper input,
  .select-wrapper select,
  .textarea-wrapper textarea {
    padding: 12px 12px 12px 40px;
    font-size: 14px;
  }

  .input-wrapper i,
  .textarea-wrapper i,
  .select-wrapper i:first-child {
    left: 12px;
    font-size: 14px;
  }

  .rating-stars-input {
    gap: 5px;
  }

  .rating-stars-input i {
    font-size: 22px;
  }

  .rating-text {
    font-size: 13px;
  }

  .file-upload-area {
    padding: 20px 10px;
  }

  .file-upload-area i {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .file-upload-text {
    font-size: 13px;
  }

  .file-info {
    font-size: 11px;
  }

  .submit-feedback-btn {
    padding: 14px 20px;
    font-size: 14px;
  }

  .form-note {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px;
  }

  .form-note p {
    font-size: 12px;
  }

  .feedback-success h3 {
    font-size: 20px;
  }

  .feedback-success p {
    font-size: 14px;
  }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
  .feedback-form-section .sec-title h2 {
    font-size: 24px;
  }

  .form-container {
    padding: 20px 12px;
  }

  .input-wrapper input,
  .select-wrapper select,
  .textarea-wrapper textarea {
    padding: 10px 10px 10px 35px;
    font-size: 13px;
  }

  .input-wrapper i,
  .textarea-wrapper i,
  .select-wrapper i:first-child {
    font-size: 13px;
    left: 10px;
  }

  .rating-stars-input i {
    font-size: 20px;
  }

  .rating-text {
    font-size: 12px;
  }

  .file-upload-area {
    padding: 15px 8px;
  }

  .file-upload-area i {
    font-size: 25px;
  }

  .submit-feedback-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}
/* ===== FIXED SELECT DROPDOWN STYLES ===== */

/* Select wrapper - needs relative positioning */
.select-wrapper {
  position: relative;
  width: 100%;
  z-index: 10; /* Base z-index */
}

/* The select element itself */
.select-wrapper select {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid rgba(224, 214, 208, 0.7);
  border-radius: 12px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

/* Dropdown arrow */
.select-wrapper .select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e848d;
  font-size: 12px;
  pointer-events: none;
  z-index: 6;
}

/* The actual dropdown options - THIS IS THE KEY FIX */
.select-wrapper select option {
  padding: 12px 16px;
  background: #ffffff;
  color: #462b34;
  font-size: 15px;
  border-bottom: 1px solid #f0e6e0;
}

/* For browsers that support it, style the options */
.select-wrapper select optgroup,
.select-wrapper select option {
  background: white;
  color: #462b34;
}

/* Fix for Firefox */
@-moz-document url-prefix() {
  .select-wrapper select {
    text-indent: 0.01px;
    text-overflow: "";
    padding-right: 30px;
  }
}

/* Fix for IE/Edge */
.select-wrapper select::-ms-expand {
  display: none;
}

/* Focus state */
.select-wrapper select:focus {
  border-color: #ba2325;
  box-shadow: 0 5px 20px rgba(186, 35, 37, 0.1);
}

/* If you want a custom dropdown instead of browser default, use this */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid rgba(224, 214, 208, 0.7);
  border-radius: 12px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-select-trigger i:first-child {
  position: absolute;
  left: 16px;
  color: #9e848d;
  font-size: 15px;
}

.custom-select-trigger span {
  margin-left: 30px;
}

.custom-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #462b34;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(70, 43, 52, 0.2);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.custom-options.show {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.custom-option {
  padding: 12px 16px 12px 45px;
  cursor: pointer;
  border-bottom: 1px solid #f0e6e0;
  transition: all 0.2s ease;
  position: relative;
}

.custom-option i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e848d;
  font-size: 14px;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: rgba(186, 35, 37, 0.08);
  color: #ba2325;
  padding-left: 50px;
}

.custom-option.selected {
  background: rgba(186, 35, 37, 0.12);
  color: #ba2325;
  font-weight: 600;
}
/*  */
/* Simplified Custom Dropdown Styles */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 100;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid rgba(224, 214, 208, 0.7);
  border-radius: 12px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.custom-select-trigger i:first-child {
  position: absolute;
  left: 16px;
  color: #9e848d;
  font-size: 15px;
}

.custom-select-trigger span {
  margin-left: 30px;
  color: #2d2d2d;
}

.custom-select-trigger i:last-child {
  color: #9e848d;
  transition: transform 0.3s ease;
}

.custom-select-trigger.active {
  border-color: #ba2325;
  box-shadow: 0 5px 20px rgba(186, 35, 37, 0.1);
}

.custom-select-trigger.active i:last-child {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #462b34;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(70, 43, 52, 0.2);
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.custom-options.show {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.custom-option {
  padding: 12px 16px 12px 45px;
  cursor: pointer;
  border-bottom: 1px solid #f0e6e0;
  transition: all 0.2s ease;
  position: relative;
  font-size: 14px;
  color: #462b34;
  box-sizing: border-box;
}

.custom-option i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e848d;
  font-size: 14px;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background: rgba(186, 35, 37, 0.08);
  color: #ba2325;
  padding-left: 50px;
}

.custom-option.selected {
  background: rgba(186, 35, 37, 0.12);
  color: #ba2325;
  font-weight: 600;
}

/* Ensure dropdown is visible */
.custom-options.show {
  display: block !important;
  max-height: 300px !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
}

/* Make sure the trigger shows selected text */
.custom-select-trigger span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
  display: inline-block;
}

.custom-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #462b34;
  border-radius: 12px;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}
.custom-options.show {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

/*  */
/* ===== TESTIMONIAL PAGE SMOOTH ANIMATIONS ===== */

/* Scroll Progress Bar */
.testimonial-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  /* background: linear-gradient(90deg, #ba2325, #462b34); */
  z-index: 99999;
  transition: width 0.1s ease;
  /* box-shadow: 0 2px 10px rgba(186, 35, 37, 0.3); */
}

/* Base Animation Class */
.testimonial-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Visible State */
.testimonial-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Elements that should always be visible (filters, buttons) */
.testimonial-always-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Rating Cards Stagger */
.rating-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.rating-section.testimonial-visible .rating-card:nth-child(1) {
  transition-delay: 0.1s;
}
.rating-section.testimonial-visible .rating-card:nth-child(2) {
  transition-delay: 0.2s;
}
.rating-section.testimonial-visible .rating-card:nth-child(3) {
  transition-delay: 0.3s;
}
.rating-section.testimonial-visible .rating-card:nth-child(4) {
  transition-delay: 0.4s;
}

/* Video Cards Stagger */
.video-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.video-testimonials-section.testimonial-visible .video-card:nth-child(1) {
  transition-delay: 0.1s;
}
.video-testimonials-section.testimonial-visible .video-card:nth-child(2) {
  transition-delay: 0.15s;
}
.video-testimonials-section.testimonial-visible .video-card:nth-child(3) {
  transition-delay: 0.2s;
}
.video-testimonials-section.testimonial-visible .video-card:nth-child(4) {
  transition-delay: 0.25s;
}
.video-testimonials-section.testimonial-visible .video-card:nth-child(5) {
  transition-delay: 0.3s;
}
.video-testimonials-section.testimonial-visible .video-card:nth-child(6) {
  transition-delay: 0.35s;
}

/* Testimonial Cards Stagger */
.testi-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.text-testi-section.testimonial-visible .testi-card:nth-child(1) {
  transition-delay: 0.1s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(2) {
  transition-delay: 0.15s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(3) {
  transition-delay: 0.2s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(4) {
  transition-delay: 0.25s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(5) {
  transition-delay: 0.3s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(6) {
  transition-delay: 0.35s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(7) {
  transition-delay: 0.4s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(8) {
  transition-delay: 0.45s;
}
.text-testi-section.testimonial-visible .testi-card:nth-child(9) {
  transition-delay: 0.5s;
}

/* Case Cards Stagger */
.case-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.case-studies-section.testimonial-visible .case-card:nth-child(1) {
  transition-delay: 0.1s;
}
.case-studies-section.testimonial-visible .case-card:nth-child(2) {
  transition-delay: 0.15s;
}
.case-studies-section.testimonial-visible .case-card:nth-child(3) {
  transition-delay: 0.2s;
}
.case-studies-section.testimonial-visible .case-card:nth-child(4) {
  transition-delay: 0.25s;
}
.case-studies-section.testimonial-visible .case-card:nth-child(5) {
  transition-delay: 0.3s;
}
.case-studies-section.testimonial-visible .case-card:nth-child(6) {
  transition-delay: 0.35s;
}

/* Trust Message */
.trust-message {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rating-section.testimonial-visible .trust-message {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Form Container */
.form-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.feedback-form-section.testimonial-visible .form-container {
  opacity: 1;
  transform: translateY(0);
}

/* Load More Buttons */
.load-more-wrapper,
.testi-view-more {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.video-testimonials-section.testimonial-visible .load-more-wrapper,
.text-testi-section.testimonial-visible .testi-view-more {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Filter Buttons - always visible */
.filter-btn,
.tfilter {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* CTA Section */
.cta-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.cta-section.testimonial-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-animate {
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .rating-card,
  .video-card,
  .testi-card,
  .case-card {
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

/*  */
/* ===== CENTER ALIGN TRUST MESSAGE ===== */

/* Center the trust message container */
.trust-message {
  text-align: center !important;
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 15px 30px;
}

/* Center the message icon */
.message-icon {
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Center the message text */
.message-text {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 700px;
}

/* Center the signature section */
.message-signature {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px;
  width: 100%;
}

/* Ensure signature lines are balanced */
.signature-line {
  flex: 0 1 50px;
}

.signature-text {
  text-align: center;
  white-space: nowrap;
}

/* If you want to remove the signature lines on mobile */
@media (max-width: 576px) {
  .signature-line {
    width: 30px;
    flex: 0 1 30px;
  }
}

/* For very small screens, stack the signature */
@media (max-width: 400px) {
  .message-signature {
    flex-wrap: wrap;
  }

  .signature-line {
    display: none;
  }
}

/*  */
/* ===== DROPDOWN FIXES ===== */

.custom-select-wrapper {
  position: relative;
  width: 100%;
  z-index: 1000;
}

.custom-select-trigger {
  width: 100%;
  padding: 14px 16px 14px 45px;
  border: 2px solid rgba(224, 214, 208, 0.7);
  border-radius: 12px;
  font-size: 15px;
  font-family: "Nunito Sans", sans-serif;
  color: #2d2d2d;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.custom-select-trigger i:first-child {
  position: absolute;
  left: 16px;
  color: #9e848d;
  font-size: 15px;
}

.custom-select-trigger span {
  margin-left: 30px;
  color: #2d2d2d;
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-trigger i:last-child {
  color: #9e848d;
  transition: transform 0.3s ease;
}

.custom-select-trigger.active i:last-child {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute !important;
  top: calc(100% + 5px) !important;
  left: 0 !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 2px solid #462b34 !important;
  border-radius: 12px !important;
  box-shadow: 0 15px 40px rgba(70, 43, 52, 0.2) !important;
  max-height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  z-index: 9999 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.custom-options.show {
  max-height: 300px !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow-y: auto !important;
}

.custom-option {
  padding: 12px 16px 12px 45px !important;
  cursor: pointer !important;
  border-bottom: 1px solid #f0e6e0 !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  font-size: 14px !important;
  color: #462b34 !important;
  box-sizing: border-box !important;
  text-align: start;
}

.custom-option i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9e848d;
  font-size: 14px;
}

.custom-option:last-child {
  border-bottom: none !important;
}

.custom-option:hover {
  background: #a03232 !important;
  color: white !important;
  padding-left: 50px !important;
  text-align: start;
}

.custom-option.selected {
  background: #a03232 !important;
  color: white !important;
  font-weight: 600 !important;
  text-align: start;
}
