body {
  height: 100vh;
  max-height: 100vh;
  margin: 0px;
  background-color: white !important;
  overflow: hidden;
  font-family: "Anek Devanagari", sans-serif;
}

.anek-devanagari {
  font-family: "Anek Devanagari", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.img {
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  width: 100%;
}

input::placeholder {
  font-size: 14px;
}

select {
  font-size: 14px;
  color: #212529;
}

select,
select option {
  color: #212529;
}

select:invalid,
select option[value=""] {
  color: #6c757d;
  font-size: 15px;
}

.info_img {
  border: 1px solid white;
  box-shadow: 0px 0px 8px white;
}

[hidden] {
  display: none;
}

.form_box {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 37% !important;
}

#my_form {
  background-color: white;
  background-image: url(./img_1/bg_form.png);
  background-size: cover;
  border-top-right-radius: 42px;
  border-top-left-radius: 42px;
  box-shadow: 0px 1px 2px whitesmoke;
  padding: 20px 40px;
}

.click_box {
  position: absolute;
  bottom: 8%;
  left: 0%;
  background-color: transparent;
  height: 300px;
  width: 400px;
}

.lang {
  position: absolute;
  top: 2%;
  left: 2%;
  color: white;
  background-color: #f18316;
  padding: 3px 20px;
  border-radius: 20px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: grey;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #b8b8b8 !important;
  border-radius: 0.75rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: 45px;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: grey;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #b8b8b8 !important;
  border-radius: 0.75rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: 45px;
}

label {
  display: inline-block;
  color: #727272;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 8px;
}

label span {
  color: #f01d1e;
}

.submit_btn {
  width: 100%;
  position: relative;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 15px 0;
}

.submit_btn img {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  width: 100%;
  height: 100%;
}

.submit_btn b {
  position: relative;
  z-index: 1;
  font-family: "Anek Devanagari", sans-serif !important;
  font-size: 1.5rem;
  color: white;
}

.btn-closemsb {
  position: absolute;
  top: -5%;
  right: -2%;
  box-sizing: content-box;
  width: 1em;
  height: 1em;
  padding: 0.25em 0.25em;
  color: white;
  background-color: transparent;
  border: 0;
  border-radius: 0.25rem;
  opacity: 1;
  cursor: pointer;
}

.btn-closemsb img {
  filter: drop-shadow(0px 0px 1px white);
}

.modal.show .modal-dialog {
  transform: none;
  max-width: 100%;
  display: flex;
  justify-content: center;
  width: 70%;
}

.social_media img {
  width: 7% !important;
  margin-inline: 5px;
  transition: transform 0.3s ease;
}

.social_media img:hover {
  width: 7% !important;
  transform: scale(1.1);
}

.modal_thankyou {
  font-family: Anek Devanagari, sans-serif !important;
  border-radius: 20px !important;
  color: white !important;
  text-align: center !important;
  font-size: 24px !important;
  text-shadow: 1px 0px 0px #e1e1e1 !important;
}

#exampleModal .modal-dialog {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

#exampleModal .modal-content {
  width: 500px;
  padding-inline: 50px;
}

#exampleModal p {
  font-family: "Anek Devanagari", sans-serif;
  font-size: 2rem;
  margin-top: 1.5rem;
}

#staticBackdrop .modal-content {
  background-color: transparent;
  border: none;
}

#staticBackdrop .modal-body {
  padding: 40px 0px 20px;
}

#staticBackdrop .modal-body > img {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  object-fit: cover;
  border-radius: 20px;
}

.modal_thankyou_text1 {
  font-size: 5rem !important;
  font-weight: bolder;
}

.modal_thankyou_text2 {
  font-size: 3rem !important;
  line-height: 4rem !important;
  margin-bottom: 0px !important;
}

.modal_thankyou_text3 {
  font-size: 1.3rem !important;
  line-height: 3rem !important;
  margin-bottom: 0px !important;
}

