/* =========================================================
   DigitalShri – Contact (Elementor widget "DS Contact")
   Left: form card (uses the site's Contact Form 7 styles, refined here).
   Right: client review carousel with client logos.
   Section background / outer spacing come from the Elementor container.
   Brand colours only: #851CF2 · #1E51F1 · #17181C · #F38218 (+ white)
   ========================================================= */

.elementor-widget-ds-contact { width: 100%; }

/* One joined box: form card + reviews card side by side, light shadow around both */
.ds-ct {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border-radius: var(--ds-ct-r, 24px);
  box-shadow: 0 20px 50px var(--ds-ct-shadow, rgba(23, 24, 28, 0.10));
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}
.ds-ct *, .ds-ct *::before, .ds-ct *::after { box-sizing: border-box; }

/* =================== Form card =================== */
.ds-ct .ds-ct-form-card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 44px 36px 32px;
  border-radius: var(--ds-ct-r, 24px) 0 0 var(--ds-ct-r, 24px);
  background: #FFFFFF;
  text-align: center;
  color: #17181C;
}
.ds-ct .ds-ct-form-title {
  margin: 0 0 12px;
  padding: 0;
  color: #17181C;
  font-family: "Montserrat", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}
.ds-ct .ds-ct-form-text {
  max-width: 440px;
  margin: 0 auto 28px;
  color: rgba(23, 24, 28, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
.ds-ct .ds-ct-form-text strong,
.ds-ct .ds-ct-form-text b { color: #17181C; font-weight: 700; }
.ds-ct .ds-ct-form { text-align: left; }
.ds-ct .ds-ct-form-missing { margin: 0; padding: 16px; border: 1.5px dashed rgba(133, 28, 242, 0.4); border-radius: 14px; font-size: 14px; }
.ds-ct .ds-ct-note {
  margin: 18px 0 0;
  color: rgba(23, 24, 28, 0.62);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* ---- Contact Form 7 inside the card: clean fields, no icons, full-width button ---- */
.ds-ct .ds-ct-form form.ds-cf7 { gap: 16px; }
.ds-ct .ds-ct-form .ds-cf7 input[type="text"],
.ds-ct .ds-ct-form .ds-cf7 input[type="email"],
.ds-ct .ds-ct-form .ds-cf7 input[type="tel"],
.ds-ct .ds-ct-form .ds-cf7 textarea {
  padding: 16px 20px;
  border: 1.5px solid rgba(23, 24, 28, 0.14);
  border-radius: 10px;
  background-color: #FFFFFF;
  background-image: none;
  font-size: 15px;
}
.ds-ct .ds-ct-form .ds-cf7 textarea { height: 110px; min-height: 110px; }
.ds-ct .ds-ct-form .ds-cf7 select {
  padding: 16px 48px 16px 20px;
  border: 1.5px solid rgba(23, 24, 28, 0.14);
  border-radius: 10px;
  background-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317181C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
  font-size: 15px;
}
.ds-ct .ds-ct-form .ds-cf7 input:hover,
.ds-ct .ds-ct-form .ds-cf7 select:hover,
.ds-ct .ds-ct-form .ds-cf7 textarea:hover { border-color: rgba(133, 28, 242, 0.4); }
.ds-ct .ds-ct-form .ds-cf7 input:focus,
.ds-ct .ds-ct-form .ds-cf7 select:focus,
.ds-ct .ds-ct-form .ds-cf7 textarea:focus {
  border-color: #851CF2;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(133, 28, 242, 0.12);
}
.ds-ct .ds-ct-form .ds-cf7 .wpcf7-submit {
  width: auto;
  min-width: 0;
  padding: 18px 40px;
  border-radius: 50px;
  background: #F38218;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(243, 130, 24, 0.32);
}
.ds-ct .ds-ct-form .ds-cf7 .wpcf7-submit:hover,
.ds-ct .ds-ct-form .ds-cf7 .wpcf7-submit:focus-visible {
  background: #17181C;
  color: #FFFFFF;
  transform: translateY(-2px);
}


/* =================== Owner card (right column) =================== */
.ds-ct .ds-ct-reviews {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0 var(--ds-ct-r, 24px) var(--ds-ct-r, 24px) 0;
  background-color: #17181C;
  background-image: radial-gradient(circle at 100% 0%, rgba(133, 28, 242, 0.28), transparent 55%),
                    radial-gradient(circle at 0% 100%, rgba(30, 81, 241, 0.18), transparent 50%);
  color: #FFFFFF;
  overflow: hidden;
}

/* profile row (large portrait photo + name, badge, position, tagline), quote box full width below */
.ds-ct .ds-ct-owner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  margin: 0;
}
.ds-ct .ds-ct-profile {
  display: flex;
  align-items: center;
  gap: 28px;
}
.ds-ct .ds-ct-photo-wrap { flex: 0 0 var(--ds-ct-photo-w, 44%); min-width: 0; }
.ds-ct .ds-ct-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(23, 24, 28, 0.45);
}
.ds-ct .ds-ct-photo.is-placeholder { background-color: rgba(255, 255, 255, 0.06); }

.ds-ct .ds-ct-info { min-width: 0; }
.ds-ct .ds-ct-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.ds-ct .ds-ct-name {
  color: #FFFFFF;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}
.ds-ct .ds-ct-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: linear-gradient(90deg, #851CF2, #F38218);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* badge + "at DigitalShri" stay together on one line */
.ds-ct .ds-ct-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ds-ct .ds-ct-badge-after {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.ds-ct .ds-ct-source {
  margin: 0 0 6px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.ds-ct .ds-ct-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
/* LinkedIn pill under the tagline */
.ds-ct .ds-ct-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 9px 18px;
  border: 1.5px solid rgba(30, 81, 241, 0.7);
  border-radius: 50px;
  background-color: rgba(30, 81, 241, 0.12);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.ds-ct .ds-ct-linkedin:hover,
.ds-ct .ds-ct-linkedin:focus-visible { background-color: #1E51F1; border-color: #1E51F1; color: #FFFFFF; outline: none; }
.ds-ct .ds-ct-li-icon { width: 16px; height: 16px; flex-shrink: 0; }
.ds-ct .ds-ct-li-arrow { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.25s ease; }
.ds-ct .ds-ct-linkedin:hover .ds-ct-li-arrow,
.ds-ct .ds-ct-linkedin:focus-visible .ds-ct-li-arrow { transform: translateX(3px); }

/* quote box */
.ds-ct .ds-ct-quote-box {
  margin: 0;
  padding: 26px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.04);
}
.ds-ct .ds-ct-qmark { display: block; width: 30px; height: 30px; color: #F38218; }
.ds-ct blockquote.ds-ct-quote {
  margin: 12px 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  quotes: none;
}
.ds-ct blockquote.ds-ct-quote::before,
.ds-ct blockquote.ds-ct-quote::after { content: none; }
.ds-ct .ds-ct-attrib {
  color: #F38218;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
/* =================== Responsive =================== */
@media (min-width: 1025px) {
  .ds-ct .ds-ct-form-card { flex: 0 0 var(--ds-ct-form-w, 46%); }
}
@media (max-width: 1024px) {
  .ds-ct { flex-direction: column; }
  .ds-ct .ds-ct-form-card,
  .ds-ct .ds-ct-reviews { flex: 0 0 auto; width: 100%; }
  /* stacked: form on top, owner card below, still one joined box */
  .ds-ct .ds-ct-form-card { border-radius: var(--ds-ct-r, 24px) var(--ds-ct-r, 24px) 0 0; }
  .ds-ct .ds-ct-reviews { border-radius: 0 0 var(--ds-ct-r, 24px) var(--ds-ct-r, 24px); }
  .ds-ct .ds-ct-photo-wrap { flex-basis: var(--ds-ct-photo-w, 34%); }
}
@media (max-width: 767px) {
  .ds-ct { border-radius: var(--ds-ct-r, 20px); }
  .ds-ct .ds-ct-form-card { padding: 32px 20px 24px; border-radius: var(--ds-ct-r, 20px) var(--ds-ct-r, 20px) 0 0; }
  .ds-ct .ds-ct-form-title { font-size: 26px; }
  .ds-ct .ds-ct-form-text { font-size: 15px; margin-bottom: 22px; }
  .ds-ct .ds-ct-reviews { gap: 22px; padding: 28px 20px; border-radius: 0 0 var(--ds-ct-r, 20px) var(--ds-ct-r, 20px); }
  .ds-ct .ds-ct-owner { gap: 22px; }
  .ds-ct .ds-ct-profile { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ds-ct .ds-ct-photo-wrap { flex: 0 0 auto; width: 100%; max-width: var(--ds-ct-photo-w, 280px); }
  .ds-ct .ds-ct-name { font-size: 21px; }
  .ds-ct .ds-ct-quote-box { padding: 20px 18px; }
  .ds-ct blockquote.ds-ct-quote { font-size: 16px; }
}