html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
  font-family: 'Titillium Web', sans-serif;
  background-size: cover;
  color: #222;
  -webkit-font-smoothing: antialiased;
}

/* Sejarah */
*,
*:after,
*:before {
    box-sizing: border-box;
}

strong {
    font-weight: 900;
}

body {
  background-color: #0e0e0e;
  color: #fff;
  font-family: "Roboto", sans-serif;
}

.judul {
  text-align: center;
  padding-top: 5vh;
}

.judul span {
  font-weight: bold;
  font-size: 1rem;
  color: #ffc107;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

spand {
  font-weight: bold;
  color: #ffffff;
  font-size: 3rem;
}

.logo-and-text {
  margin: 5% !important;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.text {
  flex: 2;
  text-align: justify;
}

.video {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5% !important;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height:500px;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid #c2c2c2;
}

.canvas_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-btn,
.fullscreen-btn {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.fullscreen-btn {
  bottom: 10px;
  right: 10px;
  font-size: 18px;
  opacity: 0.8;
}

.fa-play,
.fa-pause {
  font-size: 30px;
}

.reveal-btn {
  margin-top: 1rem;
  padding: 10px 20px;
  border-radius: 25px;
  background: #ffc107;
  color: #000;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reveal-btn:hover {
  background: #e0a800;
}

.video-btn i,
.fullscreen-btn i {
  font-size: 20px;
}

#showMoreBtn {
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 20em;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #e8dff6;
  font-size: 1.2em;
  letter-spacing: 1px;
  padding: 0.8em 2.5em;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-top: 20px;
  display: inline-block;
}

#showMoreBtn:hover {
  transform: scale(1.05);
}

#videoButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 50%;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #fff;
  font-size: 2rem;
  padding: 0.7em 0.8em;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 2;
  opacity: 1;
}

#videoButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, rgba(213,113,24,1) 0%, rgba(214,0,59,1) 72%);
  border: none;
  border-radius: 50%;
  box-shadow: -1px 2px 7px rgba(213,78,24,0.4), 1px -1px 7px rgba(7,6,25,0.4);
  color: #fff;
  font-size: 2rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0px 0px 3px rgba(200,200,200,0.4);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
  z-index: 2;
  opacity: 1;
}

#videoButton:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
#videoButton {
  transition: transform 0.2s ease, opacity 0.5s ease;
}


/* Image */
.middle {
    flex: 2;
    text-align: center; /* Teks di tengah */
}

.middle span{
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    color: #717171;
}

.middle spand{
    font-size: 20px;
    letter-spacing: 1.5px;
    background-color: #005baa;
    background-image: linear-gradient(90deg, #005baa, #98FF98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.middle h1 {
    font-size: 70px;
    padding-bottom: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.8px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
    background-color: #005baa;
    background-image: linear-gradient(160deg, #005baa, #98FF98);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text p {
    font-size: 18px; /* Ukuran font bisa disesuaikan */
    line-height: 1.7;
}
.static-display {
    display: flex;
    gap: 50px; /* Space between items */
    justify-content: center;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }
  
  .static-item {
    flex: 1;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 20px 20px 16px rgba(0, 0, 0, 0.25); /* Enhanced shadow */
    background-size: cover;
    background-position: center;
    height: 400px; /* Set a fixed height */
  }
  
  .static-item--medium {
    background: 
      linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), /* Transparent white overlay */
      url("/Assets/img/medium.jpg") no-repeat center center / cover;
  }
  
  .static-item--high {
    background: 
      linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)), /* Transparent white overlay */
      url("/Assets/img/high.jpg") no-repeat center center / cover;
  }
  .static-item h2 {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
  }

  .static-item h2 a {
    font: 20px;
    background: transparent;
    color: inherit; /* Inherit the color from h2 */
    text-decoration: none; /* Remove underline */
    transition: color 0.5s ease; /* Smooth transition for color change */
  }
  
  /*
  h2 a:hover {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 1.4rem;
    background-color: #005baa;
    background-image: linear-gradient(120deg, #005baa, #98FF98);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  */
  

