#mega-menu-one {
  width: 50%;
  margin-left: -300px;
}

/* view more/less code */

.text-container {
  max-height: 85px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.text-container.expanded {
  max-height: 2000px;
  /* adjust it 3la 7ssab your text height */
}

.view-more-btn {
  cursor: pointer;
  color: #1e2b56;
  font-weight: 600;
  font-size: 16px;
  padding-top: 20px;
  /* border: 1px solid red; */
  /* text-decoration: underline; */
}

.view-more-btn:hover {
  color: blue;
}

/* modal */

.modal-content {
  padding: 10px 20px;
  /* or any percentage/width you prefer */
}

/* header logo*/

@media screen and (max-width: 992px) {
  .header-logo-mobile {
    display: block !important;
  }
}

/* .btn-close-custom {
    border: none;
    font-size: 22px;
    right: 10px;
    top: 10px;
    padding: 0;
    line-height: 1;
    width: 33px;
    height: 33px;
    line-height: 33px;
    font-size: 18px;
    z-index: 1;
    color: var(--white-color);
    background-color: var(--theme-color);
    border-radius: 50%;
}

.btn-close-custom:hover {
    background-color: var(--title-color);
    color: var(--white-color);
} */

/* * --------------------------------- */

/* industries - american_market */

.blog-content {
  background-color: #8f8f8f;
  border-end-start-radius: 10px;
  border-end-end-radius: 10px;
}

.blog-content:hover .blog-content .blog-category a {
  color: red;
}

.blog-content .blog-category a:hover {
  border: 1px solid transparent;
  color: #fd9a15;
}

/* * --------------------------------- */

/* portfolio investment page */

/* .team-box:nth-child(1) .team-box__shape {
  background-color: #558da7;
}

.team-box:nth-child(2) .team-box__shape {
  background-color: #f2864d;
}

.team-box:nth-child(3) .team-box__shape {
  background-color: #3f8746;
}

.team-box:nth-child(4) .team-box__shape {
  background-color: #50bce5;
}

.team-box:nth-child(5) .team-box__shape {
  background-color: #bd65b3;
} */
.team-box:nth-child(1) .team-box__shape {
  background-color: #fd9a15;
}

.team-box:nth-child(2) .team-box__shape {
  background-color: #fd9a15;
}

.team-box:nth-child(3) .team-box__shape {
  background-color: #fd9a15;
}

.team-box:nth-child(4) .team-box__shape {
  background-color: #fd9a15;
}

.team-box:nth-child(5) .team-box__shape {
  background-color: #fd9a15;
}

.view-more-2:hover {
  color: #fd9a15;
  border: none !important;
}

.view-more-2:before {
  content: "";
  position: absolute;
  left: 10px !important;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--theme-color);
  transition: all ease 0.4s;
}

.view-more-2:hover::before {
  width: 110px !important;
}

/* .view-more-2:before {
    width: 115px !important;
} */

.pillars-container {
  display: flex;
  overflow: hidden;
}

.pillar {
  position: relative;
  width: 25%;
  cursor: pointer;
  transition: width 0.3s ease;
  height: 500px;
  display: flex;
  align-items: center;
}

.pillar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.pillar-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  background: #274d55;
  opacity: 0.5;
}
.pillar.active .pillar-cover {
  display: none; /* Hide the cover for active pillars */
}
.pillar-toggle {
  position: relative;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding-top: 300px;
}

.pillar-title {
  font-size: 17px;
}

/* .pillar-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-top: 10px;
} */

.pillar-content {
  display: none;
  padding: 20px;
  color: #fff;
  z-index: 1;
  position: relative;
}

.pillar.active .pillar-content {
  display: block;
}

.pillar.active {
  width: 50%;
}

.pillar:not(.active) {
  width: calc(50% / 3); /* Remaining space divided among remaining pillars */
}

.pillar-toggle.hidden {
  display: none;
}
@media (max-width: 992px) {
  .pillars-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .pillar {
    position: relative;
    width: 100% !important;
    cursor: pointer;
    transition: width 0.3s ease;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .pillar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
  }

  .pillar-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background: #274d55;
    opacity: 0.5;
  }

  .pillar.active .pillar-cover {
    display: none;
  }

  .pillar-toggle {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }

  .pillar-title {
    font-size: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* .pillar-icon {
        display: inline-block;
        width: 30px;
        height: 30px;
        border: 1px solid #fff;
        border-radius: 50%;
        text-align: center;
        line-height: 30px;
    } */

  .pillar-content {
    display: none;
    padding: 20px;
    color: #fff;
    z-index: 1;
    position: relative;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
  }

  .pillar.active .pillar-content {
    display: block;
  }

  .pillar-maintext,
  .pillar-heading,
  .pillar-index {
    color: #fff !important;
  }
}

.pillar-maintext,
.pillar-heading,
.pillar-index {
  color: #fff !important;
}

.custom-pillars-container .pillar.active {
  width: 67%;
}

/* ----------------------------- */
/* stats section */

.parent-div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f3f3f3;
  /* border: 1px solid blueviolet; */
  max-width: 1150px;
  margin: auto;
  border-radius: 10px;
}

.img-div {
  flex: 1;
  display: flex;
  justify-content: center;
}

.img-div img {
  width: 250px;
  height: auto;
}

.stats-div {
  flex: 2;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 10px;
  /* width: 100%; */
}

.stat-number {
  font-size: 44px;
  font-weight: bold;
  color: #274d55;
  margin: 0;
  /* text-align: left;
        padding: 10px; */
  text-align: left;
}

.stat-description {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
}

@media (max-width: 1007px) {
  .parent-div {
    flex-direction: column;
  }
  .img-div {
    order: 1;
  }
  .stats-div {
    order: 2;
  }
  .stat-item {
    width: auto;
  }
  .stat-number,
  .stat-description {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .img-div img {
    width: 100%;
    max-width: 200px;
  }
  .stat-number {
    font-size: 36px;
  }
  .stat-description {
    font-size: 0.9rem;
  }
  .stats-div {
    flex-direction: column;
  }
}


