/* ═══════════════════════════════════════════════════════════════
   Valley Icon Box — Elementor Widget Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Base ── */
/* Fill the grid cell — widget → container → link → box all stretch
   so cards in an equal-height row match whichever sibling is tallest. */
.elementor-widget-valley_icon_box,
.elementor-widget-valley_icon_box .elementor-widget-container {
  height: 100%;
}
.vib-box {
  position: relative;
  transition: box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.vib-box:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.vib-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.vib-title {
  margin: 0 0 8px;
  line-height: 1.3;
}
/* Inherit from Elementor's Text (body) global typography so the description
   matches paragraphs set via the kit's system fonts. Designers can still
   override via the widget's Description typography control. */
.vib-desc {
  margin: 0;
  font-family: var(--e-global-typography-text-font-family, inherit);
  font-size:   var(--e-global-typography-text-font-size, inherit);
  font-weight: var(--e-global-typography-text-font-weight, inherit);
  line-height: var(--e-global-typography-text-line-height, 1.6);
}
.vib-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Band + Diamond (I-2)
   ═══════════════════════════════════════════════════════════════ */
.vib-band {
  height: 6px;
  margin: 0 24px;
  border-radius: 0;
}
.vib-diamond {
  width: 50px;
  height: 50px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -20px auto 16px;
  position: relative;
  z-index: 2;
  /* Gold ring outline — color comes from --vib-ring-color, set by the
     shape_ring_color control. Outer white stop matches the card bg so the
     ring appears to float independently of the diamond. */
  box-shadow:
    0 0 0 3px var(--vib-bg, #fff),
    0 0 0 4.5px var(--vib-ring-color, #C49B2F);
}
.vib-diamond > .vib-icon {
  transform: rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Diamond Stamp (J-2)
   ═══════════════════════════════════════════════════════════════ */
.vib-stamp-wrap {
  position: relative;
  margin: 0 auto 20px;
}

/* Diamond-shaped stamp */
.vib-stamp-diamond-shape {
  width: 72px;
  height: 72px;
}
.vib-stamp-diamond-shape .vib-stamp-ring {
  position: absolute;
  inset: -4px;
  border: 1.5px solid #C49B2F;
  transform: rotate(45deg);
}
.vib-stamp-diamond-shape .vib-stamp-outer {
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid;
}
.vib-stamp-diamond-shape .vib-stamp-inner {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vib-stamp-diamond-shape .vib-stamp-inner .vib-icon {
  transform: rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Certification Stamp (J-1) — Circular
   ═══════════════════════════════════════════════════════════════ */
.vib-stamp-circle {
  width: 72px;
  height: 72px;
}
.vib-stamp-circle .vib-stamp-ring {
  position: absolute;
  inset: -4px;
  border: 1.5px solid #C49B2F;
  border-radius: 50%;
}
.vib-stamp-circle .vib-stamp-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vib-stamp-circle .vib-stamp-inner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Corner Ticks (B)
   Pseudo-elements create L-shaped ticks at each corner.
   ═══════════════════════════════════════════════════════════════ */
.vib-corner-ticks {
  border: none !important;
}
.vib-corner-ticks::before,
.vib-corner-ticks::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #C49B2F;
  pointer-events: none;
  z-index: 1;
}
/* Top-left & bottom-right */
.vib-corner-ticks::before {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
  border-color: inherit;
}
.vib-corner-ticks::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-color: inherit;
}
/* Additional corners via box-shadow trick on an inner element */
.vib-ct-icon-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
/* Top-right and bottom-left corners */
.vib-corner-ticks .vib-ct-icon-wrap::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--vib-pad-top, 0px));
  right: calc(-1 * var(--vib-pad-right, 24px));
  width: 24px;
  height: 24px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-color: inherit;
  pointer-events: none;
}
.vib-corner-ticks .vib-ct-icon-wrap::after {
  content: '';
  position: absolute;
  bottom: calc(-1 * var(--vib-pad-bottom, 32px) + 16px);
  left: calc(-1 * var(--vib-pad-left, 24px));
  width: 24px;
  height: 24px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-color: inherit;
  pointer-events: none;
}

.vib-ct-diamond {
  width: 44px;
  height: 44px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vib-ct-diamond > .vib-icon {
  transform: rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Mini Ornate Frame (A)
   Full ornate double border with icon in a ring.
   ═══════════════════════════════════════════════════════════════ */
.vib-mini-ornate::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid;
  border-color: inherit;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
/* Corner ticks via background gradients */
.vib-mini-ornate::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  --oc: var(--ornate-color, #C49B2F);
  background:
    linear-gradient(var(--oc), var(--oc)) 6px 6px / 10px 1.5px no-repeat,
    linear-gradient(var(--oc), var(--oc)) 6px 6px / 1.5px 10px no-repeat,
    linear-gradient(var(--oc), var(--oc)) calc(100% - 6px) 6px / 10px 1.5px no-repeat,
    linear-gradient(var(--oc), var(--oc)) calc(100% - 7.5px) 6px / 1.5px 10px no-repeat,
    linear-gradient(var(--oc), var(--oc)) 6px calc(100% - 7.5px) / 10px 1.5px no-repeat,
    linear-gradient(var(--oc), var(--oc)) 6px calc(100% - 6px) / 1.5px 10px no-repeat,
    linear-gradient(var(--oc), var(--oc)) calc(100% - 6px) calc(100% - 7.5px) / 10px 1.5px no-repeat,
    linear-gradient(var(--oc), var(--oc)) calc(100% - 7.5px) calc(100% - 6px) / 1.5px 10px no-repeat;
}

.vib-ornate-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.vib-ornate-ring {
  width: 56px;
  height: 56px;
  border: 1.5px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vib-ornate-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════
   STYLE: Service Card (horizontal)
   Icon left · Title + description center · Arrow right
   ═══════════════════════════════════════════════════════════════ */
.vib-service-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-align: left !important;
}
.vib-service-card:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.vib-service-card:hover .vib-sc-arrow {
  color: #C49B2F;
  transform: translateX(4px);
}

/* Icon container */
.vib-sc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1B3A5C;
}
.vib-sc-icon .vib-icon i {
  color: #ffffff;
}
.vib-sc-icon .vib-icon svg {
  fill: #ffffff;
}

/* Content */
.vib-sc-content {
  flex: 1;
  min-width: 0;
}
.vib-service-card .vib-title {
  margin-bottom: 4px;
}
.vib-service-card .vib-desc {
  line-height: 1.5;
}

/* Arrow */
.vib-sc-arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: #C49B2F;
  opacity: 0.5;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.vib-service-card:hover .vib-sc-arrow {
  opacity: 1;
}

/* No background variant */
.vib-sc-no-bg .vib-sc-icon {
  background-color: transparent !important;
}
.vib-sc-no-bg .vib-sc-icon .vib-icon i {
  color: inherit;
}
.vib-sc-no-bg .vib-sc-icon .vib-icon svg {
  fill: currentColor;
}
