/* Card title styling */
.card-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.video-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 35px 0;
  background-color: hsl(120, 27%, 75%);
  position: relative;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;

  font-size: 24px;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.video-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 0 0 100%;
  width: 100%;
  align-content: center;
  font-family: Arial, sans-serif;
  border: 1px solid #ddd;
}

.video-thumbnail-container {
  position: relative;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-wrapper {
  position: relative;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 16px;
}

.video-title-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.video-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  flex-grow: 1;
}

.corevalues {
  display: flex;
  padding: 40px 40px 100px 40px;
  background-color: #ffffff;
}

.team {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /*gap: 220px;*/
  margin: 0;
  background: #ffffff;
  font-family: "Merriweather";
  padding: 100px 0;
}

.tentangkami {
  text-align: justify;
}

.left-section {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left-section h1 {
  color: #4a7a4d;
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 50px;
}

.core-values-image {
  max-width: 100%;
  height: auto;
}

.right-section {
  width: 40%;
  background-color: #f0f7ef;
  padding: 40px;
  border-radius: 8px;
}

.mission-vision-section {
  text-align: left;
}

h2 {
  color: #259d19;
  margin-bottom: 25px;
  font-size: 3rem;
}

.misi {
  margin-bottom: 50px;
}

.visi h2 {
  color: #e3a11f;
}

.misi p,
.visi ul {
  font-size: 1.2rem;
  font-weight: 600;
  color: #444242;
}

.visi ul {
  list-style-type: disc;
  padding-left: 20px;
}

.visi ul li {
  margin-bottom: 10px;
}

.history-section {
  background: linear-gradient(90deg, #42723d 0%, #60a759 50%, #6bc861 100%);
  padding: 40px 20px;
  color: white;
}

.history-section h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.timeline {
  display: flex;
  position: relative;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  padding-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 75.25%;
  top: 0;
  left: 12.5%;
  height: 3px;
  background: white;
}

.timeline-event {
  flex: 1;
  margin: 0 15px;
  position: relative;
}

.timeline-event::before {
  content: "";
  position: absolute;
  top: -4.18%;
  left: 50%;
  right: 0;
  height: 102px;
  width: 3px;
  background: white;
}

.timeline-event::after {
  content: "";
  position: absolute;
  top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50.4%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
}

.timeline-event h3 {
  margin-top: 150px;
  text-align: center;
}

.timeline-event p {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
}

/* Responsive styles */
@media (max-width: 1280px) {
  .history-section {
    width: 100%;
    padding: 40px 10px 40px 10px;
  }

  .history-section h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 40px;
  }

  .container {
    padding: 0 0 100px 0;
  }

  .row {
    width: 100%;
    margin: auto;
  }

  .team {
    gap: 100px;
  }

  .video-card {
    width: 90%;
  }

  .timeline {
    width: 100%;
  }

  .timeline-event::before {
    top: -3.4%;
  }

  .timeline-event p {
    margin-bottom: 100px;
  }

  .corevalues {
    display: flex;
    gap: 20px;
    padding: 40px 20px 100px 20px;
  }

  .left-section {
    width: 100%;
  }

  .left-section h1 {
    font-size: 38px;
  }

  .right-section {
    width: 100%;
  }

  .visi h2 {
    font-size: 38px;
  }

  .misi h2 {
    font-size: 38px;
  }

  .misi p {
    font-size: 16px;
  }

  .visi ul {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .history-section {
    width: 100%;
    padding: 40px 10px 40px 10px;
  }

  .history-section h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 40px;
  }

  .container {
    padding: 0 0 100px 0;
  }

  .team {
    gap: 100px;
  }

  .row {
    width: 90%;
    margin: auto;
  }

  .video-card {
    width: 90%;
  }

  .timeline {
    width: 100%;
  }

  .timeline-event::before {
    top: -3%;
  }

  .timeline-event p {
    margin-bottom: 100px;
  }

  .corevalues {
    display: flex;
    gap: 20px;
    padding: 40px 20px 100px 20px;
  }

  .left-section {
    width: 100%;
  }

  .left-section h1 {
    font-size: 38px;
  }

  .right-section {
    width: 100%;
  }

  .visi h2 {
    font-size: 38px;
  }

  .misi h2 {
    font-size: 38px;
  }

  .misi p {
    font-size: 16px;
  }

  .visi ul {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .history-section {
    width: 100%;
    padding: 40px 10px 40px 10px;
  }

  .history-section h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 40px;
  }

  .container {
    padding: 0 0 100px 0;
  }

  .team {
    gap: 100px;
  }

  .row {
    width: 90%;
    margin: auto;
  }

  .video-card {
    width: 90%;
  }

  .timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .timeline::before {
    display: none;
  }

  .timeline-event p {
    margin-bottom: 100px;
  }

  .timeline-event::after {
    display: none;
  }

  .timeline-event::before {
    display: none;
  }

  .timeline-event h3 {
    margin-top: 70px;
  }

  /* Garis horizontal */
  .horizontal-line-1 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 0;
  }

  /* Garis vertikal */
  .vertical-line-1 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-1 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Garis horizontal */
  .horizontal-line-2 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 270px;
  }

  /* Garis vertikal */
  .vertical-line-2 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 270px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-2 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 320px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Garis horizontal */
  .horizontal-line-3 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 570px;
  }

  /* Garis vertikal */
  .vertical-line-3 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 570px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-3 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 620px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Garis horizontal */
  .horizontal-line-4 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 850px;
  }

  /* Garis vertikal */
  .vertical-line-4 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 850px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-4 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 900px;
    left: 50%;
    transform: translateX(-50%);
  }

  .corevalues {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 20px 100px 20px;
  }

  .left-section {
    width: 100%;
  }

  .left-section h1 {
    font-size: 38px;
  }

  .right-section {
    width: 100%;
  }

  .visi h2 {
    font-size: 38px;
  }

  .misi h2 {
    font-size: 38px;
  }

  .misi p {
    font-size: 16px;
  }

  .visi ul {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .history-section {
    width: 100%;
    padding: 40px 10px 40px 10px;
  }

  .history-section h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 40px;
  }

  .team {
    gap: 50px;
  }

  .container {
    padding: 0 0 100px 0;
  }

  .timeline-event::before {
    top: -5%;
  }

  /* Garis horizontal */
  .horizontal-line-3 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 635px; /* Menyesuaikan posisi garis horizontal ketiga */
  }

  /* Garis vertikal */
  .vertical-line-3 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 635px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-3 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 685px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Garis horizontal */
  .horizontal-line-4 {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    top: 950px;
  }

  /* Garis vertikal */
  .vertical-line-4 {
    position: absolute;
    width: 2px;
    height: 50px;
    background-color: white;
    top: 950px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Titik di tengah */
  .center-dot-4 {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    top: 1000px; /* Mengubah posisi ke bawah garis vertikal keempat */
    left: 50%;
    transform: translateX(-50%);
  }

  .row {
    width: 90%;
    margin: auto;
  }

  .video-card {
    width: 90%;
  }

  .timeline {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .timeline-event p {
    margin-bottom: 100px;
  }

  .timeline::before {
    content: none;
  }

  .corevalues {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 20px 100px 20px;
  }

  .left-section {
    width: 100%;
  }

  .left-section h1 {
    font-size: 38px;
  }

  .right-section {
    width: 100%;
  }

  .visi h2 {
    font-size: 38px;
  }

  .misi h2 {
    font-size: 38px;
  }

  .misi p {
    font-size: 16px;
  }

  .visi ul {
    font-size: 16px;
  }
}

@media (min-width: 1281px) {
  .row {
    margin: 0;
    width: 100%;
  }
}
