/* -------------------------------------------------------
   Why choose us (homepage reasons section)
   Behaviour lives in assets/js/why-choose.js.
------------------------------------------------------- */
.why-choose {
  --wc-base: var(--base-color, #dd6531);
  --wc-coral: #ef5f43;
  --wc-peach: #f38c4b;
  --wc-ink: var(--dark-gray, #292d36);
  --wc-muted: var(--medium-gray, #808291);
  --wc-line: rgba(41, 45, 54, 0.09);
  --wc-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wc-ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.25);
  position: relative;
  overflow: hidden;
  overflow: clip;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(41, 45, 54, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 45, 54, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Fade the grid out towards the edges */
.why-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, transparent 30%, #fff 85%);
  pointer-events: none;
}

.wc-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.wc-glow-1 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  left: -120px;
  background: var(--wc-peach);
  opacity: 0.18;
  animation: wc-drift 20s ease-in-out infinite;
}

.wc-glow-2 {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -80px;
  background: var(--wc-base);
  opacity: 0.12;
  animation: wc-drift 24s ease-in-out infinite reverse;
}

/* Heading */
.wc-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.wc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--wc-base);
  background: rgba(221, 101, 49, 0.08);
  border: 1px solid rgba(221, 101, 49, 0.25);
}

.wc-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wc-base);
  animation: wc-pulse 1.8s ease-out infinite;
}

.wc-heading {
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: -2px;
  color: var(--wc-ink);
}

.wc-gradient-text {
  background: linear-gradient(90deg, var(--wc-base), var(--wc-peach), var(--wc-coral), var(--wc-base));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wc-text-flow 7s linear infinite;
}

.wc-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--wc-muted);
}

.wc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
}

.wc-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--wc-ink);
  box-shadow: 0 16px 30px -16px rgba(41, 45, 54, 0.8);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s ease, transform 0.35s var(--wc-ease-out);
}

.wc-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--wc-peach), var(--wc-coral));
  transform: translateX(-101%);
  transition: transform 0.5s var(--wc-ease-out);
}

.wc-cta:hover,
.wc-cta:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(221, 101, 49, 0.8);
}

.wc-cta:hover::before,
.wc-cta:focus-visible::before {
  transform: none;
}

.wc-cta:focus-visible {
  outline: 3px solid rgba(221, 101, 49, 0.35);
  outline-offset: 3px;
}

.wc-cta-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  color: var(--wc-ink);
  background: #fff;
  transition: transform 0.45s var(--wc-ease-spring);
}

.wc-cta:hover .wc-cta-icon {
  transform: rotate(45deg);
}

.wc-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--wc-ink);
}

.wc-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--wc-base), var(--wc-peach));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--wc-ease-out);
}

.wc-link i {
  transition: transform 0.4s var(--wc-ease-spring);
}

.wc-link:hover,
.wc-link:focus-visible {
  color: var(--wc-base);
}

.wc-link:hover::after,
.wc-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.wc-link:hover i {
  transform: translateX(5px);
}

/* Orbit visual: three reason icons circle the brand mark */
.wc-orbit {
  --wc-size: 400px;
  --wc-radius: calc(var(--wc-size) * 0.4);
  position: relative;
  flex-shrink: 0;
  width: var(--wc-size);
  height: var(--wc-size);
}

.wc-ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.wc-ring-1 {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(41, 45, 54, 0.16);
  animation: wc-spin 60s linear infinite;
}

.wc-ring-2 {
  width: 66%;
  height: 66%;
  border: 1px solid rgba(221, 101, 49, 0.18);
  background: radial-gradient(circle, rgba(221, 101, 49, 0.06), transparent 70%);
}

/* Sweeping arc on the middle ring */
.wc-ring-2::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--wc-peach);
  animation: wc-spin 4s linear infinite;
}

.wc-ring-3 {
  width: 36%;
  height: 36%;
  background: rgba(221, 101, 49, 0.1);
  animation: wc-breathe 3.2s ease-in-out infinite;
}

.wc-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -38px 0 0 -38px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 40px -18px rgba(221, 101, 49, 0.7), 0 0 0 1px rgba(41, 45, 54, 0.06);
  animation: wc-float 5s ease-in-out infinite;
}

.wc-core img {
  width: 50px;
  height: 50px;
}

.wc-track {
  position: absolute;
  inset: 0;
  animation: wc-spin 36s linear infinite;
}

.wc-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--a)) translateX(var(--wc-radius)) rotate(calc(var(--a) * -1));
}

.wc-node-inner {
  position: absolute;
  top: -27px;
  left: -27px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 21px;
  color: var(--wc-ink);
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(41, 45, 54, 0.45), 0 0 0 1px rgba(41, 45, 54, 0.07);
  cursor: pointer;
  pointer-events: auto;
  animation: wc-spin 36s linear infinite reverse; /* stays upright while the track turns */
  transition: color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, scale 0.5s var(--wc-ease-spring);
}

.wc-node.is-active .wc-node-inner {
  color: #fff;
  background: linear-gradient(135deg, var(--wc-base), var(--wc-peach));
  box-shadow: 0 16px 34px -12px rgba(221, 101, 49, 0.9), 0 0 0 6px rgba(221, 101, 49, 0.14);
  scale: 1.15;
}

.wc-orbit:hover .wc-track,
.wc-orbit:hover .wc-node-inner {
  animation-play-state: paused;
}

/* Accordion */
.wc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wc-item {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--wc-line);
  box-shadow: 0 10px 30px -22px rgba(41, 45, 54, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s var(--wc-ease-out), background-color 0.4s ease;
}

