:root {
  --font-literata: "literata-variable";
  --font-rubik: "rubik", Sans-serif;
  --blue: #005d93;
  --blue2: #115e94;
  --blue3: #0c73b9;
  --yellow: #ffb30f;
  --bright-blue: #4a8ed2;
  --dark-blue: #04405e;
  --white: #ffffff;
  --gray: #44494d;
}

/* Megamenu */
body:has(.megamenu-open) {
  overflow-y: hidden;
}
.ham_icon {
  img {
    cursor: pointer;
  }
}
#megamenu-container {
  .megamenu-fixed-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-color: transparent transparent;
    transition: 0.5s all;
    transform: translateY(-100%);
    padding: 0px 45px 50px;
    background: url(/wp-content/uploads/2026/02/Mega-Menu-3.svg) no-repeat
      100% / cover;
    &.megamenu-open {
      transform: translateY(0%);
      transition: 0.5s all;
    }
    ul {
      padding: 0;
      list-style: none;
      a {
        font-family: var(--font-literata);
        color: var(--blue);
        font-family: var(--font-rubik);
        font-weight: 400;
        font-size: 19px;
        line-height: 29px;
        color: var(--blue);
        &:hover {
          color: var(--yellow);
        }
      }
    }
    .megamenu-logo-close-btn {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      max-width: 1260px;
      margin: 0 auto;
      padding-top: 110px;
      padding-bottom: 65px;
      .logo-wrapper {
        width: 430px;
      }
      .close-btn {
        position: absolute;
        top: 42px;
        right: 42px;
        img {
          cursor: pointer;
        }
      }
    }
    .megamenu-desktop-wrapper {
      width: 100%;
      max-width: 1245px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      .col-1 {
        padding-right: 60px;
        .menu-item {
          &:not(:last-child) {
            margin-bottom: 20px;
          }
          a {
            font-family: var(--font-literata);
            font-weight: 600;
            font-size: 20px;
            line-height: 30px;
            letter-spacing: 0px;
            text-transform: uppercase;
            color: var(--blue);
            &:hover {
              color: var(--yellow);
            }
          }
          &.contact-btn {
            margin-bottom: 30px;
            margin-top: 30px;
            a {
              background-color: var(--blue3);
              font-family: var(--font-literata);
              font-weight: 600;
              font-size: 20px;
              line-height: 26px;
              letter-spacing: 0.8px;
              text-align: center;
              text-transform: uppercase;
              color: var(--white);
              position: relative;
              padding: 12.5px 35px;
              z-index: 1;
              span {
                z-index: 2;
                position: relative;
              }
              &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 6px;
                height: 100%;
                background-color: var(--yellow);
                transition: 0.5s all;
              }
              &:hover::before {
                width: 100%;
                transition: 0.5s all;
              }
            }
          }
        }
        ul.rch_social_icons_ul {
          display: flex;
          flex-wrap: wrap;
          gap: 20px;
        }
      }
      .col-2 {
        padding-left: 60px;
        padding-right: 80px;
        border-left: 1px solid var(--yellow);
      }
      .col-3 {
        padding-left: 60px;
        border-left: 1px solid var(--yellow);
      }
      .col-2,
      .col-3 {
        .menu-item-has-children {
          > a {
            font-family: var(--font-literata);
            font-weight: 600;
            font-size: 20px;
            line-height: 30px;
            letter-spacing: 0px;
            text-transform: uppercase;
            color: var(--blue);
            &:hover {
              color: var(--yellow);
            }
          }
          > .sub-menu {
            margin-top: 16px;
            > .menu-item {
              &:not(:last-child) {
                margin-bottom: 10px;
              }
            }
          }
        }
      }
    }
    .mobile-megamenu-wrapper {
      display: none;
    }
  }
}

.color_heading {
  &.yellow {
    i {
      color: var(--yellow);
    }
  }
  &.navy_blue {
    i {
      color: #2e87c8;
    }
  }
  i {
    font-style: italic;
    color: var(--bright-blue);
  }
}
.btn-hover {
  .elementor-button {
    position: relative;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 8px;
      height: 100%;
      background-color: var(--yellow);
      transition: 0.5s all;
    }
    &:hover::before {
      width: 100%;
      transition: 0.5s all;
    }
    &:focus::before {
      width: 8px;
      transition: 0.5s all;
    }
    .elementor-button-content-wrapper {
      position: relative;
      z-index: 1;
    }
  }
}

