body {
  background-color: rgb(0, 0, 0);
  padding-top: 100px;
}

.blur-effect {
  position: absolute;
  bottom: 240px;
  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 */
}

#products-services .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#products-services .col-md-4, 
#products-services .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

.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;
}
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 */
}
.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;
}

#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 */
}

.text-blue {
  color: #2e3192;
}

.text-abu{
  color: #6C7293;
}
.bg-red {
  background-color: rgb(226, 23, 29);
}
.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 */
}
.bg-abu{
  background-color: rgb(25, 28, 36);
}

.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;
}
.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;
}

.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; /* Menengahkan teks secara horizontal */
  padding: 10px 20px; /* Berikan padding agar button terlihat lebih proporsional */
  transition: background-color 0.3s ease;
}


.btn-red2:hover {
  background: linear-gradient(to right, #ffffffab, #f5f5f5dc); 
}


@media only screen and (max-width: 768px) {
  .hero {
    min-height: 50vh; /* Kurangi tinggi agar tidak terlalu besar */
    padding: 3rem 1rem;
  }
  .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 */
}
.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;
  }
}
