/* General Body Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: url('../img/zoom.png') no-repeat center center fixed !important;
  background-size: cover !important;
  overflow-x: hidden;
  color: #4a7fcf;
  margin: 0;
  padding: 0;
}

/* Hero Section Styles */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 15px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #003cff;
}

.hero p {
  max-width: 500px;
  font-size: 1.1rem;
}

.hero .stats span {
  font-size: 2rem;
  color: #003cff;
  font-weight: bold;
}

.hero .btn-primary {
  background: #003cff;
  border: none;
}

/* Image Wrapper and Badge Labels */
.img-wrapper {
  position: relative;
  display: inline-block; /* Agar wrapper sesuai ukuran gambar */
}

.img-wrapper img {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); /* Bayangan lembut */
  border-radius: 20px; /* Sudut membulat */
  transition: transform 0.3s ease;
  max-width: 100%; /* Memastikan gambar responsif */
}

.img-wrapper img:hover {
  transform: scale(1.03); /* Efek hover membesar sedikit */
}

.badge-label {
  position: absolute;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite; /* Animasi floating */
}

/* Position for each badge */
.badge-ux {
  top: -20px;
  left: 20%;
  animation-delay: 0s;
}

.badge-idea {
  bottom: -20px;
  left: 10%;
  animation-delay: 1s;
}

.badge-dev {
  top: 40%;
  right: -60px;
  animation-delay: 2s;
}

/* Floating Animation Keyframes */
@keyframes float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

/* awal Section Titles About */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: left; /* Sesuaikan agar konsisten dengan About section */
    margin-bottom: 20px; /* Menambah jarak bawah */
}
/* akhir Section Titles About */
 
.section-title .underline {
    display: inline-block;
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
    margin-left: 10px; /* Sesuaikan jika perlu */
    vertical-align: middle;
}

/* About Section Specific Styles */
.profile-img-wrapper img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

/* model text yang dibawah foto bulat Signature Styles */
.signature {
    font-family: 'Bradley Hand ITC', cursive; /* Pastikan font ini tersedia atau ganti dengan font script yang diimpor */
    font-size: 1.2rem;
}
  
/* Service Card Styles untuk kotak editing, coding, frontend*/
.service-card {
  background-color: #8dcefa;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #edf0f3;
  box-shadow: 0 2px 6px rgba(40, 59, 231, 0.5);
  height: 100%; /* Pastikan semua card tingginya sama */
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.30);
}

.service-icon {
  background-color: #007bff;
  color: white;
  font-size: 22px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 15px;
}

.service-title {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
  color:#007bff;
}

.service-desc {
  color: #434444;
  font-size: 14px;
}
  
/* Timeline Styles (for About section) */
.timeline {
  margin-top: 5px;
}

/* Item timeline umum */
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  position: relative; 
}

/* Hover effect for timeline items in About section */
.timeline-item.custom-hover {
  padding: 12px 16px;
  border-radius: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.custom-hover:hover {
  background-color: rgba(0, 123, 255, 0.1); /* Biru transparan */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.timeline-year {
  font-weight: bold;
  color: #007bff;
  min-width: 70px;
  position: relative;
  padding-left: 15px;
}

.timeline-year::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 2px;
  height: 24px;
  background-color: #007bff;
}

.timeline-detail {
  color: #3a4e9c;
  margin-left: 15px;
}

/* Layout untuk dua kolom resume */
.resume-columns-container {
    display: flex;
    flex-wrap: wrap; /* Membungkus kolom di layar kecil */
    justify-content: center;
    gap: 40px; /* Jarak antar kolom */
    max-width: 1200px;
    margin: 0 auto; /* Tengahkankan kontainer */
    padding: 20px 0;
}

/* Section Card (untuk Professional Journey dan Academic Excellence) */
.section-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    flex: 1; /* Fleksibel agar mengisi ruang */
    min-width: 450px; /* Lebar minimum sebelum membungkus */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* css untuk shadow pada kotak HEADER. contoh learning journey */
.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(74, 164, 248, 0.50);
}

/* css untuk garis di bawah ICON HEADER. contoh learning journey */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* awal css untuk ICON HEADER. contoh learning journey */
.section-header .icon {
    font-size: 2.2em;
    color: #3498db;
    margin-right: 15px;
}

.section-header h2 {
    font-size: 1.8em;
    color: #2c3e50;
    font-weight: 600;
}