/* Spotlight that follows the pointer */
.wc-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(243, 140, 75, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Gradient accent bar on the open item */
.wc-item::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--wc-base), var(--wc-peach));
  transform: scaleY(0);
  transition: transform 0.5s var(--wc-ease-out);
}

.wc-item:hover {
  transform: translateY(-3px);
  border-color: rgba(221, 101, 49, 0.22);
  box-shadow: 0 24px 44px -28px rgba(41, 45, 54, 0.45);
}

.wc-item:hover::before {
  opacity: 1;
}

.wc-item.is-open {
  background: #fff;
  border-color: rgba(221, 101, 49, 0.3);
  box-shadow: 0 30px 60px -32px rgba(221, 101, 49, 0.55);
}

.wc-item.is-open::after {
  transform: scaleY(1);
}

.wc-item-heading {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: 0;
}

.wc-trigger {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  color: var(--wc-ink);
  background: none;
  border: 0;
  cursor: pointer;
}

.wc-trigger:focus-visible {
  outline: 3px solid rgba(221, 101, 49, 0.35);
  outline-offset: -3px;
  border-radius: 22px;
}

.wc-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 21px;
  color: var(--wc-base);
  background: rgba(221, 101, 49, 0.08);
  border: 1px solid rgba(221, 101, 49, 0.2);
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease, transform 0.5s var(--wc-ease-spring), box-shadow 0.4s ease;
}

.wc-item:hover .wc-icon {
  transform: rotate(-8deg) scale(1.06);
}

.wc-item.is-open .wc-icon {
  color: #fff;
  background: linear-gradient(135deg, var(--wc-base), var(--wc-peach));
  border-color: transparent;
  box-shadow: 0 12px 26px -10px rgba(221, 101, 49, 0.9);
}

.wc-title {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

/* Plus that turns into a minus */
.wc-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(41, 45, 54, 0.05);
  transition: background-color 0.4s ease, transform 0.5s var(--wc-ease-spring);
}

.wc-toggle::before,
.wc-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--wc-ink);
  transition: transform 0.5s var(--wc-ease-spring), background-color 0.4s ease;
}

.wc-toggle::after {
  transform: rotate(90deg);
}

.wc-item.is-open .wc-toggle {
  background: var(--wc-ink);
  transform: rotate(180deg);
}

.wc-item.is-open .wc-toggle::before,
.wc-item.is-open .wc-toggle::after {
  background: #fff;
}

.wc-item.is-open .wc-toggle::after {
  transform: rotate(0deg);
}

/* Smooth height animation without measuring */
.wc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--wc-ease-out);
}

.wc-item.is-open .wc-panel {
  grid-template-rows: 1fr;
}

.wc-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.wc-panel-inner p {
  margin: 0;
  padding: 0 70px 24px 94px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wc-muted);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.5s var(--wc-ease-out);
}

.wc-item.is-open .wc-panel-inner p {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

/* Large outlined number in the corner */
.wc-num {
  position: absolute;
  right: 22px;
  bottom: -18px;
  z-index: -1;
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(221, 101, 49, 0.18);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.6s var(--wc-ease-out);
  pointer-events: none;
}

.wc-item.is-open .wc-num {
  opacity: 1;
  transform: none;
}

/* Scroll reveal (only hidden once JS is running) */
.wc-js .wc-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.8s var(--wc-ease-out);
  transition-delay: calc(var(--wc-i, 0) * 120ms);
}

.wc-js .wc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Once revealed, the item's own hover transitions take over again */
.wc-js .wc-item.wc-reveal.is-visible {
  transition: border-color 0.4s ease, box-shadow 0.5s ease, transform 0.5s var(--wc-ease-out), background-color 0.4s ease, opacity 0.7s ease;
  transition-delay: 0s;
}

.wc-js .wc-item.wc-reveal.is-visible:hover {
  transform: translateY(-3px);
}

.wc-js .wc-orbit.wc-reveal {
  transform: scale(0.85);
  transition: opacity 0.9s ease, transform 1.1s var(--wc-ease-spring);
  transition-delay: 0.2s;
}

.wc-js .wc-orbit.wc-reveal.is-visible {
  transform: none;
}

/* Keyframes */
@keyframes wc-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}

@keyframes wc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(221, 101, 49, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(221, 101, 49, 0); }
}

@keyframes wc-text-flow {
  to { background-position: 300% 0; }
}

@keyframes wc-spin {
  to { rotate: 360deg; }
}

@keyframes wc-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: 0.6; }
}

@keyframes wc-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

/* Responsive */
@media (max-width: 1199px) {
  .wc-orbit {
    --wc-size: 340px;
  }
}

@media (max-width: 991px) {
  .wc-head {
    margin-bottom: 45px;
  }

  .wc-orbit {
    --wc-size: 300px;
  }
}

@media (max-width: 767px) {
  .wc-orbit {
    display: none;
  }
}

@media (max-width: 575px) {
  .wc-heading {
    letter-spacing: -1px;
  }

  .wc-sub {
    font-size: 16px;
  }

  .wc-trigger {
    gap: 14px;
    padding: 18px;
  }

  .wc-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    border-radius: 13px;
  }

  .wc-title {
    font-size: 17px;
  }

  .wc-toggle {
    width: 32px;
    height: 32px;
  }

  .wc-panel-inner p {
    padding: 0 18px 20px 76px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wc-glow,
  .wc-eyebrow-dot,
  .wc-gradient-text,
  .wc-ring-1,
  .wc-ring-2::before,
  .wc-ring-3,
  .wc-core,
  .wc-track,
  .wc-node-inner {
    animation: none;
  }

  .wc-js .wc-reveal,
  .wc-item,
  .wc-panel,
  .wc-panel-inner p,
  .wc-num {
    transition: none;
  }
}
