.FormWrapper form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  grid-template-areas: "one two""three four""five five""six six";
}

.FormWrapper.career-form form {
  grid-template-areas: "one two""three four""five five""six six""sevan sevan";
}

.FormWrapper form>div:nth-child(1) {
  grid-area: one;
}

.FormWrapper form>div:nth-child(2) {
  grid-area: two;
}

.FormWrapper form>div:nth-child(3) {
  grid-area: three;
}

.FormWrapper form>div:nth-child(4) {
  grid-area: four;
}

.FormWrapper form>div:nth-child(5) {
  grid-area: five;
}

.FormWrapper form>div:nth-child(6) {
  grid-area: six;
}

.FormWrapper form>div:nth-child(7) {
  grid-area: sevan;
}

.contact-label {
  position: relative;
}

.form-control {
  width: 100%;
  height: auto;
  padding: 2rem;
  box-shadow: unset !important;
  border: 1px solid #ededed;
  border-radius: 16px;
  outline: none !important;
  color: var(--primary-color);
  font-family: var(--semibold-font-family);
  font-size: 1.25rem;
  resize: none;
}

.form-control::placeholder {
  color: #a4a4a4;
  font-family: var(--regular-font-family);
}

label.error {
  display: none !important;
}

.form-control.error::placeholder,
.form-control.error {
  color: red;
}

.form-control.error {
  color: red;
  border-color: red;
}

.submitButton {
  width: fit-content;
  margin: 2rem auto 0;
}

.form-control:focus,
.form-control:focus-visible {
  border-color: var(--primary-color);
}

.conatct_number_input {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 2rem;
}

.display_country_code {
  width: 45px;
}

.display_country_name {
  font-size: 0.875rem;
}

.country_code_data {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  font-size: 1.25rem;
}

.country_code_list_data ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.country_code_list_data ul li {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: all ease 0.2s;
}

.country_code_list_data ul li:hover {
  background-color: #dddddd;
}

.country_code_list_data li>div {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.country_code_list_data {
  position: absolute;
  top: 100%;
  left: 0;
  height: 40vh;
  overflow-y: scroll;
  width: 350px;
  z-index: 99999;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: #ffffff;
  border: 1px solid #999999;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.search_c-code {
  padding: 0 1rem;
  padding-bottom: 0.5rem;
}

.search_c-code input {
  position: relative;
  border-radius: var(--border-radius);
  border: 1px solid #999999;
  width: 100%;
  padding: 0.7rem;
}

.country_code_overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  display: none;
}

.country_code_overlay.code_overlay {
  display: block;
}

.country_code_list_data {
  display: none;
}

.country_code_list_data.active {
  display: block;
}

.contact_country_flag img,
.country_code_list_data img {
  border-radius: 5px;
  width: 25px !important;
}

.form-control.contact-number {
  padding-left: 11rem;
}

.contactDataGrid {
  display: grid;
  grid-template-columns: calc(100% - 60% - 1.5rem) calc(100% - 40% - 1.5rem);
  gap: 3rem;
  align-items: center;
  justify-content: space-between;
}

.contactInfoItem>span {
  flex-basis: 24px;
  transform: translateY(2px);
}

.contactInfoItem a {
  transition: var(--common-transition);
}

.contactInfoItem>p {
  flex-basis: calc(100% - 10px - 24px);
}

.contactinfoFlex {
  gap: 1.25rem;
}

.contactIframe {
  width: 100%;
}

.contactIframe iframe {
  width: 100%;
  border-radius: 1rem;
  aspect-ratio: 16/7.5;
}

/* About Page CSS Starts Here */

.aboutSectGrid {
  display: grid;
  grid-template-columns: 40% 50%;
  align-items: center;
  justify-content: space-between;
}

.sect2Image img {
  height: 100%;
  border-radius: 1.5rem;
}

.whyBrillexContent {
  width: 59%;
}

.whyBrillexGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.25rem 2.5rem;
}

.whyBrillexItem {
  padding: 2rem 2.4rem;
  border-radius: 1.8rem;
  border-bottom: 5px solid var(--secondary-color);
}

.brillexIcon {
  width: 3.5rem;
}

@media screen and (min-width: 1152px) {
  .aboutSectGrid {
    grid-template-columns: 45% 50%;
  }

  .whyBrillexItem {
    padding: 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .contactInfoItem a:hover {
    color: var(--secondary-color);
  }
}

@media screen and (max-width: 991px) {
  .contactDataGrid {
    grid-template-columns: 100%;
  }

  .whyBrillexGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .aboutSectGrid {
    grid-template-columns: 100%;
    gap: 3rem;
  }

  .whyBrillexContent {
    width: 100%;
  }

  .FormWrapper form {
    display: grid;
    grid-template-columns: 100% !important;
    gap: 1.5rem;
    grid-template-areas: unset !important;
  }

  .FormWrapper form>div {
    grid-area: unset !important;
  }

  .text-left-mob {
    text-align: left !important;
  }

  .submitButton {
    width: 100%;
  }

  .contactIframe iframe {
    aspect-ratio: 1;
  }
}

@media screen and (max-width: 767px) {
  .whyBrillexGrid {
    display: grid;
    grid-template-columns: 100%;
    gap: 1.5rem;
  }
}