/* Slider */

.slidersection {
  background-color: white; /* Light gray background */
}

main {
    position: relative;
    width: calc(min(90rem, 90%));
    margin: 0 auto;
    column-gap: 3rem;
    padding-block: min(2vh, 3rem);
  }

  .coal{
    position: relative;
    width: calc(min(90rem, 90%));
    margin: 0 auto;
    column-gap: 3rem;
    padding-block: min(2vh, 3rem);
    margin-bottom: 5rem;
  } 
  
  .bg {
    position: fixed;
    top: -4rem;
    left: -12rem;
    z-index: -1;
    opacity: 0;
  }
  
  .bg2 {
    position: fixed;
    bottom: -2rem;
    right: -3rem;
    z-index: -1;
    width: 9.375rem;
    opacity: 0;
  }
  
  .slidersectiontext {
    max-width: 30%;
  }
  main > div span {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    color: #717171;
  }
  
  main > div h1 {
    text-transform: capitalize;
    letter-spacing: 0.8px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
    background-color: #005baa;
    background-image: linear-gradient(365deg, #005baa, #98FF98);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  main > div hr {
    display: block;
    background: #005baa;
    height: 0.25rem;
    width: 6.25rem;
    border: none;
    margin: 1.125rem 0 1.875rem 0;
  }
  
  main > div p {
    line-height: 1.6;
    text-align: justify;
  }
  
  main a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    color: #717171;
    font-weight: 500;
    background: #fff;
    border-radius: 3.125rem;
    transition: 0.3s ease-in-out; 
  }
  
  main > div > a {
    border: 2px solid #c2c2c2;
    margin-top: 2.188rem;
    padding: 0.625rem 1.875rem;
  }
  
  .swiper {
    width: 100%;
    padding-top: 3.125rem;
  }
  
  .swiper-pagination-bullet,
  .swiper-pagination-bullet-active {
    background: #fff;
  }
  
  .swiper-pagination {
    bottom: 1.25rem !important;
  }
  
  .swiper-slide {
    width: 18.75rem;
    height: 28.125rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: self-start;
    border-radius: 10px;
  }
  
  .swiper-slide h2 {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 2rem; /* Before 0.625, after a, and others */
    padding: 0 0 0 1.563rem;
    text-transform: uppercase;
  }
  
  .swiper-slide p {
    color: #dadada;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    padding: 0 1.563rem;
    line-height: 1.6;
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .swiper-slide a {
    margin: 1.25rem 1.563rem 3.438rem 1.563rem;
    padding: 0.438em 1.875rem;
    font-size: 0.9rem;
    display: none; /* Remove when you have added page qal */
  }
  
  .swiper-slide a:hover {
    color: #005baa;
  }
  
  .swiper-slide div {
    display: none;
    opacity: 0;
    padding-bottom: 0.625rem;
  }
  
  .swiper-slide-active div {
    display: block;
    opacity: 1;
  }
  
  .swiper-slide--one {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/Assets/img/nut.jpg") no-repeat 50% 50%/cover;
  }
  
  .swiper-slide--two {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/Assets/img/medium.jpg") no-repeat 50% 50%/cover;
  }
  
  .swiper-slide--three {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/Assets/img/rom.png") no-repeat 50% 50%/cover;
  }
  
  .swiper-slide--four {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("/Assets/img/fine.jpg") no-repeat 50% 50%/cover;
  }
  
  .swiper-slide--five {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("https://images.unsplash.com/photo-1570481662006-a3a1374699e8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=765&q=80") no-repeat 50% 50%/cover;
  }
  
  .swiper-3d .swiper-slide-shadow-left,
  .swiper-3d .swiper-slide-shadow-right {
    background-image: none;
  }
  
  @media screen and (min-width: 48rem) {
    main {
      display: flex;
      align-items: center;
    }
  
    .bg,
  .bg2 {
      opacity: 0.1;
    }
  }
  @media screen and (min-width: 93.75rem) {
    .swiper {
      width: 85%;
    }
  }
  
 
/* Clients */

.client {
  flex: 2;
  text-align: center; /* Teks di kiri */
}

.client hr {
  display: block;
  background-image: linear-gradient(90deg, #005baa, #98FF98);
  height: 2px;
  width: 25rem;
  border: none;
  margin: auto auto 1.875rem auto; /* auto left and right margin to center it */
  opacity: 0.7;
}

.client span{
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #717171;
}

.client spand{
  font-size: 20px;
  letter-spacing: 1.5px;
  background-color: #005baa;
  background-image: linear-gradient(90deg, #005baa, #98FF98);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client h1 {
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(3.4375rem, 2.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(160deg, #005baa, #98FF98);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clients {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    padding-top: 0;
    background-color: #005baa00;
    background-image: linear-gradient(160deg, #005baa2c, #98ff982a);
    background-size: 100%;
    background-repeat: repeat;
  }
  .clear {
    clear: both;
  }
  img {
    max-width: 100%;
    border: 0px;
  }
  ul,
  ol {
    list-style: none;
  }
  a {
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
  }

  .clients h1 {
    margin: auto;
    margin-bottom: 48px;
    padding-bottom: 16px;
    font-size: 35px;
    font-weight: 700;
    position: relative;
    text-transform: capitalize;
    color: #00985B;
  }
  
  h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 26px;
  }
  
  .clients {
    padding: 60px 50px;
  }
  .clients .owl-stage {
    margin: -40px 0;
    display: flex;
    display: -webkit-flex;
  }
  .clients .item-partner {
    margin: 0 15px 0px;
    width: 150px;
    height: 150px;
    display: flex;
    display: -webkit-flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    background: #ffffff00 center no-repeat;
    background-size: 150px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    cursor: pointer;
  }
  
  .clients .owl-theme.custom-carousel .owl-dots {
    margin-top: -20px;
    position: relative;
    z-index: 5;
  }
  
  .clients .owl-theme .owl-dots .owl-dot span {
    display: none;
  }
  

/* Visi Section */

.layout {
  display: flex;
  justify-content: space-between;
  align-items: auto;
  gap: 20px; /* Space between the text and image */
  padding: 5rem 0px 2rem 0rem;
  background-color: #161616;
}

.textmisi {
  padding-top: 2rem;
  flex: 1;
  max-width: 40%; /* Adjusts the text width */
}

.image {
  flex: 1;
  max-width: 50%; /* Adjusts the image width */
}

.image img {
  padding-top: 2rem;
  width: 100%; /* Makes the image fill the container */
  height: auto; /* Maintains aspect ratio */
}

.layout .textmisi h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(40deg, #005baa, #98FF98);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 7rem;
}

.layout .textmisi hr{
  display: block;
  background-image: linear-gradient(40deg, #005baa, #98FF98);
  background-size: 100%;
  background-repeat: repeat;
  height: 2px;
  width: 18rem;
  border: none;
  margin: 1rem 0 2rem 0;
  opacity: 0.7;
}

.layout .textmisi p {
  font-family: 'Roboto', sans-serif;
  text-align: justify;
  font-size: 18px;
  line-height: 2;
  color: white;
  padding-left: 10rem;
}

/* Misi Section */

.layout2 {
  display: flex;
  justify-content: space-between;
  align-items: auto;
  gap: 10px; /* Space between the text and image */
  padding: 1rem 0px 5rem 0rem;
  background-color: #131313;
}

.textvisi {
  padding-top: 2rem;
  flex: 1;
  max-width: 40%; /* Adjusts the text width */
}

.image {
  flex: 1;
  max-width: 50%; /* Adjusts the image width */
}

.image img {
  padding-top: 2rem;
  width: 100%; /* Makes the image fill the container */
  height: auto; /* Maintains aspect ratio */
}

.layout2 .textvisi h1 {
  text-transform: capitalize;
  letter-spacing: 0.8px;
  font-weight: 900;
  font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
  background-color: #005baa;
  background-image: linear-gradient(40deg, #005baa, #98FF98);
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
  padding-right: 7rem;
}

.layout2 .textvisi hr {
  display: block;
  background-image: linear-gradient(40deg, #005baa, #98FF98);
  background-size: 100%;
  background-repeat: repeat;
  height: 2px;
  width: 18rem; /* Adjust as needed */
  border: none;
  margin: 1rem 0rem 2rem auto; /* Center alignment */
  opacity: 0.7;
}

.layout2 .textvisi p {
  text-align: justify;
  font-size: 18px;
  line-height: 2;
  color: white;
  padding-right: 10rem;

}


/* Contact Srction */

#contact {
  position: relative;
  width: 100%;
  overflow: hidden;
    margin-top: 158px;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

#contact .overlay {
    background: rgba(0, 0, 0, 0.5);
}

#contact .container {
    padding: 148px 0 148px 0;
}

#contact h3 {
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    color: #fff;
    width: 500px;
}

#contact h6 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #fff;
    margin: 19px 0 14px 0;
}

.kontak a {
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    text-decoration: none;
    margin-left: 18px;
    width: 332px;
    display: inline-block;
}

.linkbbs {
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: #fff;
    text-decoration: none;
}

.card-contact {
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 52px 48px;
}

.card-contact h2 {
    font-weight: 600;
    font-size: 40px;
    line-height: 60px;
    background-color: #005baa;
    background-image: linear-gradient(40deg, #005baa, #98FF98);
    background-size: 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 21px;
}

.map-container {
  position: relative;
  width: 100%; /* Adjust as needed */
  height: 300px; /* Set the height of the map */
  margin-bottom: 30px; /* Adds space below the map */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #000;
  border-radius: 10px;
  overflow: hidden;

}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; /* Transparent overlay */
  z-index: 2; /* Ensures it sits above the iframe */
  pointer-events: none; /* Prevents the overlay itself from being clickable */
}


.form-control {
    height: 88px !important;
    background: #C4C4C4;
}


.form-floating {
  display: flex; /* Use flexbox for layout */
  flex-direction: column; /* Stack buttons vertically */
  gap: 10px; /* Add space between buttons */
  align-items: stretch; /* Make buttons fill the container width */
}

.button-kontak {
  display: inline-block; /* Allows width and height customization */
  width: auto; /* Adjust to fit the content or parent container */
  max-width: 100%; /* Optional: Ensure the button doesn’t overflow its container */
  height: auto; /* Adjust height dynamically */
  padding: 15px 20px; /* Add spacing inside the button */
  background-image: linear-gradient(40deg, #005baa, #98FF98);
  border: none; /* Remove default borders */
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  color: #fff; /* White text */
  text-align: center; /* Center-align text inside the button */
  text-decoration: none; /* Remove underline for anchor links */
  border-radius: 8px; /* Optional: Add rounded corners */
  cursor: pointer; /* Pointer cursor for better UX */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}



.button-kontak:hover {
  color: white;
}


/* Footer */

footer {
    width: 100%;
    height: 230px;
    background: #000;
}

.copyright {
    bottom: 10%;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

footer a {
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
}

.fade-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  will-change: opacity, transform;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 922px) {
  .card {
    flex-direction: column;
  }

  .reverse .card {
    flex-direction: column;
  }

  .card-text {
    padding: 2rem 1.5rem;
  }

  .card-text h1 {
    font-size: clamp(2rem, 2.5rem + 0.5vw, 3rem);
  }

  .card-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .card-image {
    max-width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .card-text h1 {
    font-size: clamp(1.8rem, 2.2rem + 0.5vw, 2.5rem);
    text-align: center;
  }

  .card-text p {
    font-size: 14px;
    text-align: justify;
  }

  .card-image {
    height: auto;
  }

  .card-image img {
    max-height: 300px;
    object-fit: cover;
  }
}

@media screen and (max-width: 350px) {
  .card-text h1 {
    font-size: clamp(1.5rem, 1.8rem + 0.5vw, 2rem);
  }

  .card-text p {
    font-size: 12px;
  }

  .card-text {
    padding: 1.5rem 1rem;
  }

  .card-image img {
    max-height: 250px;
  }
}
