:root {
  --nunito: "nunito-sans";
  --color-white: #ffffff;
  --color-light-blue: #adced8;
  --color-dark-blue: #26313a;
  --color-light-grey: #d4dbdd;
  --color-FAFAFA: #fafafa;
  --color-sky-blue: #5a8faf;
  --color-royal-blue: #15467b;
  --color-black: #242834;
  --gradient: linear-gradient(90deg, #5a8faf 0%, #15467b 100%);
}

/* Header */
header:has(.announcement_section[style*="display: none"]) .header_container {
  top: 20px;
}
.ham_icon svg {
  cursor: pointer;
}
html:has(.megamenu-open),
body:has(.megamenu-open) {
  overflow-y: hidden;
}
#megamenu-container {
  position: relative;
  font-family: var(--nunito);
  .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/01/Mega-Menu-2.svg) no-repeat
      100% / cover;
    &.megamenu-open {
      transform: translateY(0%);
      transition: 0.5s all;
    }
    .megamenu-logo-close-btn {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      position: relative;
      max-width: 1132px;
      margin: 0 auto;
      padding-top: 110px;
      .close-btn {
        position: absolute;
        top: 42px;
        right: 42px;
        img {
          cursor: pointer;
        }
      }
    }
    .megamenu-desktop-wrapper {
      width: 100%;
      max-width: 1132px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      padding-top: 75px;
      .col-1 {
        padding-right: 63px;
        border-right: 1px solid var(--color-light-blue);
        .custom-menu-hamone {
          li {
            text-align: right;
            &:not(:last-child) {
              margin-bottom: 21px;
            }
            a {
              font-family: inherit;
              font-weight: 500;
              font-size: 18px;
              line-height: 30px;
              letter-spacing: 1.28px;
              text-transform: uppercase;
            }
          }
        }
      }
      .col-2 {
        padding-left: 58px;
        padding-right: 45px;
      }
      .col-3 {
        padding-left: 45px;
      }
      .col-2 #menu-mega-menu-col-2 {
        > .menu-item-has-children > a {
          font-family: inherit;
          font-weight: 500;
          font-size: 18px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-transform: uppercase;
          position: relative;
          padding-bottom: 5px;
          &:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #95c5d2 0%, #eaeeef 100%);
          }
        }
        > .menu-item-has-children > .sub-menu {
          margin-top: 20px;
          > li {
            margin-top: 10px;
            > a {
              font-family: Merriweather;
              font-weight: 400;
              font-size: 24px;
              line-height: 130%;
              letter-spacing: 0%;
              color: var(--color-light-blue);
            }
            > a + .sub-menu {
              margin-top: 10px;
            }
            .sub-menu {
              a {
                font-family: var(--nunito);
                font-weight: 400;
                font-size: 17px;
                line-height: 40px;
                color: var(--color-white);
              }
            }
          }
        }
      }
      .col-3 #menu-mega-menu-col-3 {
        > .menu-item-has-children > a {
          font-family: inherit;
          font-weight: 500;
          font-size: 18px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-transform: uppercase;
          position: relative;
          padding-bottom: 5px;
          &:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #95c5d2 0%, #eaeeef 100%);
          }
        }
        > .menu-item-has-children:first-child > .sub-menu {
          margin-top: 20px;
          > li:first-child {
            margin-top: 5px;
            > a {
              font-family: Merriweather;
              font-weight: 400;
              font-size: 24px;
              line-height: 130%;
              letter-spacing: 0%;
              color: var(--color-light-blue);
            }
          }
          .sub-menu {
            margin-top: 10px;
            a {
              font-family: var(--nunito);
              font-weight: 400;
              font-size: 17px;
              line-height: 40px;
              color: var(--color-white);
            }
          }
        }
        > .menu-item-has-children:last-child {
          margin-top: 40px;
          > .sub-menu {
            margin-top: 25px;
            a {
              font-family: var(--nunito);
              font-weight: 400;
              font-size: 17px;
              line-height: 40px;
              color: var(--color-white);
            }
          }
        }
      }
    }
    .mobile-megamenu-wrapper {
      display: none;
    }
    .megamenu-wrapper {
      ul {
        padding: 0;
        list-style: none;
        a {
          color: var(--color-white);
          &:hover {
            color: var(--color-light-blue) !important;
          }
        }
      }
      .rch_social_icons_ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 40px;
        li a img {
          transform: translateY(0px);
          transition: 0.3s all;
          &:hover {
            transform: translateY(-5px);
            transition: 0.3s all;
          }
        }
      }
    }
  }
}
.rch-breadcrumbs {
  ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    li {
      font-family: var(--nunito);
      font-weight: 500;
      font-size: 14px;
      line-height: 100%;
      letter-spacing: 1.32px;
      text-transform: uppercase;
      color: var(--color-dark-blue);
      &:not(:last-child) {
        margin-right: 26px;
        position: relative;
        &::after {
          content: "";
          position: absolute;
          background: url(/wp-content/uploads/2026/01/Layer_3.svg) no-repeat;
          top: 1.5px;
          right: -17px;
          width: 7px;
          height: 11px;
        }
      }
      a {
        color: inherit;
        &:hover {
          color: var(--color-royal-blue);
        }
      }
    }
  }
}
.announcement_section {
  .elementor-widget-heading {
    i {
      font-family: Merriweather;
      font-weight: 400;
      font-style: Italic;
      font-size: 13px;
      line-height: 27px;
      color: #f0f4f5;
    }
  }
  .close_icon .elementor-icon {
    cursor: pointer;
  }
}
.header_menu {
  .elementor-nav-menu--main {
    .elementor-item,
    .elementor-item-active {
      position: relative;
      &:hover {
        &::after {
          content: "";
          position: absolute;
          bottom: -14px;
          left: 0;
          width: 100%;
          height: 4px;
          background: linear-gradient(90deg, #5a8faf 0%, #adced8 100%);
        }
      }
      &::after {
        content: "";
        position: absolute;
        bottom: -14px;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #5a8faf 0%, #adced8 100%);
      }
    }
  }
}

/* Home Page */
.blue_heading {
  i {
    color: var(--color-light-blue);
  }
}
.event_hover {
  &:hover {
    .event_icon img {
      filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%)
        hue-rotate(235deg) brightness(115%) contrast(101%);
    }
    .event_heading .elementor-heading-title {
      color: var(--color-white) !important;
    }
    .gradient_btn .elementor-button {
      color: var(--color-white) !important;
      svg {
        stroke: var(--color-white) !important;
      }
    }
  }
}
.gradient_btn {
  .elementor-button {
    position: relative;
    &::after {
      content: "";
      position: absolute;
      bottom: -14px;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #5a8faf 0%, #adced8 100%);
    }
    .elementor-button-icon {
      svg {
        width: 15px;
      }
    }
  }
}
.gradient_heading {
  .elementor-heading-title {
    position: relative;
    display: inline-block;
    &::after {
      content: "";
      position: absolute;
      bottom: -14px;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, #5a8faf 0%, #adced8 100%);
    }
    .elementor-button-icon {
      svg {
        width: 15px;
      }
    }
  }
  &.blue {
    .elementor-heading-title {
      &::after {
        background: var(--gradient);
      }
    }
  }
}
.donation_slider {
  .swiper-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
    .swiper-pagination-bullet {
      margin: 0 !important;
      border: 1.5px solid var(--color-white) !important;
      border-radius: 100%;
      background: #d9d9d947 !important;
      width: 10px;
      height: 10px;
      opacity: 1 !important;
      &.swiper-pagination-bullet-active,
      &:hover {
        border: 1.5px solid var(--color-white) !important;
        background: #d9d9d9 !important;
      }
    }
  }
}