.testimonial_slider {
  .elementor-swiper-button {
    svg {
      width: 57px !important;
      height: 40px !important;
    }
  }
}

.get_support_btn {
  .elementor-button-icon {
    position: relative;
    top: 1px;
    svg {
      width: 23px !important;
      height: 23px !important;
    }
  }
  .elementor-button:hover {
    .elementor-button-icon {
      svg {
        stroke: var(--white);
      }
    }
  }
}
.blog_container {
  position: relative;
  .read-more-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    .elementor-button-icon {
      position: relative;
      top: 1px;
      svg {
        width: 23px !important;
        height: 23px !important;
      }
    }
  }
}

.service_container {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--blue3);
    opacity: 0;
    visibility: hidden;
    transition: 0.5s all;
  }
  .service_description,
  .get_support_btn {
    display: none;
  }
  &:hover {
    &::after {
      opacity: 1;
      visibility: visible;
      transition: 0.5s all;
    }
    .elementor-widget-heading,
    .service_description,
    .get_support_btn {
      display: block;
      z-index: 1;
    }
  }
}

/* About Page */
.breadcrumbs {
  ul {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    li {
      font-family: var(--font-literata);
      font-weight: 400;
      font-style: Italic;
      font-size: 14px;
      line-height: 46px;
      color: var(--dark-blue);
      a {
        position: relative;
        padding-right: 20px;
        font: inherit;
        color: inherit;
        line-height: inherit;
        &::before {
          content: "";
          position: absolute;
          top: 64%;
          left: 86%;
          transform: translate(-50%, -50%);
          width: 9px;
          height: 9px;
          background: url(/wp-content/uploads/2026/02/Vector-1.svg) no-repeat;
        }
        &:hover {
          color: var(--yellow);
        }
      }
    }
  }
}
.service_list {
  ul {
    padding: 0;
    list-style: none;
    li {
      position: relative;
      padding-left: 45px;
      &::before {
        content: "";
        position: absolute;
        top: 11px;
        left: 0px;
        width: 29px;
        height: 29px;
        background: url(/wp-content/uploads/2026/02/Vector-2.svg) no-repeat;
      }
    }
  }
}
.counter_results {
  .elementor-counter-title {
    text-align: center;
  }
}

/* Contact Page */
.contact_form {
  .gform_wrapper {
    .gform_heading {
      display: none;
    }
    form {
      .gform-body {
        .gform_fields {
          row-gap: 27px;
          column-gap: 24px;
          label,
          legend {
            font-family: var(--font-literata);
            font-weight: 600;
            font-size: 14px;
            line-height: 26px;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            color: var(--gray);
            .gfield_required {
              color: inherit;
            }
          }
          input,
          textarea,
          select {
            font-family: var(--font-literata);
            font-weight: 400;
            font-size: 14px;
            line-height: 26px;
            color: var(--gray);
            border: 1px solid #1b365d;
            border-radius: 0;
            box-shadow: 0 0 0;
            &::placeholder {
              font: inherit;
              color: inherit;
            }
          }
          input,
          select {
            height: 51px;
          }
          select {
            padding-top: 12px;
            &[pseudo="-internal-select-inner-element"],
            option {
              font: inherit;
              color: inherit;
            }
          }
          textarea {
            min-block-size: 0;
            height: 138px;
            resize: none;
          }
        }
      }
      .gform-footer {
        display: table;
        margin-left: auto;
        width: 168px;
        height: 68px;
        background: var(--blue);
        position: relative;
        margin-top: 30px;
        .gform_loader {
          display: none !important;
        }
        &::before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 8px;
          height: 100%;
          background-color: var(--yellow);
          transition: 0.5s all;
        }
        &:hover::before {
          width: 100%;
          transition: 0.5s all;
        }
        &:focus::before {
          width: 8px;
          transition: 0.5s all;
        }
        input[type="submit"] {
          width: 100% !important;
          height: 100% !important;
          background: transparent !important;
          padding: 0 !important;
          border: 0 !important;
          outline: 0 !important;
          font-family: var(--font-literata) !important;
          font-weight: 600 !important;
          font-size: 14px !important;
          line-height: 26px !important;
          letter-spacing: 0.8px !important;
          text-align: center !important;
          text-transform: uppercase !important;
          color: var(--white) !important;
          z-index: 2 !important;
          position: relative !important;
          &:hover {
            background: transparent !important;
            padding: 0 !important;
            border: 0 !important;
            outline: 0 !important;
          }
        }
      }
    }
  }
}
/* Validation Message Styles */
.gform_wrapper .gform_validation_errors {
  background: transparent !important;
  box-shadow: 0 0 0 !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 20px 0 20px !important;
  outline: 0 !important;
  .gform_submission_error {
    flex-direction: row !important;
    align-items: center;
  }
}
.contact_form .gform_wrapper .gform_confirmation_message {
  text-align: left;
  font-weight: bold;
  color: var(--gray);
  margin-top: 20px;
}

