body {
  background-color: rgb(12, 12, 12);
  padding-top: 100px;
}

.navbar-brand {
  line-height: 60px;
}

.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: #ffffff !important;
  text-decoration: none; /* Hilangkan underline default */
}
#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 */
}

.btn-red {
  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-red:hover {
  background: linear-gradient(to right, #857777ab, #756a6adc); 
}

.btn-abu2 {
  background-color: #49afee;
  color: rgb(255, 255, 255);
  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 */
}

.btn-blue3 { 
  border: 2px solid #49afee; /* Warna border mengikuti warna awal gradasi */
  color: #49afee;
  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 */
  transition: background-color 0.3s ease;
}

.btn-blue3:hover {
  background-color: #49afee; /* Warna hitam */
  color: #ffffff;
}

.btn-blue {
  background: linear-gradient(to right, #49afee, #4343dae7); 
  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-blue:hover {
  background: linear-gradient(to right, #857777ab, #756a6adc); 
}

.btn-blue i {
  margin-left: 8px; /* Spasi antara teks dan icon */
}

.btn-blue2 { 
  border: 2px solid #49afee; /* Warna border mengikuti warna awal gradasi */
  color: #49afee;
  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-blue2:hover {
  background-color: #49afee; /* Warna hitam */
  color: #ffffff;
}

.btn-blue2 i {
  margin-left: 8px; /* Spasi antara teks dan icon */
}

.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 */
}
.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: #49afee; /* 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: 5px; /* 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 */
}
.btn-lg-square:hover {
  background-color: #ffffffaf; /* Warna latar belakang putih saat hover */
}

.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: 5px; /* 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 */
}

.btn-square:hover {
  background-color: #ffffffaf; /* Warna latar belakang putih saat hover */
}

.text-abu{
  color: #6C7293;
}
a:hover {
  color: #49afee; /* Mengubah warna teks menjadi merah saat hover */
}

.img-fluid {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.3);
}

.text-abu{
  color: #6C7293;
  font-size: clamp(14px, 2vw, 18px); /* Ukuran fleksibel */
  word-wrap: break-word; /* Mencegah teks kepanjangan */
}

.text-primary {
  color: #49afee !important;
}

.text-primary2 {
  color: #4343dae7 !important;
}

.text-biru2{
  color: #1565c0;
} 

.text-indigo{
  color: #1a237e  ;
}

.btn-lg {
  padding: 0.5rem 1rem;
}

.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 h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
  }

  .btn-lg {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
  .col-6 {
    flex: 0 0 50%; /* 2 kolom per baris di tablet */
    max-width: 50%;
  }
  .me-3 {
    margin-right: 8px !important; /* Kurangi jarak ikon */
  }
  .btn-red {
    font-size: 14px;
    padding: 8px 16px;
  }

}
