/* Bootstrap 5 grid supplement - adds missing column classes the original
   bootstrap-main.min.css was missing (only had a partial set of col-* rules). */

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.row > * {
  box-sizing: border-box;
  padding-right: 15px;
  padding-left: 15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.clearfix::after {
  display: block;
  clear: both;
  content: "";
}

/* Base (xs / no breakpoint) - .col-1 through .col-12 always apply */
.col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%;        max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%;        max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%;        max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%;       max-width: 100%; }

/* Small (sm) - >= 576px */
@media (min-width: 576px) {
  .col-sm-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
  .col-sm-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-sm-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-sm-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* Medium (md) - >= 768px */
@media (min-width: 768px) {
  .col-md-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
  .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* Large (lg) - >= 992px */
@media (min-width: 992px) {
  .col-lg-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
  .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* Extra-large (xl) - >= 1200px */
@media (min-width: 1200px) {
  .col-xl-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
  .col-xl-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3  { flex: 0 0 25%;        max-width: 25%; }
  .col-xl-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6  { flex: 0 0 50%;        max-width: 50%; }
  .col-xl-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9  { flex: 0 0 75%;        max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%;       max-width: 100%; }
}

/* === Header dropdown fix === */
/* The original theme's dropdown shows on :hover but has a 20px translateY gap
   between the parent <li> and the submenu <ul>. As the cursor moves toward the
   submenu, it leaves the parent's bounding box and hover dies before the
   submenu becomes hoverable. Fix by:
   1) closing the gap on hover/focus-within with !important
   2) extending the submenu's hit area upward via padding so the cursor never
      enters dead space. */

.main-menu .navigation > li.dropdown > ul {
  /* keep base transform to keep the open animation, but eliminate the dead gap */
  margin-top: 0;
}

.main-menu .navigation > li.dropdown > ul::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.main-menu .navigation > li.dropdown:hover > ul,
.main-menu .navigation > li.dropdown:focus-within > ul,
.main-menu .navigation > li.dropdown:hover > ul li > ul,
.main-menu .navigation > li.dropdown > ul:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Fix: on some service pages (smm, web design, etc.) the base .navigation > li > ul
   rule's display:none was sticking on hover because no rule was lifting it back to
   block. The display:block !important above fixes Services dropdown sitewide. */

/* Make sure header doesn't clip the dropdown */
header .main-header,
header .header-upper,
header .nav-outer,
header .main-menu {
  overflow: visible !important;
}

/* === Compact WhatsApp contact form === */
/* Inputs were rendering at browser-default (34px, no padding) because the
   original theme's form CSS isn't loaded; provide our own compact styling. */
.wa-contact-form .form-group {
  margin-bottom: 14px;
  position: relative;
}
.wa-contact-form .form-group label,
.wa-contact-form .wa-checkbox-group .wa-check {
  color: #ffffff;
}
.wa-contact-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.wa-contact-form .form-group input[type="text"],
.wa-contact-form .form-group input[type="email"],
.wa-contact-form .form-group input[type="tel"],
.wa-contact-form .form-group input[type="url"],
.wa-contact-form .form-group input[type="number"],
.wa-contact-form .form-group textarea,
.wa-contact-form .form-group select {
  display: block;
  width: 100%;
  height: 42px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 22px;
  color: #686a6f;
  background-color: #f4f5f8;
  border: 1px solid #e6e7eb;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
}
.wa-contact-form .form-group textarea {
  height: auto;
  min-height: 90px;
  padding: 10px 14px;
}
.wa-contact-form .form-group input:focus,
.wa-contact-form .form-group textarea:focus,
.wa-contact-form .form-group select:focus {
  outline: none;
  border-color: #ffaa17;
  background-color: #fff;
}
.wa-contact-form .wa-checkbox-group .wa-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 4px;
  cursor: pointer;
}
.wa-contact-form .wa-checkbox-group .wa-check input {
  width: auto;
  height: auto;
  margin: 0;
}
.wa-contact-form .wa-submit {
  padding: 12px 24px;
  font-size: 14px;
  line-height: 1.2;
  min-height: 44px;
}
.get-quote-two .form-box .default-form .sec-title h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .wa-contact-form .form-group { margin-bottom: 12px; }
  .wa-contact-form .form-group input[type="text"],
  .wa-contact-form .form-group input[type="email"],
  .wa-contact-form .form-group input[type="tel"],
  .wa-contact-form .form-group input[type="url"],
  .wa-contact-form .form-group input[type="number"],
  .wa-contact-form .form-group select { height: 40px; }
}

/* ===== DigiMark SEO/CRO/AEO/GEO enhancement bundle ===== */
.dm-section { padding: 56px 0; }
.dm-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.dm-section-head { text-align: center; margin-bottom: 32px; }
.dm-section-head h2 { font-family: var(--thm-font, "Teko"), sans-serif; font-size: 40px; line-height: 1.05; margin: 0 0 10px; color: #222429; text-transform: uppercase; font-weight: 600; letter-spacing: .01em; }
.dm-section-head .dm-sub { font-family: var(--thm-b-font, "Rubik"), sans-serif; font-size: 15px; color: #4a5160; max-width: 720px; margin: 0 auto; }
.dm-section-head .dm-sub a { color: #ffaa17; text-decoration: underline; }

/* AEO answer block — uses BRAND fonts (Teko display + Rubik body) to match the rest of the site. */
.dm-answer-section {
  background: #fff;
  padding: 56px 0 32px;
  border-bottom: 1px solid #eaecef;
  contain: layout style;
  font-family: var(--thm-b-font, "Rubik"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.dm-answer-section h2,
.dm-answer-section h3 {
  font-family: var(--thm-font, "Teko"), -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222429;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 600;
}
.dm-answer-section h2 {
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 18px;
}
.dm-answer-section h3 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 8px;
  text-transform: none;
  letter-spacing: 0;
}
.dm-answer-section p,
.dm-answer-section li {
  font-family: var(--thm-b-font, "Rubik"), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #313131;
  font-weight: 400;
}
.dm-answer-section p { margin: 0 0 14px; max-width: 900px; }
.dm-answer-section strong { color: #222429; font-weight: 600; }
.dm-answer-section a { color: #ffaa17; }
@media (max-width: 767px) {
  .dm-answer-section { padding: 36px 0 24px; }
  .dm-answer-section h2 { font-size: 30px; }
  .dm-answer-section h3 { font-size: 20px; }
  .dm-answer-section p, .dm-answer-section li { font-size: 15px; }
}

/* Trust strip */
.dm-trust-section { background: linear-gradient(135deg, #222429 0%, #3a3d44 100%); color: #fff; padding: 48px 0; font-family: var(--thm-b-font, "Rubik"), sans-serif; }
.dm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dm-stat { text-align: center; }
.dm-stat-num { font-family: var(--thm-font, "Teko"), sans-serif; font-size: 48px; font-weight: 600; line-height: 1; color: #ffaa17; letter-spacing: .01em; }
.dm-stat-lbl { font-size: 14px; color: #cfd2d8; margin-top: 4px; }
.dm-trust-line { text-align: center; margin-top: 24px; font-size: 16px; color: #fff; opacity: 0.9; }
@media (max-width: 767px) {
  .dm-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dm-stat-num { font-size: 30px; }
}

/* FAQ accordion */
.dm-faq-section { background: #f4f5f8; }
.dm-faq-list { max-width: 860px; margin: 0 auto; font-family: var(--thm-b-font, "Rubik"), sans-serif; }
.dm-faq-item { background: #fff; border: 1px solid #e6e7eb; border-radius: 8px; margin-bottom: 12px; padding: 0; overflow: hidden; }
.dm-faq-q { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; color: #222429; list-style: none; position: relative; font-family: var(--thm-b-font, "Rubik"), sans-serif; }
.dm-faq-q::-webkit-details-marker { display: none; }
.dm-faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #ffaa17; font-weight: 400; transition: transform .2s ease; }
.dm-faq-item[open] .dm-faq-q::after { content: "−"; }
.dm-faq-a { padding: 0 22px 18px; font-size: 15px; line-height: 1.65; color: #313131; font-family: var(--thm-b-font, "Rubik"), sans-serif; }

/* Related services — brand-aligned */
.dm-related-section { background: #fff; border-top: 1px solid #eaecef; padding: 56px 0; font-family: var(--thm-b-font, "Rubik"), sans-serif; }
.dm-related-section h2 {
  font-family: var(--thm-font, "Teko"), sans-serif;
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 28px;
  color: #222429;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 600;
}
.dm-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.dm-related-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e6e7eb;
  border-radius: 10px;
  color: #222429;
  text-decoration: none;
  transition: all .2s ease;
  font-family: var(--thm-b-font, "Rubik"), sans-serif;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(15,23,43,.04);
  position: relative;
}
.dm-related-list li a::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffaa17;
  flex: 0 0 8px;
}
.dm-related-list li a::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffaa17;
  font-size: 18px;
  opacity: 0;
  transition: all .2s ease;
}
.dm-related-list li a:hover {
  background: #fff7e3;
  border-color: #ffaa17;
  color: #222429;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,170,23,.18);
}
.dm-related-list li a:hover::after { opacity: 1; right: 14px; }
@media (max-width: 767px) {
  .dm-related-section { padding: 40px 0; }
  .dm-related-section h2 { font-size: 28px; margin-bottom: 20px; }
  .dm-related-list { grid-template-columns: 1fr; gap: 10px; }
}

/* Sticky mobile CTA */
#dm-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 9998;
  background: #fff;
  border-top: 1px solid #e6e7eb;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
#dm-sticky-cta .dm-cta {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px;
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.15);
}
#dm-sticky-cta .dm-cta:last-child { border-right: 0; }
#dm-sticky-cta .dm-cta-call { background: #222429; }
#dm-sticky-cta .dm-cta-wa { background: #25d366; }
#dm-sticky-cta .dm-cta-audit { background: #ffaa17; }
#dm-sticky-cta .dm-ico { font-size: 16px; }
@media (max-width: 767px) {
  #dm-sticky-cta { display: flex; }
  body { padding-bottom: 56px; }
}
