/* Container Styles */
.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
    align-items: stretch; /* Ensure all items stretch to the same height */
}

.main-content {
    flex: 1.5; /* Takes 2/3 of the width */
}

.sidebar {
    flex: 1; /* Takes 1/3 of the width */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    display: flex;
    gap: 15px;
    align-items: flex-start; /* Aligns text and image at the top */
/*    height: 100%; /* Ensure it fills the height */*/
}

.sidebar-img {
    width: 120px; /* Image width */
    height: 120px; /* Image height */
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-text {
    flex: 1;
}

.sidebar-text h3 {
    font-size: 1.3rem;
    color: #81659E;
    margin-bottom: 5px;
    font-weight: bold;
}

.sidebar-text .subtitle {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 5px;
    font-weight: bold;
}

.sidebar-text .description {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 10px;
}

.date {
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .main-content {
        margin-bottom: 20px;
    }

    /* Menampilkan gambar penuh di layar mobile */
    .highlight img {
        max-height: 400px; /* Lebih besar pada mobile */
    }

    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Mengatur gambar sidebar di kiri dan teks di kanan pada mobile */
    .sidebar-item {
        flex-direction: row; /* Mengatur elemen menjadi horizontal */
        text-align: left; /* Menjaga teks tetap rata kiri */
    }

    /* Menyesuaikan ukuran gambar pada mobile */
    .sidebar-img {
        width: 120px; /* Ukuran gambar tetap pada mobile */
        height: 120px; /* Ukuran gambar tetap pada mobile */
        border-radius: 8px;
    }

    /* Penyesuaian ukuran teks di layar kecil */
    .details h2 {
        font-size: 1.5em; /* Ukuran judul lebih kecil pada mobile */
    }

    .details p {
        font-size: 1.1em;
    }

    .sidebar-text h3 {
        font-size: 1.2rem; /* Teks sidebar lebih kecil */
    }

    .sidebar-text .subtitle {
        font-size: 1rem; /* Ukuran subtitle lebih kecil pada mobile */
    }

    .sidebar-text .description {
        font-size: 0.9rem; /* Ukuran deskripsi lebih kecil pada mobile */
    }

    .sidebar-text p {
        font-size: 1rem;
        color: #333;
    }

    /* Mengatur jarak antar elemen pada sidebar */
    .sidebar-item {
        margin-bottom: 30px;
    }
}


.bg-wrapper .text-box {
    place-content: flex-end space-between;
    align-items: flex-end;
    display: flex;
    flex: 0 0 auto;
    flex-flow: row;
    height: 100vh;
    overflow: visible;
    padding: 50px 50px 100px;
    position: relative;
    width: 100%;
    text-align: left;
}

.bg-wrapper .text-box h1 {
    width: 30%;
    line-height: 100%;
    font-size: 76px;
    font-weight: 500;
}

.bg-wrapper .text-box p {
    width: 40%;
}

@media screen and (max-width: 1140px) {
    .bg-wrapper .text-box p {
        width: 100%;
    }

    .bg-wrapper .text-box h1 {
        width: 100%;
        font-size: 42px;
        font-weight: 500;
    }

    .bg-wrapper .text-box {
        align-items: flex-start;
        padding: 50px 20px;
        flex-direction: column;
        justify-content: flex-end;
    }
}

/* CEO Message */
.ceo_message {
    display: flex;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Latar belakang putih */
    color: #000000; /* Teks hitam */
    align-items: center;
    place-content: center space-evenly;
    overflow: visible;
    padding: 20px 0; /* Padding atas dan bawah 20px, kanan dan kiri 0 */
}


.ceo_message .img_wrapper {
    align-items: center;
    justify-content: center;
    position: relative;
    display: inline-block;
    max-width: 50%; /* Membatasi lebar maksimal */
}


.ceo_message .img_wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-position: center;
    object-fit: cover;
    image-rendering: auto;
    transition: transform 0.3s ease;
}

.ceo_message .img_wrapper img:hover {
    transform: scale(1.1);
}

