/* commons  */

/* Hero Section - Section 1  */
.hero-container {
  position: relative;
  height: auto;
  margin: 0;
  padding: 0;

  .banner-image {
    width: 100%;
    max-height: 436px;
    height: auto;
    z-index: -1;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .banner-image-mobile {
    width: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .content {
    position: absolute;
    width: 100%;
    max-width: 575px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
  }

  @media screen and (max-width: 1025px) {
    & {
      .banner-image-mobile {
        width: auto;
      }

      .content {
        max-width: 80%;
        position: absolute;
        top: 50%;
        left: 45%;
        transform: translate(-50%, -50%);
        margin-top: 0;
      }
    }
  }

  @media screen and (min-width: 601px) and (max-width: 1024px) {
    .banner-image-mobile {
      height: 300px;
    }

    .content {
      max-width: 60%;
      margin-inline: auto;
      left: 50%;
    }
  }
}

/* Latest Section - Section 2  */
.Benchmark-reports {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 600px);
  gap: 60px;
  margin-top: -30px;
  background: var(--bg-white);

  .report-card {
    max-width: 500px;
    width: 100%;
    max-height: max-content;
    border: var(--border-light-blue);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;

    .report-image {
      position: relative;
      display: block;
      max-width: 500px;
      max-height: 300px;
      width: 100%;
      height: auto;
      margin-block: 0;
      border-radius: 0;
      margin-inline: auto;
      overflow: hidden;
      transition: all 0.4s ease;

      .latest {
        position: absolute;
        top: 15px;
        right: 15px;
        width: fit-content;
        height: auto;
        border-radius: 4px;
        padding: 5px 10px;
        background: var(--bg-white);
        z-index: 5;

        p {
          color: #000;
          font-size: 12px;
          font-style: normal;
          font-weight: 400;
          line-height: 19.2px;
          text-transform: uppercase;
        }
      }

      a {
        display: block;
        width: 100%;
        height: 100%;

        img {
          width: 100%;
          height: 100%;
          scale: 1;
          transition: all 0.4s ease;
        }
      }
    }

    .report-content {
      width: 100%;
      height: auto;
      padding: 30px;
      display: flex;
      flex-direction: column;
      gap: 4px;

      .sub-heading {
        color: var(--text-grey1);
        text-align: start;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: 1.12px;
      }

      .sub-heading-primary {
        text-decoration: none;
      }

      .cta-secondary {
        color: var(--text-primary-black);
        margin-top: 53px;
        transition: color 0.4s ease;
      }

      a {
        color: unset;
      }
    }

    &:hover {
      background: var(--section-gradient);
      /* transition: all 0.4s ease; */

      .report-image {
        max-width: 470px;
        max-height: 275px;
        /* margin-bottom: 12px; */
        margin-top: 12px;
        border-radius: 10px;
        margin-inline: auto;
        /* transition: all 0.4s ease; */

        img {
          scale: 1.3;
          /* transition: all 0.4s ease; */
        }
      }

      .report-content {
        .cta-secondary {
          color: var(--text-arcon-red);
          transition: color 0.4s ease;
        }
      }
    }
  }

  .news-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;

    .cards {
      width: 100%;
      height: auto;
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 40px;

      .news-image {
        max-width: 200px;
        max-height: 140px;
        object-fit: cover;
        flex-shrink: 0;

        a {
          display: block;
          width: 100%;
          height: 100%;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
          }
        }
      }

      .news-content {
        display: flex;
        justify-content: start;
        align-items: start;
        flex-direction: column;

        .news-date {
          color: var(--text-grey1);
          text-align: start;
          font-size: 12px;
          font-weight: 400;
          line-height: 20px;
          letter-spacing: 1.2px;
          text-transform: uppercase;
        }

        a.para-primary {
          height: 100%;
          max-height: 62px;
          text-overflow: ellipsis;
          display: -webkit-box;
          overflow: hidden;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          text-decoration: none;
          color: inherit;
        }

        .cta-secondary {
          margin-top: 16px;
          color: var(--text-primary-black);
        }
      }
    }
  }

  @media screen and (max-width: 768px) {
    & {
      display: flex;
      flex-direction: column;
      width: auto;
      gap: 25px;
      margin-top: 40px;
      margin-bottom: var(--spacer-60);

      .report-card {
        max-width: 100%;
        padding: 16px;
        background: var(--section-gradient);

        .report-image {
          a {
            /* max-width: 316px !important; */
            height: 140px;
            border-radius: 8px;
            overflow: hidden;

            &:hover {
              margin-block: 0 !important;

              .report-image {
                margin-top: 0;
              }
            }
          }
        }

        .report-content {
          margin-top: 16px;
          padding: 0;

          .sub-heading {
            font-size: 10px;
            font-weight: 400;
            line-height: 12px;
            letter-spacing: 1px;
          }

          .cta-secondary {
            color: var(--text-arcon-red);
            margin-top: 16px;
            text-decoration: none;
          }
        }

        &:hover {
          .report-image {
            margin-top: 0;

            a {
              img {
                scale: 1 !important;
              }
            }
          }
        }
      }

      .news-cards {
        .cards {
          &:first-child {
            display: flex;
          }

          border-bottom: transparent;
          padding-bottom: 0;
          gap: 22px;

          .news-image {
            width: 120px;
            height: 95px;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
            }
          }

          .news-content {
            width: 65%;
            gap: 4px;

            .news-date {
              font-size: 10px;
              font-weight: 400;
              line-height: 12px;
              letter-spacing: 1px;
            }

            .para-secondary {
              overflow: hidden;
              text-overflow: ellipsis;
              display: -webkit-box;
              -webkit-line-clamp: 3;
              -webkit-box-orient: vertical;
            }

            .cta-secondary {
              color: var(--text-arcon-red);
              text-decoration: none;
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 769px) and (max-width: 1024px) {
    & {
      flex-direction: row;
      margin-top: 0;
      gap: 30px;

      .report-card {
        .report-image {
          max-height: 240px;
          height: 100%;
          border-radius: 8px;

          img {
            object-fit: cover;
          }
        }
      }

      .news-cards {
        gap: 20px;

        .cards {
          gap: 20px;
        }
      }
    }
  }
}

/* allblogs section - section 3  */
.allblogs-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: var(--spacer-24);
  margin-block: var(--spacer-120);

  .filter-container {
    position: sticky;
    top: 20px;
    max-width: 300px;
    width: 100%;
    height: auto;
    border: var(--border-light-blue);
    border-radius: 12px;
    background: var(--section-gradient);
    padding: 20px;

    .filter-by {
      width: 100%;
      height: auto;
      padding-bottom: 12px;
      border-bottom: var(--border-light-blue);
    }
  }

  .main-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;

    .top {
      position: relative;
      width: 100%;
      height: auto;
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 16px;

      .search-box {
        max-width: 695px;
        width: 100%;
        height: auto;
        padding: 16px 20px;
        border: var(--border-light-blue);
        border-radius: 8px;
        background: var(--bg-white);
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 12px;

        .search-icon {
          width: 24px;
          height: 24px;

          svg {
            object-fit: cover;
          }
        }

        .search-bar {
          width: 100%;
          height: 100%;

          input {
            font-family: "Sora", sans-serif;
            width: 100%;
            height: 100%;
            color: var(--text-black-primary);
            font-size: 16px;
            font-weight: 400;
            line-height: normal;
            outline: none;
            border: 0;

            &::-webkit-input-placeholder {
              text-align: start;
              font-size: 16px;
              font-style: normal;
              font-weight: 400;
              line-height: normal;
              color: var(--text-grey1);
            }
          }
        }
      }

      /* Search Dropdown Styles */
      .search-dropdown {
        position: absolute;
        top: calc(100% + 4px);
        left: 0;
        right: 0;
        width: 695px;
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
          0 2px 4px -1px rgba(0, 0, 0, 0.06);
        z-index: 1000;
        max-height: 400px;
        overflow-y: auto;
        display: none;
      }

      .search-dropdown.active {
        display: block;
      }

      .dropdown-header {
        padding: 16px 20px 8px 20px;
        border-bottom: 1px solid #f3f4f6;
      }

      .dropdown-title {
        font-size: 14px;
        font-weight: 600;
        color: #6b7280;
        margin-bottom: 8px;
      }

      .close-btn {
        /* position: absolute; */
        top: 16px;
        right: 20px;
        background: none;
        border: none;
        font-size: 20px;
        color: #6b7280;
        cursor: pointer;
        padding: 0;
        line-height: 1;
      }

      .close-btn:hover {
        color: #374151;
      }

      .search-results {
        padding: 8px 0;
      }

      .search-result-item {
        padding: 12px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        transition: background-color 0.15s ease;
      }

      .search-result-item:hover {
        background-color: #f9fafb;
      }

      .result-icon {
        width: 40px;
        height: 40px;
        border-radius: 4px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
      }

      .result-icon.access-control {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      }

      .result-icon::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: inherit;
        border-radius: inherit;
        z-index: -1;
      }

      .result-content {
        flex: 1;
        min-width: 0;
      }

      .result-title {
        font-size: 14px;
        font-weight: 400;
        color: #374151;
        line-height: 1.4;
        margin: 0;
      }

      .sort-by-container {
        position: relative;

        .head {
          width: fit-content;
          height: auto;
          padding: 15px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          gap: 10px;
          background: linear-gradient(172deg, #fff 5.85%, #f5faff 104.79%);
          border: var(--border-light-blue);
          border-radius: 8px;
          cursor: pointer;
          user-select: none;
          transition: border 0.2s ease;

          &.active {
            border: 1px solid var(--bg-black-primary);
            transition: border 0.2s ease;
          }
        }

        .sort-options {
          position: absolute;
          top: 62px;
          right: 0;
          width: 245px;
          height: 0;
          opacity: 0;
          background: linear-gradient(172deg, #fff 5.85%, #f5faff 104.79%);
          border: var(--border-light-blue);
          border-radius: 8px;
          padding: 0;
          display: flex;
          flex-direction: column;
          gap: 16px;
          z-index: 2;

          .form-control {
            width: 100%;
            height: auto;
            display: flex;
            gap: 8px;

            input[type="radio"] {
              -webkit-appearance: none;
              appearance: none;
              font: inherit;
              width: 22px;
              height: 22px;
              border: 1px solid var(--bg-black-primary);
              border-radius: 100%;
              display: grid;
              place-content: center;

              &::before {
                content: "";
                width: 12px;
                height: 12px;
                transform: scale(0);
                border-radius: 100%;
                box-shadow: inset 16px 16px var(--bg-black-primary);
              }

              &:checked::before {
                transform: scale(1);
              }
            }

            p {
              color: var(--text-black-primary);
            }
          }

          &.active {
            height: auto;
            padding: 24px;
            opacity: 1;
            transition: height 0.2s ease, opacity 0.2s ease;
          }
        }
      }
    }

    .blog-listing {
      width: 100%;
      height: auto;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
      gap: 24px;

      .card {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        border: var(--border-light-blue);
        background: var(--bg-white);
        overflow: hidden;

        .card-img {
          max-width: 100%;
          max-height: 100%;
          margin-inline: auto;
          margin-top: 0;
          margin-bottom: 0;
          border-radius: 0;
          flex-shrink: 0;
          overflow: hidden;
          transition: all 0.4s ease;

          a {
            display: block;
            width: 100%;
            height: 100%;

            img {
              width: 100%;
              height: auto;
              scale: 1;
              transition: all 0.4s ease;
            }
          }
        }

        .card-content {
          width: 100%;
          height: 100%;
          padding: 1.25rem;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          /* gap: 1.5rem; */

          .meta_data {
            display: flex;
            flex-direction: column;
            justify-content: start;
            align-items: start;

            .date {
              color: var(--text-grey1);
              font-size: 12px;
              font-weight: 400;
              line-height: 20px;
              letter-spacing: 0.48px;
              text-transform: uppercase;
            }

            a {
              font-weight: 400;
              line-height: 26px;
              color: var(--text-black-primary);
              text-decoration: none;
            }
          }

          .cta {
            position: relative;
            display: inline-block;
            text-decoration: none;
            color: var(--text-black-primary);
            font-size: 0.875rem;
            font-weight: normal;
            margin-top: 40px;
            transition: color 0.2s ease;
          }
        }

        &:hover {
          .card-img {
            margin-inline: auto;
            max-width: 250px;
            margin-top: 6px;
            /* margin-bottom: 3px; */
            border-radius: 10px;

            img {
              scale: 1.3;
            }
          }

          .cta {
            color: var(--text-arcon-red);
            transition: color 0.2s ease;
          }
        }
      }
    }

    .pagination {
      max-width: 560px;
      width: 100%;
      height: auto;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;

      .bullet {
        width: 45px;
        height: 45px;
        border: var(--border-light-blue);
        border-radius: 4px;
        padding-block: 10px;
        cursor: pointer;

        /* p {
          width: fit-content;
          margin-inline: auto;
          text-align: center;
        } */

        .pagination-input-wrapper {
          background-color: #f0f7ff;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .pagination-input {
          width: 100%;
          height: 100%;
          text-align: center;
          border: none;
          background: transparent;
          font-size: 16px;
          outline: none;
        }

        .arrow-left {
          rotate: 90deg;
          margin-left: 15px;
        }

        .arrow-right {
          rotate: 270deg;
          margin-left: 15px;
        }

        &.active {
          /* background: var(--bg-black-primary); */
          background: #f0f7ff;
          border: none;

          p {
            color: var(--text-white);
          }
        }
      }

      .dots {
        padding: 10px 16px;
      }
    }
  }

  @media screen and (max-width: 1025px) {
    & {
      width: auto;
      margin-block: var(--spacer-60);

      .filter-container {
        display: none;
      }

      .main-container {
        .top {
          .search-box {
            padding: 12px 8px;
            gap: 8px;

            .search-icon {
              width: 16px;
              height: 16px;

              svg {
                width: 16px;
                height: 16px;
              }
            }
          }

          .sortCategories {
            width: fit-content;
            height: auto;
            padding: 8px;
            border: var(--border-light-blue);
            border-radius: 8px;
            background: var(--section-gradient);
          }

          .filterByCategories {
            width: fit-content;
            height: auto;
            padding: 8px;
            border: var(--border-light-blue);
            border-radius: 8px;
            background: var(--section-gradient);
          }

          .sort-by-container {
            display: none;
          }
        }

        .mobilePopup-container {
          position: fixed;
          top: 0;
          background: #0000003b;
          width: 100vw;
          height: 0;
          opacity: 0;
          z-index: 6;
          transition: opacity 0.2s linear;

          .mobilePopup {
            position: absolute;
            bottom: 0;
            width: 100%;
            max-height: 600px;
            padding: 30px 20px;
            background: var(--bg-white);
            border-radius: 12px 12px 0 0;
            transform: translateY(0%);
            opacity: 0;
            transition: transform 0.5s ease, opacity 0.5s ease;

            .popUp-title {
              width: 100%;
              height: auto;
              display: flex;
              justify-content: space-between;
              align-items: center;
              padding-bottom: 20px;
              border-bottom: 1px solid var(--bg-grey1);
            }

            .checkbox-section {
              width: 100%;
              height: 100%;
              display: flex;
              flex-direction: column;
              gap: 16px;
              padding-inline: 12px;
              justify-content: start;
              align-items: start;
              margin-top: 0;
              padding-top: 0;
              overflow: auto;
              transition: all 0.1s ease-out;
              padding-top: 12px;

              .form-control {
                display: grid;
                grid-template-columns: 1em auto;
                gap: 0.5em;

                p {
                  color: var(--text-black-secondary);
                  font-size: 12px;
                  font-weight: 400;
                  line-height: 16px;
                }

                input[type="checkbox"] {
                  -webkit-appearance: none;
                  appearance: none;
                  font: inherit;
                  width: 18px;
                  height: 18px;
                  border: 1px solid var(--bg-black-primary);
                  border-radius: 4px;
                  transform: translateY(-0.075em);
                  display: grid;
                  place-content: center;

                  &::before {
                    content: "";
                    width: 10px;
                    height: 10px;
                    transform: scale(0);
                    /* transition: 120ms transform ease-in-out; */
                    box-shadow: inset 8px 8px var(--bg-white);
                    background: var(--bg-black-primary);
                    transform-origin: bottom left;
                    clip-path: polygon(14% 44%,
                        0 65%,
                        50% 100%,
                        100% 16%,
                        80% 0%,
                        43% 62%);
                  }

                  &:checked {
                    background: var(--bg-black-primary);
                  }

                  &:checked::before {
                    transform: scale(1);
                  }
                }
              }
            }

            .sort-options-mobile {
              width: 100%;
              height: 100%;
              display: flex;
              flex-direction: column;
              gap: 16px;
              z-index: 2;
              padding-top: 20px;

              .form-control {
                width: 100%;
                height: auto;
                display: flex;
                justify-content: start;
                align-items: center;
                gap: 8px;

                input[type="radio"] {
                  -webkit-appearance: none;
                  appearance: none;
                  font: inherit;
                  width: 22px;
                  height: 22px;
                  border: 1px solid var(--bg-black-primary);
                  border-radius: 100%;
                  display: grid;
                  place-content: center;

                  &::before {
                    content: "";
                    width: 12px;
                    height: 12px;
                    transform: scale(0);
                    border-radius: 100%;
                    box-shadow: inset 16px 16px var(--bg-black-primary);
                  }

                  &:checked::before {
                    transform: scale(1);
                  }
                }

                p {
                  color: var(--text-black-primary);
                }
              }

              &.active {
                height: auto;
                padding: 24px;
                opacity: 1;
                transition: height 0.2s ease, opacity 0.2s ease;
              }
            }

            .mobilePopUp-actions {
              width: 100%;
              height: auto;
              display: flex;
              justify-content: start;
              align-items: center;
              gap: 12px;

              button.showResultBtn {
                max-width: 230px;
                width: 100%;
                height: auto;
                padding: 12px 16px;
                background: var(--bg-black-primary);
                border-radius: 4px;
                outline: 0;
                border: 0;

                p {
                  color: var(--text-white);
                }
              }

              button.clearAllBtn {
                padding: 12px 16px;
                outline: 0;
                border: 0;
                background: var(--bg-white);

                p {
                  text-decoration: underline;
                  text-underline-offset: 4px;
                }
              }
            }
          }

          &.active {
            height: 100vh;
            opacity: 1;
            transition: opacity 0.2s ease;

            .mobilePopup {
              transform: translateY(0);
              opacity: 1;
              transition: transform 0.5s ease, opacity 0.5s ease;
            }
          }
        }

        .blog-listing {
          grid-template-columns: repeat(auto-fill,
              minmax(min(100%, 300px), 1fr));

          .card {
            max-width: 500px;
            width: 100%;
            /* max-height: max-content; */
            height: 100%;
            border: var(--border-light-blue);
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s ease;
            padding: 16px;
            background: var(--section-gradient);

            .card-img {
              position: relative;
              display: block;
              width: 100%;
              max-height: 140px;
              width: 100%;
              height: auto;
              margin-block: 0;
              border-radius: 8px;
              margin-inline: auto;
              overflow: hidden;
              transition: all 0.4s ease;

              .latest {
                position: absolute;
                top: 15px;
                right: 15px;
                width: fit-content;
                height: auto;
                border-radius: 4px;
                padding: 5px 10px;
                background: var(--bg-white);
                z-index: 5;

                p {
                  font-size: 10px;
                  font-weight: 400;
                  line-height: 16px;
                }
              }
            }

            .card-content {
              width: 100%;
              height: 100%;
              padding: 0;
              display: flex;
              flex-direction: column;
              gap: 4px;
              margin-top: 16px;

              .meta_data {
                .date {
                  font-size: 10px;
                  font-weight: 400;
                  line-height: 12px;
                  letter-spacing: 1px;
                }

                .para-primary {
                  line-height: 22px;
                }
              }

              .cta {
                color: var(--text-arcon-red);
                font-size: 12px;
                font-weight: 400;
                line-height: 18px;
                margin-top: 16px;
              }
            }

            &:hover {
              .card-img {
                max-width: 100%;
                max-height: 140px;
                margin-top: 0;

                img {
                  scale: 1;
                }
              }
            }
          }
        }
      }
    }
  }

  @media screen and (min-width: 601px) and (max-width: 1024px) {
    & {
      .main-container {
        .mobilePopup-container {
          .mobilePopup {
            .mobilePopUp-actions {
              justify-content: space-between;
            }
          }
        }
      }
    }
  }
}

/* Checkbox dropdown for both Mobile and Desktop  */
.checkbox-dropdown {
  width: 100%;
  height: auto;
  padding-block: 20px;
  border-bottom: var(--border-light-blue);

  .top {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;

    img {
      transform: rotate(0deg);

      &.rotate {
        transform: rotate(180deg);
      }
    }
  }

  .checkboxes-container {
    width: 100%;
    height: 100%;
    max-height: 0;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-inline: 12px;
    justify-content: center;
    align-items: start;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    transition: all 0.1s ease-out;

    .form-control {
      display: grid;
      grid-template-columns: 1em auto;
      gap: 0.5em;

      p {
        color: var(--text-black-secondary);
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
      }

      input[type="checkbox"] {
        -webkit-appearance: none;
        appearance: none;
        font: inherit;
        width: 18px;
        height: 18px;
        border: 1px solid var(--bg-black-primary);
        border-radius: 4px;
        transform: translateY(-0.075em);
        display: grid;
        place-content: center;

        &::before {
          content: "";
          width: 10px;
          height: 10px;
          transform: scale(0);
          /* transition: 120ms transform ease-in-out; */
          box-shadow: inset 8px 8px var(--bg-white);
          background: var(--bg-black-primary);
          transform-origin: bottom left;
          clip-path: polygon(14% 44%,
              0 65%,
              50% 100%,
              100% 16%,
              80% 0%,
              43% 62%);
        }

        &:checked::before {
          transform: scale(1);
        }

        &:checked {
          background: var(--bg-black-primary);
        }
      }
    }

    &.active {
      max-height: 350px;
      opacity: 1;
      margin-top: 10px;
      padding-top: 2px;
      transition: all 0.3s ease-in;
    }
  }

  &:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 1024px) {
  .checkbox-section {
    max-height: 450px;
    height: 100%;
    overflow: scroll;
    margin-bottom: 10px;

    .checkbox-dropdown-list {
      width: 100%;
      height: auto;
      border-bottom: 0;
      padding-block: 16px;

      .top {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        user-select: none;

        img {
          transform: rotate(0deg);

          &.rotate {
            transform: rotate(180deg);
          }
        }
      }

      .checkboxes-container {
        width: 100%;
        height: 100%;
        max-height: 0;
        opacity: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-inline: 12px;
        justify-content: center;
        align-items: start;
        margin-top: 0;
        padding-top: 0;
        overflow: hidden;
        transition: all 0.1s ease-out;

        .form-control {
          display: grid;
          grid-template-columns: 1em auto;
          gap: 0.5em;

          p {
            color: var(--text-black-secondary);
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
          }

          input[type="checkbox"] {
            -webkit-appearance: none;
            appearance: none;
            font: inherit;
            width: 18px;
            height: 18px;
            border: 1px solid var(--bg-black-primary);
            border-radius: 4px;
            transform: translateY(-0.075em);
            display: grid;
            place-content: center;

            &::before {
              content: "";
              width: 10px;
              height: 10px;
              transform: scale(0);
              /* transition: 120ms transform ease-in-out; */
              box-shadow: inset 8px 8px var(--bg-white);
              background: var(--bg-black-primary);
              transform-origin: bottom left;
              clip-path: polygon(14% 44%,
                  0 65%,
                  50% 100%,
                  100% 16%,
                  80% 0%,
                  43% 62%);
            }

            &:checked::before {
              transform: scale(1);
            }

            &:checked {
              background: var(--bg-black-primary);
            }
          }
        }

        &.active {
          max-height: 350px;
          opacity: 1;
          margin-top: 10px;
          padding-top: 2px;
          transition: all 0.3s ease-in;
        }
      }

      &:last-child {
        border-bottom: 0;
        padding-bottom: 0;
      }
    }
  }
}

.non-container {
  width: 100%;
  height: 100%;
  max-height: 100%;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-inline: 12px;
  justify-content: start;
  align-items: start;
  margin-top: 10px;
  padding-top: 2px;
  overflow: hidden;

  &.form-control {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;

    p {
      color: var(--text-black-secondary);
      font-size: 12px;
      font-weight: 400;
      line-height: 16px;
    }

    input[type="checkbox"] {
      -webkit-appearance: none;
      appearance: none;
      font: inherit;
      width: 18px;
      height: 18px;
      border: 1px solid var(--bg-black-primary);
      border-radius: 4px;
      transform: translateY(-0.075em);
      display: grid;
      place-content: center;

      &::before {
        content: "";
        width: 10px;
        height: 10px;
        transform: scale(0);
        /* transition: 120ms transform ease-in-out; */
        box-shadow: inset 8px 8px var(--bg-white);
        background: var(--bg-black-primary);
        transform-origin: bottom left;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
      }

      &:checked::before {
        transform: scale(1);
      }

      &:checked {
        background: var(--bg-black-primary);
      }
    }
  }
}

/* &.active {
    max-height: 350px;
    opacity: 1;
    margin-top: 10px;
    padding-top: 2px;
    transition: all 0.3s ease-in;
  } */

/* latest insights - Section 4  */
.latest-insights {
  position: relative;
  height: auto;
  padding: 60px 100px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 50px;
  border: var(--border-light-blue);
  border-radius: 20px;
  background: var(--section-gradient);
  margin-block: var(--spacer-120);

  .triangle_graphic {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  .left-content {
    max-width: 390px;
    width: 100%;
    height: auto;

    .para-primary {
      margin-top: 8px;
    }
  }

  .right-content {
    max-width: 625px;
    width: 100%;
    height: auto;
  }

  .form {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    width: 100%;
    max-width: 625px;
    height: auto;

    .screen-reader-response {
      display: none;
    }

    .form-row {
      width: 100%;
      display: flex;
      gap: 24px;
      justify-content: start;
      align-items: start;
      margin-top: 20px;

      p {
        width: 50%;
      }
    }

    .form-row-inner {
      p {
        width: 100%;
        display: flex;
        justify-content: start;
        align-items: start;
      }
    }

    input,
    select {
      padding: 15px;
      border-radius: 8px;
      border: 1px solid #d8e5f4;
      background: #fff;
      width: 100%;
      font-family: "Sora", sans-serif;
      color: var(--text-black-primary);
      font-size: 14px;
      font-weight: 400;
      line-height: normal;
    }

    select:focus-visible,
    input:focus-visible {
      outline: 0;
    }

    input::placeholder,
    select::placeholder {
      color: var(--text-grey2);
      font-size: 14px;
      font-weight: 400;
      line-height: normal;
    }

    input[type="submit"] {
      border-radius: 8px;
      background: #e6323a;
      padding: 16px 32px;
      border: none;
      color: #fff;
      margin-top: 40px;
      width: fit-content;
      color: var(--text-white);
      font-size: 16px;
      font-weight: 400;
      line-height: 22px;
      letter-spacing: 0;
    }

    select[name="country-code"] {
      width: fit-content;
      padding-right: 0;
      border-right: 0;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      font-family: "Sora", sans-serif;
      color: var(--text-black-primary);
      font-size: 14px;
      font-weight: 400;
      line-height: normal;
      padding: 15px;
      padding-right: 0;
    }

    input[type="tel"] {
      width: 185px;
      padding-left: 15px;
      border-left: 0;
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }

    .wpcf7-not-valid-tip {
      font-size: 14px;
    }

    .wpcf7-response-output {
      margin-top: 20px;
      font-size: 14px;
    }

    &:last-child {
      .form-row {
        p {
          width: 100%;
        }
      }
    }

    @media screen and (max-width: 1024px) {
      & {
        .form-row {
          flex-direction: column;
        }

        input[type="tel"] {
          width: 100%;
        }

        input[type="submit"] {
          width: 100%;
          font-size: 14px;
          line-height: 20px;
          margin-top: 32px;
        }
      }
    }
  }

  @media screen and (max-width: 1025px) {
    & {
      flex-direction: column;
      gap: 32px;
      padding: 40px 20px;
      margin-block: var(--spacer-60);
    }
  }

  @media screen and (min-width: 601px) and (max-width: 1024px) {
    & {
      .left-content {
        max-width: 100%;
      }

      .form {
        max-width: 100%;
      }
    }
  }
}