/* === GLOBAL STYLE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F1F2ED;
  color: #121D00;
  line-height: 1.7;
}

/* === HEADER === */
header {
  background: linear-gradient(120deg, #0C3C01, #586D49);
  color: #F1F2ED;
  text-align: center;
  padding: 80px 20px 60px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  font-size: 1.1em;
  opacity: 0.9;
  margin-top: 10px;
}

header img,
.profile-photo {
  width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  margin-top: 25px;
  border: 4px solid #A2A382;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

header img:hover,
.profile-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

/* === SECTION === */
section {
  padding: 60px 12%;
}

section h2 {
  text-align: center;
  font-size: 1.9em;
  margin-bottom: 25px;
  color: #0C3C01;
  position: relative;
  font-weight: 600;
}

section h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: #A2A382;
  display: block;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* === ABOUT === */
#about p {
  text-align: justify;
  background: #FFFFFF;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#about p:hover {
  transform: scale(1.01);
}

/* === UTS LINKS === */
#uts ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding: 0;
}

#uts li {
  background: #FFFFFF;
  padding: 25px 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: all 0.35s ease;
  border: 2px solid transparent;
}

#uts li a {
  text-decoration: none;
  color: #0C3C01;
  font-weight: 600;
  font-size: 1.05em;
  display: block;
}

#uts li:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, #A2A382 0%, #C8C9A7 100%);
  border-color: #8C8D6E;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

#uts li:hover a {
  color: #FFFFFF;
}

#uts li::after {
  content: "→";
  color: #A2A382;
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#uts li:hover::after {
  opacity: 1;
  transform: translateX(5px);
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
  #uts ul {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* === FOOTER === */
footer {
  text-align: center;
  background: #121D00;
  color: #F1F2ED;
  padding: 25px;
  font-size: 0.95em;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 50px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  section {
    padding: 40px 8%;
  }

  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }

  header img {
    width: 130px;
    height: 130px;
  }

  #uts ul {
    flex-direction: column;
    align-items: center;
  }
}

