/* Comment Form Styling for JKit Post Comment Widget */
/* Matches the reference site's vertical stack layout */

.jeg-elementor-kit.jkit-post-comment .comment-respond {
  font-family: 'Barlow', sans-serif;
}

.jeg-elementor-kit.jkit-post-comment .comment-reply-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #181D23;
  margin-bottom: 20px;
}

.jeg-elementor-kit.jkit-post-comment .comment-notes {
  font-size: 14px;
  color: #575A5F;
  margin-bottom: 25px;
}

/* Labels - Bold and prominent */
.jeg-elementor-kit.jkit-post-comment .comment-form label {
  display: block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #181D23;
  margin-bottom: 10px;
}

/* All inputs take FULL WIDTH and stack vertically */
.jeg-elementor-kit.jkit-post-comment .comment-form input[type="text"],
.jeg-elementor-kit.jkit-post-comment .comment-form input[type="email"],
.jeg-elementor-kit.jkit-post-comment .comment-form input[type="url"],
.jeg-elementor-kit.jkit-post-comment .comment-form textarea {
  width: 100%;
  display: block;
  padding: 14px 18px;
  border: 1px solid #D5D5D7;
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #181D23;
  background-color: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.jeg-elementor-kit.jkit-post-comment .comment-form input[type="text"]:focus,
.jeg-elementor-kit.jkit-post-comment .comment-form input[type="email"]:focus,
.jeg-elementor-kit.jkit-post-comment .comment-form input[type="url"]:focus,
.jeg-elementor-kit.jkit-post-comment .comment-form textarea:focus {
  border-color: #1a4a8e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 74, 142, 0.15);
}

.jeg-elementor-kit.jkit-post-comment .comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

/* Form field paragraphs - vertical stack with generous spacing */
.jeg-elementor-kit.jkit-post-comment .comment-form-comment,
.jeg-elementor-kit.jkit-post-comment .comment-form-author,
.jeg-elementor-kit.jkit-post-comment .comment-form-email,
.jeg-elementor-kit.jkit-post-comment .comment-form-url {
  display: block;
  width: 100%;
  margin-bottom: 25px;
}

/* Cookies consent */
.jeg-elementor-kit.jkit-post-comment .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.jeg-elementor-kit.jkit-post-comment .comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 4px;
  width: auto;
}

