.bg-chairman-1 {
  background-image: url(../assets/img/chairman-statement/PCE2.webp);
  background-size: cover;
  background-repeat: no-repeat;
}

s .bg-companyProfile-1 {
  background-image: url("../assets/img/company-profile/BG5.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 80px 0;
  color: #001d3d;
  /* เปลี่ยนเป็นสีเข้มแทนเพื่อความคมชัด */
  position: relative;
  z-index: 1;
}

/* 🔥 เอา overlay ออกเพื่อให้ภาพชัดเต็ม 100% */
.bg-companyProfile-1::before {
  display: none;
}


.banner {
  background-image: url(https://assest.sgp1.cdn.digitaloceanspaces.com/pce/home/CoverHome72.webp);

  p {
    width: 50% !important;
  }
}

.language-switcher {
  button {
    transition: all .3s ease-in-out;
    background-color: transparent;
    color: #d0d2e4;
    /* padding: .1rem .1rem;
    border: 1px solid #e0e0e0;
    */
  }

  /* 
  .lang-btn:first-child {
    border-radius: 10px 0 0 10px;
  }

  .lang-btn:last-child {
    border-radius: 0 10px 10px 0;
  } */

  button.active {
    span {
      color: #24275e;
      text-decoration: underline;
    }

    /* background-color: #24275e; */
    /* border-radius: 5px 0 0 5px; */


  }

  .hl {
    border-left: 2px solid #24275e;
    max-height: 50px;
    margin-inline: 10px;
  }
}

.drop-shadow {
  background: #FFF;
  -webkit-filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.16));
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.16));
}

header.header-1 .main-menu ul>li>ul>li:hover {
  background-color: #24275e !important;

  a {
    color: #ffff !important;
  }

  ul {
    li {
      a {
        color: #24275e !important;
      }

      a:hover {
        color: #ffff !important;
      }
    }
  }

}

.mobile-nav .navigation ul:not(.dropdown-menu)>li.dropdown .dropdown-menu li {
  .subUl {
    font-size: 14px;
    font-weight: 400;
  }
}

.alert {
  font-size: large;
  font-weight: 500;
  color: #ff0000;
}


.our-tam {

  h4 {
    color: #24275e !important;
  }

  h5 {
    color: #24275e !important;
    font-weight: 500;
    line-height: 30px;
  }

  h6 {
    color: #464879 !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
  }

  p {
    color: #464879 !important;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
  }
}

.Efficiency {
  h6 {
    color: #464879 !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
  }
}

