:root {
  --border-radius: 1.5625rem;
  --offset-top: -1.5625rem;
  --form-title-size: 2.5rem;
  --font-family: 'Montserrat';
}

@keyframes offsetTopAnim {
  from {
    top: 0px;
    opacity: 0.7;
  }
  to {
    top: var(--offset-top);
    opacity: 1;
  }
}

.contact-form .inqury_title_text,
.contact-form .inqury_title_desc,
.contact-form .inqury_title_box,
.contact-form .char-count,
.contact-form .input-label {
  display: none;
}

.contact-form .row > div {
  padding: 0;
}
.contact-form .input-wrap {
  padding: 0 !important;
  /* flex:1; */
}
.contact-form .half {
  width: calc(50% - 0.35rem) !important;
}

/* .input-wrap:nth-of-type(2n+1) {
  margin-right: 0.66rem;
  
} */

.contact-form .inqury-form {
  gap: 0.62rem;
}

.contact-section {
  background-color: #e4e4e4;
  padding: 3.125rem 0px 2.5rem 0px;
  border-radius: var(--border-radius) var(--border-radius) 0px 0px;
  position: relative;
  top: var(--offset-top);
  z-index: 1;
  animation: offsetTopAnim 0.5s ease-in-out forwards;
}

.container {
}

.contact-content {
  display: flex;
  /* gap: 2.5rem; */
}

.contact-info {
  max-width: 19.90625rem;
  height: 25.34375rem;
  flex-shrink: 0;
  aspect-ratio: 19.90625 / 25.34375;
  background-color: #7b5be6;
  position: relative;
  color: #fff;
  margin-right: 4.38rem;
  padding: 1.98rem;
  border-radius: var(--border-radius);
}
.contact-info::after {
  content: '';
  position: absolute;
  background: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/5e6b2287-3d96-4055-a3cf-1f8c21010319-age%2040.png');
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 5% 105%;
  z-index:0;
}
.contact-info>div{
  position:relative;
  z-index:1;
}
.info-card {
  margin-bottom: 1.88rem;
  display: flex;
  color: #fff;
}

.info-card-text {
  color: #fff;
}
.info-card-text.link p{
  transition: all 0.3s ease;
}
.info-card-text.link p:hover{
  color: #f6d801;
  transform: scale(1.2);
}
.info-card h3 {
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 0.31rem;
}

.info-card p {
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.info-card-icon {
  /* width: 0.96875rem; */
  /* height: 0.96875rem; */
  aspect-ratio: 1/1;
  font-size: 0.9375rem;
  margin-right: 0.62rem;
  position: relative;
  top: 0px;
  /* font-size: 0.5rem; */
}

.info-card-icon svg {
  fill: var(--1, linear-gradient(180deg, #efca00 0%, #fae202 50%));
  transform: scale(0.9);
  transform-origin: left top;
}

.social-icons {
  display: flex;
  gap: 0.74rem;
}
.social-icons a {
  display: flex;
  width: 1.63134rem;
  height: 1.63134rem;
  padding: 0.37075rem;
  align-items: center;
  aspect-ratio: 52.2/52.2;
  background: #fff;
  border-radius: 50%;
}

.social-icons a img {
  width: 100%;
  height: 100%;
}

/* form ------------------ */

.contact-form {
  /* max-width: 22.9375rem; */
  background-color: transparent;
}

.contact-form h2 {
  color: #000;
  font-family: var(--font-family);
  font-size: var(--form-title-size);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.contact-form .highlight {
  background: var(
    --2,
    linear-gradient(115deg, #9182d0 -16.9%, #433093 103.78%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form p {
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-family);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 1.25rem;
}

.contact-form .form-group {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.62rem;
}

.contact-form .form-item {
  flex: 1;
  position: relative;
}

.contact-form .crmForm-error {
  position: absolute;
  left: 5px !important;
  margin-top: 0 !important;
  font-size: 10px !important;
}

/* æäº¤æˆåŠŸåŠ¨ç”» */
/* #crmMailMask .crmMailMask-box {
  animation: fadeInScale 0.3s cubic-bezier(0, 0.63, 0.09, 1.08);
}

#crmMailMask .crmMailMask-box .crmMailMask-boxBot button {
  background: var(--bomao-header-hover);
  color: #fff;
  width: 120px;
  border-radius: var(--border-radius);
} */

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-form .input-wrap-box input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.88rem 1.31rem !important;
  font-size: 0.5rem !important;
  border: 2px solid #fff !important;
  border-radius: var(--border-radius) !important;
  background-color: rgba(255,255,255,0.4);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9.1875rem;
  margin-bottom: 1.25rem;
}

.contact-form button {
  font-weight: 700;
  background-color: #ffe44d !important;
  color: #7b5be6 !important;
  border: none !important;
  width: 6.03125rem !important;
  aspect-ratio: 6.03125 / 2.2187 !important;
  padding: 0.3125rem 1.25rem !important;
  border-radius: 2.5rem !important;
  cursor: pointer !important;

  /* font */
  font-family: var(--font-family);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: capitalize;
}

/* .contact-form button:hover {
  background-color: #ffd600;
} */

.contact-map {
  flex: 1;
  margin-top: 2.5rem;
}
.contact-section .inqury-form .one-line-input::placeholder {
  color: rgba(0, 0, 0, 0.50) !important;
}
.contact-section .inqury-form .textarea-input::placeholder {
  color: rgba(0, 0, 0, 0.50) !important;
}
@media screen  and (max-width:991px){
  .contact-form .inqury-form {
    row-gap: 1.5rem;
  }
}
@media screen and (max-width: 768px) {
  .contact-form .inqury-form {
    row-gap: 0.8rem;
  }
  .contact-content {
    flex-flow: column;
  }
  .contact-info {
    max-width: 100%;
    width: 100%;
    margin-right: 0px;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
  }
}

.input-label.required+.input-wrap-box{
  position:relative;
  
}
.contact-form .input-label.required+.input-wrap-box::before{
  content:"*";
  position:absolute;
  left: 1rem;
  top:50%;
  transform: translateY(-50%);
  color: #F0150F;
  padding-top: 8px;
}

.inqury-form .input-wrap.textarea-wrap::before{
    left: 1rem;
    top: 0.8rem;
    transform: none;
}