.section-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}
/* akhir css untuk ICON HEADER. contoh learning journey */

/* Timeline Styling untuk Kolom Resume */
.section-card .timeline { /* target timeline di dalam section-card */
    position: relative;
    padding-left: 25px;
    margin-top: 0; 
}

/* awal pusat garis vertical*/
.section-card .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    height: 100%;
    width: 2px;
    background-color: #0854f7;
    border-radius: 2px;
}
/* akhir pusat garis vertical*/

.section-card .timeline-item {
    position: relative;
    margin-bottom: 35px;
    padding-left: 25px;
    display: block; 
    align-items: flex-start; 
}

/* awal Timeline dot : jika bulatan kurang sejajar dengan garis maka harus diubah ke -25 leftnya */
.section-card .timeline-dot {
    position: absolute;
    top: 5px;
    left: -25px; /* DIUBAH LAGI: Menggeser dot lebih jauh ke kiri */
    width: 18px;
    height: 18px;
    background-color: #3498db;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #3498db;
    z-index: 1;
}
/* akhir Timeline dot */

/* awal css box warna abu abu depannya bulat*/
.section-card .timeline-content {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eee;
    /* DIUBAH: Tambahkan 'transform' ke transisi */
    transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease; 
}

.section-card .timeline-item:hover .timeline-content {
    background-color: #f2f2f2;
    box-shadow: 0 6px 15px rgba(27, 162, 240, 0.15); 
    /* DIUBAH: Tambahkan efek maju ke depan */
    transform: translateY(-25px); /* Mengangkat kotak sedikit ke atas */
}
/* akhir css box warna abu abu depannya bulat*/

/* warna untuk teks JUDUL yang ada dalam kotak abu abu. contoh TEKNISI KOMPUTER */
.section-card .timeline-content h3 {
    font-size: 1.25em;
    color: #2c5034;
    margin-bottom: 5px;
}

/* warna untuk teks yang ada dalam kotak abu abu. contoh REFO INDONESIA */
.section-card .timeline-content .company,
.section-card .timeline-content .university {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 8px;
}

/* warna untuk kotak tahun yang ada dalam kotak abu abu */
.section-card .timeline-content .date {
    font-size: 0.9em;
    color: #ffffff;
    background-color: #3498db;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

/* warna untuk teks yang ada dalam kotak abu abu */
.section-card .timeline-content p {
    font-size: 0.9em;
    color: #444444;
    margin-bottom: 15px;
}



/* Portfolio Section */
/* Efek hover untuk portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-img-wrapper {
  position: relative;
}

.portfolio-img-wrapper img {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
  border-radius: 10px;
}

.portfolio-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Overlay biru transparan */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 123, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.portfolio-img-wrapper:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* Filter Menu */
.portfolio-menu ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* untuk efek pada button menu */
/* Tombol filter menu portofolio */
.portfolio-menu .filter-btn {
  padding: 8px 16px;
  margin: 5px;
  background-color: transparent;
  border: none;
  border-radius: 20px;
  color: #007bff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

/* Latar belakang biru transparan */
.portfolio-menu .filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 123, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 20px;
}

/* Efek saat hover: transparan biru + naik sedikit + shadow */
.portfolio-menu .filter-btn:hover::before {
  opacity: 1;
}

.portfolio-menu .filter-btn:hover {
  color: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.2);
}

/* Efek aktif saat diklik */
.portfolio-menu .filter-btn.active {
  font-weight: 600;
  background-color: #0056b3;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
}

/* GALLERY ITEM */
.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-img-wrapper img {
  width: 100%;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-img-wrapper:hover img {
  transform: scale(1.05);
}

/* OVERLAY BIRU TRANSPARAN */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 123, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.portfolio-img-wrapper:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  
}

/* css untuk saat foto disorot muncul warna transparan dan teks */
/* Struktur kotak */
.portfolio-box {
  position: relative; /* Penting untuk posisi overlay */
    overflow: hidden; /* Memastikan konten yang keluar dari batas terpotong */
    border-radius: 0.25rem; /* Sesuai dengan rounded Bootstrap */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Opsional: bayangan ringan */
}

.portfolio-box .portfolio-overlay {
    margin-top: auto; /* Mendorong overlay ke bagian bawah */
    /* Anda mungkin perlu menyesuaikan padding atau margin di sini */
}

