/* =============================================
   Offcanvas Form + CEO Panel
   Shared across all pages via header.php
   ============================================= */

/* ---- Prevent offcanvas from causing horizontal scroll ---- */
html {
  overflow-x: hidden;
}

/* ---- CEO Panel (left side, over overlay) ---- */
.nda-offcanvas-ceo {
  position: fixed;
  left: 350px; top: 0;
  z-index: 1000;
  width: calc(100vw - 450px - 350px);
  height: 100vh;
  height: 100dvh;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 60px 60px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}
.tp-offcanvas-area.opened .nda-offcanvas-ceo {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nda-offcanvas-ceo-left {
  flex-shrink: 0;
}

.nda-offcanvas-ceo-right {
  display: flex;
  flex-direction: column;
  max-width: 480px;
}

.nda-offcanvas-ceo-photo {
  width: 225px; height: 280px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.nda-offcanvas-ceo-initials {
  font-size: 48px;
  font-weight: 800;
  color: rgba(17,16,19,0.08);
  letter-spacing: 0.1em;
}
.nda-offcanvas-ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nda-offcanvas-ceo-quote {
  max-width: 480px;
  margin: 0 0 28px;
  padding: 0;
  border: none;
}
.nda-offcanvas-ceo-quote::before {
  content: "\201C";
  display: inline;
  font-size: 64px;
  line-height: 0;
  color: #ef2b10;
  vertical-align: -0.15em;
  margin-right: 4px;
}
.nda-offcanvas-ceo-quote p {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  font-style: normal;
}
.nda-offcanvas-ceo-quote p:first-child {
  display: inline;
}
.nda-offcanvas-ceo-quote p:last-child { margin-bottom: 0; }

.nda-offcanvas-ceo-info strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  color: #fff;
}
.nda-offcanvas-ceo-info span {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  color: rgba(255,255,255,0.55);
}

/* ---- Form inside offcanvas ---- */
.tp-offcanvas-area .tp-offcanvas-top { margin-bottom: 30px; }

.nda-offcanvas-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.nda-offcanvas-form input,
.nda-offcanvas-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(17,16,19,0.12);
  border-radius: 14px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: #111013;
  outline: none;
  transition: border-color 0.2s;
}
.nda-offcanvas-form input:focus,
.nda-offcanvas-form textarea:focus {
  border-color: #ef2b10;
}
.nda-offcanvas-form input::placeholder,
.nda-offcanvas-form textarea::placeholder {
  color: rgba(17,16,19,0.4);
}
.nda-offcanvas-form textarea {
  resize: none;
  min-height: 60px;
}
.nda-offcanvas-form button[type="submit"] {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Service direction pills */
.nda-offcanvas-directions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.nda-offcanvas-directions label {
  cursor: pointer;
}
.nda-offcanvas-directions input[type="radio"] {
  display: none;
}
.nda-offcanvas-directions span {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(17,16,19,0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111013;
  background: #fff;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nda-offcanvas-directions input[type="radio"]:checked + span {
  background: #ef2b10;
  border-color: #ef2b10;
  color: #fff;
}
.nda-offcanvas-directions span:hover {
  border-color: #ef2b10;
}

/* Alt email link */
.nda-offcanvas-alt {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(17,16,19,0.5);
}
.nda-offcanvas-alt a {
  color: #ef2b10;
  text-decoration: none;
  font-weight: 600;
}
.nda-offcanvas-alt a:hover { text-decoration: underline; }

/* ---- Subtitle under "Get in Touch!" ---- */
.nda-offcanvas-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17,16,19,0.55);
  margin: 0 0 25px;
}

/* ---- Overlay — 77% opacity ---- */
.body-overlay {
  background: rgba(24, 24, 24, 0.88);
}

/* ---- Dark offcanvas variant (driven by .agntix-dark) ---- */
.agntix-dark .tp-offcanvas-wrapper {
  background: #1A1B1E;
}
.agntix-dark .tp-offcanvas-wrapper .tp-offcanvas-title {
  color: #fff;
}
.agntix-dark .tp-offcanvas-wrapper .tp-offcanvas-title.sm {
  color: #fff;
}
.agntix-dark .nda-offcanvas-subtitle {
  color: rgba(255,255,255,0.5);
}
.agntix-dark .nda-offcanvas-form input,
.agntix-dark .nda-offcanvas-form textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: #f6f8fb;
}
.agntix-dark .nda-offcanvas-form input::placeholder,
.agntix-dark .nda-offcanvas-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.agntix-dark .nda-offcanvas-directions span {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}
.agntix-dark .nda-offcanvas-directions input[type="radio"]:checked + span {
  background: #ef2b10;
  border-color: #ef2b10;
  color: #fff;
}
.agntix-dark .nda-offcanvas-alt { color: rgba(255,255,255,0.45); }
.agntix-dark .tp-offcanvas-close-btn { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .nda-offcanvas-ceo { left: 40px; width: calc(100vw - 450px - 40px); padding: 40px 40px; }
}
