body {
    background-color: rgb(255, 255, 255);
    padding-top: 100px;
  }
  
  .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 */
  }

  #gallery .row {
    margin: -5px; /* Menyamakan margin atas, bawah, kiri, dan kanan */
  }
  
  #gallery .col-md-4, 
  #gallery .col-sm-6 {
    padding: 5px; /* Menyamakan padding atas, bawah, kiri, dan kanan */
  }
  
  .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 */
  }

  .navbar-brand {
    line-height: 60px; /* Matches the navbar height */
  }
  
  .container {
    width: 100%;
  }

  .text-red {
    color: #eb1f1f;
  }

  .text-blue {
    color: #2e3192;
  }

  .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;
    color:white;
    padding: 10px;
    font-weight: bold;
  }

  .text-primary {
    color: #49afee !important; /* Biru muda */
  }
  
  .text-primary2 {
    color: #4343dae7 !important; /* Biru dongker */
  }

  .carousel {
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
  }
  
  .custom-btn {
    background-color: #800000;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .custom-btn:hover {
    background-color: #660000;
  }
  
  .icon {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-left: -10px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  
  .icon img {
    transition: transform 0.3s ease;
  }
  
  .icon img:hover {
    transform: scale(1.5);
  }

  .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 */
  }

  .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;
  }

  /* 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 only screen and (max-width: 768px) {
    .carousel {
      margin-top: -20px;
      max-width: 100%;
    }
    .custom-btn {
      margin: 1rem auto;
      text-align: center;
    }
    .About-header {
      font-size: 2.5rem;
      top: -150px; /* Adjust vertical position for smaller screens */
    }

    .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 only screen and (max-width: 576px) {
    h1 {
      font-size: 1.8rem;
      text-align: center;
      margin: 1rem 0;
    }
  .carousel {
      margin-top: -20px;
      max-width: 100%;
    }
    .company-description {
      text-align: center;
      margin: auto;
      font-size: 1rem;
      line-height: 1.6;
    }
    .About-header{
      font-size: 2rem;
      top: -125px;
      text-align: center;
    }

    .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 */
    }
  }
  