/* FONT POPPINS */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: Poppins, sans-serif;
}

/* ============================= */
/* NAVBAR SECTION STYLES         */
/* ============================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.dev {
  color: #0cc0df;
}

.navbar-nav .nav-link {
  font-weight: 500; /* Contoh, bisa disesuaikan */
  transition: color 0.3s ease; /* Transisi untuk warna teks link saat hover atau aktif */
}

#navbar-logo {
  transition: opacity 0.3s ease; /* Transisi opacity jika Anda berencana menggunakannya */
}

/* ================================== */
/* NAVBAR STATE: TRANSPARENT (INITIAL) */
/* ================================== */
/* Kelas ini ditambahkan oleh JavaScript saat halaman pertama kali dimuat atau di bagian paling atas */
.navbar.navbar-transparent {
  background-color: transparent !important;
  box-shadow: none;
}

.navbar.navbar-transparent .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Pastikan warna teks link dan logo tetap terlihat di latar belakang hero Anda */
.navbar.navbar-transparent .navbar-nav .nav-link {
  color: rgba(
    0,
    0,
    0,
    0.7
  ) !important; /* Teks link tetap putih keabu-abuan saat transparan */
}
.navbar.navbar-transparent .navbar-nav .nav-link:hover {
  color: rgb(
    0,
    0,
    0
  ) !important; /* Sedikit lebih cerah atau warna yang berbeda saat hover */
}

.navbar.navbar-transparent .navbar-brand .font {
  color: #000 !important;
}

/* ================================= */
/* NAVBAR STATE: SCROLLED          */
/* ================================= */

.navbar.navbar-scrolled {
  background-color: #212529 !important; /* Warna latar belakang */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar.navbar-scrolled .navbar-toggler-icon {
  /* Mengembalikan warna SVG ikon hamburger menjadi putih */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Jika Anda ingin sedikit mengubah warna teks link atau logo saat di-scroll */
.navbar.navbar-scrolled .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
}

.navbar.navbar-scrolled .navbar-nav .nav-link:hover {
  color: rgb(255, 255, 255) !important;
}

.navbar.navbar-scrolled .navbar-brand .font {
  color: #fff !important;
}

/*===========*/
/* Menu Home */
/*===========*/
#home {
  padding: 100px 0;
}

#home .pembuka {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.7);
}

.home .img-fluid {
  top: 0px;
}

.home .home2 h1 {
  font-size: 50px;
  margin-bottom: 5px;
  color: #000000;
  font-weight: 700;
}

.home .home2 h1 .sub_name {
  color: #0cc0df;
  font-weight: 500;
  font-size: 35px;
}

.home .home2 .nama {
  font-size: 30px;
  font-weight: 700;
}

.home .home2 p {
  font-size: 20px;
  font-weight: 400;
  color: #000000;
}

.home .home2 {
  margin-top: 50px;
}

h4 .bi {
  color: #000000;
  letter-spacing: 20px;
}

h4 .bi:hover {
  color: #0cc0df;
  transition: all 0.3s;
}

.home {
  margin-top: 55px;
}

.home .foto {
  height: 100%;
  width: 60%;
  border-radius: 50%;
  transition: all 1s;
}

.home .foto:hover {
  width: 70%;
  transform: scale(1);
  box-shadow: 15px 10px 30px rgba(0, 0, 0, 0.4);
}

.cv {
  font-size: 20px;
  color: #ffffff;
  background-color: #0cc0df;
  padding: 5px 20px;
  border-radius: 10px;
  margin: 0px 0 15px 0;
  font-weight: bold;
}

.cv:hover {
  background-color: #000000;
  color: #ffffff;
  transition: all 0.3s;
}

.custom-hr {
  width: 25%;
  border: 2px solid #ffffff;
  margin: 20px auto;
  border-radius: 50px;
}

/* Menu About */

#about .img {
  width: 300px;
  margin-bottom: 30px;
}

#about .about {
  margin-top: 50px;
}

#about {
  margin-top: 50px;
  padding-bottom: 50px;
  background-color: #000000;
}

#about .card-group {
  padding-top: 40px;
}

#about .skill h3 {
  text-decoration: underline;
}

#about .card {
  margin-top: 40px;
}

#about .card .itadori {
  height: 243px;
}

.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #0cc0df;
  line-height: 0;
}

#skill h5 {
  margin-top: 15px;
}

.progress-bar {
  background-color: #0cc0df;
  color: #ffffff;
}

/* Automatic Sosmed */

.swiper {
  width: 100%;
  height: auto;
  padding: 20px 0;
}

/* Gaya untuk setiap slide (yang berisi logo) */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
}

/* Gaya untuk gambar logo */
.swiper-logo {
  max-height: 60px;
  width: auto;
  filter: grayscale(80%) brightness(150%);
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

/* Efek saat logo di-hover */
.swiper-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transform: scale(1.1);
}

