/* Shengwang Contact Info Component Styles */

/* Container max-width settings */
@media screen and (min-width: 1600px) {
  .shengwang-contact-info .container {
    max-width: 1360px;
  }
}

/* Main section */
.shengwang-contact-info {
  padding: 80px 0;
  background: #F9F9F9;
  font-family: var(--font-family);
}

/* Section title */
.shengwang-contact-info .section-title {
  font-family: var(--title-font-family);
  font-size: var(--shengwang-inner-title);
  font-weight: 600;
  line-height: 1.391;
  color: #000000;
  margin: 0 0 58px 0;
}

/* Main content wrapper */
.shengwang-contact-info .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 58px;
}

/* Left side: Contact card wrapper */
.shengwang-contact-info .contact-card-wrapper {
  flex-shrink: 0;
}

/* Contact card */
.shengwang-contact-info .contact-card {
  background: #F5F5F5;
  border-radius: 24px;
  overflow: hidden;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
  display: flex;
}
.shengwang-contact-info .contact-card.no-radius{
  border-radius: 0 !important;
}
/* Card image */
.shengwang-contact-info .card-image {
  max-width: 770px;
  flex: 1;
  aspect-ratio: 770/479;
  overflow: hidden;
}

.shengwang-contact-info .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shengwang-contact-info .content-section{
  display:flex;
  flex-direction:column;
  width: 34.5%;
  padding: 20px 0;
}
/* Contact list */
.shengwang-contact-info .contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 470px;
  margin-bottom: 32px;
}
.shengwang-contact-info .shengwang-social{
  display:flex;
  gap: 12px;
}
.shengwang-contact-info .shengwang-social a{
  aspect-ratio:1;
  width: 21px;
  display:inline-block;
}
.shengwang-contact-info .shengwang-social img{
  aspect-ratio:1;
  width: 100%;
  height: 100%;
}
/* Contact item */
.shengwang-contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact icon */
.shengwang-contact-info .contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shengwang-contact-info .contact-icon svg {
  /* width: 24px; */
  /* height: 24px; */
}

/* Contact text */
.shengwang-contact-info .contact-text {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.219;
  color: #000000;
  white-space: pre-line;
}
.shengwang-contact-info .contact-title {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin-bottom:16px;
}
/* Right side: Form wrapper */
.shengwang-contact-info .form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Form title */
.shengwang-contact-info .form-title {
  font-family: var(--title-font-family);
  font-size: 30px;
  font-weight: 600;
  line-height: 2.133;
  color: #000000;
  margin: 0 0 20px 0;
}

/* Hide default inquiry form elements */
.shengwang-contact-info .inqury_title_text,
.shengwang-contact-info .inqury_title_desc,
.shengwang-contact-info .inqury_title_box,
.shengwang-contact-info .char-count,
.shengwang-contact-info .input-label {
  display: none;
}

/* Form styling */
.shengwang-contact-info .inqury-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.shengwang-contact-info .col-lg-12{
  padding: 0 !important;
}
/* Input wrapper */
.shengwang-contact-info .input-wrap {
  padding: 0 !important;
  width: 100% !important;
}

/* Half width inputs */
.shengwang-contact-info .input-wrap.half {
  width: calc(50% - 10px) !important;
}

/* Full width inputs */
.shengwang-contact-info .input-wrap.full {
  width: 100% !important;
}

/* Input fields and textarea */
.shengwang-contact-info .input-wrap-box input,
.shengwang-contact-info input,
.shengwang-contact-info textarea,
.shengwang-contact-info select{
  width: 100%;
  padding: 16px !important;
  font-family: var(--font-family);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.6 !important;
  height: 55px !important;
  color: #000 !important;
  background: #FFFFFF !important;
  border: 1px solid #AFAFAF !important;
  border-radius: 3px !important;
  outline: none;
  transition: all 0.3s ease;
}
.crm_inquiry_form_boxcustom_inquiry_form_1765965931765258 .inqury-form .phone-wrap .bootstrap-select>.dropdown-toggle.bs-placeholder {
  width: 100%;
  padding: 16px !important;
  font-family: var(--font-family);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.6 !important;
  height: 55px !important;
  background: #FFFFFF !important;
  border: 1px solid #AFAFAF !important;
  border-radius: 3px !important;
  outline: none;
  transition: all 0.3s ease;
}

.shengwang-contact-info input::placeholder,
.shengwang-contact-info textarea::placeholder {
  color: #999999 !important;
}

.shengwang-contact-info input:focus,
.shengwang-contact-info textarea:focus,
.shengwang-contact-info select:focus {
  border-color: var(--color-primary) !important;
}

/* Textarea specific */
.shengwang-contact-info textarea {
  resize: vertical;
  min-height: 134px;
  resize: none;
}

/* Error message */
.shengwang-contact-info .crmForm-error {
  position: absolute;
  left: 5px !important;
  margin-top: 2px !important;
  font-size: 12px !important;
  color: #ff0000 !important;
}