.jeg-elementor-kit.jkit-post-comment .comment-form-cookies-consent label {
  display: inline;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

/* Submit button - Dark Navy Blue, left-aligned */
.jeg-elementor-kit.jkit-post-comment .comment-form .form-submit {
  margin-top: 30px;
  text-align: left;
}

.jeg-elementor-kit.jkit-post-comment .comment-form input[type="submit"],
.jeg-elementor-kit.jkit-post-comment .comment-form .submit {
  background-color: #1a4a8e;
  color: #FFFFFF;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 35px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.jeg-elementor-kit.jkit-post-comment .comment-form input[type="submit"]:hover,
.jeg-elementor-kit.jkit-post-comment .comment-form .submit:hover {
  background-color: #153a70;
  transform: translateY(-2px);
}

.jeg-elementor-kit.jkit-post-comment .required {
  color: #cf2e2e;
}

/* Ensure the form uses column/block layout, not flex-row */
.jeg-elementor-kit.jkit-post-comment .comment-form {
  display: block;
}

.jeg-elementor-kit.jkit-post-comment .comment-form p {
  display: block;
  width: 100%;
}

/* Testimonial Profile Info - Fix spacing between name and designation */
.jkit-testimonials .profile-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.jkit-testimonials .profile-info .profile-name {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.jkit-testimonials .profile-info .profile-des {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/* Add spacing between profile image and text */
.jkit-testimonials .bio-details {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jkit-testimonials .profile-image {
  margin-right: 10px;
}

/* Progress Bar Animation Fix */
.jkit-progress-bar .skill-bar {
  background-color: #e9ecef;
  border-radius: 5px;
  height: 10px;
  overflow: visible;
  position: relative;
}

.jkit-progress-bar .skill-track {
  background: linear-gradient(90deg, #1a4a8e, #2d6bb8);
  height: 100%;
  border-radius: 5px;
  animation: progressAnimation 2s ease-out forwards;
  width: 0;
  overflow: visible;
  position: relative;
}

/* Set specific widths for each progress bar */
.elementor-element-0cd7636 .skill-track {
  animation-delay: 0s;
  --target-width: 82%;
}

.elementor-element-374e5a9 .skill-track {
  animation-delay: 0.2s;
  --target-width: 70%;
}

.elementor-element-45d2a8f .skill-track {
  animation-delay: 0.4s;
  --target-width: 77%;
}

/* Facilities Page Progress Bar Widths */
.elementor-element-38f731d .skill-track {
  animation-delay: 0s;
  --target-width: 95%;
}

.elementor-element-eb73508 .skill-track {
  animation-delay: 0.2s;
  --target-width: 83%;
}

.elementor-element-c9646e5 .skill-track {
  animation-delay: 0.4s;
  --target-width: 90%;
}


@keyframes progressAnimation {
  0% {
    width: 0;
  }

  100% {
    width: var(--target-width, 75%);
  }
}

/* Position percentage next to title - above the bar */
.jkit-progress-bar .progress-skill-bar {
  position: relative;
}

.jkit-progress-bar .skill-track {
  position: static;
}

.jkit-progress-bar .number-percentage-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  white-space: nowrap;
  z-index: 10;
}

.jkit-progress-bar .number-percentage {
  font-weight: 600;
  color: #181D23;
  font-size: 14px;
}

/* Ensure skill-bar-content shows the title */
.jkit-progress-bar .skill-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.jkit-progress-bar .skill-title {
  font-weight: 600;
  color: #181D23;
}

.jkit-progress-bar .progress-skill-bar {
  position: relative;
  margin-bottom: 10px;
}

/* Fix gaps in contact info/icon boxes */
.jeg-elementor-kit.jkit-icon-box .icon-box-body .title {
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

.jeg-elementor-kit.jkit-icon-box .icon-box-body .icon-box-description {
  margin-top: 5px !important;
  line-height: 1.4 !important;
}

/* Metform Styling - Contact Service Form */
.elementor-2089 .elementor-element-b35d35e>.elementor-container {
  max-width: 550px !important;
}

.metform-form-main-wrapper {
  font-family: 'Barlow', sans-serif;
}

.mf-input-wrapper {
  margin-bottom: 20px;
}

.mf-input {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 1px solid rgba(36, 89, 168, 0.26) !important;
  /* #2459A842 approx */
  border-radius: 0px !important;
  font-family: 'Barlow', sans-serif !important;
  font-size: 15px !important;
  color: #080A12 !important;
  background-color: #F8FBFF !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  box-sizing: border-box !important;
}

.mf-input::placeholder {
  color: #5C606E !important;
}

.mf-input:focus {
  border-color: #2459A8 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(36, 89, 168, 0.1) !important;
}

.mf-input.mf-textarea {
  min-height: 150px !important;
}

/* Metform Button */
.metform-btn.metform-submit-btn {
  background-color: #2459A8 !important;
  color: #FFFFFF !important;
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 15px 40px !important;
  border: none !important;
  border-radius: 0px !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: inline-block !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metform-btn.metform-submit-btn:hover {
  background-color: #023AA2 !important;
  transform: translateY(-2px);
}

/* Horizontal alignment for First/Last Name columns */
.elementor-element-3153e6d .elementor-container {
  display: flex !important;
  flex-wrap: wrap;
  margin-left: -10px !important;
  margin-right: -10px !important;
}

.elementor-element-f0865d4,
.elementor-element-5990a13 {
  width: 50% !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

@media (max-width: 767px) {

  .elementor-element-f0865d4,
  .elementor-element-5990a13 {
    width: 100% !important;
  }
}