* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: sans-serif;
}
html,
body {
  scroll-behavior: smooth;
}
a:any-link {
  text-decoration: none;
}
.financefirstpage {
  color: #fff;
  margin-top: 80px;
  padding: 5rem 0;
  width: 100%;
  min-height: 100vh;
  background-image: url("../Assets/allimages/financeandaccount/modern-minimalist-workplace-with-laptop-coffee-mug-2023-11-27-04-57-06-utc.jpg");
  background-size: cover;
  display: flex;
  justify-content: center;
  position: relative; /* Ensure absolute elements stay within the parent */
}

.financefirstpage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(228, 123, 123, 0),
    rgba(0, 0, 0, 1)
  );
  z-index: 1;
  pointer-events: none;
}

.container {
  width: 95%;
  height: 100%;
  z-index: 2;
  position: relative; /* To ensure content stays above the gradient */
}

.text-row {
  color: #fff;
  display: flex;
  height: 50%;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center; /* Ensure text centers on smaller screens */
}

.text-row h1 {
  font-size: 2rem;
  text-shadow: 4px 3px 1px #000000a1;
}
.text-row h3 {
  font-size: 26px;
  text-shadow: 1px 1px 1px #0000006b;
}
.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.card {
  display: flex;
  border-radius: 8px;
  min-height: 300px;
  min-width: 250px;
  background: #b3b1b18f;
  padding: 20px;
  text-align: center;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  align-content: stretch;
}
.card-image {
  width: 100px;
  height: 100px;
  /* border-radius: 50%; */
  object-fit: cover;
  margin-bottom: 15px;
}

.card-title {
  /* font-size: 1.5em; */
  margin-bottom: 10px;
  color: #ffffff;
}
.card-title h3 {
  margin: 20px 0px;
  text-transform: uppercase;
}

.card-text {
  font-size: 0.9em;
  color: #666;
}

/* Responsive design */
@media (max-width: 1024px) {
  .text-row h1 {
    font-size: 2.5rem;
  }

  .card {
    width: 180px;
    padding: 15px;
  }

  .card-title {
    font-size: 1.3em;
  }

  .card-text {
    font-size: 0.85em;
  }
}

