@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-100.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-101.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-300.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-400.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-500.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-501.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("/assets/fonts/Gerlach\ Sans\ 100\ Hairline.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-700.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-701.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Gerlach Sans";
  src: url("../fonts/GerlachSans-800.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

.error {
    color: #ff4d4d !important; /* Red color for better visibility */
    font-size: 16px !important; /* Adjust font size */
    font-weight: bold !important;
    display: block !important;
    margin-top: 5px !important; /* Add spacing below checkboxes */
}

body {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;

  font-size: 16px;

  line-height: 1.6;
  color: #333;
}

h1 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 700;

  font-size: 36px;
  line-height: 1.3;
}

h2 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 600;

  font-size: 30px;
  line-height: 1.4;
}

h3 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 500;

  font-size: 24px;
  line-height: 1.4;
}

h4 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
}

h5 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
}

h6 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

p {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;

  font-size: 16px;
  line-height: 1.7;
}

small {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 300;
  /* Light */
  font-size: 14px;
  line-height: 1.5;
}

/* Links */
a {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  color: #007bff;
}

a:hover {
  text-decoration: underline;
}

body {
  margin: 0;
  padding: 0;

  color: #2b2321;
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 400;

  line-height: 1.6;

  box-sizing: border-box;
}

h1 {
  font-family: "Gerlach Sans", sans-serif;
  font-weight: 700;
  /* Heavy */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  /* Apply box-sizing to all elements */
}



select.input option[value=""] {
  color: grey;
  /* Color for the default empty option */
}

.main {
  width: 100%;
  height: auto;
  display: flex;

  background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}


.main .box1 {
  width: 50%;
  height: 100%;
  /* background-color: teal; */
  /* background-image: url(/IDO_Fabexa-Newspaper\ Ad_33x47cm_0125-31_page-0001\ \(1\).jpg); */
  background-size: cover;
  background-position: center;
  order: 2;
  background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}

.box2 {
  width: 50%;
  height: 100%;
}

/* Hide all fields initially except for the mobile number field */
.hidden {
  display: none;
}

@media only screen and (max-width: 600px) {
  .main {
    display: block;
  }

  .main .box1 {
    width: 100%;
    height: 28vh;
  }

  .box2 {
    width: 100%;
  }
}

.btns {
  display: flex;
  justify-content: center;
  column-gap: 25px;
  margin-top: 25px;
}

img.bannerImg {
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
}

/* form custom style */

.field {
  margin-bottom: 15px !important;
  text-align: center;
}

.field img {
  margin-bottom: 15px;
}

/* Style the checkboxes */
.category-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff;
  /* Change checkbox color */
  margin-right: 8px;
  cursor: pointer;
}

/* Align checkboxes and labels */
.category-container {
  display: flex;
  gap: 20px;
  /* Space between checkboxes */
  align-items: center;
  flex-wrap: wrap;
  /* Wrap if needed */
  margin-top: 8px;
}

.category-container label {
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #fff;
}

/* Style the category heading */
.label {
  font-size: 18px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.category-container input[type="checkbox"] {
  width: 25px;
  height: 20px;
  accent-color: #103760;
  margin-right: 8px;
  cursor: pointer;
}

.label:not(:last-child) {
  margin-bottom: 0.2em;
}

.form-group {
  padding-bottom: 15px;
}

.input:active,
.input:focus,
.is-active.input,
.is-active.textarea,
.is-focused.input,
.is-focused.textarea,
.select select.is-active,
.select select.is-focused,
.select select:active,
.select select:focus,
.textarea:active,
.textarea:focus {
  border-color: #163760;
  box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.label {
  font-size: 15px;
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: #ffffffba;
}

#formContainer {
  background: #103760;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  /*padding-block: 35px;*/
  border-radius: 15px;
  /* backdrop-filter: blur(43px); */
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
  max-width: 70%;
}

.hero-body {
  padding: 2rem;
  /* background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%); */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Adding a semi-transparent overlay */
.hero-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(https://compubrain.io/cdemo/Fabexa/Form/assets/imgs/bg.png);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  /* Adjust this value for more or less opacity */
  z-index: 0;
}

/* Ensuring content appears above the overlay */
.hero-body > * {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 800px;
  width: 100%;
}

.columns {
  display: flex;
  justify-content: center;
}

.column {
  flex: 1;
}

h1.title {
  font-size: 2rem;
  text-align: center;
  color: #ffffff !important;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.label {
  font-size: 1.1rem;
}

.input {
  background-color: #fcfcfc;
  color: #000000;
  border: 1px solid #444;
  /* padding: 1rem; */
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;

  transition: all 0.3s ease;
}

.control .icon {
  color: #f1f1f1;
}

.button {
  font-size: 1rem;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  /* margin: 0.5rem; */
  width: 100%;
}

.button.is-danger {
  /* margin: 10px; */
  width: 105px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  border-radius: 10px;
  /* display: block; */
  background-image: linear-gradient(
    to right,
    #ff512f 0%,
    #dd2476 51%,
    #ff512f 100%
  );
}

.button.is-danger:hover {
  background-position: right center;
  /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

.bannerImg {
  width: 100%;
  height: auto;
}

.button.is-light {
  background-image: linear-gradient(
    to right,
    #ece9e6 0%,
    #55c8e5c5 55%,
    #ece9e6 100%
  );
}

.button.is-light {
  width: 105px;
  padding: 15px 25px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: rgb(0, 0, 0);
  font-weight: 600;
  border-radius: 10px;
}

.button.is-light:hover {
  background-position: right center;

  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.button.is-light:hover {
  background-color: #e4e4e4;
  color: #000000;
}

.btns {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
}

.logoImg {
  width: 150px;
}

@media screen and (max-width: 768px) {
  #formContainer {
    background: #103760;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    /*padding-block: 35px;*/
    border-radius: 15px;
    /* backdrop-filter: none; */
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px,
      rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    max-width: 100%;
  }
  
  

  .logoImg {
    width: 110px;
  }

  .hero-body {
    padding: 2rem;
    /* background: linear-gradient(
      90deg,
      rgba(173, 213, 125, 0.4) 0%,
      rgba(95, 201, 218, 0.4) 100%
    ); */
    background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .hero-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(https://compubrain.io/cdemo/Fabexa/Form/assets/imgs/bg.png);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
  }
}

.hero.is-fullheight {
  max-height: 100vh;
  direction: f;
  display: flex;
  /*height: 100vh;*/
  overflow-x: scroll;
}

.hero.is-fullheight::-webkit-scrollbar {
  display: none;
}
.backBtn:hover{
  color: #5BC9E6;

}

 @media (max-width: 480px) {
.box1{
    height: 28vh;
}
}


/* Phones (Portrait and Landscape) */
@media (max-width: 400px) { 
  .box1{
        height: 27vh !important;
    }
}


/* Phones (Portrait and Landscape) */
@media (max-width: 567px) { 
  .box1{
        height: 27vh !important;
    }
}

@media (max-width: 600px) { 
  .box1{
        height: auto !important;
    }
}

/* Tablets (Portrait Mode) */
@media (min-width: 601px) and (max-width: 768px) {
  .box1{
        height: 28vh;
    }
}