* {
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  box-sizing: border-box;
}

/* hero section */
.hero-section {
  width: 100%;
  padding: 5% 20px 3%;
  display: flex;
  justify-content: center;
  /* background: linear-gradient(160deg, #f5f7fa 30%, #c3cfe2 100%); */
  align-items: center;
  position: relative;
  /* Tambahkan ini */
}

.hero-section .text-hero {
  flex-direction: column;
  display: flex;
  text-align: center;
  line-height: 1.5;
  padding: 20px;
  font-size: 20px;
  position: relative;
  max-width: 800px;
  /* Tambahkan ini */
  margin: 0 auto;
  /* Tambahkan ini */
}

.text-hero h1 {
  font-size: 5rem;
  margin-bottom: 20px;
  /* Tambahkan ini */
}

.text-hero span {
  color: red;
}

.text-hero p {
  margin-bottom: 30px;
  /* Tambahkan ini */
}

/* From Uiverse.io by satyamchaudharydev */
.text-hero .button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background-color: rgb(0 107 179);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffff;
  gap: 10px;
  font-weight: bold;
  border: 3px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  margin: 20px auto;
  cursor: pointer;
  width: fit-content;
}

.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease-in-out;
}

.text-hero .button:hover {
  transform: scale(1.05);
  border-color: #fff9;
}

.text-hero .button:hover .icon {
  transform: translate(4px);
}

.text-hero .button:hover::before {
  animation: shine 1.5s ease-out infinite;
}

.text-hero .button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}

/* Gaya untuk ikon melayang - PERBAIKAN */
.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  z-index: 2;
  animation: icon 2s forwards;
  transition: 1s;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes icon {
  0% {
    transform: scale(0.3);
  }

  30% {
    transform: scale(0.9);
  }
}

.top-right {
  top: 50px;
  right: 190px;
}

.top-left {
  top: 60px;
  left: 170px;
}

.bottom-right {
  bottom: 80px;
  right: 180px;
}

.bottom-left {
  bottom: 120px;
  left: 180px;
}

.floating-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.floating-icon i {
  font-size: 3rem;
  color: #4a6cf7;
  transition: all 0.3s ease;
}

.floating-icon:hover i {
  transform: scale(1.2);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.icon-title {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #4a6cf7;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(74, 108, 247, 0.3);
}

.floating-icon:hover .icon-title {
  opacity: 1;
  visibility: visible;
  bottom: -30px;
}

/* Jika ingin ikon lebih kecil di mobile */
@media (min-width: 400px) and (max-width: 700px) {
  .floating-icon i {
    font-size: 2rem !important;
  }

  .top-right {
    top: -10px;
    right: 20px;
  }

  .top-left {
    top: -10px;
    left: 20px;
  }

  .bottom-right {
    bottom: 80px;
    right: 20px;
  }

  .bottom-left {
    bottom: 80px;
    left: 20px;
  }
  .hero-section{
    padding-top: 6%;
  }
  .text-hero h1 {
    font-size: 3.6rem;
  }
  .text-hero {
    padding: 40px 20p 20px;
    margin-top: 30px;
  }
}
@media(max-width: 400px) {
  /* hero head 400 */
  .text-hero h1 {
    font-size: 40px;
  }
    .text-hero {
    margin-top: 20px;
    padding: 35px 20p 20px;
  }
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}


/* else section */
.services-section {
  overflow: hidden;
  /* Hide overflow to prevent extra cards from being visible */
  width: 100%;
  padding: 10px 0px 10px;
}

.carousel-container {
  width: 100%;
  /*overflow: hidden;*/
  background: white;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.carousel-track img {
  height: 400px;
  width: 300px;
  object-fit: cover;
  border-radius: 15px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*.itemTrack:nth-child(1){*/
/*    margin-top: -30px;*/
/*    border: 2px solid red;*/
/*}*/
/*.itemTrack:nth-child(3){*/
/*    margin-top: -30px;*/
/*      border: 2px solid red;*/
/*}*/
/*.itemTrack:nth-child(5){*/
/*      border: 2px solid red;*/
/*    margin-top: -30px;*/
/*}*/
/*.itemTrack:nth-child(7){*/
/*      border: 2px solid red;*/
/*    margin-top: -30px;*/
/*}*/
/*.itemTrack:nth-child(9){*/
/*      border: 2px solid red;*/
/*    margin-top: -30px;*/
/*}*/
/*.itemTrack:nth-child(11){*/
/*      border: 2px solid red;*/
/*    margin-top: -30px;*/
/*}*/

.card-content {
  text-align: center;
}

.card-content h2 {
  font-size: 1.5rem;
  color: #333;
  margin-top: 15px;
}

.card-content p {
  font-size: 1rem;
  color: #777;
  margin-top: 10px;
}

.services-section {
  position: relative;
  /* Biar pseudo-element nempel di section */
  overflow: hidden;
  /* Tetap ada, biar konten gak keluar */
}

/* Efek gradient transparan di kiri */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  /* lebar efek di kiri */
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.43), rgba(255, 255, 255, 0));
  z-index: 10;
  /* di atas slider tapi di bawah konten lainnya */
  pointer-events: none;
  /* biar gak ngeganggu klik */
}

/* Efek gradient transparan di kanan */
.services-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  /* lebar efek di kanan */
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.43), rgba(255, 255, 255, 0));
  z-index: 10;
  /* di atas slider tapi di bawah konten lainnya */
  pointer-events: none;
  /* biar gak ngeganggu klik */
}