/* Contact Page */
.rch-contact-form {
  font-family: var(--nunito);
  .gform_heading p.gform_required_legend {
    display: none;
  }
  .gform_submission_error {
    .gform-icon--circle-error::before {
      position: relative;
      left: -0.5px;
      top: 0.5px;
    }
  }
  .gform-body {
    .gform_fields {
      row-gap: 26px;
      .gfield {
        &.gfield--type-choice,
        &.gfield--type-textarea {
          display: flex;
          flex-wrap: wrap;
          legend,
          label {
            order: 1;
            flex: 0 0 100%;
            margin-bottom: 0;
            line-height: normal;
            text-transform: capitalize;
            font-size: 16px;
            line-height: 165%;
          }
          .gfield_description {
            order: 2;
            flex: 0 0 100%;
            margin: 8px 0 18px;
            font-family: var(--nunito);
            font-weight: 400;
            font-size: 16px;
            line-height: 165%;
            color: var(--color-dark-blue);
          }
          .validation_message {
            order: 4;
            margin-bottom: 0;
            color: #c02b0a;
            font-size: 13px;
            line-height: 19px;
          }
          .ginput_container {
            order: 3;
            flex: 0 0 100%;
          }
        }
        legend,
        label {
          font-family: var(--nunito);
          font-weight: 500;
          font-size: 16px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-transform: uppercase;
          gap: 0;
          color: var(--color-dark-blue);
          .gfield_required {
            font: inherit;
            color: inherit;
            display: none;
          }
        }
        input {
          border: 2px solid var(--color-light-grey);
          background: var(--color-FAFAFA);
          border-radius: 5px;
          box-shadow: 0 0 0;
          height: 47px;
          font-family: var(--nunito);
          font-weight: 500;
          font-size: 16px;
          line-height: 100%;
          color: var(--color-dark-blue);
          &.gfield-choice-input {
            width: 30px;
            min-width: 30px;
            height: 30px;
            margin: 0;
          }
        }
        textarea {
          border: 2px solid var(--color-light-grey);
          background: var(--color-FAFAFA);
          border-radius: 5px;
          box-shadow: 0 0 0;
          height: 85px;
          resize: none;
          min-block-size: 0rem;
          color: var(--color-dark-blue);
        }
        .gfield--type-choice {
          display: flex;
          flex-wrap: wrap;
          legend {
            order: 1;
            flex: 0 0 100%;
          }
          .gfield_description {
            order: 2;
            flex: 0 0 100%;
          }
          .ginput_container_checkbox {
            order: 3;
            flex: 0 0 100%;
          }
        }
        .gchoice {
          display: flex;
          align-items: center;
        }
        .gform-field-label--type-sub {
          display: none;
        }
      }
    }
  }
  .gform-footer {
    margin-top: 18px;
    input[type="submit"] {
      font-family: var(--nunito) !important;
      font-weight: 700 !important;
      font-size: 14px !important;
      line-height: 100% !important;
      letter-spacing: 1.32px !important;
      text-transform: uppercase !important;
      color: var(--color-white) !important;
      background: var(--color-sky-blue) !important;
      border-radius: 5px !important;
      cursor: pointer !important;
      transition: 0.5s all;
      padding: 13.5px 52px !important;
      &:hover {
        transition: 0.5s all;
        background: var(--color-light-blue) !important;
      }
    }
  }
}