.business-group-warpper {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;

  input[type="radio"] {
    display: none;
  }

  .card {
    display: flex;
    margin-inline: 10px;
    padding: 2rem;
    align-content: center;
    cursor: pointer;
    width: 25%;
    max-height: 400px;
    border-radius: 17px;
    transition: .6s cubic-bezier(0.075, 0.82, 0.165, 1);

    .description-warpper {
      display: flex;
      flex-direction: column;

    }
  }



  .description {
    padding-top: 1rem;
    opacity: 0;
    transition: .6s cubic-bezier(0.075, 0.82, 0.165, 1);

  }

  .card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 80%;
    top: -1px;
    left: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, #E8E9F2 60%, rgba(232, 233, 242, .43) 90%, rgba(232, 233, 242, 0) 100%);
    transition: all .3s ease-in-out;
    opacity: 0;
  }


  .icon {
    display: flex;
    align-content: center;
    justify-content: center;
    margin-inline: auto;
    background-color: #24275e;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 1;

    img {
      width: 50%;
    }
  }

  input:checked+label {
    width: 100%;

    .description {
      opacity: 1;
      transform: translateY(0px);

    }


  }

  input:checked+.card::before {
    opacity: 1;
  }


  label[for="card-1"] {
    background-image: url(https://assest.sgp1.cdn.digitaloceanspaces.com/pce/home/PalmOilExtractionAndRefineryBusinessGroup.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

  }

  label[for="card-2"] {
    background-image: url(https://assest.sgp1.cdn.digitaloceanspaces.com/pce/home/Palm-Oil-Procurement-Business-Group.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  label[for="card-3"] {
    background-image: url(https://assest.sgp1.cdn.digitaloceanspaces.com/pce/home/Transportation-Business-Group-02.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

  }

  label[for="card-4"] {
    background-image: url(https://assest.sgp1.cdn.digitaloceanspaces.com/pce/home/PalmOilExtractionAndRefineryBusinessGroup.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

  }
}

.home-tab-business {
  input[type="radio"] {
    display: none;
  }

  .home-tab-business-warpper {
    display: flex;

  }

  .home-tab-label {
    max-width: 750px;
    margin-inline: 25px;
  }

  .home-tab-label .tab {
    cursor: pointer;
    margin: 5px 5px;
    padding: 10px 30px;
    max-width: 100%;
    display: inline-block;
    transform: translateX(0px);

    h3 {
      color: #272b75;

    }

    p {
      margin-right: 150px;
    }
  }

  #tab-1:checked~.home-tab-label #label-1,
  #tab-2:checked~.home-tab-label #label-2,
  #tab-3:checked~.home-tab-label #label-3 {
    color: #ffffff;
    border-left: 10px solid #d8031c;
    background: #24275e;
    background: linear-gradient(90deg, #24275e 0%, #24275e00 100%);
    transform: translateX(0px);
    transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);

    h3 {
      color: #ffffff;

    }
  }

  #tab-1:checked~.home-tab-content #content-1,
  #tab-2:checked~.home-tab-content #content-2,
  #tab-3:checked~.home-tab-content #content-3 {
    display: block;


  }

  .home-tab-content .tab-content {
    display: none;
  }

}


/* vision */
.why-choose__item:after {
  position: absolute;
  content: '';
  left: 10px;
  right: 10px;
  top: -10px;
  height: 10px;
  background-color: #f8b540;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.why-choose__item {
  position: relative;
  background-color: #0f185c !important;
  min-height: 300px;
  z-index: 1;

  .span-icon {
    padding: 20px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 2;

    img {
      max-width: 60px;

    }
  }

  .solid {
    background-color: #fff;
    z-index: 2;
  }

  /* .img-bg {
    position: absolute;
    z-index: -1;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-image: url(assets/img/all/busi_03.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  } */



}

.why-choose__item:hover {

  .img-bg {
    opacity: 70%;
    transition: .6s cubic-bezier(0.075, 0.82, 0.165, 1);

  }


}

.why-choose__item:hover:after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  top: 0px;
  height: 10px;
  background-color: #f8b540;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}

.chairman-statement {
  .chairman::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 70%;
    width: 100%;
    border-radius: 50%;
    background-color: #ff0000;
    z-index: 1;
    transition: all .3s ease-in-out;
  }


  .tex-b-mark {
    font-size: 80px;
  }


  p {
    font-size: 18px;
    line-height: 31px;
    font-weight: 500;
    padding: 7px;
    color: #293196;

  }

  .position {
    p:nth-child(1) {
      font-weight: 600;
    }

    p:nth-child(2) {
      font-size: 20px;
      margin-top: -25px;
      color: #293196;

    }
  }



  .shareholders {

    h4 {
      color: #293196;
      padding: 10px;
    }

    p {
      font-size: 20px;
      color: #293196;

    }
  }
}