@media(max-width: 700px) {
  .carousel-track img {
    width: 200px;
  }
}

/* all hiasan */
.hiasan-left {
  width: 100%;
  justify-content: end;
  display: flex;
  position: relative;
}

.hiasan-left div:nth-child(1) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
  background-color: black;
}

.hiasan-left div:nth-child(2) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
  margin-top: 30px;
  background-color: rgb(204, 30, 30);
}

.hiasan-right {
  width: 100%;
  background-color: transparent;
  padding-bottom: 10px;
  justify-content: start;
  display: flex;
  position: relative;
}

.hiasan-right div:nth-child(1) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
  background-color: rgb(204, 30, 30);
}

.hiasan-right div:nth-child(2) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
  margin-top: 30px;
  background-color: black;
}


/* about section */
.about-section {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  gap: 15px;
  padding: 40px 20px;
}

.about-judul {
  width: 100%;
  font-size: 30px;
  color: white;
}

.about-judul h1 {
  font-size: 16px;
  font-weight: bold;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.4em;
  max-height: 2.4em;
  /* 2 baris */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* Batasi jadi 2 baris */
  -webkit-box-orient: vertical;
}

.about-judul div {
  display: flex;
  gap: 10px;
  background-color: rgb(204, 30, 30);
  padding-right: 10px;
  width: fit-content;
  border-radius: 20px;
}

.about-judul .hm-judul {
  transform: scale(1.2);
  width: 40px;
  border-radius: 20px;
}

.about-section .about-content {
  display: flex;
  color: #383838;
  gap: 15px;
  font-size: 25px;
  line-height: 1.4;
}

.about-content img {
  border-radius: 50%;
  width: 50%;
  transform: translateX(100px);
}

/* section struktur team */
.section-strukturTeam{
  width: 100%;
  flex-direction: column;
  display: flex;
  padding: 20px 0px 40px;
  overflow: hidden;
}
.section-strukturTeam .about-judul{
  padding: 10px 20px;
}
.box-struktur{
  padding: 10px 20px 20px;
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
}
.section-strukturTeam .box-struktur .img{
  width: 90%;
  border-radius: 20px;
  z-index: 2;
}
.box-struktur .hiasan-struktur1 span{
  width: 60px;
  height: 180px;
  top: -10px;
  border-radius: 0px 0px 0px 50px;
  background-color: red;
  position: absolute;
  right: 0;
  z-index: 1;
}
.box-struktur .hiasan-struktur2 span{
  width: 60px;
  height: 180px;
  bottom: -10px;
  border-radius: 0px 50px 0px 0px;
  background-color: black;
  position: absolute;
  left: 0;
  z-index: 1;
  
}


/* section detail */
.section-detail {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.section-detail .list-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 50%;
  background-size: cover;
  background-position: center;
  padding: 20px;
  border-radius: 10px;
}

