.elementor-584 .elementor-element.elementor-element-36c2201{margin-top:0px;margin-bottom:50px;}/* Start custom CSS for html, class: .elementor-element-ca3a306 */.safepills-contactus-section {
  background: #f4f8fd;
  padding: 40px 0 40px 0;
}

.safepills-contactus-content-vertical {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.07);
  padding: 52px 36px 44px 36px;
}

.safepills-contactus-info {
  text-align: center;
  margin-bottom: 0;
}

.safepills-contactus-info h2 {
  font-size: 2.3rem;
  color: #1976d2;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

.safepills-contactus-info p {
  color: #233450;
  font-size: 1.16rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.safepills-contactus-details {
  margin-bottom: 14px;
}

.safepills-contactus-details > div {
  margin-bottom: 6px;
  color: #233450;
  font-size: 1.12rem;
}
.safepills-contactus-details strong {
  color: #1976d2;
  font-weight: 600;
  margin-right: 6px;
}
.safepills-contactus-details a {
  color: #233450;
  text-decoration: underline dotted #1976d2;
  transition: color 0.2s;
}
.safepills-contactus-details a:hover {
  color: #1976d2;
}

.safepills-contactus-social {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
}
.safepills-contactus-social a img {
  width: 29px;
  height: 29px;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.2s, transform 0.2s;
}
.safepills-contactus-social a:hover img {
  filter: none;
  transform: scale(1.18) rotate(-8deg);
}

/* --- Contact Form 7 Full Width & Modern Design --- */
.safepills-contactus-form {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  /* Remove margin-top/bottom for tight layout */
}
.wpcf7 {
  width: 100%;
  max-width: 100%;
  background: #f9fbff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.09);
  padding: 36px 28px 28px 28px;
  margin: 0 auto;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Label styling */
.wpcf7-form label {
  font-weight: 600;
  color: #233450;
  font-size: 1.07rem;
  margin-bottom: 2px;
  display: block;
}
.wpcf7-form .wpcf7-required {
  color: #e53935;
  font-size: 1.09rem;
  margin-left: 2px;
}

/* Input and textarea styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1.7px solid #c8daee;
  border-radius: 12px;
  font-size: 1.08rem;
  background: #f6f8fb;
  color: #233450;
  outline: none;
  transition: border 0.2s, background 0.2s;
  resize: none;
  margin-top: 4px;
  margin-bottom: 2px;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #1976d2;
  background: #e3f0fc;
}

.wpcf7 textarea {
  min-height: 100px;
  max-height: 220px;
}

/* Oval Stylish Submit Button */
.wpcf7 input[type="submit"] {
  display: inline-block;
  background: linear-gradient(90deg, #1976d2 60%, #43a4f7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.13rem;
  border: none;
  border-radius: 999px; /* Oval shape */
  padding: 16px 56px;   /* More padding for oval look */
  cursor: pointer;
  box-shadow: 0 3px 18px rgba(25, 118, 210, 0.13);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  letter-spacing: 0.7px;
  margin-top: 14px;
  outline: none;
}

.wpcf7 input[type="submit"]:hover, 
.wpcf7 input[type="submit"]:focus {
  background: linear-gradient(90deg, #1565c0 60%, #1976d2 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.19);
  color: #fff;
}

/* Error & Success Messages */
.wpcf7-not-valid-tip {
  color: #e53935;
  font-size: 0.98rem;
  margin-top: 2px;
}
.wpcf7-response-output {
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1.02rem;
}
.wpcf7-mail-sent-ok {
  background: #e3fce6;
  color: #197633;
  border: 1.5px solid #a0e0b7;
}
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background: #fff3e3;
  color: #a15e23;
  border: 1.5px solid #ffe3b3;
}
.wpcf7-not-valid {
  border-color: #e53935 !important;
}

/* --- Map Styling --- */
.safepills-contactus-map {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(25, 118, 210, 0.08);
}
.safepills-contactus-map iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 14px;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .safepills-contactus-content-vertical {
    padding: 24px 6px 18px 6px;
    border-radius: 10px;
    gap: 28px;
  }
  .wpcf7 {
    padding: 18px 4px 16px 4px;
    border-radius: 10px;
  }
  .safepills-contactus-map iframe {
    height: 180px;
  }
  .safepills-contactus-info h2 {
    font-size: 1.45rem;
  }
}/* End custom CSS */