.Contact {
  position: relative;
  min-height: 100vh;
  padding: 50px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url("image/background1.jpg") no-repeat center center/cover;
}

.Contact .contact_content {
  max-width: 800px;
  text-align: center;
  color: #fff;
}

.Contact .contact_content h2 {
  font-size: 36px;
  font-weight: 500;
}

.Contact .contact_content p {
  font-weight: 300;
}

.contact_container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 4rem;
}

.contact_container .contactinfo {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.contact_container .contactinfo .contact_box {
  position: relative;
  padding: 20px 0;
  display: flex;
}

.para {
  font-size: 25px;
  font-family: lucida;
}

.contact_container .contactinfo .contact_box .icon {
  min-width: 60px;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 22px;
}

.contact_container .contactinfo .contact_box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}

.contact_container .contactinfo .contact_box .text h3 {
  font-weight: 500;
  color: var(--color-danger);
}

.contactForm {
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  width: 40%;
  padding: 40px;
  background: #cda0a0;
  /* border-radius: 20px; */
  color: #333;
}

.contactForm h2 {
  font-size: 30px;
  font-weight: 500;
}

.contactForm .inputbox {
  position: relative;
  width: 100%;
  margin-top: 10px;
}

.contactForm .inputbox input,
.contactForm .inputbox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  outline: none;
  resize: none;
  background-color: transparent;
  border-bottom: 2px solid #ddd;
}

.contactForm .inputbox textarea {
  height: 100px;
}

.contactForm .inputbox textarea {
  width: 100%;
  padding: 5px 0;
  font-size: 16px;
  margin: -39px 0;
  border: none;
  outline: none;
  resize: none;
  background-color: transparent;
  border-bottom: 2px solid #ddd;
  box-sizing: border-box;
}

.contactForm .inputbox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: -40px 0;
  pointer-events: none;
  transition: 0.5s;
  color: #666;
}

.contactForm .inputbox input:focus~span,
.contactForm .inputbox input:valid~span,
.contactForm .inputbox textarea:focus~span,
.contactForm .inputbox textarea:valid~span {
  color: #5a4d51;
  font-size: 20px;
  align-items: center;
  transform: translatey(-30px);
}


/* .contactForm .inputbox input:focus ~ span,
  .contactForm .inputbox input:valid ~ span {
      color: #5a4d51;
      font-size: 12px;
      align-items: center;
      transform: translateY(-30px); /* Move the span upwards 
  } */

.contactForm .inputBox input[type="submit"] {
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  margin-top: 50px;
}

.text a {
  color: #372e2e;
  list-style: none;
}