.section-detail .card-detail {
  padding: 10px;
  background-color: aliceblue;
  border-radius: 10px;
  flex-direction: column;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-detail i {
  font-size: 30px;
  background-color: rgb(7, 108, 231);
  color: white;
  padding: 5px;
  border-radius: 50%;
}

.box-detail {
  display: flex;
  width: 100%;
  gap: 10px;
}

.section-detail .box-detail img {
  width: 50%;
  border-radius: 10px;
  height: 600px;
  object-fit: cover;
}

/* section servis */
.section-servis {
  padding: 40px 20px;
  width: 100%;
  flex-wrap: wrap;
}

.box-servis {
  gap: 10px;
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.box-servis .card-servis {
  padding: 50px;
  border-radius: 10px;
  text-align: center;
  background-color: white;
  border: 1px solid #ddd;
}

.card-servis img {
  width: 100%;
  object-fit: contain;
}

/* testimonial clients*/
.clients-section .hiasan-left {
  width: 100%;
  justify-content: end;
  display: flex;
  position: relative;
}

.clients-section .hiasan-left div:nth-child(1) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
  transform: scale(1.4);
  border-radius: 50%;
  background-color: rgb(204, 30, 30);
}


.clients-section .hiasan-right {
  width: 100%;
  justify-content: start;
  display: flex;
  position: relative;
}

.clients-section .hiasan-right div:nth-child(1) {
  /* position: absolute; */
  width: 50px;
  height: 50px;
    transform: scale(1.7);
  border-radius: 50%;
  background-color: rgb(204, 30, 30);
}

.clients-section {
  text-align: center;
  /* padding: 40px 20px; */
  border-radius: 20px 0px 20px 0px;
  overflow: hidden;
  /* background-color: #171717; */
}

.clients-section .about-judul {
 margin-left: 20px;
}
.clients-section .about-judul div{
 font-size: 2rem;
}

.carousel-wrapper-client {
  overflow: hidden;
  width: 100%;
}

.carousel-track-client {
  display: flex;
  width: fit-content;
  padding: 40px 0px 40px;
  gap: 40px;
  animation: scroll 60s linear infinite;
}

.carousel-track-client .img {
  max-width: 120px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

@media (max-width: 768px) {
  .carousel-track-client {
    gap: 24px;
  }
  .clients-section .about-judul div{
    font-size: 1rem;
  }

  .carousel-track-client .img {
    max-width: 90px;
  }
}

/* portfolio */
.section-portfolio {
  padding: 40px 20px;
  flex-wrap: wrap;
}

.filters {
  text-align: center;
  margin: 1.5rem 0rem 1.3rem;
}

.filters button {
  background: none;
  border: none;
  font-size: 1rem;
  margin: 0 10px;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.filters button:hover,
.filters button.active {
  background: #0d1c5b;
  color: #fff;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: auto;
}

.portfolio-item {
  background: #f4f4f4;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  display: block;
  filter: grayscale(10%) contrast(1.1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.portfolio-item:hover img {
  filter: none;
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .filters button {
    margin: 3px;
    border: 2px solid white;
  }

  .filters {
    display: flex;
    overflow: auto;
    text-align: start;
  }
}

/* section news */
.blog-section {
  width: 100%;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.container {
  display: flex;
  height: auto;
  margin: 0 auto;
  margin-top: 1em;
  gap: 40px;
  flex-wrap: wrap;
}

.judul-blog {
  font-size: 40px;
  width: 100%;
  color: rgb(19, 48, 102);
}

/* Left: Main Article */
.main-article {
  flex: 2;
}

.main-article a {
  text-decoration: none;
}

.article-image {
  object-fit: cover;
  height: 55%;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.article-content .category {
  color: #8b8b8b;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

.article-content .title {
  font-size: 32px;
  margin: 10px 0;
  color: #111;
}

.article-content .description {
  font-size: 16px;
  line-height: 1.6;
}

/* Right: Top Stories */
.top-stories {
  flex: 1;
}

.top-stories-title {
  font-size: 20px;
  margin-bottom: 20px;
}

.story {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.story:last-child {
  border-bottom: none;
}

.story-info {
  flex: 1;
}

.story-title {
  font-size: 16px;
  margin-bottom: 5px;
  color: #111;
}

.author {
  font-size: 12px;
  color: #888;
}

.story-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
  margin-left: 10px;
}

/* section tiktok */
.section-video {
  display: flex;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.box-video {
  padding: 20px 0px 0px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

video {
  border-radius: 10px;
}

@media(max-width: 768px) {

  /* all section */
  .section-detail,
  .section-servis,
  .about-section .blog-section {
    padding: 20px 20px;
  }

  .about-judul {
    font-size: 23px;
  }

  /* hero */
  .hero-section .text-hero {
    font-size: 17px;
    padding: 10px;
  }

  .floating-icon i {
    font-size: 2rem !important;
  }

  .top-right {
    top: 3px;
    right: 20px;
  }

  .top-left {
    top: 5px;
    left: 20px;
  }

  .bottom-right {
    bottom: 80px;
    right: 20px;
  }

  .bottom-left {
    bottom: 80px;
    left: 20px;
  }

  .icon-title {
    font-size: 8px;
    bottom: -25px;
    left: 50%;
    transform: translateX(-60%);
  }

  /* about */
  .about-content {
    flex-wrap: wrap;
  }

  .about-content img,
  p {
    width: 100%;
    font-size: 18px;
  }

      /* struktur */
  .box-struktur{
    margin-top: 20PX;
    padding: 10px 0px 10px;
  }
  .box-struktur .hiasan-struktur1 span{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transform: scale(1.3);
  }
  .box-struktur .img{
    width: 100%;
  }
  .box-struktur .hiasan-struktur2 span{
    height: 70px;
    width: 70px;
    border-radius: 50%;
    transform: scale(1.3);
  }


  /* detail */
  .section-detail .box-detail {
    flex-wrap: wrap;
  }

  .section-detail .box-detail img {
    width: 100%;
  }

  .section-detail .list-detail {
    padding: 0px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .card-detail h1 {
    font-size: 15px;
  }

  .card-detail {
    padding-top: 30px;
  }

  /* servis */
  .box-servis {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .card-servis {
    top: 100px;
    position: sticky;
  }

  /* vid section */
  .box-video {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  /* blog/news section */
  .blog-section .container {
    flex-direction: column;
    display: flex;
  }

  .main-article {
    width: 100%;
  }

  .top-stories {
    width: 100%;
  }

}