.background-layer {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/imgs/digitalforensic.jpg") no-repeat center/cover;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main section {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

section h2 {
  margin-bottom: 0.5rem;
}

#hero {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  padding-top: 50%;
  flex-direction: column;
  padding-right: 40px;
  align-items: flex-end;
  text-align: right;
  position: relative;
}

#hero h2 {
  margin-top: 0.5rem;
}

#hero h3 {
  margin-top: 2rem;
}

#hero h4 {
  margin-top: 1rem;
}

#hero .success-progress {
  display: flex;
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  justify-content: center;
  gap: 50px;
}

#hero > div > div {
  color: var(--text-main);
  text-shadow: 1px 1px 2px rgba(255, 0, 0, 0.5);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

section:not(#hero) {
  padding: 20px;
}

#greeting {
  width: 100%;
  background: url("/assets/imgs/greeting-board.jpg") no-repeat center/cover;
}

#greeting > * {
  margin-top: 10px;
}

#greeting h2 {
  margin-top: 10px;
  color: var(--text-main);
}

#greeting h3 {
  width: fit-content;
}

#greeting p {
  margin-top: 20px;
}

#greeting p:last-child {
  margin-bottom: 30px;
}

form {
  max-width: 320px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.required {
  color: red;
  margin-left: 4px;
}

.category-group {
  margin-bottom: 20px;
}

.category-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-options label {
  background: #eee;
  border-radius: 20px;
  padding: 8px 14px;
  cursor: pointer;
  transition: 0.2s;
}

.category-options input[type="radio"] {
  display: none;
}

.category-options input[type="radio"]:checked + label {
  background: #007bff;
  color: white;
  font-weight: bold;
}

form button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background: #0056c4;
}

.card-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card {
  flex: 1 1 200px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card img {
  display: block;
  width: 80px;
  height: 80px;
}

.card > * {
  text-align: center;
}

.cta {
  margin-top: 30px;
  text-align: center;
}

.cta a > span {
  font-size: 1.5rem;
}

.cta a {
  background: #007bff;
  color: var(--text-main);
  padding: 15px 50px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
