
.navbar {
    background-color: white;
    
}
.nav-link {
    position: relative; /* Membuat posisi relatif untuk parent */
    color: #070707;
    font-size: 16px;
    padding: 10px 15px;
    margin-left: 30px;
    font-family: "Raleway", sans-serif; 
    overflow: hidden; /* Menyembunyikan bagian garis bawah yang tidak terlihat */
}

.nav-link::after {
    content: ""; /* Konten untuk pseudo-element */
    position: absolute; /* Memposisikan secara absolut */
    left: 50%; /* Memposisikan di tengah */
    bottom: 0; /* Ditempatkan di bagian bawah */
    width: 0; /* Awalnya lebar 0 */
    height: 2px; /* Tinggi garis */
   
    background-color: #007bff; /* Warna garis */
    transition: width 0.4s ease, left 0.4s ease; /* Transisi untuk efek yang halus */
}
.nav-link:hover{
    color: #007bff;
}

.nav-link:hover::after {
    width: 100%; /* Saat hover, lebar menjadi 100% */
    left: 0; /* Memindahkan garis ke kiri */
}

.nav-link.active {
    color: #007bff !important; /* Ganti warna teks menjadi biru saat aktif */
    font-weight: bold; /* Menjadikan teks bold */
    text-decoration: underline; /* Memberikan garis bawah (opsional) */
}


.navbar-nav{
    margin-right: 120px;
}

.navbar-brand {
    font-size: 20px;
    font-weight: bold;
}

/* CSS untuk Navbar Hidden */
.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}


.btn-outline-secondary {
    border: none;
    color: #070707;
}

.btn-outline-secondary:hover {
    background-color: #ddd;
}

.icon-flash{
    margin-left: -10px;
}

.about-title {
    font-size: 36px; /* Ukuran font yang lebih besar */
    font-weight: bold; /* Membuat teks menjadi tebal */
    color: rgb(0, 20, 149); /* Warna teks */
    text-transform: uppercase; /* Mengubah teks menjadi huruf kapital */
    letter-spacing: 2px; /* Jarak antar huruf */
    position: relative; /* Membutuhkan untuk pseudo-element */
    margin-bottom: 30px; /* Jarak bawah */
}


/* Efek Garis Bawah */
.about-title::after {
    content: ''; /* Konten untuk pseudo-element */
    position: absolute; /* Memposisikan secara absolut */
    left: 50%; /* Memposisikan di tengah */
    bottom: -5px; /* Posisi di bawah teks */
    width: 60%; /* Lebar garis */
    height: 4px; /* Tinggi garis */
    background-color:rgb(0, 20, 149);/* Warna garis */
    transform: translateX(-50%); /* Memindahkan ke tengah */
    transition: width 0.3s ease; /* Transisi untuk efek yang halus */
}

.about-title:hover::after {
    width: 100%; /* Lebar garis menjadi penuh saat hover */
}
.client-logos {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee {
    display: inline-flex;
    animation: scroll 20s linear infinite;
}

.client-logo {
    width: 150px;
    height: auto;
    margin-right: 50px;
}

/* Keyframes for smooth scrolling */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


.text-justify {
    text-align: justify; /* Rata kanan-kiri */
    margin: 0 auto; /* Mengatur margin otomatis untuk rata tengah jika dibutuhkan */
}



/* animasi card about*/


.animated-border-card {
  position: relative;
  border-radius: 15px; /* Agar sudut lebih halus */
  overflow:  visible;
 

}

.animated-border-card::before {
  content: '';
  position: absolute;
  top: -6px; /* Sedikit di luar agar tidak memotong */
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 18px;
  border: 2px solid transparent;
  box-sizing: border-box;
  background: linear-gradient(60deg,  #0a0299, #fa6a27, #0ce6f9,  #fafafc);
  background-size: 400% 400%;
  animation: border-rotate 3s linear infinite;
  z-index: 1; /* Pastikan z-index lebih rendah dari konten card */
  pointer-events: none;
}

.animated-border-card .card {
  position: relative;
  z-index: 2; /* Konten card tetap di atas pseudo-element */
}

@keyframes border-rotate {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.service-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 15px; /* Sesuaikan border dengan parent */
}

.blinking-text {
    animation: blink 1s infinite; /* Efek kedip setiap 1 detik */
}

@keyframes blink {
    0%, 100% {
        opacity: 1 ; /* Teks terlihat penuh */
    }
    50% {
        opacity: 0; /* Teks tidak terlihat */
    }
}


/* project */
.project-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.project-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    align-items: flex-start;
}

.project-card {
    flex: 1;
    max-width: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.project-video {
    width: 100%;
    height: auto;
}

.project-description {
    flex: 1;
    max-width: 50%;
}

.project-description h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-description p {
    line-height: 1.6;
    color: #333;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination button {
    padding: 10px 15px;
    margin: 0 5px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s;
}

.pagination button:hover {
    background-color: #0056b3;
}


/* Responsive Styling */
@media (max-width: 992px) {
    .project-section {
        flex-direction: column;
        align-items: center;
    }

    .project-card,
    .project-description {
        max-width: 100%;
    }

    .project-description h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .project-title {
        font-size: 1.5rem;
    }

    .project-description h2 {
        font-size: 1.2rem;
    }

    .project-description p {
        font-size: 0.9rem;
    }
    .project-section {
        flex-direction: column;
        align-items: center;
    }

    .project-card,
    .project-description {
        max-width: 100%;
    }

    .project-video {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }
}

.card-transparent {
    background-color: rgba(255, 255, 255, 0.8); /* Putih dengan transparansi 80% */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Bayangan halus */
    text-align: center;
    display: inline-block;
    color: #333;
}