.download_certificate_btn {
  text-transform: uppercase;
  background-color: #a74f00;
  color: white;
  font-family: Anek Devanagari, sans-serif;
  font-size: 1.5rem;
  padding: 5px 30px;
  border-radius: 34px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download_certificate_btn:hover {
  background-color: #8a3f00;
}

.lang-toggle {
  position: absolute;
  top: 3px;
  right: 10px;
  padding: 4px 20px;
  color: white;
  background-color: #ad5300;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none !important;
}

.lang-toggle:hover {
  color: white !important;
  background-color: #8a3f00;
}

.top_head_popup_assam {
  font-size: 3rem !important;
  font-weight: bolder !important;
  line-height: 5rem !important;
}

.mid_p_popup_assam {
  margin-top: -30px !important;
  font-size: 1.7rem !important;
  line-height: 4rem !important;
}

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .form_box {
    width: 45% !important;
    right: 3%;
  }

  #my_form {
    padding: 15px 30px;
  }

  .form-control,
  .form-select {
    font-size: 0.95rem;
    min-height: 42px;
  }

  label {
    font-size: 15px;
  }

  .submit_btn b {
    font-size: 1.3rem;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  body {
    height: auto;
    max-height: none;
    overflow-y: auto !important;
    overflow-x: hidden;
  }

  .img {
    height: auto;
    min-height: 40vh;
    object-fit: cover;
  }

  .lang-toggle {
    top: 10px;
    right: 10px;
    left: auto;
    padding: 5px 15px;
    font-size: 14px;
  }

  .form_box {
    position: absolute;
    height: 57%;
    right: auto;
    bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  #my_form {
    padding: 20px;
    border-top-right-radius: 42px;
    border-top-left-radius: 42px;
    margin: 0;
  }

  .mb-1 {
    margin-bottom: 0.75rem !important;
  }

  label {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  input::placeholder {
    font-size: 14px;
  }

  select {
    font-size: 14px;
  }

  .form-control {
    padding: 0.65rem;
    font-size: 15px;
    line-height: 1.4;
    min-height: 45px;
  }

  textarea.form-control {
    min-height: 100px;
  }

  .form-select {
    padding: 0.65rem;
    font-size: 15px;
    line-height: 1.4;
    min-height: 45px;
  }

  .submit_btn {
    padding: 12px 0;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  .submit_btn b {
    font-size: 1.1rem !important;
  }

  .click_box {
    position: absolute;
    top: 35%;
    right: 0%;
    left: auto;
    bottom: auto;
    height: 136px;
    width: 160px;
  }

  /* Modal Adjustments */
  .modal.show .modal-dialog {
    width: auto !important;
    margin: 0.5rem;
  }

  #exampleModal .modal-content {
    width: 90%;
    padding-inline: 20px;
  }

  #exampleModal p {
    font-size: 1.5rem;
    margin-top: 1rem;
  }

  #staticBackdrop .modal-dialog {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  #staticBackdrop .modal-content {
    height: 90%;
    width: 95%;
    max-width: 95%;
  }

  #staticBackdrop .modal-body {
    padding: 20px 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  #staticBackdrop .modal-body > img {
    width: 100% !important;
    height: auto;
    position: relative;
    left: 0;
    right: 0;
    margin: auto;
  }

  .btn-closemsb {
    top: -3%;
    right: 0%;
  }

  .top_head_popup_assam {
    font-size: 1.7rem !important;
    line-height: 2.5rem !important;
    margin-top: 1rem;
  }

  .mid_p_popup_assam {
    font-size: 1.4rem !important;
    line-height: 2rem !important;
    margin-top: 0 !important;
    font-weight: bolder !important;
  }

  .modal_thankyou_text1 {
    font-size: 3rem !important;
    line-height: 3.5rem !important;
  }

  .modal_thankyou_text2 {
    font-size: 2rem !important;
    line-height: 2.2rem !important;
    margin-bottom: 10px !important;
    padding-inline: 10px;
  }

  .modal_thankyou_text3 {
    font-size: 1.1rem !important;
    line-height: 1.8rem !important;
    margin: 10px 5px;
  }

  .download_certificate_btn {
    font-size: 1rem;
    padding: 10px 20px;
    margin-bottom: 15px;
  }

  .download_certificate_btn img {
    width: 30px !important;
  }

  .social_media img {
    width: 45px !important;
    margin: 5px;
  }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .img {
    min-height: 35vh;
  }

  #my_form {
    padding: 15px;
  }

  label {
    font-size: 14px;
  }

  .form-control,
  .form-select {
    font-size: 14px;
    padding: 0.6rem;
    min-height: 42px;
  }

  textarea.form-control {
    min-height: 90px;
  }

  .submit_btn b {
    font-size: 1rem !important;
  }

  .top_head_popup_assam {
    font-size: 1.4rem !important;
    line-height: 2rem !important;
  }

  .mid_p_popup_assam {
    font-size: 1.2rem !important;
    line-height: 1.8rem !important;
  }

  .modal_thankyou_text1 {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
  }

  .download_certificate_btn {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .social_media img {
    width: 40px !important;
  }
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
  body {
    height: auto;
  }

  .img {
    min-height: 50vh;
  }

  #my_form {
    padding: 15px 20px;
  }

  .form-control,
  .form-select {
    min-height: 40px;
    padding: 0.5rem;
  }

  textarea.form-control {
    min-height: 70px;
  }

  .mb-1 {
    margin-bottom: 0.5rem !important;
  }

  .submit_btn {
    padding: 10px 0;
    margin-top: 10px !important;
  }
}

