/* ===============================
   TESTIMONIAL SECTION
================================ */
/* ===== SECTION ===== */
.testimonial-section {
  position: relative;
  background: var(--accent-bg);
  padding-bottom: 140px;
  overflow: visible;
}

/* ===== BADGE WRAP (ELEMENTOR STYLE) ===== */
.testimonial-badge-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -96px; /* 🔥 THIS IS THE MAGIC */
  margin-bottom: 150px;
  z-index: 5;
}

/* ===== CURVE MASK ===== */
.badge-curve {
  position: absolute;
  top: -46%;
  width: 237px;
  height: 142px;
  background: white;
  border-radius: 0 0 100% 100%;
  z-index: 1;
}
/* ===== ROTATING TEXT ===== */
.badge-rotate {
  position: absolute;
  width: 250px;
  height: 250px;
  z-index: 3;
}
.badge-rotate svg {
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
  margin-top: -45px;
}

.badge-rotate text {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  fill: #111;
}

/* ===== CENTER IMAGE ===== */
.badge-img {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 4;
}

.badge-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-img .quote {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: #fff;
}

/* ===== ROTATION ===== */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===============================
   SLIDER
================================ */
.testimonial-slider {
  max-width: 900px;
  margin: auto;
  position: relative;
}

.slide {
  display: none;
}
.slide.active {
  display: block;
}

.quote-text {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

.prev {
  left: -80px;
}
.next {
  right: -80px;
}

/* ===============================
   ANIMATION
================================ */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* section 6 css */
/* ===== CLIENTS SLIDER ===== */
.clients-section {
  background: #fff;
  padding: 90px 20px;
  overflow: hidden;
}

.clients-container {
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.clients-title {
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 61px;
  color: #111;
  background: var(--maroon-tint);
  padding: 10px 0px;
  border: 1px solid var(--maroon);
  border-radius: 101px;
}
.clients-title:hover {
  background: #ffffff;
}

/* MARQUEE */
.clients-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.clients-track {
  display: flex;
  gap: 70px;
  width: max-content;
}

/* CARD */
.client-card {
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
  padding-top: 10px;
}

.client-card img {
  max-width: 120px;
  width: 100%;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.35s ease;
}

/* HOVER */
.client-card:hover {
  transform: translateY(-8px);
  padding-top: 10px;
}

.client-card:hover img {
  opacity: 1;
  filter: grayscale(0%);
}
/* section 6 end */

/* ****************************team section 7++++++++++++++++++++++ */
.exec-team {
  padding: 140px 20px;
  background: #fff;
}

.exec-wrap {
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

/* MOVING PILL */
.moving-pill {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 40px;
  padding: 6px 18px;
  overflow: hidden;
  margin-bottom: 28px;
}

.moving-pill span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  white-space: nowrap;
  animation: pillMove 8s linear infinite;
}

.moving-pill:hover span {
  animation-play-state: paused;
}

@keyframes pillMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* TITLE */
.exec-title {
  font-size: 64px;
  margin-bottom: 90px;
}

/* GRID */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* CARD */
.exec-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.exec-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* HOVER EFFECT (IMPORTANT) */
.exec-card:hover img {
  transform: scale(1.08);
}

.exec-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

/* INFO BAR */
.card-info {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 14px 28px;
  border-radius: 18px;
  transition: bottom 0.5s ease;
}

.exec-card:hover .card-info {
  bottom: 30px;
}

.card-info small {
  font-size: 10px;
  letter-spacing: 1px;
}

.card-info h4 {
  font-size: 18px;
  margin-top: 4px;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  z-index: 3;
  transition: transform 0.4s ease;
}

.exec-card:hover .close-btn {
  transform: rotate(90deg) scale(1.1);
}

/* ****************************team section 7 end++++++++++++++++++++++ */

/* ***********enquery form section********** */
.inquiry-section {
  padding: 120px 20px;
  background: #fff;
}

.inquiry-bg {
  max-width: 1400px;
  margin: auto;
  background: url("https://images.unsplash.com/photo-1509395176047-4a66953fd231");
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  padding: 90px 40px;
}

.inquiry-card {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border-radius: 26px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
}

/* pill */
.pill {
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/* heading */
.inquiry-card h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 40px;
}

/* form */
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.inquiry-form input,
.inquiry-form select {
  border: none;
  background: #f2f2f2;
  padding: 18px 22px;
  border-radius: 40px;
  font-size: 14px;
  outline: none;
}

.inquiry-form select {
  grid-column: span 2;
}

/* footer */
.form-footer {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.form-footer p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* CTA */
.cta-btn {
  position: relative;
  background: var(--gold);
  border: none;
  padding: 16px 52px 16px 26px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
}

.x-icon {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* city lines */
.city-lines {
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/graph-paper.png");
  opacity: 0.08;
  pointer-events: none;
}

/* ******************enquey form section end*************** */
/* ===============================
   MOBILE
================================ */

/* RESPONSIVE */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .exec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .testimonial-badge-wrap {
    margin-top: -70px;
    margin-bottom: 110px;
  }

  .badge-rotate {
    width: 200px;
    height: 200px;
  }

  .badge-img {
    width: 110px;
    height: 110px;
  }
  .clients-track {
    gap: 40px;
  }

  .client-card {
    min-width: 120px;
  }

  .client-card img {
    max-width: 90px;
  }
  .exec-grid {
    grid-template-columns: 1fr;
  }
  .exec-title {
    font-size: 42px;
  }
  .exec-card img {
    height: 420px;
  }
  .inquiry-card {
    padding: 50px 26px;
  }

  .inquiry-card h2 {
    font-size: 28px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .inquiry-form select,
  .form-footer {
    grid-column: span 1;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