/* Submit button */
.shengwang-contact-info button[type="submit"],
.shengwang-contact-info .submit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 90px !important;
  background: var(--color-primary) !important;
  color: #FFFFFF !important;
  font-family: var(--title-font-family);
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.0278em;
  border:1px solid var(--color-primary) !important;
  border-radius: 50px !important;
  cursor: pointer;
  transition: all 0.3s ease;
}

.shengwang-contact-info button[type="submit"]:hover,
.shengwang-contact-info .submit-btn:hover {
  background:transparent !important;
  color:var(--color-primary) !important;
}

/* Responsive design - max-width approach */

/* Below 1400px */
@media screen and (max-width: 1400px) {
  .shengwang-contact-info {
    padding: 70px 0;
  }
  .shengwang-contact-info .contact-card{
    padding-right:40px;
    gap:40px
  }
  .shengwang-contact-info .section-title {
    margin-bottom: 50px;
  }

  .shengwang-contact-info .content-wrapper {
    gap: 50px;
  }

  .shengwang-contact-info .form-title {
    font-size: 24px;
  }
}

/* Below 1200px */
@media screen and (max-width: 1200px) {
  .shengwang-contact-info {
    padding: 60px 0;
  }
  .shengwang-contact-info .contact-card{
    padding-right:30px;
    gap:30px
  }
  .shengwang-contact-info .section-title {
    margin-bottom: 40px;
  }

  .shengwang-contact-info .content-wrapper {
    gap: 40px;
  }

  .shengwang-contact-info .contact-list {
    gap: 28px;
  }

  .shengwang-contact-info .form-title {
    font-size: 20px;
  }

  .shengwang-contact-info .contact-text {
    font-size: 15px;
  }
}

/* Below 992px */
@media screen and (max-width: 992px) {
  .shengwang-contact-info .content-section{
    width:100%;
    padding: 0 15px 15px;
  }
  .shengwang-contact-info {
    padding: 50px 0;
  }
  .shengwang-contact-info .section-title {
    margin-bottom: 35px;
  }
  .shengwang-contact-info .contact-list{
    width:100%;
    max-width: unset;
    /* padding: 0 15px 15px; */
  }
  .shengwang-contact-info .content-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .shengwang-contact-info .contact-card-wrapper {
    width: 100%;
  }

  .shengwang-contact-info .form-wrapper {
    width: 100%;
  }

  .shengwang-contact-info .form-title {
    font-size: 18px;
  }

  .shengwang-contact-info button[type="submit"],
  .shengwang-contact-info .submit-btn {
    padding: 14px 70px !important;
    font-size: 15px !important;
  }
  .shengwang-contact-info .contact-card{
    padding-right:20px;
    gap:20px;
    flex-direction: column;
    padding: 0;
  }
}

/* Below 768px */
@media screen and (max-width: 768px) {
  .shengwang-contact-info {
    padding: 40px 0;
  }

  .shengwang-contact-info .section-title {
    margin-bottom: 30px;
  }

  .shengwang-contact-info .content-wrapper {
    gap: 30px;
  }
  .shengwang-contact-info .contact-card{
    padding-right:15px;
    gap:15px
  }
  .shengwang-contact-info .contact-list {
    gap: 24px;
  }

  .shengwang-contact-info .contact-icon {
    width: 28px;
    height: 28px;
  }

  .shengwang-contact-info .contact-icon svg {
    /* width: 16px; */
    /* height: 16px; */
  }

  .shengwang-contact-info .contact-text {
    font-size: 14px;
  }

  .shengwang-contact-info .form-title {
    font-size: 16px;
  }

  .shengwang-contact-info .inqury-form {
    gap: 16px;
  }

  .shengwang-contact-info .input-wrap.half {
    width: 100% !important;
  }
}

/* Below 576px */
@media screen and (max-width: 576px) {
  .shengwang-contact-info {
    padding: 30px 0;
  }

  .shengwang-contact-info .section-title {
    margin-bottom: 24px;
  }

  .shengwang-contact-info .content-wrapper {
    gap: 24px;
  }

  .shengwang-contact-info .contact-card {
    border-radius: 16px;
  }

  .shengwang-contact-info .contact-list {
    gap: 20px;
  }

  .shengwang-contact-info .contact-icon {
    width: 24px;
    height: 24px;
  }

  .shengwang-contact-info .contact-icon svg {
  }

  .shengwang-contact-info .contact-text {
    font-size: 13px;
  }

  .shengwang-contact-info .form-title {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .shengwang-contact-info input,
  .shengwang-contact-info textarea,
  .shengwang-contact-info select {
    padding: 14px !important;
    font-size: 13px !important;
  }

  .shengwang-contact-info button[type="submit"],
  .shengwang-contact-info .submit-btn {
    width: 100% !important;
    padding: 14px 40px !important;
    font-size: 14px !important;
  }

  .shengwang-contact-info textarea {
    min-height: 120px;
  }
}