/* =========================================
   Blue Island Academy - Application Form Section
   ========================================= */

/* Main section */
.bi-application{
  padding: 110px 0;
  background: #f7f7f7;
}

/* Heading */
.bi-application__head{
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

/* Title */
.bi-application__title{
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

/* Subtitle */
.bi-application__subtitle{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(31, 41, 55, 0.62);
}

/* Tabs */
.bi-application__tabs{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

/* Single tab */
.bi-application__tab{
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(15, 95, 146, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: #0b5f92;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

/* Hover */
.bi-application__tab:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

/* Active tab */
.bi-application__tab.is-active{
  background: linear-gradient(135deg, #18b8df 0%, #146ca7 100%);
  color: #ffffff;
}

/* Panels */
.bi-application__panel{
  display: none;
}

.bi-application__panel.is-active{
  display: block;
}

/* Form wrapper */
.bi-application__form{
  background: #ffffff;
  border-radius: 28px;
  padding: 34px 30px 40px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

/* Label */
.bi-application__label{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.45rem;
  font-weight: 700;
  color: #172033;
}

/* Inputs and textarea */
.bi-application__input,
.bi-application__textarea{
  width: 100%;
  border: 2px solid #44c6eb;
  border-radius: 16px;
  background: #ffffff;
  color: #374151;
  font-size: 1rem;
  padding: 18px 22px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Input focus */
.bi-application__input:focus,
.bi-application__textarea:focus{
  border-color: #18b8df;
  box-shadow: 0 0 0 4px rgba(24, 184, 223, 0.12);
}

/* Textarea */
.bi-application__textarea{
  min-height: 120px;
  resize: vertical;
}

/* Checkbox grid */
.bi-application__checks{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
  padding-top: 6px;
}

/* Checkbox item */
.bi-application__check{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #5c6674;
}

/* Checkbox */
.bi-application__check input{
  width: 18px;
  height: 18px;
  accent-color: #18b8df;
}

/* Actions */
.bi-application__actions{
  margin-top: 34px;
}

/* Submit button */
.bi-application__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: #f58d24;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(245, 141, 36, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Hover */
.bi-application__button:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(245, 141, 36, 0.28);
  filter: brightness(1.02);
}

/* Tablet */
@media (max-width: 991.98px){
  .bi-application{
    padding: 90px 0;
  }

  .bi-application__label{
    font-size: 1.25rem;
  }
}

/* Mobile */
@media (max-width: 767.98px){
  .bi-application{
    padding: 72px 0;
  }

  .bi-application__form{
    padding: 24px 20px 30px;
    border-radius: 22px;
  }

  .bi-application__checks{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bi-application__button{
    width: 100%;
  }
}