body {
  background-color: rgb(0, 0, 0);
  padding-top: 100px;
}

p.lead a {
  text-decoration: none;
  color: inherit;
}

p.lead a:hover {
  text-decoration: none; /* Garis bawah muncul saat dihover */
  color: #eb1f1f;
}

a:hover {
  color: #eb1f1f; /* Mengubah warna teks menjadi merah saat hover */
}

.blur-effect {
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 100px; /* Tinggi area blur */
  background: rgb(0, 0, 0);
  filter: blur(10px); /* Efek blur */
  z-index: -1; /* Pastikan tetap di belakang teks */
}

.container1 {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.column1 {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}
.etc {
  font-style: italic;
  font-size: 18px;
}

.navbar {
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-link {
  position: relative; /* Agar efek underline bisa diatur dengan posisi */
  transition: color 0.3s ease-in-out; /* Animasi perubahan warna */
}

.nav-link:hover {
  color: #eb1f1f !important;
  text-decoration: none; /* Hilangkan underline default */
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #eb1f1f; /* Warna garis bawah */
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}


a:hover {
  color: #eb1f1f; /* Mengubah warna teks menjadi merah saat hover */
}
.card1 {
  text-align: center;
  box-shadow: 0 10px 50px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease-in-out;
}

.btn-abu {
  background-color: #171717;
  color: rgb(226, 23, 29);
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 0; /* Menghilangkan border-radius agar berbentuk kotak */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.btn-abu:hover {
  background-color: #ffffffaf; /* Warna lebih gelap saat hover */
}


.btn-abu i {
  margin-left: 8px; /* Spasi antara teks dan icon */
}

.btn-abu2 {
  background-color: #171717;
  color: rgb(226, 23, 29);
  border: none;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px; /* Sesuaikan tinggi minimal */
  text-align: center;
  white-space: normal; /* Izinkan teks wrap */
  word-break: break-word; /* Potong kata panjang */
}

.btn-abu2:hover {
  background-color: #ffffffaf; /* Warna lebih gelap saat hover */
}

.card1:hover {
  transform: scale(1.05);
}

.clients-section {
  text-align: center;
  padding: 40px 0;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s ease-in-out;
}

.swiper-slide:hover {
  transform: scale(1.05);
}

.client-logo {
  width: 200px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
}

.swiper-pagination-bullet {
  background-color: rgb(255, 255, 255) !important;
}

.swiper-button-next, .swiper-button-prev {
  color: rgb(255, 255, 255) !important;
}

.navbar-brand {
  font-size: 2rem; /* Default ukuran font */
  font-weight: 900;
  letter-spacing: 2px;
  color: white;
  text-transform: uppercase;
  white-space: nowrap; /* Mencegah teks berpindah ke baris baru */
}
.image-container {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.responsive-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
}



.text-red {
  color: #E2171D;
}

.text-blue {
  color: #2e3192;
}

.text-abu{
  color: #6C7293;
  font-size: clamp(14px, 2vw, 18px); /* Ukuran fleksibel */
  word-wrap: break-word; /* Mencegah teks kepanjangan */
}
.bg-red {
  background-color: rgb(226, 23, 29);
}

.bg-red2 {
  background: linear-gradient(to right, #E3181B, #A5191E); 
}

.btn-red {
  background: linear-gradient(to right, #E3181B, #A5191E); 
  color: rgb(255, 255, 255);
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 0; /* Menghilangkan border-radius agar berbentuk kotak */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
}

.btn-red:hover {
  background: linear-gradient(to right, #ffffffab, #f5f5f5dc); 
}

.btn-red i {
  margin-left: 8px; /* Spasi antara teks dan icon */
}

.btn-red2 {
  background: linear-gradient(to right, #E3181B, #A5191E); 
  color: rgb(255, 255, 255);
  font-size: 16px;
  border-radius: 0; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  width: 100%;               /* Buat tombol selebar kontainer */
  box-sizing: border-box;    /* Hindari padding menambah ukuran */
  transition: background-color 0.3s ease;
  white-space: nowrap;       /* Cegah teks pecah baris */
}


.btn-red2:hover {
  background: linear-gradient(to right, #ffffffab, #f5f5f5dc); 
}

.btn-outline-red2 {
  border: 2px solid #E3181B; /* Outline merah */
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 0; /* Menghilangkan border-radius agar berbentuk kotak */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s ease;
}
#applications .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#applications .col-md-4, 
#applications .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}
#products .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#products .col-md-4, 
#products .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

#hydraulic .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#hydraulic .col-md-4, 
#hydraulic .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

#Projects .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#Projects .col-md-4, 
#Projects .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

#ptis .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#ptis .col-6, 
#ptis .col-lg-2 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

.btn-outline-red2:hover{
  background: linear-gradient(to right, #E3181B, #A5191E); 
}

.bg-abu{
  background-color: rgb(25, 28, 36);
}

.service-item img {
  max-width: 80%; /* Atur ukuran maksimum gambar */
  max-height: 80%; /* Jaga agar gambar tetap proporsional */
  object-fit: contain; /* Pastikan gambar tidak terpotong */
}
.service-item { background-color: #000000; } 
 /* Styling tombol agar terlihat elegan */


.btn-lg-square {
  width: 40px;  /* Atur lebar */
  height: 40px; /* Atur tinggi */
  background-color: #000; /* Warna hitam */
  display: flex; /* Menggunakan flexbox untuk menempatkan ikon di tengah */
  justify-content: center; /* Memastikan ikon berada di tengah horizontal */
  align-items: center; /* Memastikan ikon berada di tengah vertikal */
  border-radius: 50px; /* Menambahkan sedikit border-radius jika ingin sudut melengkung */
  transition: background-color 0.3s, color 0.3s; /* Efek transisi yang halus */
  text-decoration: none; /* Menghapus garis bawah dari link */
  border: 1px solid #eb1f1f;
  background-color: transparent; /* Membuat bagian tengah transparan */
}
.btn-lg-square:hover {
  background-color: #ffffffaf; /* Warna latar belakang putih saat hover */
  border: 1px solid #ffffffaf;
}

.btn-square {
  width: 40px;  /* Atur lebar */
  height: 40px; /* Atur tinggi */
  background-color: #000; /* Warna hitam */
  display: flex; /* Menggunakan flexbox untuk menempatkan ikon di tengah */
  justify-content: center; /* Memastikan ikon berada di tengah horizontal */
  align-items: center; /* Memastikan ikon berada di tengah vertikal */
  border-radius: 50px; /* Menambahkan sedikit border-radius jika ingin sudut melengkung */
  transition: background-color 0.3s, color 0.3s; /* Efek transisi yang halus */
  text-decoration: none; /* Menghapus garis bawah dari link */
  border: 1px solid #eb1f1f;
  background-color: transparent; /* Membuat bagian tengah transparan */
}

.btn-square:hover {
  background-color: #ffffffaf; /* Warna latar belakang putih saat hover */
  border: 1px solid #ffffffaf;
}


.form-control {
  background-color: #cbcee2 !important; /* Warna abu-abu untuk input */
  border-color: #6C7293 !important; /* Warna garis border */
  color: #6C7293 !important; /* Warna teks dalam input */
}

.form-control::placeholder {
  color: #999 !important; /* Warna placeholder agar lebih terlihat */
}

.form-control:focus {
  background-color: #d0d0d0 !important; /* Warna abu-abu lebih gelap saat difokuskan */
  border-color: #ffffff98 !important; /* Warna garis saat input difokuskan */
  box-shadow: 0 0 8px rgba(226, 23, 29) !important; /* Efek fokus */
}


.filter-btn {
  margin: 5px;
  transition: all 0.3s ease;
}
.filter-btn:hover {
  transform: scale(1.1);
}

.img-fluid {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.3);
}

.btn-lg {
  padding: 0.5rem 1rem;
}
.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  text-decoration: none; /* Menghilangkan garis bawah */
  color: #E2171D; /* Ganti dengan warna yang diinginkan */
}
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: .3s;
  text-decoration: none; /* Menghilangkan garis bawah */
  color: #6C7293; /* Ganti dengan warna yang diinginkan */
}

.footer .btn.btn-link:hover {
  color: #E2171D; /* Ganti dengan warna yang diinginkan */
  letter-spacing: 1px;
  box-shadow: none;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #ff0000; /* warna merah YouTube */
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.play-button-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh; /* Kurangi tinggi agar tidak terlalu besar */
    padding: 3rem 1rem;
  }
  .col-sm-6 {
    flex: 0 0 50%; /* 2 kolom per baris di tablet */
    max-width: 50%;
  }

  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .btn-neon {
    font-size: 1.2rem;
    padding: 12px 30px;
  }
  .image-container {
    min-height: 250px; /* Mengurangi tinggi minimum di layar kecil */
}
.responsive-img {
    max-width: 80%; /* Membatasi ukuran gambar agar tidak terlalu besar */
}
.nav-link {
  display: inline-block; /* Agar hover tetap sesuai panjang teks */
}
.navbar-nav {
  width: 100%;
  text-align: center;
}

.nav-item {
  display: block; /* Agar link berjajar ke bawah */
}
.container-xxl {
  padding-top: 1rem !important; 
  padding-bottom: 1rem !important; 
}

.service-item {
  padding: 1.5rem !important;
}
.navbar-brand {
  font-size: 1.5rem;
}

}


@media (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .image-container {
    min-height: 180px;
  }
  .nav-link {
    display: inline-block; /* Agar hover tetap sesuai panjang teks */
  }
  .navbar-nav {
    width: 100%;
    text-align: center;
  }

  .col-6 {
    flex: 0 0 50%; /* 2 kolom per baris di tablet */
    max-width: 50%;
  }

  .nav-item {
    display: block; /* Agar link berjajar ke bawah */
  }
  .navbar-brand {
    font-size: 1.2rem;
  }
  .me-3 {
    margin-right: 8px !important; /* Kurangi jarak ikon */
  }
   .btn-red2{
    font-size: 14px;
    padding: 8px 16px;
  }
}