.blog_para {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.epi-ul-list {
  ul {
    padding: 0;
    list-style: none;
    li {
      position: relative;
      padding-left: 20px;
      &::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 0px;
        width: 6px;
        height: 6px;
        border-radius: 100%;
        background: var(--dark-blue);
      }
    }
  }
}
.training-list {
  ul {
    padding: 0;
    list-style: none;
    li {
      position: relative;
      padding-left: 45px;
      &::before {
        content: "";
        position: absolute;
        top: 11px;
        left: 0px;
        width: 29px;
        height: 29px;
        background: url(/wp-content/uploads/2026/02/Vector-25.svg) no-repeat;
      }
      &:not(:last-child) {
        margin-bottom: 20px;
      }
    }
  }
}

.article_btn {
  .elementor-button {
    .elementor-button-icon {
      position: relative;
      top: -1px;
      svg {
        width: 13px !important;
        height: 11px !important;
      }
    }
  }
}

.sponsorship-list {
  ul {
    padding: 0;
    list-style: none;
    li {
      position: relative;
      padding-left: 45px;
      &::before {
        content: "";
        position: absolute;
        top: 11px;
        left: 0px;
        width: 29px;
        height: 29px;
        background: url(/wp-content/uploads/2026/02/Vector-2.svg) no-repeat;
      }
    }
  }
}

.member_table {
  .dt-container {
    .dt-length {
      select.dt-input {
        font-family: var(--font-rubik);
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        color: var(--dark-blue);
        border: 1px solid var(--dark-blue);
        width: 51.33px;
        height: 38px;
        padding: 10px 15px 10px 5px;
        background: #f6f6f6;
      }
      label {
        font-family: var(--font-rubik);
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        color: var(--dark-blue);
      }
    }
    .dt-search {
      gap: 15px;
      label {
        font-family: var(--font-rubik);
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
        color: var(--dark-blue);
      }
      input {
        height: 37px;
        border: 1px solid var(--dark-blue);
        border-radius: 0px;
        width: 232px;
      }
    }
    .dt-layout-table {
      .tablepress {
        thead {
          border: 1px solid var(--dark-blue);
          th {
            background-color: var(--blue3);
            color: var(--white);
            padding: 28.5px 5px 28.5px 13px;
            &:hover {
              background-color: var(--blue3);
              color: var(--white);
            }
          }
          th:first-child {
            padding-left: 27px;
          }
          .dt-column-header {
            flex-direction: row-reverse;
            align-items: flex-end;
            gap: 0px 8px;
            span.dt-column-title {
              font-family: var(--font-rubik);
              font-weight: 600;
              font-size: 22px;
              line-height: 100%;
              letter-spacing: 0%;
            }
            .dt-column-order {
              color: var(--white);
              &::after,
              &::before {
                opacity: 1;
              }
            }
          }
        }
        tbody {
          border-left: 1px solid var(--dark-blue);
          border-right: 1px solid var(--dark-blue);
          border-bottom: 1px solid var(--dark-blue);
          tr:nth-child(even) {
            td {
              background: var(--white);
              color: var(--dark-blue);
            }
          }
          tr {
            td {
              font-family: var(--font-rubik);
              font-weight: 400;
              font-size: 14px;
              line-height: 24px;
              border: 0;
              padding-top: 17.5px;
              padding-bottom: 17.5px;
              padding-left: 13px;
              &:hover {
                a {
                  color: var(--blue3);
                }
              }
              &:first-child {
                padding-left: 27px;
              }
            }
          }
          tr:nth-child(odd) {
            td {
              background: #e8eef2;
            }
          }
        }
      }
    }
    .dt-info {
      font-family: var(--font-rubik);
      font-weight: 400;
      font-size: 14px;
      line-height: 24px;
      color: var(--dark-blue);
    }
    .dt-paging {
      nav {
        display: flex;
        gap: 10px;
        align-items: center;
        .dt-paging-button {
          font-family: var(--font-rubik);
          font-weight: 700;
          font-size: 14px;
          line-height: 24px;
          letter-spacing: 200%;
          padding: 8px 10px 8px 12px;
          margin: 0;
          width: 36px;
          height: 36px;
          &.current {
            width: 36px;
            height: 36px;
            border: 1px solid var(--dark-blue);
            background: #f6f6f6;
          }
          &.next {
            padding-right: 0;
            padding-left: 15px;
          }
        }
      }
    }
  }
}

