/* ==========================================================================
   Vdotech fixes - loaded after main.css
   1. remove back-to-top buttons
   2. larger sub-text under headings
   3. mobile burger shape
   4. mobile services dropdown
   ========================================================================== */

/* ---------- 1. back-to-top (template + Astra's own) ---------- */
.back-to-top-wrapper,
.back-to-top-btn,
#back-to-top,
.ast-scroll-top-icon,
#ast-scroll-top,
.ast-scroll-to-top-right {
  display: none !important;
}

/* ---------- 2. sub-text under headings, a step larger ----------
   The page markup carries its own <style> blocks inside the Elementor HTML
   widgets, which sit later in the document than this file, so they win on
   equal specificity. !important is the reliable override here. */
.vd-sub                      { font-size: 17.5px !important; line-height: 1.8 !important; }
.vwd-copy                    { font-size: 17px !important;   line-height: 1.85 !important; }
.vwd-lead                    { font-size: 16.5px !important; line-height: 1.85 !important; }
.vwd-list span               { font-size: 15px !important;   line-height: 1.75 !important; }
.vd-row p                    { font-size: 16.5px !important; line-height: 1.8 !important; }
.vd-card p,
.vd-blog .bx p               { font-size: 15.5px !important; line-height: 1.75 !important; }
.vd-pack ul li               { font-size: 15.5px !important; line-height: 1.6 !important; }
.vd-step p                   { font-size: 16px !important;   line-height: 1.75 !important; }
.vd-stat span                { font-size: 14.5px !important; }
.vd-chips span,
.vwd-chips span              { font-size: 13px !important; }
.svc-card-body p,
.vd-fcard-body p             { font-size: 14px !important;   line-height: 1.6 !important; }
.vf-about                    { font-size: 15.5px !important; line-height: 1.85 !important; }
.vf-row a, .vf-row p         { font-size: 16px !important; }
.vf-bar p, .vf-bar nav a     { font-size: 14px !important; }
.vf-note                     { font-size: 13px !important; }
.vd-lead, .vab-lead          { font-size: 17px !important; line-height: 1.85 !important; }
/* template sub-text */
.tp-hero-3-category          { font-size: 16px !important; }
.tp-project-3-meta           { font-size: 14.5px !important; letter-spacing: .06em; }

@media (max-width: 767px) {
  .vd-sub    { font-size: 16.5px !important; }
  .vwd-copy  { font-size: 16px !important; }
  .vd-row p  { font-size: 15.5px !important; }
}

/* ---------- 2b. thank-you panel shown after a successful submit ---------- */
.wpforms-confirmation-container-full,
.vf-form-wrap .wpforms-confirmation-container-full,
.vd-form-wrap .wpforms-confirmation-container-full {
  background: linear-gradient(160deg, rgba(235,89,57,.14), rgba(255,255,255,.03)) !important;
  border: 1px solid rgba(235,89,57,.45) !important;
  border-radius: 20px !important;
  padding: 34px 30px !important;
  margin: 0 !important;
  color: #F5F7F5 !important;
}
.vd-thanks { text-align: left; }
.vd-thanks-tick {
  display: grid !important;
  place-items: center;
  /* WPForms' confirmation styles also reset width/height on children */
  width: 54px !important;
  height: 54px !important;
  min-width: 54px;
  flex: none;
  border-radius: 50% !important;
  background: #EB5939 !important;
  color: #fff !important;
  margin-bottom: 20px;
}
.vd-thanks-tick svg { display: block; }
/* wpautop inserts an empty paragraph after the tick span - hide it */
.vd-thanks p:empty { display: none !important; }
.vd-thanks h3 {
  font-family: "Marcellus", serif !important;
  font-weight: 400 !important;
  font-size: 27px !important;
  line-height: 1.2 !important;
  letter-spacing: -.4px;
  color: #fff !important;
  margin: 0 0 12px !important;
}
.vd-thanks p {
  font-family: "Syne", sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.8 !important;
  color: #C9C9CF !important;
  margin: 0 !important;
}
.vd-thanks a {
  color: #EB5939 !important;
  font-weight: 600;
  white-space: nowrap;
}
.vd-thanks a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .wpforms-confirmation-container-full { padding: 26px 22px !important; }
  .vd-thanks h3 { font-size: 23px !important; }
}

/* ---------- 3. mobile burger: was a 50x40 ellipse with an off-centre icon ---------- */
.tp-header-3-bar,
.tp-header-3-bar.tp-offcanvas-open-btn {
  width: 46px;
  height: 46px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background-color: transparent;
  color: #fff;
  line-height: 1;
  flex: none;
  transition: background-color .3s, border-color .3s, color .3s;
}
.tp-header-3-bar i {
  font-size: 17px;
  line-height: 1;
  color: inherit;
  margin: 0;
}
.tp-header-3-bar:hover {
  background-color: #EB5939;
  border-color: #EB5939;
  color: #fff;
}
@media (max-width: 575px) {
  .tp-header-3-right { gap: 10px; }
  .tp-header-3-logo img { max-width: 150px; height: auto; }
}

/* ---------- 4. mobile services dropdown inside the offcanvas ---------- */
.tp-main-menu-mobile .vnav-sub {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none;
  padding: 4px 0 8px 12px;
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.tp-main-menu-mobile .vnav-grid {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tp-main-menu-mobile .vnav-grid > li { margin: 0; padding: 0; border: 0; }
.tp-main-menu-mobile .vnav-grid > li > a {
  display: block !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  transform: none !important;
}
.tp-main-menu-mobile .vnav-name {
  font-size: 16px;
  color: #fff;
}
.tp-main-menu-mobile .vnav-tag {
  font-size: 9.5px;
  letter-spacing: .18em;
  margin-bottom: 2px;
}
.tp-main-menu-mobile .vnav-desc,
.tp-main-menu-mobile .vnav-foot,
.tp-main-menu-mobile .vnav-caret { display: none !important; }
/* the template injects its own +/- toggle, so keep it tidy and tappable */
.tp-main-menu-mobile .dropdown-toggle-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  right: 0;
}
