/* ====================================
      Contact Section Css
======================================= */

.contact-heading {
  max-width: 980px;
  margin: 0 auto 30px;
}

.contact-row {
  row-gap: 8px;
}

.contact-row > [class*="col-"] {
  display: flex;
}

.contact-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 22px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: var(--main-gradient-soft);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  border-color: rgba(22, 104, 242, 0.14);
}

.contact-info-card {
  justify-content: flex-start;
  background: linear-gradient(
    180deg,
    rgba(238, 248, 255, 0.92) 0%,
    rgba(238, 248, 255, 0.82) 100%
  );
}

.form-section .form-control {
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  outline: none;
  box-shadow: none;
  background-color: #f8fbff;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.form-section .form-control:focus {
  border-color: rgba(22, 104, 242, 0.22);
  background-color: var(--white-color);
  box-shadow: 0 0 0 4px rgba(22, 104, 242, 0.08);
}

.form-section textarea.form-control {
  resize: none;
  min-height: 140px;
}

.contact-info-top {
  margin-bottom: 20px;
}

.contact-info-top h3, .form-section h3 {
  margin-bottom: 10px;
  color: var(--heading-color);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.6px;
}

.contact-info-top p {
  margin-bottom: 0;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.7;
}

.contact-info-list {
  display: grid;
  gap: 12px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.72);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--white-color);
  color: var(--main-color);
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.contact-info-text p {
  margin-bottom: 4px;
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.4;
}

.contact-info-text strong {
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-info-note {
  margin-top: 18px;
  padding-top: 0;
}

.contact-info-note p {
  margin-bottom: 0;
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.6;
}

.contact-card .sisf-m-btn {
  margin-top: 4px;
}

.form-section .form-control:invalid:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12);
}

.form-section .form-control:valid:focus {
  border-color: rgba(22, 104, 242, 0.22);
  box-shadow: 0 0 0 4px rgba(22, 104, 242, 0.08);
}

.sis-btn-default {
  border: none !important;
  outline: none !important;
}

.btn-form .sis-btn-default:focus,
.btn-form .sis-btn-default:focus-visible {
  outline: none;
  box-shadow: none;
}

/* === Custom validation UI === */
.form-group {
  position: relative;
}

.form-error {
  display: none;
  margin-top: 1px;
  padding-left: 14px;
  position: relative;
  font-size: 12px;
  color: #ff6b6b;
  font-weight: 500;
  line-height: 1.2;
}

.form-error::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.form-section .form-group {
  margin-bottom: 4px;
}

.form-section .form-control {
  margin-bottom: 6px; 
}

.form-section .form-control.is-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.form-section .form-control.is-invalid + .form-error {
  display: block;
}

.form-control:invalid:focus + .form-error,
.form-control:invalid:not(:placeholder-shown) + .form-error {
  display: block;
}

.form-control:invalid:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.email-copy-wrapper {
   display: flex;
   align-items: center;
   gap: 10px;
}

.copy-btn {
   background: transparent;
   border: none;
   cursor: pointer;
   font-size: 14px;
   color: var(--main-color);
   transition: 0.2s;
}

.copy-btn:hover {
   transform: scale(1.15);
}

/* toast */
.copy-toast {
   position: fixed;
   bottom: 30px;
   right: 90px;
   background: var(--main-gradient-soft);
   color: var(--main-color);
   padding: 8px 14px;
   border-radius: 6px;
   font-size: 13px;
   opacity: 0;
   pointer-events: none;
   transition: 0.3s;
   z-index: 9999;
}

.copy-toast.show {
   opacity: 1;
}