/* Header Section */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');


.header-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #1a1a1a; /* soft dark */
}

.header-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3; /* lebih gelap */
}

.header-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05); /* overlay putih tipis */
  z-index: 2;
}

.overlay {
  position: relative;
  z-index: 2;
  color: #f0f0f0;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.main-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

.subtitle {
  font-size: 1.2rem;
  margin: 0.5rem 0 0;
  opacity: 0.8;
  color: #cccccc;
}

/* Profile Section */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -60px;
}

.avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 10px;
  background-color: #333;
  object-fit: cover;
  z-index: 10;
}

.username {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.75rem;
  color: #ffffff;
}

.tagline {
  font-size: 0.875rem;
  color: #999;
}

.join-btn {
  margin-top: 0.75rem;
  padding: 0.5rem 1.5rem;
  background-color: 	#91C7A9;
  border-radius: 9999px;
  color: #F1F1F1	;
  font-weight: bold;
  transition: background-color 0.3s;
  border: none;
}


.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  color: #ccc;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #fff;
}

/* Navbar */
.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #ddd;
}

.nav-tabs a {
  transition: color 0.3s;
  color: #aaa;
}

.nav-tabs a:hover {
  color: #fff;
}

/* About Section */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  background-color: #1a1a1a;
}

.about-card {
  display: flex;
  flex-direction: column;
  background-color: #2a2a2a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.about-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
}

.about-text {
  padding: 1.5rem;
  color: #f0f0f0;
}

.about-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #ffffff;
}

.about-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: #cccccc;
}

/* Footer Section */
.footer {
  color: #999999;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 2rem;
}


/* Testimonial Section */
.testimonial-section {
  padding: 40px 20px;
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
}

.testimonial-title {
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  margin-bottom: 30px;
  color: #ffffff;
}

.testimonial-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.testimonial-card {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.testimonial-content {
  text-align: left;
}

.testimonial-name {
  font-weight: bold;
  font-size: 16px;
}

.testimonial-text {
  font-size: 14px;
  color: #e0e0e0;
}



/* Section Styling */
.project-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

/* Card Styling */
.project-card {
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.project-img img {
  width: 100%;
  height: 300px; /* Menentukan tinggi tetap */
  object-fit: cover; /* Memastikan gambar mengisi area tanpa merusak rasio aspek */
  border-radius: 10px 10px 0 0; /* Menambahkan border-radius di bagian atas gambar agar lebih stylish */
}


/* Project Info Styling */
.project-info {
  padding: 15px;
}

/* Judul proyek */
.project-title {
  font-size: 24px; /* Ukuran tetap untuk judul */
  margin-bottom: 10px;
  font-weight: 600;
}

/* Deskripsi proyek */
.project-description {
  font-size: 16px;
  margin-bottom: 15px;
  color: #aaa;
  line-height: 1.5;
  min-height: 100px;
  max-height: 100px; /* Membatasi tinggi area teks */
  overflow: hidden;
  text-overflow: ellipsis; /* Menambahkan tiga titik jika teks melebihi area */
  /* Menghindari teks terpecah ke baris baru */
}


.view-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: 	#91C7A9;
  color: #F1F1F1	;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}
