#scholarship {
  display: flex;
  flex-direction: column;
}

/* ########################### */
/* Hero Section */
/* ########################### */

.hero-wrapper {
  box-sizing: border-box;
  padding: 30px 50px;
  position: relative;
  overflow: hidden;
  width: 100vw;
  /* background: linear-gradient(90deg, #0fab7f 0%, #004d5d 100%); */
  min-height: 70svh;
  max-height: 100dvh;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 95%;
  height: 100%;
  object-position: left;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 85% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(circle at 85% 50%, black 20%, transparent 70%);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.scholarship-logo {
  position: absolute;
  right: 0;
  bottom: 2%;
  width: 50px;
  aspect-ratio: 1/1;
  object-fit: contain;
  padding: 50px;
  background-color: white;
  border-radius: 15px;
}

.scholarship-status {
  margin-top: 30px;
  margin-bottom: 5px;
  width: fit-content;
  height: fit-content;
  padding: 5px 8px;

  background-color: transparent;
  color: transparent;

  font-size: var(--fontsize-16);
  font-weight: 600;
  border-radius: 5px;
}

.status-accept {
  background-color: #def7eb;
  color: #00bf63;
}

.status-reject {
  background-color: #ffeaea;
  color: #ff3131;
}

.scholarship-name {
  margin: 10px 0;
  width: 50%;
  font-size: var(--fontsize-header);
  line-height: 1.1;
  color: white;
  font-weight: 700;
}

.scholarship-details {
  margin: 20px 0;
  max-width: 600px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.detail-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: start;
}

.detail-label {
  width: 30%;
  font-weight: 600;
  opacity: 0.8;
  font-size: var(--fontsize-20);
}

.detail-value {
  font-weight: 600;
  font-size: var(--fontsize-20);
}



/* ########################### */
/* Scholarship Content Section */
/* ########################### */

.scholarship-content {
  width: 80vw;
  margin: 0 auto;
  padding: 50px 0;

  display: flex;
  flex-direction: column;
  gap: 50px;
}

.scholarship-content section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scholarship-content section h1 {
  position: relative;
  width: fit-content;
  padding: 7px 40px 7px 40px; 
  background: linear-gradient(90deg, #5de0e6  0%, #004AAD 100%);
  color: white;
  font-size: var(--fontsize-20);
  border-radius: 10px;
}

.scholarship-content section .header-image {
  top: 0;
  left: 0;
  height: 150%;
  aspect-ratio: 1/1;
  object-fit: contain;
  position: absolute;
  transform: translate(-50%, -25%);
}


.border-box {
  box-sizing: border-box;
  padding: 20px 40px;
  border: 3.5px solid lightgray;
  border-radius: 15px;
}

.course ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  justify-items: start;
  align-items: center;
}

.course ul li {
  overflow-wrap: anywhere;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}

.course ul li p {
  padding: 5px;
  width: 100%;
  font-size: var(--fontsize-18);
  font-weight: 500;
  color: black;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course ul li img {
  width: 30px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fontsize-16) !important
}

.criteria ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.criteria ul li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fontsize-18);
  font-weight: 500;
  color: black;
}

.criteria ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;

  aspect-ratio: 1/1;
  width: 7px;
  background: #38b6ff; 
  border-radius: 50%;
}

.document {
  width: fit-content;
}

.document ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.document ul li {
  display: flex;
  align-items: center;
  gap: 20px;
}

.document-icon {
  font-size: 60px !important;
}

.document-content {
  display: flex;
  flex-direction: column;
  font-size: var(--fontsize-18);
  font-weight: 500;
  color: black;
  line-height: 1.1;
}

.document-content span {
  opacity: 0.7;
  font-size: var(--fontsize-16);
  font-weight: 400;
}

.institution {
  box-sizing: border-box;
  padding: 15px 15px 15px 10px;
  width: 100%;
  overflow-x: scroll;
  scroll-behavior: smooth;
}

.institution ul {
  width: fit-content;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.institution ul li {
  border-radius: 15px;
  aspect-ratio: 1/1;
  width: 150px;
  background-color: white;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--boxshadow);
}

.institution ul li img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.process ul {
  display: flex;
  flex-direction: column;
}

.process ul details summary {
  padding-bottom: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fontsize-20);
  font-weight: 700;  
  user-select: none;
}

.process ul details:last-child summary {
  padding-bottom: 0px;
}

.process ul details summary span {
  position: relative;
  padding-left: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.process ul details summary span:last-child {
  padding-left: 0px;
}

.process ul details>summary span span.number {
  padding: 0 !important;
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  
  aspect-ratio: 1/1;
  width: 30px;
  background-color: lightgray;
  color: white;
  border-radius: 50%;
  font-size: var(--fontsize-16);
  font-weight: 600;
  transition: var(--animation-default-fast);
}

.process ul details>summary span.icon {
  font-size: 30px !important;
  transition: var(--animation-default-fast);
}

.process ul details[open] summary {
  padding-bottom: 0;
  transition: var(--apple-animation);
}

.process ul details[open] summary span.icon {
  opacity: 0;
  transform: rotate(180deg);
  transition: var(--animation-default-fast);
}

.process ul details[open] summary span span.number {
  background-color: #38b6ff;
  transition: var(--animation-default-fast);
}

.process ul details>p {
  position: relative;
  padding: 15px 10px 30px 50px;
  font-size: var(--fontsize-16);
  font-weight: 500;
}

.process ul details>p:before {
  content: "";
  position: absolute;
  width: 0px;
  border: 2px dashed #38b6ff;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateX(-50%);
}

.process ul details:last-child>p:before {
  border: 2px dashed transparent;
}

.faq ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.faq ul li {
  padding: 30px 25px 50px 20px;
  box-sizing: border-box;
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--boxshadow);
  font-size: var(--fontsize-20);
  font-weight: 700;
}

.faq ul li span {
  font-size: var(--fontsize-16);
  font-weight: 500;
  opacity: 0.9;
}

.faq .faq-icon {
  background-color: lightgray;
  width: 70px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 30px !important;
  color: black;
}