/* Global Styles */
body {
  margin: 0;
  padding: 0;
  background-color: #111;
  color: #eee;
  font-family: 'Arial', sans-serif;
  scroll-behavior: smooth;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #000, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #555;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  transition: transform 0.3s;
}

.profile-img img:hover {
  transform: scale(1.1);
}

#typewriter {
  font-size: 2.5rem;
  overflow: hidden;
  border-right: 3px solid #fff;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.15em;
}

/* About Section */
#about {
  padding: 60px 0;
}

/* Programming Languages Section */
#languages {
  background-color: #222;
  padding: 60px 0;
}

#languages h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* Card Language dengan ukuran tetap */
.language-card {
  width: 300px; /* Lebar tetap */
  border: none;
  background: #333;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.language-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0,0,0,0.8);
}

.language-card .card-img-top {
  width: 100%;       /* Mengisi lebar card */
  height: 220px;     /* Tinggi tetap */
  object-fit: cover; /* Agar gambar terpotong rapi */
  transition: transform 0.3s ease;
}

.language-card:hover .card-img-top {
  transform: scale(1.1);
}

/* Social Media Section */
#social {
  padding: 60px 0;
}

#social h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.social-links a {
  color: #eee;
  font-size: 2rem;
  margin: 0 10px;
  transition: transform 0.3s, color 0.3s;
 
}