@media (max-width: 768px) {
  .text-row h1 {
    font-size: 2rem;
  }

  .card {
    width: 160px;
    padding: 10px;
  }

  .card-title {
    font-size: 1.2em;
  }

  .card-text {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .text-row h1 {
    font-size: 1.8rem;
  }

  .card {
    min-width: 300px;
    padding: 10px;
  }

  .card-image {
    width: 80px;
    height: 80px;
  }

  .card-title {
    font-size: 1.1em;
  }

  .card-text {
    font-size: 0.75em;
  }
  .all-btn-btn {
    max-width: 200px;
    max-height: 200px;
  }
}

/* =========================== */

.main-page-direct {
  /* width: 100%; */
  background-color: #aa3235;
  padding: 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
}

.audit-subcontainer {
  width: 100%;
  /* height: 90vh; */
  /* background-color: aquamarine;  */
  display: flex;
  flex-direction: column;
}

.child1 {
  /* background-color: #eeeeee; */
  width: 100%;
  /* height: 20%; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 25px;
}

.audit-text1 {
  color: #aa3235;
  text-shadow: 0px 1px 1px #000;
  /* line-height: 3; */
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.audit-text2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
}
.child2 {
  padding-top: 20px;
  display: flex;
  /* background: aqua; */
  width: 100%;
  border-radius: 10px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.audit-allbutton {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 20px;
  white-space: nowrap;
  overflow: auto;
}

.audit-btn-series {
  border-radius: 100px;
  /* border: 1px solid #03d5b2 !important; */
  /* background: #03d5b2 !important; */
  box-shadow: 4px 32px 64px 0 rgba(57, 53, 53, 0.3);
  padding: 15px 16px;
  font-size: 20px;
  font-weight: 500;
  /* color: #eeeeee; */
  transition: all 0.5s ease;
  cursor: pointer;
}
.audit-btn-series:hover {
  background-color: #aa3235 !important;
}

.my-btn {
  /* background-color: aquamarine; */
  width: 80%;
  display: flex;
  /* background: #bebebe33; */
  height: 30%;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
  gap: 64px;
}

/* Flip container for the circle */
.all-btn-btn {
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  background: #ffffff4d;
  text-align: center;
  display: flex;
  box-shadow: 0px 2px 5px 0 #2f1717;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  position: relative;
  perspective: 1000px; /* Added for 3D flip */
}

.flipper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.all-btn-btn:hover .flipper {
  transform: rotateY(180deg); /* Flip on hover */
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.front {
  /* Front side styling */
  background-color: #ffffff4d;
  display: flex;
  flex-direction: column;
}
.front p {
  max-width: 90%;
  font-weight: lighter;
  text-shadow: 0 0 0 #ccc;
}

.back {
  /* Back side styling */
  background-color: #0000008f;
  color: white; /* Text color on the back */
  transform: rotateY(180deg); /* Initial back side position */
  padding: 40px;
  font-size: small;
  font-weight: lighter;
}

.audit-imagecontent {
  margin-bottom: 25px;
  width: 100%;
  /* height: 100%; */
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}
.auditactualimage {
  /* width: 40%; */
  height: 100%;
  /* background-color: antiquewhite; */
  display: flex;
  justify-content: center;
  align-items: center;
}
.textcontain {
  margin: 100px 0px;
  text-align: center;
  width: 80%;
  height: 100%;
  /* background-color: aquamarine; */
  display: flex;
  align-items: center;
  /* padding: 5% 10px 0; */
  flex-direction: column;
  row-gap: 15px;
}
.textcontain h2 {
  font-size: 30px;
  color: #aa3235;
  text-shadow: 0px 1px 1px #000;
}

.textcontainbtn {
  background-color: #aa3235;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0px 0px 1px 0 rgba(29, 29, 31, 0.3);
  padding: 16px 12px;
  font-size: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.5s ease;
  margin-top: 20px;
}
.textcontainbtn:hover {
  background-color: #fff;
  color: #aa3235;
  outline: 2px solid #aa3235;
}

/* ==================== */

.hiring-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  overflow: hidden;
  margin: 0px auto;
}

.hiring-image img {
  padding: 50px 0px;
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ==================== */

.contact_container {
  width: 100%;
  /* height: 86vh; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-bottom: 25px;
  background: rgb(170, 50, 53);
  background: linear-gradient(
    0deg,
    rgba(170, 50, 53, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  /* border-radius: 100%; */
}

.contact_subchild {
  width: 100%;
  max-width: 600px;
  padding: 10% 0 0;
}

.contact_subchild1 h1 {
  font-size: 8rem;
  line-height: 0.9;
  color: #aa3235;
  text-shadow: 2px 1px 1px #000;
}
.contact_subchild1 h5 {
  font-size: 60px;
}

.contact_subchild1 h2 {
  font-size: 2.5em;
}
.callingno {
  line-height: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact_subchild1 h1 {
  font-size: 8rem;
  line-height: 0.9;
  color: #aa3235;
}

.callingno h3 {
  font-size: 30px;
  /* font-weight: 500; */
  color: #000000;
  text-shadow: 1px 1px 1px #ffffff79;
  font-family: "Cedarville Cursive", cursive;
  font-weight: 400;
  font-style: normal;
}

.callingno h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
}

/* form content*/

.form-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: sans-serif;
  /* height: 100vh; */
  min-width: 500px;
}

#formHalfFields {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  row-gap: 10px;
}
#formSubmitImg {
  /* width: 100%; */
  height: 70%;
  position: absolute;
  /* top: 0; */
  object-fit: contain;
  display: none;
}

.inner-cont {
  background-color: #ffffff26;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 15px; /* Reduced padding */
  max-width: 485px; /* Reduced max-width */
  width: 100vh;
  /* height: 70vh; */
  position: relative;
}

.heading {
  color: #333;
  font-size: 20px; /* Reduced font size */
  margin-bottom: 10px;
}

.subheading {
  color: #666;
  font-size: 18px; /* Reduced font size */
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  /* line-height: 35px; */
}

.form-group {
  margin-bottom: 10px; /* Reduced margin */
  width: 100%;
}
#formHalfFields .form-group {
  width: 49% !important;
}

#formHalfFields .form-group:last-child {
  width: 100% !important;
}

.form-group label {
  display: block;
  font-size: 16px; /* Reduced font size */
  margin-bottom: 4px;
}

.required {
  color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px; /* Reduced padding */
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px; /* Reduced font size */
}

.contact-form textarea {
  resize: vertical;
}

.form-btn {
  text-align: center;
}

.submit-button {
  background-color: #aa3235;
  border: none;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-size: 19px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 40%;
}

.submit-button:hover {
  color: black;
}

label {
  font-weight: 549;
}

#project-duration {
  height: 35px; /* Adjust this value to match the email input field height */
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767px) {
  .contact_subchild {
    padding: 26% 1% 0;
  }

  .contact_subchild1 h1 {
    font-size: 4.5rem;
  }

  .contact_subchild1 h2 {
    font-size: 2rem;
  }

  .callingno h2 {
    font-size: 2.5rem;
  }

  .callingno h3 {
    font-size: 24px;
  }

  .inner-cont {
    width: 90vw;
    padding: 10px;
  }

  .heading {
    font-size: 24px;
  }

  .subheading {
    font-size: 16px;
  }

  .form-right {
    min-width: 100%;
    height: auto;
    padding: 20px;
  }

  #formHalfFields .form-group {
    width: 100% !important;
  }

  #formHalfFields .form-group:last-child {
    width: 100% !important;
  }

  .submit-button {
    width: 80%;
    padding: 12px;
    font-size: 16px;
  }
}
