/* ==========================================================================
   WidgetForge — shared styles
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────────────
   TIMELINE
   ────────────────────────────────────────────────────────────────────────── */
.wf-timeline {
  --wf-spine-top: #C9A84C;
  --wf-spine-bot: rgba(201,168,76,0.2);
  --wf-spine-w:   2px;
  --wf-dot:       #C9A84C;
  --wf-dot-ring:  #F0EDE6;
  --wf-dot-size:  14px;
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.wf-timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: var(--wf-spine-w);
  background: linear-gradient(to bottom, var(--wf-spine-top) 0%, var(--wf-spine-bot) 100%);
  transform: translateX(-50%);
}
.wf-timeline__item {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 40px;
}
.wf-timeline__item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
}
.wf-timeline__item::after {
  content: '';
  position: absolute;
  left: 50%; top: 22px;
  width: var(--wf-dot-size);
  height: var(--wf-dot-size);
  background: var(--wf-dot);
  border: 3px solid var(--wf-dot-ring);
  border-radius: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}
.wf-timeline__card {
  background: #fff;
  border: 1px solid #e4e0d8;
  border-top: 3px solid #C9A84C;
  border-radius: 6px;
  padding: 22px 24px 20px;
  width: 100%;
  max-width: 340px;
  font-family: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s, border-color 0.2s;
}
.wf-timeline__year { font: 700 9.5px/1.2 Inter; letter-spacing: 0.2em; text-transform: uppercase; color: #C9A84C; margin-bottom: 8px; }
.wf-timeline__role { font: 700 15px/1.25 Inter; color: #0D1B3E; margin-bottom: 4px; }
.wf-timeline__org  { font: 600 12px/1.4 Inter; color: #6b7a99; margin-bottom: 10px; }
.wf-timeline__desc { font: 400 12.5px/1.7 Inter; color: #4a5568; margin: 0; }

@media (max-width: 768px) {
  .wf-timeline::before { left: 12px; transform: none; }
  .wf-timeline__item,
  .wf-timeline__item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 36px !important;
    padding-right: 0 !important;
    margin-bottom: 28px;
  }
  .wf-timeline__item::after { left: 12px; }
  .wf-timeline__card { max-width: 100%; }
}

/* ──────────────────────────────────────────────────────────────────────────
   FAQ
   ────────────────────────────────────────────────────────────────────────── */
.wf-faq { max-width: 860px; margin: 0 auto; }

.wf-faq--lined .wf-faq__item { border: 0 solid #ddd9d0; border-bottom-width: 1px; }
.wf-faq--lined .wf-faq__item:first-child { border-top-width: 1px; }

.wf-faq--boxed { display: flex; flex-direction: column; gap: 12px; }
.wf-faq--boxed .wf-faq__item {
  background: #ffffff;
  border: 1px solid #e4e0d8;
  border-radius: 8px;
  padding: 4px 24px;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.wf-faq__q {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background-color 0.2s, color 0.2s;
}
.wf-faq__q-text { font: 600 15px/1.4 Inter; color: #0D1B3E; transition: color 0.2s; }
.wf-faq__icon {
  width: 28px; height: 28px;
  background: #0D1B3E;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s;
}
.wf-faq__icon svg { width: 12px; height: 12px; transition: transform 0.3s ease; }

.wf-faq--icon-plus    .wf-faq__item.is-open .wf-faq__icon svg { transform: rotate(45deg); }
.wf-faq--icon-chevron .wf-faq__item.is-open .wf-faq__icon svg { transform: rotate(180deg); }
.wf-faq--icon-arrow   .wf-faq__item.is-open .wf-faq__icon svg { transform: rotate(90deg); }

.wf-faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}
.wf-faq__item.is-open .wf-faq__a { padding-bottom: 20px; }

.wf-faq__a-inner { font: 400 13.5px/1.78 Inter; color: #4a5568; }
.wf-faq__a-inner p { margin: 0 0 12px; }
.wf-faq__a-inner p:last-child { margin-bottom: 0; }
.wf-faq__a-inner ul, .wf-faq__a-inner ol { margin: 0 0 12px 18px; }
.wf-faq__a-inner strong { color: #0D1B3E; }
.wf-faq__a-inner a { color: #b8902e; }

/* ──────────────────────────────────────────────────────────────────────────
   FAQ v2 (TABS + ACCORDION)
   ────────────────────────────────────────────────────────────────────────── */

/* ── Global button reset scoped to this widget ─────────────────────────── */
.wf-faq-v2 button {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.wf-faq-v2 button:focus,
.wf-faq-v2 button:focus-visible {
  outline: none;
  box-shadow: none;
}

/* ── Tab navigation ────────────────────────────────────────────────────── */
.wf-faq-v2__tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.wf-faq-v2__tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #8ea2b1;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  box-shadow: none;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.wf-faq-v2__tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #c7d3dd !important;
  outline: none;
  box-shadow: none;
}

.wf-faq-v2__tab-btn:focus,
.wf-faq-v2__tab-btn:active,
.wf-faq-v2__tab-btn:focus-visible {
  background-color: rgba(255, 255, 255, 0.06) !important;
  outline: none;
  box-shadow: none;
}

.wf-faq-v2__tab-btn.is-active,
.wf-faq-v2__tab-btn.is-active:hover,
.wf-faq-v2__tab-btn.is-active:focus,
.wf-faq-v2__tab-btn.is-active:active {
  background-color: #1ebf95 !important;
  color: #ffffff !important;
  border-color: #1ebf95 !important;
  outline: none;
  box-shadow: none;
}

/* ── Tab panels ────────────────────────────────────────────────────────── */
.wf-faq-v2__panel            { display: none; }
.wf-faq-v2__panel.is-active  { display: block; }

.wf-faq-v2__panel--boxed              { display: none; flex-direction: column; gap: 10px; }
.wf-faq-v2__panel--boxed.is-active    { display: flex; }

.wf-faq-v2__panel--lined              { display: none; }
.wf-faq-v2__panel--lined.is-active    { display: block; }

/* ── Accordion items ───────────────────────────────────────────────────── */
.wf-faq-v2__item {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding-left: 24px;
  padding-right: 24px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.wf-faq-v2__item:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.wf-faq-v2__item:hover .wf-faq-v2__q-text {
  color: #ffffff;
}

.wf-faq-v2__item.is-open {
  background-color: rgba(30, 191, 149, 0.06);
  border-color: rgba(30, 191, 149, 0.30);
}

/* Open state always wins over hover */
.wf-faq-v2__item.is-open:hover {
  background-color: rgba(30, 191, 149, 0.06);
  border-color: rgba(30, 191, 149, 0.30);
}

/* Lined layout overrides */
.wf-faq-v2__panel--lined .wf-faq-v2__item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0;
}
.wf-faq-v2__panel--lined .wf-faq-v2__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.wf-faq-v2__panel--lined .wf-faq-v2__item.is-open {
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

/* ── Question button ───────────────────────────────────────────────────── */
.wf-faq-v2__q {
  width: 100%;
  padding: 20px 0;
  background: none;
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.wf-faq-v2__q:hover,
.wf-faq-v2__q:focus,
.wf-faq-v2__q:active,
.wf-faq-v2__q:focus-visible {
  background: none !important;
  background-color: transparent !important;
  outline: none;
  box-shadow: none;
  border: none;
  color: inherit;
}

.wf-faq-v2__q-text {
  font-family: Poppins, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #f2f7fb;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.wf-faq-v2__item.is-open .wf-faq-v2__q-text {
  color: #1ebf95;
}

/* ── Toggle icon ───────────────────────────────────────────────────────── */
.wf-faq-v2__icon {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s ease;
}

.wf-faq-v2__icon svg {
  width: 14px;
  height: 14px;
  color: #8ea2b1;
  fill: #8ea2b1;
  stroke: #8ea2b1;
  transition: transform 0.35s ease, color 0.25s ease, fill 0.25s ease, stroke 0.25s ease;
}

.wf-faq-v2__item.is-open .wf-faq-v2__icon {
  background-color: #1ebf95;
}
.wf-faq-v2__item.is-open .wf-faq-v2__icon svg {
  color: #ffffff;
  fill: #ffffff;
  stroke: #ffffff;
}

/* Icon rotation states */
.wf-faq-v2--icon-plus    .wf-faq-v2__item.is-open .wf-faq-v2__icon svg { transform: rotate(45deg); }
.wf-faq-v2--icon-chevron .wf-faq-v2__item.is-open .wf-faq-v2__icon svg { transform: rotate(180deg); }
.wf-faq-v2--icon-arrow   .wf-faq-v2__item.is-open .wf-faq-v2__icon svg { transform: rotate(180deg); }

/* ── Answer panel ──────────────────────────────────────────────────────── */
.wf-faq-v2__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.wf-faq-v2__item.is-open .wf-faq-v2__a {
  padding-bottom: 20px;
}

.wf-faq-v2__a-inner {
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #c7d3dd;
}
.wf-faq-v2__a-inner p                 { margin: 0 0 12px; }
.wf-faq-v2__a-inner p:last-child      { margin-bottom: 0; }
.wf-faq-v2__a-inner ul,
.wf-faq-v2__a-inner ol                { margin: 0 0 12px 18px; }
.wf-faq-v2__a-inner strong            { color: #f2f7fb; }
.wf-faq-v2__a-inner a                 { color: #1ebf95; }

/* ──────────────────────────────────────────────────────────────────────────
   LOGO MARQUEE
   ──────────────────────────────────────────────────────────────────────────
   !important is used on layout-critical properties because Elementor and
   many WordPress themes inject blanket rules like:
     .elementor-widget-container div { width:100%; display:block; }
   which break the inline horizontal marquee layout.
   ────────────────────────────────────────────────────────────────────────── */

/* ── Root wrapper ──────────────────────────────────────────────────────── */
.wf-marquee {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  overflow: hidden !important;
  background-color: #0f0f13;
}

/* ── Row ───────────────────────────────────────────────────────────────── */
.wf-marquee .wf-marquee__row {
  position: relative !important;
  overflow: hidden !important;
  padding: 24px 0;
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* ── Fade edge masks ───────────────────────────────────────────────────── */
.wf-marquee--fade .wf-marquee__row::before,
.wf-marquee--fade .wf-marquee__row::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  width: 180px !important;
  height: 100% !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
.wf-marquee--fade .wf-marquee__row::before {
  left: 0 !important;
  background: linear-gradient(to right, var(--wf-m-fade, #0f0f13), transparent) !important;
}
.wf-marquee--fade .wf-marquee__row::after {
  right: 0 !important;
  background: linear-gradient(to left, var(--wf-m-fade, #0f0f13), transparent) !important;
}

/* ── Scrolling track ───────────────────────────────────────────────────── */
.wf-marquee .wf-marquee__row .wf-marquee__track {
  display:        flex !important;
  flex-direction: row !important;
  flex-wrap:      nowrap !important;
  align-items:    center !important;
  width:          max-content !important;
  max-width:      none !important;
  will-change:    transform;
  animation:      wf-marquee-scroll 28s linear infinite;
  animation-direction: normal;
}

/* ── Pause on hover ────────────────────────────────────────────────────── */
.wf-marquee--pause .wf-marquee__row:hover .wf-marquee__track {
  animation-play-state: paused !important;
}

@keyframes wf-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Individual card ───────────────────────────────────────────────────── */
.wf-marquee .wf-marquee__track .wf-marquee__card {
  display:        inline-flex !important;
  flex-direction: row !important;
  align-items:    center !important;
  flex-shrink:    0 !important;
  flex-grow:      0 !important;
  width:          auto !important;
  max-width:      none !important;
  gap:            10px;
  margin:         0 32px;
  padding:        16px 28px;
  background:     rgba(255,255,255,0.04);
  border:         1px solid rgba(255,255,255,0.08);
  border-radius:  14px;
  white-space:    nowrap;
  cursor:         pointer;
  text-decoration:none;
  color:          inherit;
  box-sizing:     border-box;
  transition:     background 0.3s, border-color 0.3s, transform 0.3s;
}
.wf-marquee .wf-marquee__track .wf-marquee__card:hover {
  background:   rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  transform:    translateY(-3px);
}

/* ── Logo image ────────────────────────────────────────────────────────── */
.wf-marquee .wf-marquee__img {
  display:     block !important;
  width:       28px;
  height:      28px;
  max-width:   none !important;
  max-height:  none !important;
  flex-shrink: 0 !important;
  object-fit:  contain;
  transition:  opacity 0.3s ease, filter 0.3s ease;
}

/* Grayscale mode ─────────────────────────────────────────────────────────── */
.wf-marquee--grayscale .wf-marquee__img {
  filter: grayscale(1) opacity(0.6);
}
.wf-marquee--grayscale .wf-marquee__card:hover .wf-marquee__img {
  filter: grayscale(0) opacity(1);
}

/* ── Brand name label ──────────────────────────────────────────────────── */
.wf-marquee .wf-marquee__name {
  display:        inline !important;
  width:          auto !important;
  font-size:      15px;
  font-weight:    600;
  color:          #cccccc;
  letter-spacing: 0.5px;
  white-space:    nowrap;
  transition:     color 0.25s ease;
}

/* Brand colour on hover ──────────────────────────────────────────────────── */
.wf-marquee--brand-hover .wf-marquee__card:hover .wf-marquee__name {
  color: var(--brand, #ffffff);
}

