:root {
  scroll-behavior: smooth;
}

.c-main {
  padding: 24px;
}

.c-main > h1 {
  font-size: 40px;
  margin-top: 60px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -2px;
}

.c-main > p {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  margin-top: -4px;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 0;
}

.flex-col {
  flex-direction: column;
}

.btn {
  appearance: none;
  font: inherit !important;
  display: inline-block;
  padding: 10px 20px !important;
  font-size: 16px;
  font-weight: 600 !important;
  border-radius: 8px !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none !important;
}

.btn-primary {
  color: #fff !important;
  background-color: #0097b2 !important;
}

.btn-linkedin {
  color: #fff !important;
  background-color: #006eab !important;
}

.btn-indeed {
  color: #fff !important;
  background-color: #004b8e !important;
}

.btn-secondary {
  background-color: transparent !important;
  color: #007f96 !important;
  border: 1px solid #ebebeb !important;
}

.btn-sm {
  font-size: 14px !important;
}

.btn-primary:hover {
  background-color: #007f96 !important;
}

.c-hero {
  width: 100%;
  margin: 40px auto;
  margin-bottom: 0;
  aspect-ratio: 16/9;
  max-width: 1200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.c-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-us p {
  width: 100%;
  max-width: 900px;
  margin: 12px auto;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.jobs-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.jobs-container > h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.separator-color {
  color: #a1a1a1;
}

.roles {
  width: 100%;
  margin: 12px 0 48px 0;
  border: 1px solid #e1e1e1;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.role {
  width: 100%;
  border-bottom: 1px solid #e1e1e1;
  padding: 0 16px;
}

.role:last-child {
  border-bottom: none;
}

.role > button {
  appearance: none;
  font: inherit !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  width: 100%;
  border: none;
  background-color: transparent;
  text-align: left;
}

.role h3 {
  margin: 0;
  font-size: 18px;
  color: #007f96;
  font-weight: 600;
}

.role p {
  margin: 0;
  margin-top: 4px;
  font-size: 14px;
  color: #4d4d4f;
}

.role > button svg {
  min-width: 24px;
  width: 24px;
  height: 24px;
  color: #666666;
  transition: all 0.2s ease;
}

.panel {
  flex-direction: column;
  gap: 32px;
  box-shadow: none !important;
  opacity: 0.5;
  height: 0;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  transition: height 0.3s ease, opacity 0.3s ease-in-out;
}

.role.active .panel {
  display: flex;
  opacity: 1;
  height: auto;
  padding: 8px 0 32px 0 !important;
}

.role.active > button svg {
  transform: rotate(-45deg);
  color: #007f96;
}

.panel h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px !important;
}

.panel h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px !important;
  margin-top: 8px !important;
}

.panel h4:not(:first-child) {
  margin-top: 24px !important;
}

.panel-desc {
  margin-top: 12px !important;
}

.panel-desc > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel p {
  font-size: 14px;
  color: #4d4d4f;
}

.panel ul {
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel ul li {
  margin-left: 28px;
  color: #4d4d4f;
}

.panel-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* for mobile */
@media screen and (max-width: 768px) {
  .c-main > h1 {
    font-size: 32px;
    margin-top: 40px;
  }

  .c-main > p {
    font-size: 18px;
  }

  .c-hero {
    margin: 28px auto;
    margin-bottom: 0;
    aspect-ratio: 1/1;
  }

  .about-us p {
    margin: 6px auto;
    font-size: 16px;
  }

  .jobs-container > h2 {
    margin-bottom: 6px;
  }

  .role h3 {
    margin: 0;
    font-size: 16px;
  }

  .role p {
    margin-top: 2px;
  }

  .role > button svg {
    min-width: 22px;
    width: 22px;
    height: 22px;
    color: #666666;
    transition: all 0.2s ease;
  }

  .panel {
    flex-direction: column;
    gap: 32px;
    box-shadow: none !important;
    opacity: 0.5;
    height: 0;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 !important;
    transition: height 0.3s ease, opacity 0.3s ease-in-out;
  }

  .role.active .panel {
    display: flex;
    opacity: 1;
    height: auto;
    padding: 8px 0 32px 0 !important;
  }

  .role.active > button svg {
    transform: rotate(-45deg);
    color: #007f96;
  }

  .panel h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 6px !important;
  }

  .panel h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px !important;
    margin-top: 8px !important;
  }

  .panel h4:not(:first-child) {
    margin-top: 24px !important;
  }

  .panel-desc {
    margin-top: 12px !important;
  }

  .panel-desc > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .panel p {
    font-size: 14px;
    color: #4d4d4f;
  }

  .panel ul {
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .panel ul li {
    margin-left: 28px;
    color: #4d4d4f;
  }
}