/* Volunteer Page */
.rch-contact-form {
  &.volunteer {
    .gform-body {
      .gform_fields {
        row-gap: 20px;
        .gfield {
          &.gfield--type-textarea {
            legend,
            label {
              margin-bottom: 18px;
            }
          }
        }
      }
    }
  }
}

/* Programs Page */
.number_list {
  ol {
    padding-left: 24px;
    list-style: none;
    counter-reset: section;
    li {
      position: relative;
      &:not(:last-child) {
        margin-bottom: 25px;
      }
      &:before {
        counter-increment: section;
        content: counter(section) ".";
        position: absolute;
        left: -18px;
        font-family: var(--nunito);
        font-weight: 400;
        font-size: 17px;
        line-height: 27px;
        letter-spacing: 0%;
        color: var(--color-dark-blue);
      }
      &:has(strong):before {
        color: var(--color-royal-blue);
        font-weight: 700;
      }
      strong {
        color: var(--color-royal-blue);
        font-weight: 700;
      }
    }
  }
  strong {
    color: var(--color-royal-blue);
    font-weight: 700;
  }
}

/* About Page */
.about_text {
  ul {
    padding-left: 24px;
    margin-bottom: 20px;
  }
}

/* Donate Page */
.donate-right-container {
  > .elementor-element:not(:last-child) {
    position: relative;
    &::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: var(--gradient);
    }
  }
}

