:root {
    --primary: #082C46;
    --bg: #4679A8;
    --button-color: #004C87;
  }
  

* {
  box-sizing: border-box;
}

body, html {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}


/*Navbar*/
.custom-navbar {
  background-color: #082C46;
}

.text-logo {
  font-family: "Righteous";
  line-height: 0.85; 
  margin: 0;
  padding: 0; 
  color: white;
  font-weight: 300;
  margin-bottom: 4.25px;
}

.text-logo span {
  display: block;
  margin: 0;
  padding: 0;
}

.text-logo small {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

.nav-item a {
  font-family: "Righteous", sans-serif;
  color: white;
  font-size: 0.87rem;
  margin-top: 10px;
  margin-bottom: 0;
}

.custom-toggler {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-toggler svg {
  width: 24px;
  height: 24px;
  fill: #ffff;
}

.navbar .navbar-nav a:hover {
  color: #4679A8;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-nav a::after {
  content: '';
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #4679A8;;
  transform: scaleX(0);
}

.container-fluid {
  justify-content: center;
}

.custom-navbar .collapse.navbar.collapse {
  width: auto !important;
}

.custom-navbar .navbar-toggler {
  border: none;
  outline: none;
}

.navbar-nav .nav-link {
  text-align: center;
  width: fit-content;
}


/* Banner */
.bg-custom {
  background-color: var(--bg);
}

.banner img {
  margin-top: 40px;
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.p {
  font-family: "poppins";
  font-size: 1em;
  color: white;
}

/* Form */
#skmForm {
  flex: 1;
}

.form-section h2 {
  font-family: "Patua One";
  margin-bottom: 0;
  margin-top: 30px;
}

.form-section {
  margin-top: 15px;
  text-align: center;
  font-family: "poppins";
  margin-bottom: 40px;
  justify-content: center;
  align-items: center;
  font-size: 1em;
}

.form-container {
  display: flex;
  justify-content: center;
  align-items: center; 
  margin-bottom: 0;
}

.form-box {
  width: 700px;
  max-width: 85%;
  height: auto;
  margin: 0 auto;
  padding: 200px;
  background-color: #f8f9fa;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.form-input {
  background-color: #DFF1FF;
  font-size: 1em;
  margin-top: 0;
}

.form-input-date {
  font-size: 1em;
  margin-top: 0;
}

.form-input::placeholder {
  color: black;
  font-weight: 399.999;
}

.form-box .form-control, .form-box .form-select {
  margin-top: 5px;
  margin-bottom: 5px;
}

.form-box {
  margin-bottom: 20px;
  margin-top: 10px;
}

.form-label {
  font-size: 1em;
  text-align: left;
  margin-bottom: 0px;
  display: block;
}

.mb-3 input {
  margin-top: 0;
}

.form-label-2 {
  margin-top: 15px;
}

.form-check {
  text-align: left;
  margin-left: 0;
  padding-left: 1em;
  margin-top: 2px;
}

.custom-check-2 {
  margin-bottom: 10px;
}


/* Footer */
.footer{
  background-color: var(--primary);
  font-family: 'Poppins';
  margin: 0;
  padding: 0;
  bottom: 0;
}

/* Button */
.btn-pst {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 7px;
}

.btn-pst .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  /* padding: 0 15px; */
  line-height: 1;
  margin: 0;
}

.btn {
  background-color: #004C87;
}

.btn a {
  color: white;
}


/* Recaptcha */
.recaptcha {
  display: flex;
  /* justify-content: center; */
  /* align-items: center; */
  width: 100%;
}

.g-recaptcha {
  transform: scale(1.0);
  margin: 8px 0;
}


/* select2 */
.select2-container--classic .select2-selection--single .select2-selection__rendered {
  text-align: left !important;
}

.select2-container--classic .select2-results__option {
  text-align: left !important;
}


/* Invalid error style */
.invalid-feedback {
  margin-top: 0;
  text-align: left;
  margin-bottom: 0;
}

.invalid-radio-input {
  margin-top: 0;
  text-align: left;
  margin-bottom: 0;
}

.invalid-feedback-recaptcha {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
}

/*Media Querries*/
/*Tablet*/
@media (max-width: 810px) {
  hmtl {
    font-size: 62.5%;
  }

  .nav-item a {
    line-height: 0.15;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .banner img {
    margin-top: 65px;
  }

  .form-section h2 {
    margin-top: 20px;
  }

  .form-section {
    margin-top: 5px;
    margin-bottom: 30px;
  }

  .form-label {
    text-align: left;
  }

  .footer{
    font-size: 0.8em;
  }

  .btn-next {
    margin-top: 0;
    margin-bottom: 15px;
  }

  .btn-back {
    margin-bottom: 0;
    margin-top: 15px;
  }

  .recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
  }
  
  .g-recaptcha {
    transform: scale(0.8);
    margin-top: 8px;
    margin-bottom: 1px;
  }

}

@media only screen and (max-width: 480px) {
  hmtl {
    font-size: 60%;
  }

  .p {
    font-size: 65%;
  }

  .form-label {
    text-align: justify;
  }

  .banner img {
    width: 100%; 
    height: auto; 
  }

  .btn {
    margin-bottom: 0;
  }

  .footer {
    font-size: 75%;
  }
}