.about-header {
  position: relative;
  height: 550px;
  background: linear-gradient(rgba(93, 93, 93, 0.2), rgba(93, 93, 93, 0.2));
}
.sm-header {
  position: static;
  height: auto;
  background: none;
  margin-bottom: 2rem;
}
.beck-vedio {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 550px;
  object-fit: cover;
  z-index: -1;
}
.profile-content h2 {
  color: var(--orange-color);
  font-weight: 600;
  font-size: 24px;
}
.para p {
  font-size: 14px !important;
  font-family: "Poppins", sans-serif !important; 
  line-height: 1.6rem;
}
.book-container {
  width: 330px;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.book-container::after {
  content: "";
  background: rgba(0, 0, 0, 0.16);
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  transition: all 0.3s ease;
  z-index: 2s;
}
.book-container .custom-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  border: none;
  outline: none;
  transform: translate(-50%, -50%);
  background: var(--orange-color);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.custom-btn {
  color: var(--white-color);
}
.book-container:hover::after {
  width: 80%;
}
.book-container:hover .custom-btn {
  opacity: 1;
}
.book-des h2 {
  font-size: 3.7rem;
  font-weight: 400;
  color: var(--dark-blue-color);
}
.book-des p {
  font-size: 1rem;
  line-height: 1.6rem;
}
.company-sec {
  background: linear-gradient(
      43deg,
      rgb(255 255 255 / 0%),
      rgb(255 255 255 / 21%)
    ),
    url(../../assets/images/about/3.png);
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
}
/* =============== vision & mission =============== */
.img-box {
  max-width: 400px;
  min-width: 250px;
}
.vision-content p {
  font-size: 14px;
  font-weight: 500;
  /* color: var(--blue-color); */
  color: rgb(84 82 144);
  line-height: 1.6rem;
}
.cp-mission {
  margin-top: 6rem;
  padding-bottom: 5rem;
}
/* =============== Core Values =============== */
.about-nav-btn {
  z-index: 0;
}

.about-nav-btn.active {
  z-index: 0 !important;
}

.core-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--orange-color);
}

.history-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--orange-color);
  margin-bottom: 20px;
}

.core-value-logo-title p {
  text-align: center;
}

.core-value-logos {
  margin-top: 10rem;
}
.core-logo-box {
  position: relative;
}
.logo img {
  cursor: pointer;
  transition: all 0.3s ease;
}
.core-text {
  text-align: center;
  width: 250px;
  background: var(--orange-color);
  padding: 1rem;
  color: var(--white-color);
  border-radius: 10px;
  position: absolute;
  bottom: 100%;
  /* Position it above the blue box */
  transform: translateY(0);
  /* Remove the upward shift */
  opacity: 0;
  z-index: 100000;
  transition: all 0.3s ease;
  pointer-events: none;
}
/* ============== History Section =================== */
.history-sec .title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--orange-color);
  text-align: left;
}
.year-history {
  color: var(--orange-color);
}
.range {
  background: #eeeeee;
}
.history-sec .range {
  height: 5px;
}
.range .range-item {
  width: 10%;
  height: 100%;
  background: var(--orange-color);
  transition: all 0.3s ease;
  cursor: pointer;
}
.range-item:hover {
  background: var(--blue-color);
}
.years {
  font-size: 1.3rem;
  font-weight: 600;
}
.years .start {
  color: var(--blue-color);
  cursor: pointer;
}
.history-sec .des {
  font-size: 1rem;
  line-height: 1.6rem;
}
/* History */
.cd-horizontal-timeline {
  position: relative;
  width: 100%;
}

.history-timeline {
  width: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  position: relative;
}

.timeline-header-history {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 10px;
  margin-bottom: 20px;
}

.year-history {
  font-size: 24px;
  font-weight: 600;
  color: #a6a6a6;
  cursor: pointer;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
  width: 100%;
  text-align: center;
}

.year-history.active {
  color: #ff6600;
}

.year-history::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #a6a6a6;
  transition: background-color 0.3s ease;
}

.year-history.active::after {
  background-color: #ff6600;
}

.timeline-content-history {
  padding-top: 10px;
}

.title-history {
  font-size: 24px;
  color: #ff6600;
  margin-bottom: 20px;
}