/* Events Page */
.events-container {
  .events-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 55px;
    .events-box {
      box-shadow: 0px 0px 5px 0px #00000040;
      border-radius: 10px;
      flex: 0 0 30.25%;
      .image-wrapper {
        height: 260px;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 10px 10px 0 0;
        }
      }
      .content-wrapper {
        padding: 27px 20px 35px 23px;
        h6.date {
          font-family: var(--nunito);
          font-weight: 400;
          font-size: 15px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-transform: uppercase;
          margin: 0;
          color: var(--color-black);
        }
        h4.title {
          font-family: Merriweather;
          font-weight: 400;
          font-size: 30px;
          line-height: 125%;
          letter-spacing: -0.32px;
          color: var(--color-royal-blue);
          margin: 15px 0 0;
        }
        p.date {
          font-family: Merriweather;
          font-weight: 400;
          font-style: Italic;
          font-size: 15px;
          line-height: 27px;
          letter-spacing: 0%;
          margin: 0;
          color: var(--color-black);
        }
        p.description {
          font-family: var(--nunito);
          font-weight: 400;
          font-size: 16px;
          line-height: 165%;
          letter-spacing: 0%;
          margin: 10px 0 30px;
          color: var(--color-black);
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 3;
          overflow: hidden;
        }
        a.learn-more-button {
          font-family: var(--nunito);
          font-weight: 700;
          font-size: 14px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-align: center;
          text-transform: uppercase;
          color: var(--color-dark-blue);
          position: relative;
          display: table;
          margin-left: auto;
          margin-right: 10px;
          transform: translateY(0px);
          transition: 0.5s all;
          &::after {
            content: "";
            position: absolute;
            bottom: -14px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #5a8faf 0%, #adced8 100%);
          }
          &:hover {
            color: var(--color-royal-blue);
            transform: translateY(-8px);
            transition: 0.5s all;
          }
        }
      }
    }
  }
  .events-button-wrappper {
    margin: 85px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    a.load-more-button {
      width: 216px;
      height: 52px;
      opacity: 1;
      border-radius: 5px;
      padding-top: 18px;
      padding-right: 20px;
      padding-bottom: 18px;
      padding-left: 20px;
      background: var(--color-sky-blue);
      font-family: var(--nunito);
      font-weight: 600;
      font-size: 16px;
      line-height: 100%;
      letter-spacing: 1.28px;
      text-align: center;
      vertical-align: middle;
      text-transform: uppercase;
      color: var(--color-white);
      transition: 0.5s all;
      &:hover {
        transition: 0.5s all;
        background: var(--color-light-blue);
        color: var(--color-white);
      }
    }
  }
  &.load-more-last-blog-on-click {
    display: none !important;
  }
}

