/* ===== VIDEO BANNER ===== */
.banner-section-three {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-banner-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Full viewport height — adjust to e.g. 700px if preferred */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Fullscreen responsive video */
.banner-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;   /* Fills the container, crops if needed */
  z-index: 0;
  pointer-events: none;
}

/* Semi-transparent overlay so text stays readable */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* Adjust darkness: 0.3 = light, 0.6 = dark */
  z-index: 1;
}

/* Content sits above video and overlay */
.video-banner-wrapper .auto-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet */
@media (max-width: 991px) {
  .video-banner-wrapper {
    min-height: 80vh;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .video-banner-wrapper {
    min-height: 70vh;
  }

  .display-none{
    display: none;
  }

  /* On very small screens, lock video to 100% width and auto height */
  .banner-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.content-box{
  margin-top: 50px;
}

.br-8{
  border-radius: 8px !important;
}

.ht{
  color: #08619d;
  font-weight: 500;
}

.custom-machine-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.custom-machine-table thead {
    background: #08619d;
}

.custom-machine-table thead th {
    color: #fff;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    border: none;
}

.custom-machine-table tbody tr {
    border-bottom: 1px solid #e8eef3;
    transition: 0.3s ease;
}

.custom-machine-table tbody tr:nth-child(even) {
    background: #f5f9fc;
}

.custom-machine-table tbody tr:hover {
    background: rgba(8, 97, 157, 0.08);
}

.custom-machine-table tbody td {
    padding: 16px 20px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.custom-machine-table tbody td:first-child {
    width: 80px;
    text-align: center;
    font-weight: 700;
    color: #08619d;
}

.custom-machine-table tbody td:last-child {
    font-weight: 600;
    color: #08619d;
}

@media (max-width: 767px) {

    .custom-machine-table thead th {
        font-size: 14px;
        padding: 14px 12px;
    }

    .custom-machine-table tbody td {
        font-size: 14px;
        padding: 14px 12px;
    }
}





/* Modal Overlay */
.chc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.chc-modal-overlay.active {
  display: flex;
}
.chc-modal {
  background: #fff;
  border-radius: 10px;
  padding: 44px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  position: relative;
  animation: modalPop 0.32s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes modalPop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.chc-modal .modal-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.chc-modal .modal-icon.success { background: #e8f5e9; color: #2e7d32; }
.chc-modal .modal-icon.error   { background: #fdecea; color: #c62828; }
.chc-modal h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}
.chc-modal p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 26px;
  line-height: 1.6;
}
.chc-modal .modal-close-btn {
  display: inline-block;
  padding: 11px 32px;
  background: #111111;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.chc-modal .modal-close-btn:hover { opacity: 0.82; }
.chc-modal .modal-x {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  font-size: 1.4rem; color: #999;
  cursor: pointer; line-height: 1;
}
.chc-modal .modal-x:hover { color: #111; }

/* Inline field error */
.chc-field-error {
  font-size: 0.80rem;
  color: #c62828;
  margin-top: 4px;
  display: none;
}
.chc-field-error.visible { display: block; }
.form-control.is-invalid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 2px rgba(198,40,40,0.12);
}

/* Submit btn loading state */
.theme-btn.loading .btn-title::after {
  content: ' …';
}
.theme-btn.loading { opacity: 0.7; pointer-events: none; }

.chc-field-error        { display: none; }
.chc-field-error.visible { display: block; }