* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

section {
  min-height: 100vh; /* Buat section mengisi layar penuh */
  display: flex;
  align-items: center; /* Tengahkan konten secara vertikal */
  justify-content: center; /* Opsional: tengahkan horizontal */
  padding: 80px 20px; /* Tambahkan padding biar tidak terlalu rapat */
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.7rem;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #667eea;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-image {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-profile-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 5px solid #667eea;
}

/* Navigation */
nav {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2563eb;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  position: relative; /* Needed for positioning dropdown */
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #2563eb;
  z-index: 1100; /* above nav menu */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0; /* Show from right */
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: space-around;
    align-items: center;
  }
  .hamburger {
    display: block;
  }
}
.about-section {
  background: #fff;
  padding: 2rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-photo {
  text-align: center;
}

.about-profile-img {
  width: 50%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0 auto;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
}

.about-description p {
  margin-bottom: 1.5rem;
}

/* Roles & Expertise Section */
.expertise {
  background: #f8f9fa;
  padding: 4rem 0; /* Added padding for better spacing */
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s; /* Added box-shadow transition */
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.expertise-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.expertise-card h3 {
  margin-bottom: 1rem;
  color: #333;
}

.expertise-card p {
  color: #666;
  line-height: 1.6;
}

.expertise-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #667eea;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.expertise-link:hover {
  background: #5a6cbf; /* Darker shade on hover */
}

.expertise-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #667eea;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.expertise-card a:hover {
  color: #5a67d8;
  text-decoration: underline;
}

/* Contact Section */
.contact {
  background: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #667eea;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: #667eea;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #5a6fd8;
}

/* Footer */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .profile-img {
    width: 200px;
    height: 200px;
  }
}
.career-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  position: relative;
  gap: 50px;
  align-items: stretch;
  margin-top: 2rem;
}

.career-step {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  padding: 30px 25px;
  border-radius: 15px;
  box-shadow: 0 12px 20px rgba(102, 126, 234, 0.4);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px; /* tinggi sama */
}

/* Icon dan elemen lain tetap sama */
.career-step .icon {
  font-size: 50px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.step-date {
  font-size: 0.9rem;
  font-style: normal;
  margin-bottom: 10px;
  color: #dcd6f7;
  font-weight: 600;
}

/* Panah */
.arrow {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #667eea, #764ba2);
  z-index: 1;
  transform: translateY(-50%);
}

.arrow::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  border: 7px solid transparent;
  border-left-color: #764ba2;
  transform: translateY(-50%);
}

/* Posisi panah antar langkah */
.career-flow > .arrow:nth-child(2) {
  grid-column: 1/2;
  grid-row: 1;
  justify-self: end;
}

.career-flow > .arrow:nth-child(4) {
  grid-column: 2/3;
  grid-row: 1;
  justify-self: end;
}

/* Hover effect */
.career-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(102, 126, 234, 0.6);
}

.career-step:hover .icon {
  background: rgba(255, 255, 255, 0.25);
}

/* Responsif */
@media (max-width: 900px) {
  .career-flow {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 30px;
  }
  .career-flow > .arrow {
    display: none; /* Sembunyikan panah pada layar kecil */
  }
}
@media (max-width: 600px) {
  .career-step {
    padding: 20px 15px;
    min-height: auto; /* Sesuaikan tinggi otomatis */
  }
  .career-step .icon {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }
}
@media (max-width: 400px) {
  .career-step {
    padding: 15px 10px;
  }
  .career-step .icon {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}