body {
  background-color: rgb(255, 255, 255);
  padding-top: 100px;
}

#gallery .row {
  margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
}

#gallery .col-md-, 
#gallery .col-sm-6 {
  padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
}

.navbar-brand {
  line-height: 60px;
}

.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;
}


.btn-biru {
  background: #2e3192;
  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-biru:hover {
  background: linear-gradient(to right, #504c4cab, #313030dc); 
}

.navbar {
  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: #2e3192; /* Warna garis bawah */
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.company-name {
  margin-bottom: 2px; /* Atur jarak bawah sesuai kebutuhan */
  line-height: 0.2; /* Sesuaikan tinggi baris agar lebih rapat */
}

  /* Neon Button */
  .btn-neon {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 30px;
    color: #fff;
    background: transparent;
    border: 3px solid #eb1f1f;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    position: relative;
    display: inline-block;
    overflow: hidden;
  }

  /* Animasi Hover */
  .btn-neon:hover {
    color: #ffffff;
    background: #eb1f1f;
    transform: scale(1.1);
  }

  .text-red {
    color: #eb1f1f;
  }

  .text-blue {
    color: #2e3192;
  }
  .btn-red {
    background: #eb1f1f;
    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-red:hover {
    background: linear-gradient(to right, #504c4cab, #313030dc); 
    color: rgb(255, 255, 255);
  }
   /* Styling tombol agar terlihat elegan */
   .btn-custom2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2e3192, #2575fc);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
}

/* Efek hover */
.btn-custom2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2575fc, #2e3192);
}

/* Animasi ikon saat hover */
.btn-custom2 i {
    transition: transform 0.3s ease-in-out;
}

.btn-custom2:hover i {
    transform: translateX(5px);
}

 /* Overlay Gelap */
 .hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

/* Responsif Hero Title */
.hero-title {
  font-size: 5rem; /* Ukuran default */
  font-weight: bold;
  text-transform: uppercase;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.portfolio-box {
  position: relative;
  background: #000000f8;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.486);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.portfolio-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.portfolio-box:hover img {
  filter: brightness(50%);
}
.portfolio-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
.portfolio-box:hover .overlay {
  opacity: 1;
}
.overlay i {
  font-size: 50px;
  color: white;
}
.portfolio-title {
  text-align: center;
  padding: 10px;
  font-weight: bold;
  color:white;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 40px; /* Jarak antara ikon dan teks */
  font-size: 18px; /* Ukuran ikon */
}
.contact-info i {
  min-width: 20px; /* Ukuran ikon agar sejajar */
  text-align: center;
}

.contact-info span {
  flex: 1; /* Agar teks tetap sejajar */
  text-align: left;
  display: inline-block;
}

.btn-lg-square {
  width: 40px; /* Ukuran persegi tombol */
  height: 40px; /* Ukuran persegi tombol */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px; /* Ukuran font untuk ikon, sesuaikan dengan keinginan */
}


.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);
}

.text-primary {
  color: #49afee !important;
}

.text-primary2 {
  color: #4343dae7 !important;
}

.btn-lg {
  padding: 0.5rem 1rem;
}

/* Footer Styles */
.footer {
  background-color: #343a40; /* Dark background color */
  color: #fff;
  padding: 40px 0;
}

/* Footer text links */
.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

.footer a {
  text-decoration: none;
  transition: color 0.1s ease-in-out;
}

.footer a:hover {
  color: #2e3192 !important;/* White color on hover */
  text-decoration: none;
}

/* Social media buttons */
.footer .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  transition: all 0.3s ease;
}

.footer .btn-outline-light:hover {
  background-color: #fff;
  color: #343a40; /* Dark text on hover */
  transform: translateY(-5px);
}

/* Footer bottom text */
.container-fluid.bg-dark.bg-light-radial {
  background: linear-gradient(45deg, #343a40, #495057);
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh; /* Kurangi tinggi agar tidak terlalu besar */
    padding: 3rem 1rem;
  }
  .hero-title {
    font-size: 3rem; /* Kecilkan teks agar muat di ponsel */
  }

  .navbar {
    padding: 0.5rem 1rem;
  }
  .btn-neon {
    font-size: 1.2rem;
    padding: 12px 30px;
  }

  .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 */
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
  }

  .btn-lg {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
  .btn i {
    font-size: 1.5rem; /* Ukuran ikon untuk ponsel */
  }

  .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 */
  }

}