.tooltip {
    position: fixed;
    padding: 10px 16px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25);
    color: #444;
    display: none;
    pointer-events: none;
    transition: transform 0.2s ease; /* Transisi untuk animasi smooth */
    transform: translate(-50%, -50%) scale(1); /* Awalnya skala 1 */
}

.ceo_message .text_wrapper {
    width: 504px;
    font-size: 16px;
    color: #000;
    align-items: center;
    justify-content: center;
}

.muncul {
    opacity: 0;
    transform: scale(0.9); /* Ubah nilai scale agar lebih halus */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

h3.muncul {
    font-size: 70px;
    font-weight: bold; /* Menambahkan gaya bold */
}

h2.muncul {
    font-size: 30px;
    font-weight: bold; /* Menambahkan gaya bold */
}

h1.muncul {
    font-size: 50px;
    font-weight: bold; /* Menambahkan gaya bold */

}

h1 span {
  color: #99D2C6; /* Color for the "IL" part */
}

.muncul.active {
    opacity: 1;
    transform: scale(1);
}

.muncul:nth-child(1) {
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.muncul:nth-child(2) {
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.muncul:nth-child(3) {
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.muncul:nth-child(4) {
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.muncul:nth-child(5) {
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.muncul:nth-child(6) {
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.muncul:nth-child(7) {
    transition: opacity 0.6s ease, transform 0.8s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
        transform: translateY(0);
      }
  }

@media screen and (max-width: 1140px) {
   .ceo_message .img_wrapper {
        max-width: none; /* Menghilangkan batasan lebar pada ukuran mobile */
    }
}

@media screen and (max-width: 760px) {
  h1.muncul {
      font-size: 35px;
      font-weight: bold; /* Menambahkan gaya bold */

  }
}


@media screen and (max-width: 1140px) {
    .banner-wrapper .box {
        gap: 50px;
        width: 70%;
        text-align: center;
        display: flex;
        flex-direction: column;
        height: unset;
        padding: unset;
        flex: unset;
    }

    .banner-wrapper .box .right-content span {
        font-size: 20px;
        line-height: 120%;
        text-align: center;
        letter-spacing: 0px;
    }

    .banner-wrapper .box .left-content span {
        font-size: 24px;
        font-weight: 500;
    }

    .ceo_message {
        padding: 20px;
        flex-direction: column;
        gap: 32px;
    }

    .ceo_message .text_wrapper {
        width: 100%;
    }

    .ceo_message .img_wrapper::after {
        position: absolute;
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
        border-radius: 12px;
        background-color: white;
        box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.25); /* Efek bayangan */
        color: #444;
    }
}

/* Slideshow container */
.slideshow-container {
  position: relative;
/*  background: #f1f1f1f1;*/
}

/* Slides */
.mySlides {
  display: none;
  padding: 80px;
  text-align: center;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -30px;
  padding: 16px;
  color: #888;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  position: absolute;
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color: white;
}

/* The dot/bullet/indicator container */
.dot-container {
  text-align: center;
  padding: 20px;
/*  background: #ddd;*/
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Add a background color to the active dot/circle */
.active, .dot:hover {
/*  background-color: #717171;*/
}

/* Add an italic font style to all quotes */
q {font-style: italic;}

/* Add a blue color to the author */
.author {color: cornflowerblue;}


        /* Header styles */
        #header-wrapper {
            width: 100%;
            height: 80px;
            position: fixed;
            left: 0;
            top: 0;
            z-index: 1000; /* Ensure header is above other content */
            transition: all 0.3s ease; /* Smooth transition for color change */
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            background-color: #C7B2DD; /* Background transparan */
        }

        /* Banner styles */
        .bg-wrapper {
            width: 100%;
            height: 500px;
            background-size: cover;
            color: #F0F0F0;
            text-align: center;
            padding-top: 80px; /* Same as header height */
            box-sizing: border-box; /* Ensure padding doesn't add to height */
            position: relative;
            margin-top: 80px; /* Ensure margin is applied if needed */
        }


.sidebar-item a {
    display: inline-block; /* Atur elemen <a> agar tidak berpengaruh pada ukuran gambar */
    text-decoration: none; /* Hapus garis bawah default pada elemen <a> */
    padding: 0;
    margin: 0;
}