.description-history {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.content-history {
  display: none;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  color: #888;
  transition: color 0.3s ease;
}

.arrow svg path {
  fill: white;
}

.left-arrow {
  left: -4%;
}

.right-arrow {
  right: -4% !important;
}

.arrow:hover {
  color: #ffffff;
}

/* ============== Management =================== */
.org-sec .title {
  color: var(--orange-color);
  font-size: 24px !important;
}
.management-items {
  margin: 10rem 0 15rem 0;
}

.management-items .row {
  justify-content: center;
  padding-bottom: 10px;
}

.management-items .box {
  text-align: center;
  margin-bottom: 25px;
}

.box h3,
.box p {
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.box {
  transition: box-shadow 0.3s ease;
  border-radius: 20px;
}

.box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.comissioners-info h3 {
  color: var(--blue-color);
  font-weight: 600;
  font-size: 18px;
  margin-top: 0.8rem;
  margin-bottom: 0;
}
.comissioners-info p {
  color: var(--blue-color);
  font-weight: 400;
  font-size: 14px;
}

.comissioners-info {
  padding: 10px 15px;
  box-sizing: border-box;
}

.box:hover .comissioners-info {
  background-color: transparent;
}

.box {
  cursor: pointer;
}
.box .des {
  display: none;
}
.box-hover {
  position: absolute;
  width: 340px;
  background: #e4e4e4;
  padding: 1rem;
  top: -90px;
  height: auto;
  left: -60px;
  box-shadow: 0px 0px 31px 0 rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* Menambah lebar popup */
.mfp-container {
  padding: 0;
  margin: 0 auto;
}
.mfp-figure {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.mfp-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.mfp-figure:after {
  background: transparent !important;
  box-shadow: none !important;
}
.mfp-title {
  padding-right: 0% !important;
}

/* ============== Animation =================== */
.company-profile {
  transform: translateX(-150%);
  animation: animation 1.8s ease-in-out forwards;
}
.company-book h2 {
  opacity: 0;
  animation: opacity 1.8s ease-in-out forwards;
  font-size: 32px !important;
  font-family: "Poppins", sans-serif !important;
}
.book-container {
  transform: translateX(200%);
  animation: animation 1.1s ease-in-out forwards;
}
.book-des,
.history-sec .des {
  transform: translateX(-150%);
  animation: animation 1.8s ease-in-out forwards;
}
.company-sec .container {
  transform: translateX(-150%);
  animation: animation 1.8s ease-in-out forwards;
}
.cp-vision {
  transform: translateX(150%);
  animation: animation 1.8s ease-in-out forwards;
}
@keyframes animation {
  100% {
    transform: translate(0);
  }
}
@keyframes opacity {
  100% {
    opacity: 1;
  }
}
/* ============== Responsive =================== */

@media (max-width: 575px) {
  .company-sec .cp-logo {
    width: 70%;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .company-sec {
    height: auto;
    background: none;
  }
  .btn-group button.about-nav-btn {
    border-radius: 0;
  }

  .timeline-header-history {
    flex-direction: column;
    text-align: center;
  }

  .year-history {
    margin-bottom: 10px;
  }

  .description-history {
    font-size: 16px;
  }
}
@media (max-width: 970px) {
  .box-hover {
    position: static;
    width: 100%;
  }
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }

  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}

@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}

@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}

@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

/* Hover Core Values */
.keybehavior-core-values {
  display: none;
}
.core-logo-box .core-text::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 42%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #f27423;
  rotate: 180deg;
}

.core-logo-box.hovered .core-text {
  transform: translateY(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  z-index: 100000;
}

.core-logo-box.dimmed {
  filter: brightness(50%);
}

.core-logo-box.hovered {
  filter: brightness(100%);
}

.core-value-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  /* Initially hidden */
  align-items: center;
  justify-content: center;
  z-index: 100001;
}

.overlay-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.core-value-card {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  width: 100%;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: black;
}

/* Slideshow container */
.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  margin-top: -25px; /* Setengah dari height untuk memastikan di tengah */
  background-color: #a6a6a6; /* Warna latar belakang sesuai kebutuhan */
  color: white;
  font-weight: bold;
  font-size: 16px;
  transition: 0.6s ease;
  border-radius: 50%; /* Membuat bentuk bulat */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 50%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #15135b;
}

/* Caption text */
.slideshow-text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.slideshow-numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

.fade:not(.show) {
  opacity: 1;
}

@keyframes fade {
  from {
    opacity: 0.4
  }

  to {
    opacity: 1
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

  .prev,
  .next,
  .text {
    font-size: 11px
  }
}

.overlay-title {
  font-size: 24px !important;
}

.overlay-description {
  font-size: 14px !important;
}

.line-management {
  border-bottom: 1px solid orange;
  margin-bottom: 20px;
}