/* Large Desktop (min-width: 1440px) */
@media (min-width: 1440px) {
  .form_box {
    width: 32% !important;
  }

  #my_form {
    padding: 25px 50px;
  }

  .form-control,
  .form-select {
    font-size: 1.1rem;
    min-height: 50px;
  }

  label {
    font-size: 18px;
  }

  .submit_btn b {
    font-size: 1.7rem;
  }
}

.new_css_thankyou_popup {
  background-image: url(img_1/thankyou_bg_d.png);
  background-size: cover;
  background-attachment: fixed;
}

.new_btn_close {
  position: absolute;
  top: -3%;
  right: -3%;
  background: none;
  border: none;
}

#counter {
  /* background-color: #fcc900; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0px;
  position: absolute;
  top: 1%;
  left: 0%;
}

#counter > .counter_box {
  background-color: #ad5300;
  /* border:1px solid black; */
  /* min-width:auto; */
  margin: 10px;
  padding: 13px 7px;
  /* min-height:100px */
}

#counter > .counter_box > span {
  background-color: white;
  color: #ef7f19;
  padding: 5px 13px;
  font-size: 20px;
  font-weight: bold;
}

.counter_text {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0px;
}
@media (max-width: 768px) {
  #counter {
    /* background-color: #fcc900; */
    /* background-color: #fcc900; */
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    padding: 2px;
    position: absolute;
    bottom: auto;
    right: 1%;
    top: 0%;
    width: 40%;
  }

  #counter > .counter_box > span {
    background-color: white;
    color: black;
    padding: 1px 5px;
    font-size: 13px;
    font-weight: bold;
  }

  #counter > .counter_box {
    background-color: #ad5300;
    margin: 5px;
    padding: 8px 7px;
  }

  .counter_text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
    text-align: center;
    padding-left: 0.5rem;
  }

  .new_css_thankyou_popup {
    background-image: url(img_1/thankyou_bg_m.webp);
    background-size: cover;
    background-attachment: fixed;
  }
  .new_btn_close {
    position: absolute;
    top: -3%;
    right: -5%;
    background: none;
    border: none;
  }
}
