/* Brand theme overrides and utilities */

:root {
  /* Brand palette */
  --brand-green: #92b45a;
  --brand-red: #dc3d25;
  --brand-azure: #409bc7;
  --brand-azure-light: #7bb8d4;
  --brand-blue: #0cb3e0;
  --brand-orange: #e47f42;

  /* Map to theme tokens if applicable */
  --tj-color-theme-primary: var(--brand-blue);
  --tj-color-red-1: var(--brand-red);
}

/* Utility classes */
.text-brand-green { color: var(--brand-green) !important; }
.text-brand-red { color: var(--brand-red) !important; }
.text-brand-azure { color: var(--brand-azure) !important; }
.text-brand-azure-light { color: var(--brand-azure-light) !important; }
.text-brand-blue { color: var(--brand-blue) !important; }
.text-brand-orange { color: var(--brand-orange) !important; }

.bg-brand-green { background-color: var(--brand-green) !important; }
.bg-brand-red { background-color: var(--brand-red) !important; }
.bg-brand-azure { background-color: var(--brand-azure) !important; }
.bg-brand-azure-light { background-color: var(--brand-azure-light) !important; }
.bg-brand-blue { background-color: var(--brand-blue) !important; }
.bg-brand-orange { background-color: var(--brand-orange) !important; }

/* Buttons using brand primary */
.tj-primary-btn,
.btn-primary {
  background-color: var(--tj-color-theme-primary) !important;
  border-color: var(--tj-color-theme-primary) !important;
}

.btn-outline-primary {
  color: var(--tj-color-theme-primary) !important;
  border-color: var(--tj-color-theme-primary) !important;
}

.btn-primary:hover,
.tj-primary-btn:hover,
.btn-outline-primary:hover {
  filter: brightness(0.9);
}

/* Custom working process styles with lighter azure */
.tj-working-process-azure {
  background-color: var(--brand-azure-light);
  position: relative;
  z-index: 1;
  border-radius: 12px;
}

.tj-working-process-azure .sec-heading-wrap .sub-title {
  color: var(--brand-azure);
  background-color: var(--tj-color-common-white);
  border: 0;
  padding: 7px 10px;
}

.tj-working-process-azure .process-item {
  max-width: 422px;
  width: 100%;
  background-color: var(--tj-color-common-white);
  padding: 25px 28px 40px 28px;
  position: relative;
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(123, 184, 212, 0.15);
}

.tj-working-process-azure .process-item:nth-child(2) {
  z-index: 2;
}

.tj-working-process-azure .process-item:last-child {
  z-index: 1;
}

.tj-working-process-azure .process-item:not(:last-child)::after {
  content: "\e916";
  font-size: 24px;
  line-height: 1;
  color: var(--brand-azure);
  font-family: "bexon-icons" !important;
  font-weight: normal;
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--tj-color-common-white);
  border: 7px solid var(--brand-azure-light);
  top: 50%;
  inset-inline-end: -34px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 4;
}

.tj-working-process-azure .process-item .process-step {
  font-size: 120px;
  color: var(--brand-azure);
  background: linear-gradient(180deg, var(--brand-azure) 0%, var(--tj-color-common-white) 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: var(--tj-fw-sbold);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  line-height: 1;
  margin-bottom: 16px;
}

.tj-working-process-azure .process-item .title {
  font-weight: var(--tj-fw-sbold);
  margin-bottom: 20px;
  color: var(--brand-azure);
}

.tj-working-process-azure .process-item .desc {
  margin: 0;
  color: #666;
}

/* Responsive adjustments */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tj-working-process-azure .process-item {
    max-width: 302px;
    padding: 35px 20px;
  }

  .tj-working-process-azure .process-item .process-step {
    font-size: 100px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
  .tj-working-process-azure .process-item {
    max-width: 100%;
    padding: 35px 15px 30px 15px;
  }

  .tj-working-process-azure .process-item .process-step {
    font-size: 80px;
    margin-bottom: 20px;
  }

  .tj-working-process-azure .process-item .title {
    margin-bottom: 10px;
  }

  .tj-working-process-azure .process-item:not(:last-child)::after {
    font-size: 20px;
    width: 50px;
    height: 50px;
    inset-inline-end: -30px;
    -webkit-transform: translate(-50%, 0) rotate(90deg);
    -ms-transform: translate(-50%, 0) rotate(90deg);
    transform: translate(-50%, 0) rotate(90deg);
    top: inherit;
    inset-inline-end: inherit;
    bottom: -40px;
    inset-inline-start: 50%;
  }
}


