@import url("../pages.css");

:root {
  --hero-image: url("../../assets/img/Banner Seskoal.jpg");
}

.tugas-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(14, 57, 95, 0.1);
}

.section-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  color: var(--navy);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.tugas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tugas-card {
  background: var(--white);
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tugas-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--navy-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.tugas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(10, 31, 68, 0.08);
}

.tugas-card:hover::before {
  transform: scaleX(1);
}

.tugas-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(14, 57, 95, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.tugas-icon svg {
  width: 28px;
  height: 28px;
}

.tugas-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.tugas-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.5;
}
