.parallax--bg {
    background-image: url('../img/global-partnership/ahes-bg.webp');
    height: 540px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.parallax--bg.kp--parallax {
    background-image: url('../img/global-partnership/kp-group-bg.webp');
}

.parallax--bg:before {
    content:'';
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid #FDFFF8;
    border-right: 30px solid transparent;
    display: block;
    transform: scaleY(-1);
    position: absolute;
    left: 0;
    top: -1px;
}

.parallax--bg:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid #FDFFF8;
    border-left: 30px solid transparent;
    display: block;
    transform: scaleY(-1);
    position: absolute;
    right: 0;
    top: -1px;
}

.parallax--content{
    position: relative;
}


/* Couter */
.counter-wrapper{
    max-width:1350px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
    width:100%;
}

.counter-box h2{
    color:#9EC127;
    font-family: HaasGrotDispMedium;
    margin-bottom:10px;
}

.counter-box p{
    color:var(--black);
    font-size:18px;
}
/* Couter end */

/* Md Founder  */
.md--founder {
    display: flex;
    align-items: center;
    padding-right: 50px;
    padding-left: 50px;
}

.md--founder .md--founder--thum {
    max-width: 555px;
    width: 100%;
    height: 580px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
    aspect-ratio: 1 / 1;
}

.md--founder .md--founder--thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.md--founder .md--founder--content {
	flex: 1;
  padding-right: 80px;
}

.md--founder .md--founder--content h2 {
    font-size: 48px;
    margin-bottom: 0;
}

.md--founder .md--founder--content .sub--heading--founder {
    font-family: HaasGrotDispRoman;
}

.md--founder .md--founder--content .heading--founder {
    font-family: HaasGrotDispBold;
    color: var(--primary);
}

.md--founder .md--founder--content .md--founder--name {
    color: var(--headingcolor);
    font-family: HaasGrotDispMedium;
    font-size: 36px;
    margin-top: 40px;
}
/* Md Founder end */

/* Joint AHES */

.esg--section {
  background-image: url("../img/csr/esg-bg.webp");
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}
.esg--section::before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--black);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.6;
}

.esg--section::after {
    content: '';
    width: 100%;
    height: 200px;
    background-color: var(--white);
    display: block;
    position: relative;
    background-image: url('../img/our-projects/project-item-bg.png');
    background-repeat: no-repeat;
    background-position: left 105%;
    overflow: hidden;
}

.esg--section .tab--section {
    position: relative;
    padding-bottom: 40px;
}

.esg--section .tab--section .nav-tabs {
    justify-content: center;
    border-bottom: 0;
}

.esg--section .tab--section .nav-tabs li a {
    color: rgb(255 255 255 / 45%);
    padding: 10px;
    font-size: 36px;
    font-family: HaasGrotDispRoman;
    border-bottom: 1px solid rgb(255 255 255 / 45%);
}

.esg--section .tab--section .nav-tabs li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.esg--section .tab-content {
    position: relative;
}

.esg--section .tab--section .nav-tabs li a:hover {
    text-decoration: none;
}

.what--build--items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-right: 20px;
  padding-left: 20px;
  margin-bottom: -100px;
  z-index: 1;
  position: relative;
}

.what--build--items .what--item {
  position: relative;
  clip-path: polygon(
    10% 0%,
    90% 0%,
    100% 10%,
    100% 90%,
    90% 100%,
    10% 100%,
    0% 90%,
    0% 10%
  );
  overflow: hidden;
  transition: 0.3s;
  /* aspect-ratio: 1 / 1; */
  min-height: clamp(350px,27vw,415px);
}

.what--build--items .what--item:nth-child(1) > .bottom--what--item,
.what--build--items .what--item:nth-child(3) > .bottom--what--item {
  color: var(--black);
}

.what--build--items .what--item:nth-child(2) > .bottom--what--item {
  color: var(--white);
}

.what--build--items .what--item:nth-child(1) > .bottom--what--item {
  background: #cef79e;
}

.what--build--items .what--item > .bottom--what--item {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 7%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
  transition: 0.3s;
}

.what--build--items .what--item > .bottom--what--item > .what--icon > img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: left;
}

.what--build--items .what--item > .bottom--what--item h3 {
  font-family: HaasGrotDispMedium;
  font-size: clamp(18px, 2vw, 24px);
}

.what--build--items .what--item > .bottom--what--item p {
  font-family: "HaasGrotDispRoman";
  font-size: clamp(15px, 2vw, 18px);
}

.what--build--items .what--item:nth-child(2) > .bottom--what--item {
  background: #3e5ba6;
}

.what--build--items .what--item:nth-child(3) > .bottom--what--item {
  background: #e7e8e1;
}

.what--build--items
  .what--item:nth-child(2)
  > .bottom--what--item
  .what--icon
  > img {
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

/* Joint AHES end */

@media(max-width: 1280px) {
    .md--founder .md--founder--thum {
        max-width: 455px;
        height: 480px;
    }
    .what--build--items .what--item > .bottom--what--item > .what--icon > img {
        width: 50px;
        height: 50px;
    }
}

@media(max-width:1024px){
    .parallax--bg {
        height: 440px;
    }
    .projects--items .projects--item .project--img {
        width: 50%;
    }
    .md--founder {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media(max-width:768px){
    .parallax--bg {
        height: 280px;
        background-attachment: scroll;
    }
    .parallax--content:before {
        opacity: 0;
    }
    .counter-wrapper{
        grid-template-columns:repeat(2,1fr);
        row-gap: 10px;
    }
    .counter-box p{
        font-size:15px;
    }
    .md--founder {
        display: block;
    }
    .md--founder .md--founder--content {padding-right: 0;}

    .md--founder .md--founder--content h2 {
        font-size: 30px;
    }

    .md--founder .md--founder--content .md--founder--name {
        font-size: 28px;
        margin-top: 15px;
    }

    .md--founder .md--founder--thum {
        width: 100%;
        height: 100%;
        margin-top: 20px;
    }
    .esg--section .tab--section .nav-tabs li a {
        font-size: 28px;
    }
    .what--build--items {
        grid-template-columns: repeat(1, 1fr);
    }
    .what--build--items .what--item{
        min-height: auto;
    }
    .what--build--items .what--item > .bottom--what--item {
        row-gap: 30px;
    }
    .esg--section::after{
        height: 150px;
    }
}

@media(max-width:480px){
    .counter-wrapper{
        grid-template-columns:1fr;
    }
}