/* Staff Page */
.staff-container {
  .staff-wrapper {
    .staff-flex-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      .staff-image-wrapper {
        flex: 0 0 47%;
        width: 580px;
        height: 378px;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 10px;
        }
      }
      .staff-content-wrapper {
        flex: 0 0 47%;
        h4.title {
          font-family: Merriweather;
          font-weight: 400;
          font-size: 40px;
          line-height: 130%;
          letter-spacing: -0.16px;
          color: var(--color-royal-blue);
          margin: 0 0 8px;
        }
        p.designation {
          font-family: Merriweather;
          font-weight: 400;
          font-style: Italic;
          font-size: 20px;
          line-height: 27px;
          letter-spacing: 0px;
          margin: 0;
          color: #242834;
        }
        p.content {
          font-family: var(--nunito);
          font-weight: 400;
          font-size: 17px;
          line-height: 27px;
          letter-spacing: 0px;
          margin: 20px 0 32px;
          color: var(--color-dark-blue);
          padding-right: 4px;
        }
        .read-bio-button {
          padding: 18.5px 40px;
          background: var(--color-sky-blue);
          border-radius: 5px;
          font-family: var(--nunito);
          font-weight: 600;
          font-size: 16px;
          line-height: 100%;
          letter-spacing: 1.28px;
          text-align: center;
          text-transform: uppercase;
          color: var(--color-white);
          transition: 0.5s all;
          border: 0;
          &:hover {
            transition: 0.5s all;
            background: var(--color-light-blue);
            color: var(--color-white);
          }
        }
      }
    }
  }
  &:nth-child(even) {
    .staff-wrapper {
      .staff-flex-wrapper {
        flex-direction: row-reverse;
      }
    }
  }
  &:not(:last-child) {
    margin-bottom: 175px;
  }
}
body {
  .staff-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #26313ad9;
    z-index: 998;
    opacity: 1;
    visibility: visible;
  }
}
html:has(.show-popup),
body:has(.show-popup) {
  overflow-y: hidden;
}
.staff-popup-container {
  display: none;
  &.show-popup {
    display: block;
  }
  .staff-fixed-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1240px;
    height: 90vh;
    background: url(/wp-content/uploads/2026/02/staff-popup-bg.svg) no-repeat
      100% / cover;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    z-index: 999;
    border-radius: 26px;
    padding: 65px 50px;
    .close-button {
      position: absolute;
      right: 35px;
      top: 35px;
      cursor: pointer;
    }
    .staff-popup-content-flex-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 45px;
      .staff-popup-image-wrapper,
      .staff-popup-content-wrapper {
        flex: 1;
      }
      .staff-popup-image-wrapper {
        width: 413px;
        height: 306px;
        flex: 0 0 auto;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 10px;
        }
      }
      .staff-popup-content-wrapper {
        .staff-name {
          font-family: Merriweather;
          font-weight: 400;
          font-size: 40px;
          line-height: 130%;
          letter-spacing: -1.28px;
          color: var(--color-royal-blue);
          margin: 0;
        }
        .staff-designation {
          font-family: Merriweather;
          font-weight: 400;
          font-style: Italic;
          font-size: 20px;
          line-height: 27px;
          color: var(--color-black);
          margin: 15px 0 25px;
        }
        .staff-bio {
          p {
            font-family: var(--nunito);
            font-weight: 400;
            font-style: Regular;
            font-size: 16px;
            line-height: 165%;
            letter-spacing: 0px;
            color: var(--color-dark-blue);
            margin: 0;
            padding-right: 2px;
            &:not(:last-child) {
              margin-bottom: 25px;
            }
          }
        }
      }
    }
  }
}

/* Our Board */
.emeritus_member {
  ul {
    padding: 0;
    list-style: none;
    li {
      position: relative;
      padding: 24px 0 24px;
      &::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 2.099px;
        border-bottom: 2.099px solid transparent;
        border-image: linear-gradient(90deg, #5a8faf 0%, #15467b 100%) 1;
      }
      &:last-child {
        &::after {
          content: "";
          position: absolute;
          bottom: 0px;
          left: 0px;
          width: 100%;
          height: 2.099px;
          border-bottom: 2.099px solid transparent;
          border-image: linear-gradient(90deg, #5a8faf 0%, #15467b 100%) 1;
        }
      }
    }
  }
}