.portfolio-box img {
  width: 100%;
    height: 200px; /* Sesuaikan tinggi ini sesuai keinginan Anda */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out; /* Tambahkan transisi untuk efek zoom */
}

.portfolio-box:hover img {
  transform: scale(1.05);
}

/* Overlay saat hover */
/* Overlay */
.portfolio-overlay {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ubah ini menjadi transparan jika Anda hanya ingin teks */
    /* Misalnya, jika hanya ingin teks, set background-color: transparent; */
    color: white; /* Warna teks di overlay */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Dorong konten ke bawah */
    align-items: flex-start; /* Sejajarkan konten ke kiri */
    padding: 1.5rem; /* Padding di dalam overlay */
    opacity: 0; /* Mulai dengan overlay tidak terlihat */
    visibility: hidden; /* Sembunyikan sepenuhnya dari interaksi dan screen reader saat tidak aktif */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; /* Transisi untuk kemunculan */
}

/* Styling untuk teks di dalam overlay */
.portfolio-overlay .portfolio-category,
.portfolio-overlay .portfolio-title {
    opacity: 0; /* Sembunyikan teks secara default */
    transform: translateY(10px); /* Geser sedikit ke bawah */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}


/* Efek saat portfolio-box di-hover */
.portfolio-box:hover .portfolio-overlay {
    opacity: 1; /* Munculkan overlay */
    visibility: visible;
}

.portfolio-box:hover .portfolio-overlay .portfolio-category,
.portfolio-box:hover .portfolio-overlay .portfolio-title {
    opacity: 1; /* Munculkan teks */
    transform: translateY(0); /* Geser teks kembali ke posisi normal */
}

/* Efek zoom pada gambar saat hover (opsional, untuk visual lebih menarik) */
.portfolio-box:hover img {
    transform: scale(1.05); /* Zoom in sedikit */
} 

/* ANIMASI TEKS MASUK DARI BAWAH */
.portfolio-category,
.portfolio-title {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Saat hover teks naik dan muncul */
.portfolio-box:hover .portfolio-category {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.portfolio-box:hover .portfolio-title {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

/* Teks style */
.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background-color: rgba(255,255,255,0.9);
  color: #0d6efd;
  padding: 4px 10px;
  border-radius: 4px;
}

.portfolio-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  margin-top: 6px;
}

/* Tombol (jika dipakai) */
.portfolio-overlay .btn {
  font-size: 0.85rem;
  padding: 6px 12px;
}
/* akhir css untuk saat foto disorot muncul warna transparan dan teks */

/* awal css agar link tidak ada underline */
.portfolio-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-title a:hover {
  color: #0d6efd;
  text-decoration: underline;
}
/* akhir css agar link tidak ada underline */

/* Testimonials Section Styles */
.testimonial-card {
  background-color: #ffffff; /* Latar belakang putih */
  border-radius: 15px; /* Sudut membulat */
  padding: 30px; /* Padding di dalam kartu disesuaikan */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Bayangan lembut */
  text-align: center; /* Teks di tengah */
  max-width: 500px; /* Lebar maksimum kartu disesuaikan lebih kecil */
  margin: 0 auto; /* Tengahkankan kartu */
  min-height: 220px; /* Tinggi minimum untuk konsistensi */
  display: flex; /* Menggunakan flexbox untuk penataan konten */
  flex-direction: column; /* Konten disusun vertikal */
  justify-content: center; /* Tengahkan konten vertikal */
  align-items: center; /* Tengahkan konten horizontal */
}

.testimonial-card .quote-icon {
  font-size: 2.5rem; /* Ukuran ikon kutipan disesuaikan */
  color: #007bff; /* Warna ikon kutipan */
  margin-bottom: 15px; /* Jarak bawah ikon disesuaikan */
}

.testimonial-card .testimonial-text {
  font-size: 1rem; /* Ukuran teks testimoni disesuaikan */
  color: #555; /* Warna teks testimoni */
  line-height: 1.6; /* Jarak antar baris disesuaikan */
  margin-bottom: 20px; /* Jarak bawah teks testimoni disesuaikan */
  font-style: italic; /* Teks miring */
}

.testimonial-card .testimonial-author {
  font-size: 1rem; /* Ukuran nama penulis disesuaikan */
  font-weight: 600; /* Tebal nama penulis */
  color: #333; /* Warna nama penulis */
  margin-bottom: 3px; /* Jarak bawah nama penulis disesuaikan */
}

.testimonial-card .testimonial-source {
  font-size: 0.85rem; /* Ukuran sumber/jabatan disesuaikan */
  color: #777; /* Warna sumber/jabatan */
}

/* Custom styles for carousel controls and indicators if needed */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff; /* Warna tombol navigasi carousel */
  border-radius: 50%;
  padding: 15px;
}