/* Riwayat Pendidikan */
.timeline {
  position: relative;
  padding-left: 6px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 10px;
  width: 2px;
  height: 78%;
  background-color: white;
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #0cc0df;
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  margin-left: 30px;
}

.timeline-duration,
.timeline-competency {
  font-size: 0.9em;
  color: #aaaaaa;
}

.timeline-title {
  font-weight: bold;
  color: #ffffff;
}

/* HR Profile */
.hr-profile {
  width: 100%;
  position: relative;
  text-align: center;
}

.hr-profile hr {
  position: absolute;
  width: calc(50% - 60px);
  border-top: 2px solid #ffffff;
  margin: 0;
}

.hr-profile .foto-hr {
  width: 80px;
  height: 80px;
  overflow: hidden;
}

.hr-profile img {
  object-fit: cover;
}

/* FOTO ABSTRAK */
.abstract-image-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 100%;
  min-height: 350px;
}

.abstract-img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.abstract-img-1 {
  width: 70%;
  height: 200px;
  top: 0;
  left: 0;
  z-index: 1;
}

.abstract-img-2 {
  width: 75%;
  height: 220px;
  top: 90px;
  left: 50%;
  right: 0;
  z-index: 2;
}

.abstract-img-3 {
  width: 50%;
  height: 320px;
  bottom: 5%;
  left: 30%;
  z-index: 3;
}

/* Penyesuaian untuk tampilan mobile */
@media (max-width: 767.98px) {
  .col-md-6 {
    margin-bottom: 2rem;
  }
  .abstract-image-container {
    min-height: 250px;
  }
  .abstract-img-1 {
    width: 50%;
    height: 150px;
    top: 0px;
    left: 5%;
  }
  .abstract-img-2 {
    width: 55%;
    height: 160px;
    top: 60px;
    right: 20%;
  }
  .abstract-img-3 {
    width: 40%;
    height: 230px;
    bottom: 0;
    left: 25%;
  }
}

/* Sesuaikan jika ada gambar yang sangat kecil di mobile, agar tidak terlalu ramai */
@media (max-width: 575.98px) {
  .abstract-img-1 {
    width: 50%;
    height: 150px;
    top: 0px;
    left: 5%;
  }
  .abstract-img-2 {
    width: 50%;
    height: 150px;
    top: 60px;
  }
  .abstract-img-3 {
    width: 40%;
    height: 230px;
    bottom: 0;
    left: 25%;
  }
}

/*=========*/
/* Service */
/*=========*/
#service {
  background-color: #000000;
}

.service-card {
  border: rgb(12, 192, 223) solid 1px;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(12, 192, 223, 0.3);
  transition: transform 0.3s ease-in-out;
  margin-bottom: 20px;
  height: 100%; /* Kunci utama: membuat card mengisi tinggi kolomnya */
  display: flex; /* Menggunakan flexbox untuk mengatur konten di dalam card */
  flex-direction: column; /* Mengatur item flex dalam satu kolom */
  justify-content: space-between; /* Mendistribusikan ruang di antara item flex */
}

.service-card:hover {
  transform: translateY(-7px);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  font-size: 30px;
  flex-shrink: 0; /* Mencegah ikon menyusut jika konten deskripsi terlalu panjang */
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.service-card p {
  color: #aaaaaa;
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1; /* Memungkinkan paragraf mengisi ruang yang tersedia */
}

/* ICON COLOR */
.icon-frontend {
  background-color: #00bcd4;
}

.icon-backend {
  background-color: #ffb100;
}

.icon-uiux {
  background-color: #6a44bf;
}

.icon-web-design {
  background-color: #fd5c63;
}

.icon-mobile-developer {
  background-color: #02e260;
}

/* Section title styling */
.service-title {
  font-size: 35px;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 30px;
}

.service-subtitle {
  font-size: 20px;
  color: #0cc0df;
  font-weight: 500;
  margin-bottom: 5px;
}

/* SKILL */
.skills-section {
  padding: 80px 0;
}

.skill-card {
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-bottom: 20px;
  border: #0cc0df solid 2px;
  transition: transform 0.3s ease-in-out;
}

.skill-card:hover {
  transform: translateY(-7px);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
}

.skill-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.progress {
  height: 20px;
  background-color: #ffffff;
}

.progress-bar {
  background-color: #0cc0df;
}

.section-title {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #ffffff;
}

.section-title .highlight {
  color: #0cc0df;
}

.section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #aaaaaa;
}

/*============*/
/* Portofolio */
/*============*/
.hr-portofolio {
  width: 25%;
  border: 2px solid #000000;
  margin: 20px auto;
  border-radius: 50px;
}

.tombol {
  background-color: #0cc0df;
  color: #ffffff;
}

.tombol:hover {
  transition: all 0.5s;
  background-color: #000000;
  color: #ffffff;
}

/* Footer */
.footer {
  color: #ffffff;
  background-color: #1a1a1a;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0cc0df;
  color: #000000;
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, #0cc0df, transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 2px solid color-mix(in srgb, #fafafa, transparent 85%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}