.contactForm .inputbox {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.contactForm .inputbox select {
  width: 155px;
  margin-right: 10px;
  background: none;
  border-bottom: 2px solid #ddd;
  padding: 15px 0;
}

.contactForm .inputbox input[type="tel"] {
  flex: 1;
}

/*------------------------ISO-9001------------------------*/
.breadcrumb_area {
  background-image: linear-gradient(to right, white, transparent),
    url(images/south_africa_map.jpg);
  background-size: cover;
  min-height: 150px;
  width: 100%;
  padding: 70px 0 100px 0;
  color: white;
}

.hover-underline-animation {
  display: inline-block;
  position: relative;
  color: white;
}

.hover-underline-animation::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

h1 {
  margin: 1rem 0;
}

.link p {
  color: white;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.aboutbox {
  padding: 30px;
  margin-top: 7px;
}

.aboutpg_text {
  font-family: lucida;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
  color: #333;
}

.aboutpg_text p {
  margin-bottom: 10px;
}

.aboutpg_text a {
  text-decoration: none;
  display: contents;
}

.aboutpg_text a:hover {
  text-decoration: underline;
}

.aboutpg_text a:hover {
  color: var(--color-danger);
}

.questions {
  font-family: lucida;
  padding: 30px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.btn:hover {
  color: var(--color-danger);
}

.color {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 0px 30px #333;
}

.content h3 {
  font-weight: 500;
  padding: 50px 0 0 0;
  color: var(--color-danger);
  text-align: center;
  padding: 45px 0 0 0;
  margin-top: 28px;
}

.questions p {
  padding: 50px 0 0 0;
  color: #333;
  padding: 0px 106px 0px 106px;
  font-size: 16px;
  margin-top: 14px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.list {
  padding: 10px 0 30px 120px;
}

.list p {
  padding: 0 106px 0 0;
}

.list ul li {
  font-size: 20px;
  color: rgb(7, 6, 6);
  list-style-type: disc;
}

.questions .list a {
  display: inline;
  color: #967272;
  font-size: 17px;
  backdrop-filter: blur(2px) saturate(180%);
  padding: 0px;
  margin-top: 14px;
}

.questions .list a:hover {
  color: var(--color-danger);
}

.content h3 {
  --c: linear-gradient(var(--color-danger) 0 0);

  padding-bottom: 0.15em;
  background: var(--c), var(--c);
  background-size: 3.3em 0.1em;
  background-position: 50% 100%;
  background-repeat: no-repeat;
  transition: 0.3s linear, background-size 0.3s 0.2s linear;
}

.content h3:hover {
  background-size: 40% 0.1em;
  background-position: 10% 100%, 90% 100%;
}

.card {
  display: grid;
  width: 100px;
  position: relative;
}

.format {
  background-color: whitesmoke;
}

.format-container {
  width: 1142px;
  margin: 0 auto;
}

.offer-block {
  padding: 50px 0 90px;
}

.offer_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.offer_item {
  width: 33.33%;

  overflow: hidden;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  position: relative;
}

.offer_item:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) {
  border-top: 1px solid #c1c1c1;
}

.offer_item:not(:nth-child(3n)) {
  border-right: 1px solid #c1c1c1;
}

.offer_item:nth-child(1) .offer_hidden-item {
  background-color: #dec3b2;
}

.offer_item:nth-child(2) .offer_hidden-item {
  background-color: darksalmon;
}

.offer_item:nth-child(3) .offer_hidden-item {
  background-color: rgb(219, 108, 88);
}

.offer_item:nth-child(4) .offer_hidden-item {
  background-color: grey;
}

.offer_item:nth-child(5) .offer_hidden-item {
  background-color: lightgray;
}

.offer_item:nth-child(6) .offer_hidden-item {
  background-color: #80809d;
}

.offer_item:hover .offer_visible-item {
  opacity: 0;

  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);

  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

.offer_visible-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  height: 100%;
  width: 100%;
  padding: 52px 40px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  -webkit-transition: 0.4s 0.3s;
  -moz-transition: 0.4s 0.3s;
  -o-transition: 0.4s 0.3s;
  transition: 0.4s 0.3s;
}

.offer_img {
  height: 64px;
  width: 64px;
  margin: 0 15px 0 0;
}

.offer_title {
  font-size: 22px;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.offer_hidden-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  padding: 30px;

  opacity: 0;

  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  -webkit-transform: rotate(180deg) scale(0);
  -moz-transform: rotate(180deg) scale(0);
  -ms-transform: rotate(180deg) scale(0);
  -o-transform: rotate(180deg) scale(0);
  transform: rotate(180deg) scale(0);

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.offer_item:hover .offer_hidden-item {
  opacity: 1;

  -webkit-transform: rotate(0deg) scale(1);
  -moz-transform: rotate(0deg) scale(1);
  -ms-transform: rotate(0deg) scale(1);
  -o-transform: rotate(0deg) scale(1);
  transform: rotate(0deg) scale(1);

  -webkit-transition-delay: 0.3s;
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.offer_text {
  max-width: 100%;
  font-size: 16px;
  color: white;

  opacity: 0;

  font-size: 20px;
  color: #fff;

  -webkit-transition: 0.3s 0.5s;
  -moz-transition: 0.3s 0.5s;
  -o-transition: 0.3s 0.5s;
  transition: 0.3s 0.5s;
}

.offer_item:hover .offer_text {
  opacity: 1;
}

.col-sm-6 img {
  width: 570px;
  margin-top: 81px;
  box-shadow: 0 0px 30px var(--color-danger);
}

.col-sm-6 {
  position: relative;
  padding-right: 0%;
}

.col-sm-6 img {
  max-width: 100%;
  height: auto;
  margin-top: 81px;
  box-shadow: 0 0px 30px var(--color-danger);
}

.offer_btn {
  display: block;
  padding: 10px 20px;
  border: 2px solid #fff;

  position: absolute;
  top: 50%;
  left: 50%;

  white-space: nowrap;
  font-size: 25px;
  color: #fff;

  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.offer_btn:hover {
  border: 2px solid #0000d1;
  background-color: #fff;

  text-decoration: none;
  color: #0000d1;
}

/*-----------------testimonials-----------------*/

.section__container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
  text-align: center;
}

.testimonial_header {
  text-align: center;
  margin-bottom: 1rem;
}

.section__container h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.section__container h1 {
  position: relative;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section__container h1::after {
  position: absolute;
  content: "";
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 2px;
  width: 5rem;
  background-color: var(--primary-color);
}

.section1_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* Display cards in rows */
  gap: 2rem;
}


.section1_card {
  width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.5rem 2rem;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.section1_card::before {
  position: absolute;
  content: "";
  top: 0;
  left: 100%;
  transform: translate(-50%, -50%);
  width: 20%;
  aspect-ratio: 1;
  border-radius: 100%;
  background-color: var(--primary-color);
  z-index: -1;
  transition: 0.5s;
}

.section1_card span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem;
  font-size: 3rem;
  color: var(--white);
}

.section1_card p {
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.section1_card img {
  margin-bottom: 1rem;
  max-width: 100px;
  border-radius: 100%;
  border: 2px solid var(--primary-color);
  transition: 0.3s;
}

.section1_card h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: 0.3s;
}

.section1_card h6 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  transition: 0.3s;
}

.section1_card:hover::before {
  width: 400%;
}

.section1_card:hover :is(h4, h5) {
  color: var(--white);
}

.section1_card:hover :is(p, h6) {
  color: var(--secondary-color);
}

.section1_card:hover img {
  border-color: var(--white);
}

.testimonial_header h1 {
  margin-bottom: 2.5rem;
  margin-top: -30px;
}

.testimonial_header h2 {
  margin-bottom: 2.5rem;
}

.inputBox .send:hover {
  background-color: var(--color-danger);
}

.inputbox i {
  color: white;
  float: left;
  font-size: 30px;
}


.btn-primary {
  background-color: var(--color-danger);
  padding: 10px;
  display: inline;
}

.btn-primary:hover {
  background-color: transparent;
  border: 1px solid var(--color-danger);
}


.g-recaptcha {
  width: 100%;
  transform: scale(1);
  margin: 2rem 0;
}

.contactForm .inputBox input[type="submit"] {
  margin-top: 0;
}