.carousel-indicators [data-bs-target] {
  background-color: #007bff; /* Warna indikator carousel */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Testimonials Section Styles */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding-top: 0; /* Penting agar garis biru tidak terdorong ke bawah */
  padding: 25px 20px 20px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  text-align: left;
  position: relative;
  overflow: hidden; /* Agar garis biru tetap di dalam kotak */
  height: 100%;
}

.testimonial-card .top-line {
  height: 6px;
  width: 100%;
  background-color: #0d6efd;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 20px;
}


.testimonial-card .quote-icon {
  font-size: 2.5rem; /* Ukuran ikon kutipan disesuaikan */
  color: #007bff; /* Warna ikon kutipan */
  margin-bottom: 15px; /* Jarak bawah ikon disesuaikan */
}

.testimonial-card .testimonial-text {
  font-size: 1rem; /* Ukuran teks testimoni disesuaikan */
  color: #555; /* Warna teks testimoni */
  line-height: 1.6; /* Jarak antar baris disesuaikan */
  margin-bottom: 20px; /* Jarak bawah teks testimoni disesuaikan */
  font-style: italic; /* Teks miring */
}

.testimonial-card .testimonial-author {
  font-size: 1rem; /* Ukuran nama penulis disesuaikan */
  font-weight: 600; /* Tebal nama penulis */
  color: #333; /* Warna nama penulis */
  margin-bottom: 3px; /* Jarak bawah nama penulis disesuaikan */
}

.testimonial-card .testimonial-source {
  font-size: 0.85rem; /* Ukuran sumber/jabatan disesuaikan */
  color: #777; /* Warna sumber/jabatan */
}

/* Custom styles for carousel controls and indicators if needed */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff; /* Warna tombol navigasi carousel */
  border-radius: 50%;
  padding: 15px;
}

.carousel-indicators [data-bs-target] {
  background-color: #007bff; /* Warna indikator carousel */
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  text-align: left;
  position: relative;
  overflow: hidden;
  height: 265px; /* <-- Ukuran tinggi seragam */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}


.testimonial-card .top-line {
  height: 4px;
  background-color: #0d6efd;
  border-radius: 12px 12px 0 0;
  margin: -25px -25px 15px;
}

.testimonial-card .stars {
  color: #ffc107;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.testimonial-card .text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-card .author {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0d6efd;
  margin-top: 10px;
}

.swiper-slide {
  width: 100%;
  max-width: 360px;
}




/* css untuk testimoni */
/* Footer */
footer {
    font-size: 14px;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .resume-columns-container {
        flex-direction: column; /* Tumpuk kolom di layar kecil */
        align-items: center;
        padding: 15px;
    }

    .section-card {
        min-width: unset;
        width: 100%;
        max-width: 600px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .badge-dev {
        right: -20px; /* Adjust for smaller screens */
    }
}

@media (max-width: 576px) {
    .section-card {
        padding: 20px;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
        border-bottom: none;
        padding-bottom: 0;
    }

    .section-header .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .section-header h2 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .section-card .timeline {
        padding-left: 15px;
    }

    .section-card .timeline::before {
        left: 5px;
    }

    .section-card .timeline-dot {
        left: -3px;
        width: 15px;
        height: 15px;
    }

    .section-card .timeline-content {
        padding: 15px;
    }

    .section-card .timeline-content h3 {
        font-size: 1.1em;
    }

    .section-card .timeline-content .company,
    .section-card .timeline-content .university,
    .section-card .timeline-content .date,
    .section-card .timeline-content p,
    .section-card .timeline-content ul li {
        font-size: 0.85em;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .profile-img-wrapper img {
        width: 150px;
        height: 150px;
    }

    .badge-label {
        padding: 6px 10px;
        font-size: 0.8em;
    }

    .badge-ux {
        top: -10px;
        left: 10%;
    }

    .badge-idea {
        bottom: -10px;
        left: 5%;
    }

    .badge-dev {
        top: 30%;
        right: -10px;
    }
}