/* Sustainability */
.sustaina {
  padding-block: 50px;

  .bg-1 {
    background-image: url(../assets/img/sustaina21.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .bg-2 {
    background-image: url(../assets/img/sustaina/Picture10.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .row {
    padding: 0;
    margin: 0;
    --bs-gutter-x: 0.5rem;
  }

  .card-sustaina {
    position: relative;
    min-height: 300px;
    margin-bottom: 0.5rem;
    justify-content: end;
    transition: 0.rgba(13, 109, 253, 0)-in;
    box-sizing: border-box;
    background-color: #00000000 !important;

    .body {
      display: flex;
      height: 100%;
      min-height: 300px;
      flex-direction: column;
      padding: 1.5rem;
      transition: 0.3s ease-in;
      justify-content: end;

      .icon {}

      .header {
        color: #fff;
        border-bottom: 2px solid #fff;

        h3 {
          color: #fff !important;
        }
      }

      .title {
        p {
          color: #fff !important;

        }
      }
    }
  }

  .card-sustaina:hover {

    filter: brightness(70%);

    .body {
      padding: 1rem;
    }


  }

}


/* awards */
.award {
  .card-award {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transform: translateY(0px);
    transition: all .3s ease-in-out;
  }

  .card-award:hover {
    transform: translateY(-10px);
    border: solid 2px #0f185c9c;
  }
}

.innovate {

  .row>.col {
    gap: 20px;
    z-index: 99;
  }


}

.wave {
  position: relative;
  top: -80px;
}


.swiper-container-wrapper--timeline .swiper-slide {
  display: flex;
  /* background: #f1efef; */
  min-height: 500px;
  /* align-items: center; */
  justify-content: center;
  border-radius: 10px;
}


.swiper-container-wrapper--timeline .swiper-slide .container {
  padding: 0;
  width: 100%;
}

.swiper-container-wrapper--timeline .swiper-slide .title {
  font-size: 18px;
  opacity: 0;
  transition: 0.5s ease 0.5s;
}

.swiper-container-wrapper--timeline .swiper-slide-active .title {
  opacity: 1;
}

.swiper-container-wrapper--timeline .swiper-pagination-progressbar {
  position: relative;
  margin-bottom: 70px;
  background-color: transparent;
  height: 4px;
  border-bottom: 1px solid #888;
  width: 75% !important;
}

.swiper-container-wrapper--timeline .swiper-pagination-progressbar-fill {
  background-color: #000;
  height: 3px;
  top: 2px;
}

/* .swiper-container-wrapper--timeline .swiper-pagination-progressbar:before {
  position: absolute;
  top: 2px;
  left: -100%;
  width: 100%;
  height: 3px;
  background-color: #000;
  content: "";
} */
/* .swiper-container-wrapper--timeline .swiper-pagination-progressbar:after {
  position: absolute;
  top: 3px;
  right: -100%;
  width: 100%;
  height: 1px;
  background-color: #888;
  content: "";
} */
.swiper-container-wrapper--timeline .swiper-pagination-custom {
  position: relative;
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: flex;
  line-height: 1.66;
  bottom: 0;
  z-index: 11;
  width: 75%;
  display: flex;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch {
  position: relative;
  width: 100%;
  height: 30px;
  line-height: 30px;
  display: block;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch .switch-title {
  position: absolute;
  font-weight: 400;
  right: 0;
  transform: translateX(50%);
  transition: 0.2s all ease-in-out;
  transition-delay: 0s;
  cursor: pointer;
  z-index: 1;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch .switch-title:after {
  position: absolute;
  top: calc(100% + 19px);
  right: 50%;
  transform: translateX(50%) translateY(-50%);
  width: 12px;
  height: 12px;
  background: #0f185c;
  border-radius: 2rem;
  content: "";
  transition: 0.2s all ease-in-out;
  transition-delay: 0s;
  z-index: 1;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-title {
  font-weight: 400;
  transition-delay: 0.4s;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active .switch-title:after {
  background: #0f185c;
  width: 25px;
  height: 25px;
  transition-delay: 0.4s;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active~.swiper-pagination-switch .switch-title {
  color: #888;
  font-weight: 16px;
}

.swiper-container-wrapper--timeline .swiper-pagination-custom .swiper-pagination-switch.active~.swiper-pagination-switch .switch-title:after {
  background: #888;
}

/* .swiper-wrapper{
  background: #000;
}
 */



.certificate {
  .header {
    padding-block: 20px;
    border-bottom: 2px solid #0f185c;
  }

  .collapse {
    padding: 20px;
    background-color: #E8E9F2;
  }

  .detail {
    transition: all .3s ease-in-out;
  }

  .detail:hover {
    transform: translateY(-10px);
    filter: brightness(80%);
  }
}


.widget_categories ul li a.active {
  color: #FFF;
  background-color: #0f185c;
}

/* warehouses-port */
.warehouses-port {
  .card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    height: 100%;

  }

}

/* palm-oil-mill */
.palm-oill-mill-sec1 {
  .card {
    padding: 10px;
    border-radius: 10px;
    height: 100%;

    .card-body {
      .img {
        display: flex;
        justify-content: center;
        align-content: center;
        padding: 10px;


      }

      .card-title {
        text-align: center;
        padding-top: 10px;
      }
    }

    a {
      color: #616161;
      font-size: 14px;
    }

    h1 {
      color: #24275eb2;
      padding: 20px;
      font-size: 80px;
    }

    p {
      color: #616161;

      font-size: 14px;
      text-align: initial;
    }
  }
}

/* corporate-governance */
.corporate {
  b {
    color: #24275e;
  }
}

.corporate-grid {
  .corporate-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
  }

  .corporate-card {
    padding: 20px;
    text-align: start;
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
    border: #ffffff 1px solid;
  }

  .corporate-card:hover {
    border: #0d6efd 1px solid;
  }

  .modal {
    background-color: #353333a6;

  }

  .modal-body {
    padding: 20px 50px;

  }

  .modal-dialog {
    min-width: 800px;
  }

  .modal-dialog-scrollable .modal-content {
    max-height: 70% !important;
  }



}


.palm-oill-mill {
  table {
    margin: auto;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    border-collapse: collapse;
    z-index: 1;
    color: var(--gray);
  }

  th:nth-child(1) {
    min-width: 200px
  }

  th {
    padding: 10px;
    background-color: #24275e;
    color: #fff;

  }

  td {
    padding: 15px;
    background-color: #f1f1f157;
    border-bottom: 1px #969292b6 solid;
  }

  b {
    color: #2e305a;
  }
}

.land-transportation {
  table {
    margin: auto;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    border-collapse: collapse;
    z-index: 1;
    color: var(--gray);
  }

  th:nth-child(1) {
    min-width: 350px
  }

  th:nth-child(2) {
    min-width: 250px
  }

  th {
    padding: 10px;
    background-color: #24275e;
    color: #fff;

  }

  td {
    padding: 15px;
    background-color: #f1f1f157;
    border-bottom: 1px #969292b6 solid;
  }
}

.code-of-conduct {
  .accordion-item .accordion-header button {
    color: #24275e;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    /* background: #bcbfd7a1; */
  }

  .accordion-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);

    .circel {
      li {
        display: flex;

        span {
          padding-right: 10px;
        }
      }
    }
  }

}

.circel {
  li {
    display: flex;

    span {
      padding-right: 10px;
    }
  }
}

.cta-banner__content-btn {
  a {
    color: #24275e;
  }

  a:hover {
    color: #205bb4;
  }
}

.modal-backdrop {
  z-index: -1;
  background-color: #ffffff !important;
}

.modal-content {
  margin-top: 100px;
}

/* news */

.footer-link {
  margin-bottom: 10px;

  .header {
    margin-bottom: 10px;

    a {
      color: #FFF;
      font-weight: 600;
      font-size: 18px;

    }

    a:hover {
      color: #205bb4;
      font-weight: 600;
    }



  }

  a {
    color: #FFF;
    font-weight: 300;
    font-size: 14px;
  }

  a:hover {
    color: #0d6efd;
    text-decoration: underline;
  }

  p {
    color: #FFF !important;
    font-size: 14px;

  }
}

.coppyright {
  color: #FFF !important;
  font-size: 14px;
}

.index {
  background-image: url(../assets/img/all/111.webp);
  background-position: center;
  background-size: cover
}


#site-map {
  .header a {
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
  }

  span {
    color: #fff;
    padding-inline: 5px;
  }

}

.cookie-popup {
  position: fixed;
  bottom: 12px;
  left: 12px;
  max-width: 230px;
  font-size: 12px;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  padding: 10px 12px;
  z-index: 999999;
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  text-align: justify;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup a {
  font-weight: 500;
  text-decoration: underline;
}

.cookie-popup .btn {
  font-size: 12px;
  padding: 4px 8px;
}

.cookie-popup a {
  font-size: 12px;
  font-weight: 500;
  color: #04213F;
  text-decoration: underline;
}

.cookie-popup a:hover {
  color: #025ca3;
}

@media (max-width: 1199px) {
  .index {
    background-image: url(../assets/img/all/111.webp);
    background-position: center;
    background-size: cover
  }
}

@media (max-width: 991px) {
  .index {
    background-image: url(../assets/img/all/43.webp);
    background-position: center;
    background-size: cover
  }
}

@media (max-width: 768px) {
  .index {
    background-image: url(../assets/img/all/43.webp);
    background-position: center;
    background-size: cover
  }
}

@media (max-width: 380px) {
  .index {
    background-image: url(assets/img/all/35.webp);
    background-position: center;
    background-size: cover
  }
}