.member_accordian {
  .e-n-accordion-item {
    .e-n-accordion-item-title {
      padding-left: 20px;
      padding-right: 20px;
      background: #0c73b9;
      color: var(--white);
      .e-n-accordion-item-title-text {
        width: 100%;
        text-align: center;
        color: var(--white);
      }
      svg {
        fill: var(--white) !important;
      }
    }
    .e-n-accordion-item-title-header {
      width: 100%;
    }
  }
}

.contact_form {
  &.member {
    .gform_wrapper {
      & form {
        & .gform-body {
          & .gform_fields {
            .gfield_checkbox {
              input {
                width: 18px;
                height: 18px;
                margin-top: 4px;
              }
            }
            .gfield_radio {
              input {
                width: 18px;
                height: 18px;
                margin-top: 4px;
                border-radius: 100%;
              }
            }
            .gfield--type-name {
              grid-column: span 12;
            }
            .gform-grid-col {
              display: flex;
              flex-wrap: wrap;
              flex-direction: column-reverse;
              label {
                margin: 0 0 7px;
              }
            }
          }
        }
      }
    }
  }
}

.login-form {
  form {
    .um-field {
      .um-field-label {
        label {
          font-family: var(--font-literata);
          font-weight: 600;
          font-size: 14px;
          line-height: 26px;
          letter-spacing: 0.8px;
          text-transform: uppercase;
          color: var(--gray);
        }
      }
      .um-field-area {
        input {
          font-family: var(--font-literata);
          font-weight: 400;
          font-size: 14px !important;
          line-height: 26px;
          color: var(--gray);
          border: 1px solid #1b365d !important;
          border-radius: 0;
          box-shadow: 0 0 0;
          height: 51px !important;
        }
      }
      .um-field-checkbox-option {
        font-family: var(--font-literata);
        font-weight: 400;
        font-size: 14px;
        line-height: 26px;
        color: var(--gray) !important;
        margin-left: 27px !important;
      }
      .um-field-checkbox-state {
        display: none;
      }
      input[type="checkbox"] {
        opacity: 1 !important;
        width: 19px !important;
        height: 19px !important;
        border: 1px solid var(--dark-blue) !important;
        margin-top: 3px;
        border-radius: 0;
      }
    }
    .um-left,
    .um-center {
      input[type="submit"] {
        font-family: var(--font-literata);
        font-weight: 600;
        font-size: 18px;
        line-height: 30px;
        text-align: center;
        color: var(--white);
        border: none;
        background: var(--blue);
        border-radius: 0px !important;
        text-transform: uppercase !important;
        transition: 0.5s all;
      }
      input[type="submit"]:hover {
        transition: 0.5s all;
        background: var(--blue3) !important;
      }
    }
    .um-right {
      .um-button {
        font-family: var(--font-literata);
        font-weight: 600;
        font-size: 18px;
        line-height: 30px;
        text-align: center;
        color: var(--white);
        border: none;
        border-radius: 0px !important;
        text-transform: uppercase !important;
        transition: 0.5s all;
        box-shadow: 0 0 0 !important;
        background: var(--bright-blue);
      }
      .um-button:hover {
        transition: 0.5s all;
        background: var(--blue2) !important;
      }
    }
    .um-link-alt {
      font-family: var(--font-literata);
      font-weight: 400;
      font-size: 14px;
      line-height: 26px;
      color: var(--gray) !important;
    }
    .um-field-error {
      background: transparent;
      color: #c02b0a;
      margin: 8px 0 0;
      padding: 0;
      .um-field-arrow {
        display: none;
      }
    }
  }
}
