.testimonial-section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  background: var(--background-color); 
  color: var(--text-color);          
}

.testimonial-card {
  background: var(--background-color); 
  border: 2px solid #d9a73a;
  border-radius: 12px;
  padding: 30px 28px;
  text-align: left;
  height: 100%;
  margin-bottom: 0;
  box-shadow: 5px 0 0 0 #d9a73a, 0 5px 0 0 #d9a73a,
  8px 10px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s, background-color 0.3s, color 0.3s;
}

.testimonial-card:last-child {
  margin-right: 32px;
}

#row {
  overflow: visible;
  margin-bottom: 24px;
  background-color: black;
}

.carousel-inner,
.testimonial-section {
  padding-bottom: 40px;
}

.testimonial-card p {
  color: var(--text-color); 
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.testimonial-name {
  font-weight: 500;
  margin-top: 18px;
  font-size: 22px;
  color: var(--text-color); 
}

.testimonial-role {
  color: var(--text-color);
  opacity: 0.85;
  font-size: 16px;
  margin-top: 2px;
}

.carousel-controls {
  position: absolute;
  bottom: -1rem;
  right: 2rem;
  display: flex;
  gap: 0.8rem;
}

.carousel-controls button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: #d9a73a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-controls span {
  width: 16px;
  height: 16px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: var(--text-color); 
}

.carousel-controls .prev span {
  transform: rotate(135deg);
}

.carousel-controls .next span {
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .testimonial-card {
    padding: 22px 15px;
    font-size: 15px;
    margin-bottom: 18px;
  }
  .testimonial-name {
    font-size: 18px;
  }
  .testimonial-role {
    font-size: 14px;
  }
  .carousel-controls {
    bottom: -3rem;
    right: 1rem;
    gap: 0.5rem;
  }
}
.footer h5 {
  font-weight: normal;
  font-size: 18px;
  color: var(--text-color); 
}

/* Square Card */
.steps-cta-section h3,
/* .steps-cta-section p, */
.steps-cta-section .steps-heading,
.steps-cta-section {
  color: white !important;
  overflow: hidden;
}

.steps-cta-section p{
  color: gray;
} 
.steps-cta-section .steps-btn {
  color: #222;
  background: #d9a73a;
}

.steps-cta-section {
  position: relative;
  background-color: #000000;
}

.steps-image-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(40px); 
  top: 0;
  z-index: 1;
  width: max-content; 
  pointer-events: none; 
}

@media (max-width: 991px) {
  .steps-image-wrapper {
    position: static;
    transform: none;
    margin-top: 24px;
    width: 100%;
  }
}

.steps-image {
  transform: translateY(20px);
}

.square-bottom-right {
  position: absolute;
  top: 100;
  bottom: -40px;
  right: -30px;
  width: 120px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.square-top-right {
  position: absolute;
  top: -40px;
  bottom: 0px;
  right: 0px;
  left: -30px;
  width: 120px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}


/* [data-theme="dark"] .btn-animate:hover {
  color: #000 !important; 
} */


/*  Get Started Button  */
.btn-animate-footer {
  position: relative;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  /* border-radius: 8px; */
  color: #000 !important;        
  background-color:#d9a73a !important;
  transition: color 0.4s, background-color 0.4s, border 0.4s;
  z-index: 1;
}

.btn-animate-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: white;         
  z-index: -1;
  transition: left 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-animate-footer:hover::before,
.btn-animate-footer:focus::before {
  left: 0;                    
}

.btn-animate-footer:hover,
.btn-animate-footer:focus {
  color: #000 !important;    
  background-color: #d9a73a !important;  
}

.btn-animate-footer span,
.btn-animate-footer i,
.btn-animate-footer img {
  z-index: 2;
  position: relative;
  color: #000 !important;               
}

/* Icon hover  */
.btn-animate-footer .icon-hover {
  position: absolute;
  left: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.btn-animate-footer .icon-hover {
  position: absolute;
  left: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.btn-animate-footer:hover .icon-hover {
  opacity: 1;
}

/* Icon size */
.btn-animate-footer img {
  width: 24px;
  height: 18px; 
  display: block;
  transition: opacity 0.3s ease;
}


.btn-animate-footer:hover .icon-hover {
  opacity: 1;
} 
/*  */
.goup1{
  color: black;
}

.modal-left {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1; 
}

.modal-content .btn-close {
  z-index: 1055;
}

 /* .list-unstyled li a {
  color: var(--text-color);
    text-decoration: none;

}

.list-unstyled {
  color: var(--btn-primary-hover);
} */

.footer-list li a{
  color: var(--text-color);
  text-decoration: none;
}


/*  Tablet  */
@media (max-width: 991px) {
  .steps-cta-section {
    padding: 60px 20px;
  }

  .steps-cta-section .row.steps-cta-row {
    flex-direction: column; /* Text on top, images below */
    align-items: center;
    gap: 30px;
  }

  /* CTA Column */
  .steps-cta-section .col-lg-6.text-lg-start.order-1.order-lg-2 {
    order: 1; /* Text first */
    text-align: center;
  }

  /* Steps Column */
  .steps-cta-section .col-lg-6.text-center.order-2.order-lg-1 {
    order: 2; /* Images below */
  }

  /* Heading */
  .steps-cta-section h3.steps-heading {
    font-size: 1.8rem;
  }

  /* Description */
  .steps-cta-section p.steps-desc {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto 20px auto;
    color: #ccc;
  }

  /* Steps Image */
  .steps-image {
    width: 80%;
    transform: translateY(15px);
  }

  /* Decorative squares */
  .square-top-right,
  .square-bottom-right {
    width: 100px;
  }

  /* Button */
  .btn-animate-footer {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

/*  Mobile  */
@media (max-width: 576px) {
  .steps-cta-section {
    padding: 40px 15px;
  }

  .steps-cta-section h3.steps-heading {
    font-size: 1.5rem;
  }

  .steps-cta-section p.steps-desc {
    font-size: 0.95rem;
    max-width: 95%;
    margin-bottom: 16px;
  }

  .steps-image {
    width: 90%;
    transform: translateY(10px);
  }

  .square-top-right,
  .square-bottom-right {
    width: 70px;
  }

  .btn-animate-footer {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}
